LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-18-2009, 11:52 AM   #1
SigStop
LQ Newbie
 
Registered: Jul 2009
Location: France
Distribution: ArchLinux
Posts: 1

Rep: Reputation: 0
Audio delay while encoding a DVD with mencoder


Hi,

I want to encode DVDs and create MKV video files so that both video, soundtracks and subtitles are in the same file. However, I have a problem occuring for some DVDs (not all ones). Indeed, the audio of the result file is not synchronised with the video.

Here is how I proceed:
  1. To extract audio I run:
    $> mplayer dvd:// -dumpaudio -dumpfile audio.ac3
  2. To encode the video I use mencoder:
    $> mencoder dvd:// -ovc x264 -x264encopts ... -o video.264

Finally, when I create the container with mkvmerge, I get an audio delay.

With mkvmerge, I can add a "--sync" option. However, is there a way to find the proper sync value?

Thank you very much!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Subtitle encoding MEncoder h4m574h Linux - Software 7 10-16-2009 11:36 PM
Mencoder options for encoding to recent DivX compliant LG DVD players? rylan76 Linux - Software 2 04-09-2009 10:43 AM
Mencoder freezing during encoding process sirwebber Linux - Software 1 07-27-2007 02:39 PM
Mencoder: audio delay when encoding in slices!? J_Szucs Linux - Software 7 06-25-2006 05:30 PM
Audio delay when ripping DVD to AVI with mencoder mikis Linux - Software 2 11-06-2005 05:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration