Hi,
I am actually ripping my bluray discs because I want them to be played from NAS on my HTPC, and I don't own a BD drive on the HTPC (and don't want to, I have one on my laptop), also I want to choose my movies without having to step up and also my network isn't fast enough to transfer content at original bitrate thru the network.
So I need to compress them, I found the relevant informations on using Avidemux 2.5.6 (2.6 has a lot of greyed out options actually) to compress my videos using x264 codec. It is working fine, quality satisfies me. For the audio part, I demuxed the original m2ts file using tsMuxer Gui, to get the dts and dtshd tracks on separate files.
Then I mux the video with these audio files using mkvMerge Gui, setting the correct framerate on the video part.
Here starts the issue : when I playback, using MPC-HC or VLC, my audio is out of sync of values going from 40ms to 250ms depending on movies, on the last I tried yesterday, I hardly found 200ms/210ms delay, which at 23.976 fps means approx. 5 frames.
When I try to play the orignal m2ts file, audio is perfectly synced.
I try to resync by watching and adjusting delay by hand on each track, then remux the mkv putting the obtained delays, it works fine but :
1) It's much time consuming
2) It's done using my eyes/ears, not a scientific way ...
Is there any explanation about this issue and is there a way to avoid this out of sync ?
I remuxed original m2ts file to mkv using mkvmerge and it is synced, so the issue is only with recompressed video. It seems like Avidemux adds some fake frames at the beginning of the video which makes it a bit late compared to audio.
Any help would be greatly appreciated, as I'm yet bored about re-syncing manually after only ten titles, I can't imagine having to do that work on my whole discs ...
Thanks a lot !
P.S. : I tried Handbrake in the past but it doesn't show as much parameters to fine tune the x264 encoder, I spent so much time to get the appropriate parameters using Avidemux to get my best picture quality, I'd prefer to find out the problem !
+ Reply to Thread
Results 1 to 3 of 3
-
-
I gave a new try at last version of Handbrake and managed to apply command line parameters by hand on the x264 encoder, so it seems to become a good solution, I tried compressing 2 chapters for testing, and audio was in sync.
I suspect Avidemux's h264 decoder to send wrong frames to the encoder at the begining, so I'll change to Handbrake if I can apply the good parameters.
Similar Threads
-
avidemux - x264/mkv with chapters? + aspect ratio question.
By simon_h in forum DVD RippingReplies: 2Last Post: 22nd Nov 2011, 14:13 -
DVD Subtitles to Bluray rip in mkv
By Flarup in forum SubtitleReplies: 1Last Post: 11th Nov 2010, 17:30 -
LG BD390 Bluray Player w mkv/x264 support - Questions answered
By andor1999 in forum DVD & Blu-ray PlayersReplies: 17Last Post: 31st Oct 2010, 11:02 -
Audio out of sync after cutting scenes from an MKV file with Avidemux
By kr1ge in forum EditingReplies: 1Last Post: 23rd Oct 2010, 14:08 -
fast recompress in avidemux?
By Holonet in forum LinuxReplies: 1Last Post: 28th Jan 2008, 10:16