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
-
-
TSMuxer has a GUI so it should be straightforward. (Just drag and drop the file, select “Demux” and run. Rename the output with _tsmuxer so you can know later on which file was created with what tool, if one of these methods happens to do the trick.)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).
(Quotation marks are required if there are spaces in the path of file name. Likewise, if you have to specify the path to mplayer.exe or another CLI tool you have to use quotation marks if there's any space in the path : "C:\Program Files\mplayer.exe")Code:mplayer "filename.ts" -dumpvideo -dumpfile "filename_mplayer.264" mplayer "filename.ts" -dumpaudio -dumpfile "filename_mplayer.aac"
Basic command for MP4Box is :
(Other parameters can be found in the included help ( mp4box -h ) or on various forum threads.)Code:mp4box -add "filename.ts" -new "filename_mp4box.mp4"
If you demuxed the file with TSMuxer (or MPlayer) :
MKVMerge also has a GUI (MKVToolNix), just drag and drop either the original MP4 or the demuxed streams, set the framerate and other parameters if required, and run.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 20: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, 09:26 -
[SOLVED] "--ipratio" "--pbratio"+"--scenecut" "--minkeyint" / "--keyint
By Kdmeizk in forum Video ConversionReplies: 14Last Post: 21st Jun 2015, 08:21 -
"Bad SEI Detected" makes footage jump???
By digitalfreaknyc in forum Authoring (Blu-ray)Replies: 1Last Post: 10th Aug 2014, 14:07 -
Solution: "bad playback" when FFMPEG .TS to MKV/MP4
By VideoGuruDude in forum Video ConversionReplies: 0Last Post: 23rd Feb 2013, 13:36 -
How to increas the fps of a video by adding "logical" frames?
By LeoKac in forum Video ConversionReplies: 3Last Post: 20th Jan 2013, 00:59


Quote