LinuxQuestions.org
Visit Jeremy's Blog.
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-03-2009, 04:19 AM   #1
hate29
Member
 
Registered: Oct 2005
Location: Finland, Tampere
Distribution: Debian
Posts: 47

Rep: Reputation: 15
Mencoder muxing problem with audio/video desynch


Hi,

I use Kaffeine to record dvb to *.ts format ja remove commercials etc. with projectx. The I mux the *.mp2 and *.m2v files together with mencoder. When I watch the produced mpeg, I notice that audio and video are in desynch. Just why is this? Projectx shouldn't do this, so is mencoder a problem? With avidemux everything works fine.

The command that I use with mencoder:
Code:
mencoder -audiofile foo.mp2 foo.m2v -of mpeg -oac copy -ovc 
copy -o foo.mpeg
I really want to use mencoder with this!
 
Old 02-04-2009, 01:14 AM   #2
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,552

Rep: Reputation: 103Reputation: 103
Hmm not sure if this will help, but this is the commandline I use with mencoder to rip DVDs with no audio desync problems. Maybe if you use much the same, but change the input from DVD to a file (or files) it might help?

Code:
mencoder dvd:// -o outfile.avi -oac mp3lame -lameopts vol=8 -ovc lavc -ffourcc DX50 -lavcopts
vcodec=mpeg4:aspect=1.78/1:vbitrate=1800:vrc_eq=tex:naq:ilme:trell:cbp:preme=1:keyint=132:mbd=1:qns=1:vme=4:dia=2 -noskip
try for the "dvd://" part

Code:
mencoder "mf://*.jpg"
with the rest of the command the same

For example, change "mf://*.jpg" to the filename you have

I'm reasonbly sure the above won't work (there's no info / command about a sound file, which you seem to have separately) but if you mix and match with your commandline you already have it might help?
 
  


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
Making a video with 1 jpeg plus audio with mencoder slothpuck Linux - Software 1 08-01-2013 11:57 AM
need help with converting HiDef (sony) .mts video using mencoder - audio losing time MikeP Linux - Desktop 4 06-21-2010 03:12 AM
[video-editing] mencoder problem - segmentaion fault Orangutanklaus Linux - General 0 09-05-2007 03:36 PM
Recording Video and Audio using mencoder OR13 Linux - Desktop 3 01-19-2007 04:19 PM
mencoder/mplayer and splitting both audio and video streams from source... bai_design Linux - Software 0 02-06-2005 04:52 PM

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

All times are GMT -5. The time now is 08:56 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