mrdummy
21st March 2008, 09:26
I have already done some steps in conversion and encoding from MKV file.
But i have some troubles with wrong timelength from h264 videostream. Before demuxing, the MKV file has for example length of 24 minutes.
After demuxing videostream from MKV, the timelength suddenly changed to 40 minutes. Still playable, though, but wrong.
I use AVC2AVI to try fix the problem. It works with 29,97 fps videostream, the final AVI videostream has 24 minutes. Good.
But different fps, for example 23,97 fps videostream, has bad result. The timelength is still wrong with too much seconds difference. I can fix it with 24,18 fps (measured with VirtualDub video-audio sync option) but that is still strange fps fix.
It gives troubles with added subtitles and audio stream.
Therefore, what is good solution to fix the timelength of h264 file after demuxing from MKV?
I convert it in AVI file, for editing in VirtualDub. That is another step i have no problem with it.
(After encoding with VirtualDub, i discover the large black video part at the end of videostream, for many seconds. I want avoid it too.)
Don't ask for source media. I won't tell more about it, because the rule #6. I want only speak about h264 timelength problem at demuxing - converting - encoding level. This is basic problem with demuxing h264 videostream and make it AVI compatible for VirtualDub reading / editing. Many users should known this problem. All another steps are not needed here. That is all.
But i have some troubles with wrong timelength from h264 videostream. Before demuxing, the MKV file has for example length of 24 minutes.
After demuxing videostream from MKV, the timelength suddenly changed to 40 minutes. Still playable, though, but wrong.
I use AVC2AVI to try fix the problem. It works with 29,97 fps videostream, the final AVI videostream has 24 minutes. Good.
But different fps, for example 23,97 fps videostream, has bad result. The timelength is still wrong with too much seconds difference. I can fix it with 24,18 fps (measured with VirtualDub video-audio sync option) but that is still strange fps fix.
It gives troubles with added subtitles and audio stream.
Therefore, what is good solution to fix the timelength of h264 file after demuxing from MKV?
I convert it in AVI file, for editing in VirtualDub. That is another step i have no problem with it.
(After encoding with VirtualDub, i discover the large black video part at the end of videostream, for many seconds. I want avoid it too.)
Don't ask for source media. I won't tell more about it, because the rule #6. I want only speak about h264 timelength problem at demuxing - converting - encoding level. This is basic problem with demuxing h264 videostream and make it AVI compatible for VirtualDub reading / editing. Many users should known this problem. All another steps are not needed here. That is all.