I am now doing a video project which is aimed to convert DVB TS files to MP4 file.
Since the recorded ts files from DVB device of TV-signals sometimes get "bad" frames (that is, somtimes no udp data from device at a period of time). However the recorded ts file has the correct timestamp data and after the "bad" data the video frame will match with the exact timeline.
The problem is after i convert the ts file to mp4 using ffmpeg, the mp4 file will "delete" the bad data and this cause the timeline cannot match.
is there any way to preserve the "bad" data in the mp4 file to ensure the same timeline as in the ts file?
Thanks,![]()
+ Reply to Thread
Results 1 to 5 of 5
-
-
Thanks for response. Is there any instructions?
MPlayer is another tool that can demux video files, it's usually less picky (works with many formats and corrupted or non-standard files).
Code:mplayer "filename.ts" -dumpvideo -dumpfile "filename_mplayer.264" mplayer "filename.ts" -dumpaudio -dumpfile "filename_mplayer.aac"
Basic command for MP4Box is :
Code:mp4box -add "filename.ts" -new "filename_mp4box.mp4"
If you demuxed the file with TSMuxer (or MPlayer) :
Code:mp4box -add "video.264" -add "audio.aac" -new "filename_mp4box.mp4"
Avidemux also has a GUI. Drag and drop, select "copy" for video and audio, try MP4 and MKV for the container.
Those are the only methods I know that wouldn't imply to completely re-encode the files. Maybe someone will come up with others.Last edited by abolibibelot; 30th Aug 2016 at 19:14.
Similar Threads
-
how to fix "HTTP error 403 Forbidden - Bad Token!!!"
By tom-vin in forum Video Streaming DownloadingReplies: 11Last Post: 16th Apr 2016, 08:26 -
[SOLVED] "--ipratio" "--pbratio"+"--scenecut" "--minkeyint" / "--keyint
By Kdmeizk in forum Video ConversionReplies: 14Last Post: 21st Jun 2015, 07:21 -
"Bad SEI Detected" makes footage jump???
By digitalfreaknyc in forum Authoring (Blu-ray)Replies: 1Last Post: 10th Aug 2014, 13:07 -
Solution: "bad playback" when FFMPEG .TS to MKV/MP4
By VideoGuruDude in forum Video ConversionReplies: 0Last Post: 23rd Feb 2013, 12:36 -
How to increas the fps of a video by adding "logical" frames?
By LeoKac in forum Video ConversionReplies: 3Last Post: 19th Jan 2013, 23:59