View Full Version : Remux MKV to MP4 with correct timestamps?
Simon88
25th June 2014, 19:50
If you are just cutting, and DON'T wish to re-encode, it is best to use proper tools... The BEST tools that I know of that can do frame-accurate cutting, which only re-encodes the edit boundaries, of course, is VideRedo. Perhaps you shouldn't be using Vegas for such tasks.. :confused:
DragonQ
25th June 2014, 21:01
If you are just cutting, and DON'T wish to re-encode, it is best to use proper tools... The BEST tools that I know of that can do frame-accurate cutting, which only re-encodes the edit boundaries, of course, is VideRedo. Perhaps you shouldn't be using Vegas for such tasks.. :confused:
I didn't say I was just cutting. I am editing, which will involve effects and such, hence using a video editor like Vegas Pro.
Simon88
25th June 2014, 22:45
I didn't say I was just cutting. I am editing, which will involve effects and such, hence using a video editor like Vegas Pro.
VdeoRedo actually has a pretty good feature called "Quick Stream Fix" that fixes some timestamping and corruption in files.
Have you tried opening with latest version of Avidemux?
raffriff42
26th June 2014, 00:07
I didn't say I was just cutting. I am editing, which will involve effects and such, hence using a video editor like Vegas Pro.Would it be rude of me to suggest you stop trying to do this, and dub your video to a lossless intermediate instead? (Huffyuv, Lagarith, UTVideo or whatever works best in your editor) Search/jog/edit performance will be so much better that you will save time overall.
DragonQ
26th June 2014, 00:28
Would it be rude of me to suggest you stop trying to do this, and dub your video to a lossless intermediate instead? (Huffyuv, Lagarith, UTVideo or whatever works best in your editor) Search/jog/edit performance will be so much better that you will save time overall.
Not sure I have enough space. The files are ~12 GB each already.
Ghitulescu
26th June 2014, 08:18
My workflow is:
- Record HD channel using MediaPortal to TS format (AVC / AC3)
- Cut & fix using TS-Doctor
- If there are errors, copy TS to archive. If no errors, mux to MKV using MKV Merge and copy MKV to archive.
I obviously delete the TS file once the MKV is made but I don't see why that's relevant: I can remux the MKV to TS and it plays fine. It's only the fact that Vegas Pro is stupidly picky about its input formats that's causing these issues. It doesn't accept MKV or TS, it supposedly accepts M2TS but it just freezes, it accepts MP4 but it seems to ignore the timecodes in the MP4 file so that's no good. It accepts raw AVI (from avisynth mount) but as soon as any cuts are made it gets confused and frame order gets screwed up again.
All I want to do is edit some videos together without re-encoding (until rendering of course). :(
While I fully agree with your goal, I still think your process can be improved.
I also process HDTV, with a higher level of workmanship - I add subtitles and keep the original languages, not an easy task with the tools one has, and this is my workflow:
- copy the files (usually they are M2TS for HDTV and TS for SDTV) to the local HDD
- SDTV is parsed throuh ProjectX, which also is used to extract subtitles, also from HDTV files (I am currently working for another solution)
- HDTV is passed to H264cutter (which works wonderful, despite come negative comments I've read)
- SDTV is cut in PjX
- subtitles are added during final muxing
- burn the BDR
This way the video is passed bit-exact to the destination, the original audio and the subtitles are present, no intermediary codecs/containers/formats are used. It requires a lot of space however.
Therefore in your case, the improvement would have been to drop off MKV. This step is causing you apparently all the troubles.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.