Log in

View Full Version : MPG to x264 bitrates problem


hurry
21st September 2008, 14:08
I have some MPEGs. I am encoding them to x264 video and AAC audio in the mp4 container with MediaCoder. I want to keep the x264 video bitrate constant since I want to join them later with Yamb. If the x264 video bitrates differ by even 1 kbps, there is video-audio sync problem in the joined mp4 via Yamb. How can I keep the x264 video bitrates the same for all mpg files encoded? Thanks.

Guest
21st September 2008, 14:24
The video bitrate should not affect sync. Something else must be going on.

ajp_anton
21st September 2008, 18:33
Video bitrate has nothing to do with it. You don't need even remotely the same bitrate to join them. Only certain settings will not let you join them (like number of refs, b-frames, anything that affects the way it is decoded).

I'd say they go out of sync because the video and audio tracks doesn't have the same length. Join them in avisynth instead of Yamb, and make sure you use "++" instead of "+" to keep the sync.