LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 02-14-2008, 04:35 AM   #1
FunkyRes
Member
 
Registered: Mar 2004
Distribution: CentOS
Posts: 174

Rep: Reputation: 30
dvd -> avi and audio sync


Hi -

I'm trying to back up all my stargate DVDs to divx.

Right now I'm working on the pilot.
With dvd::rip - the resultive avi file has audio sync problems. In some parts of the film, it seems perfect - but in other parts, the video definitely lags behind the audio.

I went to

http://www.linuxquestions.org/linux/..._to_DVD5_guide

and did the following from that page:

cat *.vob > movie.vob
tcextract -i movie.vob -t vob -x mpeg2 > movie.m2v
tcextract -i movie.vob -a 0 -x ac3 -t vob > movie.ac3

(I did not resize)

mplex -f 8 -o final.mpg movie.m2v movie.ac3

The result - final.mpg - has perfect audio sync.

I'm not sure what is causing the difference when transcoded to avi (using xvid) but somehow - whether it be using the dvd::rip gui or using transcode from the command line - I'd like to make proper avi files with proper audio sync.

The goal is to put a season's worth of avi files onto a DVD-R so I can watch those when I get a stargate craving, rather than my DVDs. But I don't want to be stuck with poor audio sync.

Any tips at all with respect to how to get to avi with proper audio would be greatly appreciated.
 
Old 02-14-2008, 08:27 AM   #2
Emerson
Senior Member
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~
Posts: 3,177

Rep: Reputation: Disabled
Just back it up into one MPEG-2 file: mplayer dvd://1 -dumpstream -dumpfile rippeddvd.mpg
You can play with mplayer options to strip unneeded audio tracks.

Edit: Didn't read your whole post. I'd recommend using Avidemux2 for transcoding. It will give you full control over sync.

Last edited by Emerson; 02-14-2008 at 08:30 AM.
 
Old 02-15-2008, 08:46 AM   #3
FunkyRes
Member
 
Registered: Mar 2004
Distribution: CentOS
Posts: 174

Original Poster
Rep: Reputation: 30
I got it to work - I took the transcode command that dvd::rip was using and changed -M 2 to -M 4 on the command line - it took a lot longer, but the audio matches the lips now.
 
  


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
DVD::RIP audio out of sync with video Stefan J Linux - Software 2 01-18-2008 03:04 PM
avi -> dvd convert but burn's with no audio? sir-lancealot Linux - Desktop 8 09-24-2007 08:53 AM
transcode vob to avi - audio sync problem Steve Riley Linux - General 5 07-05-2006 08:28 AM
DVD, DiVX, AVI, VCD on SUSE 10.1-video jumpy, audio OK riba43 Suse/Novell 6 06-16-2006 06:09 PM
Audio delay when ripping DVD to AVI with mencoder mikis Linux - Software 2 11-06-2005 05:52 AM


All times are GMT -5. The time now is 05:27 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration