Log in

View Full Version : Converting an mkv problems with framerate.


SledgeHammer_999
7th May 2009, 23:45
First of all I don't know if this is the correct section for the post.
Second, I don't know how to begin explaining but I'll try:

I have an mkv which has one h264 encoded vid stream, two aac audio streams and one ssa sub stream.
If I enable the OSD in ffdshow to show the FPS then I see some "strange" to me numbers. In the first minutes the FPS is fluctuating from 30 to 26. After a few minutes it stabilizes to 23.976.

I use a simple avisynth script with DirectShowSource.(splitter from mpc+ffdshow). I've also set ffdshow to render the subs too(to hardsub them). Then I use Megui+x264(1145) to make a new mkv. In x264 I do a 2-pass encode.

Now the problem: The audio is desynced. I think the problem lies in the "variable" framerate.

So what should I do to reencode it correctly?

Thank you in advance!

Inspector.Gadget
8th May 2009, 00:13
Re-encode from the source, skip the complicated work-arounds.

SledgeHammer_999
8th May 2009, 22:07
Re-encode from the source, skip the complicated work-arounds.

Where is the fun in that? lol

Basically, I just want to LEARN how to solve it. When I encounter these kind of problems I just can't forget them until I found the solution or the cause.

So if you have any suggestions/solutions please tell me!