PDA

View Full Version : Maintaining audio/video sync?


trojanfoe
13th May 2008, 09:15
Hi there - I have been ripping blu-ray 1080p movies to 720p using MediaCoder (x264) and am having problems with the audio going out of sync by a fraction of second, towards the end of the movie. I assemble the .m2ts fragments from the blu-ray disk into a single file using TSSplitter and then I demux the H.264 track and AC3 (640Kbps) track using TSRemux. I have tried specifying a framerate of both 23.976 in MediaCoder and then reattempted with a more accurate 23.976023976 (24000/1001), but the results are the same.

I then remux the final recoded video back into a blu-ray structure (AVCHD) for playing on my PS3.

Can anyone give me any pointers as to what I'm doing wrong and what I can do to avoid losing any sync?

Cheers,
Andy

dat720
14th May 2008, 08:57
try demuxing the streams with eac3to then mux back into a avchd

when i encode my br/hd's i demux with eac3to then mkvmerge the ac3 into the mkv then encode with mencoder every one of them have been in sync

trojanfoe
15th May 2008, 13:31
Thanks for the reply. I will give that a try. I had tried re-encoding and not overriding the framerate, which implies 'original' framerate I guess, but now the sync has gone the other way (previoulsy the audio was behind the video towards the end of the movie, and now it's in front of the video)! Annoying.

Is there a fundamental problem with demuxing audio and not re-encoding it and then muxing it back into the final file with the re-encoded video?

Cheers,
Andy

dat720
16th May 2008, 14:25
umm not exactly sure on that, i do this all the time tho, read this guide http://forum.doom9.org/showthread.php?t=137128

when i re encode i use mencoder with the harddup switch which forces the streams to stay in sync by either dropping or duplicating frames in the video stream, my usual method for HD/BR to AVI is outlined in that guide and so far i have not had any issues, the only disc that gave some hickups was transformers.