I'm trying to hardcode subtitles onto a VFR matroska video. Here's what I did step by step:
1) Extracted the timecodes file from the source video with MKVextract GUI
2) Timed the subtites in aegisub, then opened the timecodes file in aegisub and went to export > transform framerate, set the input to the video's VFRaC and the output to variable
3) Using megui, I encoded a .mp3 audio of the source video
4) Also using megui, I encoded the exported .ass file onto the video
5) Muxed the encoded video with the encoded audio, setting the video track to the timecodes file I extracted in step 1
When I did this, the resulting mkv plays with the video, audio and subtitles perfectly in sync. However, the end of the video is cut off. The length of my final product is 21:52, while the source video is 23:35. Why does it do this? The encoded video (before muxing) IS the correct length, it isn't until I mux with the timecodes file that it cuts off the end of the video.
+ Reply to Thread
Results 1 to 3 of 3
-
-
You might want to check the part about audio encoding ... the file is vfr ... if audio was encoder as other that could be the snag.
Extract video and that new mp3 as separate files ... use media info to confirm the following
1: Time lengths of all streams (should be exact .. some apps can choke)
2: Any differences between the original audio source and your new mp3 (frequency, bitrate should match or some apps will choke) -
Thanks for taking the time to help me solve this problem. Before I check the audio files though, I guess I should mention that I tried muxing the video with the audio WITHOUT setting the video track to the timecodes file just for the hell of it. While everything was out of sync, the length of the video was the full 23:35
--------------------------------------------------------------
The audio file be it. I extracted the audio track from the original video and opened it in media info. They are both the same frequency and length (23:35). However for the bitrate it says:
Bit Rate Mode: Variable/Variable
Minimum Bit Rate: 8 625 bps
Overall Bit Rate Mode: Constant
Overall Bit Rate: 128 Kbps
Warning: AAC files may contain HE-AAC / AAC+ / SBR AAC audio. This can NOT be detected automatically. Therefore you have to specifiy '--aac-is-sbr 0' manually for this input file if the file actually contains SBR AAC. The file will be muxed in the WRONG way otherwise. Also read mkvmerge's documentation.Last edited by Fadeout4; 19th Feb 2012 at 18:25.
Similar Threads
-
How to encode a DVD/VOB to a vfr mkv
By kwanyeung in forum Newbie / General discussionsReplies: 13Last Post: 1st Aug 2011, 09:56 -
Is there any way to encoding VFR using Megui?
By The Scenes in forum Newbie / General discussionsReplies: 13Last Post: 25th Apr 2011, 08:36 -
Repeted Subtites
By jjulio1 in forum SubtitleReplies: 0Last Post: 17th Sep 2010, 20:40 -
Encoding MKV to MP4 with .ass subtitles without re-encoding.
By smilegreen in forum Video ConversionReplies: 7Last Post: 26th Apr 2009, 14:11 -
VFR MKV to XVID MKV
By Shaorin in forum Newbie / General discussionsReplies: 2Last Post: 24th Nov 2007, 01:52