LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-06-2006, 07:23 AM   #1
@ngelot
Member
 
Registered: Oct 2004
Posts: 84

Rep: Reputation: 15
mencoder and lavc audio


With
Code:
cat *vob | mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd -vf scale=720:576,harddup -srate 48000 -af lavcresample=48000 -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=15:acodec=ac3:abitrate=192:aspect=16/9 -ofps 25 -o movie.mpg -
I get movie.mpg...
The problem is that after I've burned it to a DVD-R, playing it on my DVD-player the sound is VERY low.
I know that I can "rip" the sound and normalize it and then mux it together with the video, but I would like it to be done with one command using lavc (lavcopts).... With 4-5 vobs it's too much work.

I also know that I can use lame or toolame insted of lavc, and that lameopts can rescale volume using vol=#, but then I'll get mp3. Don't know if thats compatible with DVD?

Does anyone know how I can boost the volume using lavc (ac3)?

Does anyone know where I can find a listing of all the different options (and their use) for lavcopts?
I've been googling for a couple of days, but I can't seem to find any good listings...

Thanks!

@ngelot
 
Old 01-07-2006, 12:33 AM   #2
Harmaa Kettu
Member
 
Registered: Apr 2005
Location: Finland
Posts: 196

Rep: Reputation: 30
You can use the software volume control -af volume=X, where X is the amplification in decibels. This works the same way both in mplayer and in mencoder, so it's easy to test different values of X.
 
Old 01-09-2006, 02:23 AM   #3
@ngelot
Member
 
Registered: Oct 2004
Posts: 84

Original Poster
Rep: Reputation: 15
Thanks!

It was something like this I was looking for...

I've got another problem too:

When ripping/encoding a dvd with:
Code:
mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd -vf scale=720:576,harddup -srate 48000 -af lavcresample=48000 -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=15:acodec=ac3:abitrate=192:volume=10:aspect=16/9 -aid 128 -sid 7 -ofps 25 -o movie.mpg dvd://1
I get the movie.mpg with the correct audio but no subtitles....
If I dump title 1 as a single vob on my HD and then run
Code:
mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd -vf scale=720:576,harddup -srate 48000 -af lavcresample=48000 -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=15:acodec=ac3:abitrate=192:volume=10:aspect=16/9 -aid 128 -sid 7 -ofps 25 -o movie.mpg dvd_dump.vob
the subtitles are included...

Do you know why I don't get subtitles in my first example?
 
  


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
mencoder audio resample mrsolo Linux - Software 0 11-17-2004 11:03 PM
mencoder - adding audio to tv through line in Tuttle Linux - Software 0 07-04-2004 09:20 AM
mencoder audio off-snyc help estatik Linux - Software 1 03-12-2004 08:02 PM
mencoder ripping wrong audio Gill Bates Linux - Software 4 01-08-2004 10:25 AM
MEncoder audio codec problems ddpicard Linux - Software 16 05-29-2003 03:49 AM


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