Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > General > Linux, Mac OS X, & Co

Reply
 
Thread Tools Search this Thread Display Modes
Old 3rd January 2005, 14:23   #1  |  Link
DaveQB
Theora and Mkv fan! :)
 
DaveQB's Avatar
 
Join Date: Jun 2002
Location: Sydney
Posts: 347
(me again) good standalone AC3 > ogg script??

So DVD::rip failed for i ripped it in Windows and demuxed it to a nice pair of .m2v and .ac3 files.

mencoder did a brilliant job on the .m2v but then the audio

oggenc my usual partner when it comes to audio doesnt like ac3 files i find. So..... i tried lame to an mp3 file (not my favourite audio file) but it created gimmerish.

I thought of using mplayer to dump it to disk in PCM, but isnt there a way to go straight from

AC3 > ogg Vorbis ??

Cheers for any sugestions

PS yeah i spent about an hour on google.

thanx again
__________________
Can't we all just get along?

Opty 146 @ 2.5Ghz || nForce3 ||1x330 + 3x120gig || CX23881 Capture Card
OCAU || My blog

Proud to be an Aussie!
DaveQB is offline   Reply With Quote
Old 3rd January 2005, 14:44   #2  |  Link
frodoontop
Registered User
 
frodoontop's Avatar
 
Join Date: Jan 2003
Location: Netherlands
Posts: 126
As far as I know there is no straight way. Normally I do the audio like this:

mplayer video.vob -dumpaudio -dumpfile audio.ac3
a52dec -o wav audio.ac3 >> audio.wav
oggenc -q2 audio.wav
vorbisgain audio.ogg (this one isn't necessary, it just normalizes the audio)
frodoontop is offline   Reply With Quote
Old 3rd January 2005, 15:26   #3  |  Link
DaveQB
Theora and Mkv fan! :)
 
DaveQB's Avatar
 
Join Date: Jun 2002
Location: Sydney
Posts: 347
hmmm okee, as suspected.

I wonder how DVD::rip does it ??

i thought of a PCM dump with mplayer, no??
whats a52dec ??

I believe i have that along with ac3dec
__________________
Can't we all just get along?

Opty 146 @ 2.5Ghz || nForce3 ||1x330 + 3x120gig || CX23881 Capture Card
OCAU || My blog

Proud to be an Aussie!
DaveQB is offline   Reply With Quote
Old 3rd January 2005, 19:32   #4  |  Link
mikeX
yakisoooobaaa!!
 
mikeX's Avatar
 
Join Date: Sep 2003
Location: Greece
Posts: 329
DVD::rip is a frontend to transcode, it doesn't use mencoder...
Although I haven't tried it, something like this ought to work with transcode:

transcode -i "your_audio_file" -y null,ogg -m "your_desired_ogg_file" -b 0,1,"your_oggenc_quality"

Optionally you can use -s "value" to increase the volume and -E "value_in_Hz" to resample.
mikeX is offline   Reply With Quote
Old 3rd January 2005, 22:41   #5  |  Link
DaveQB
Theora and Mkv fan! :)
 
DaveQB's Avatar
 
Join Date: Jun 2002
Location: Sydney
Posts: 347
Bingo!

Well done mikeX

Appreciate the help
__________________
Can't we all just get along?

Opty 146 @ 2.5Ghz || nForce3 ||1x330 + 3x120gig || CX23881 Capture Card
OCAU || My blog

Proud to be an Aussie!
DaveQB is offline   Reply With Quote
Old 30th January 2005, 07:24   #6  |  Link
six6
"HTML is not allowed"
 
Join Date: Jan 2003
Location: In Adamantine Chains and penal Fire
Posts: 67
I know this thread is a bit old, but I wanted to talk abit about some of the methods mentioned


@DaveQB
a52dec is from here. It's also available in debian (at least in unstable) as liba52-0.7.4-dev.

@frodoontop
Normalizing via vorbisgain is sometimes not respected by players. You could normalize it @ the wav file stage.
Lastly, it's a picky point, but I don't think you need ">>" but instead ">" in your cmd. At worst, ">" overwrites, and at worst ">>" would concatenate. Therefore, you either overwrote an original audio.wav file but gained a new audio.wav file, or appended audio.wav with new wav data (and thus will have to repeat the a52dec command, since a player will stop after the first wav data ends, and won't play what you concatenated).
six6 is offline   Reply With Quote
Old 31st January 2005, 17:30   #7  |  Link
shevegen
Registered User
 
Join Date: Nov 2003
Posts: 413
ya the threads are all a bit old here
__________________
OS: Paldo (Linux)
AviSynth for Linux, go go go!
shevegen is offline   Reply With Quote
Old 1st February 2005, 14:00   #8  |  Link
frodoontop
Registered User
 
frodoontop's Avatar
 
Join Date: Jan 2003
Location: Netherlands
Posts: 126
Well vorbisgain is supported with mplayer in linux and via corevorbis in windows, so it is good enough for me.

About the > and the >> I already discovered the difference
frodoontop is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:48.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2017, vBulletin Solutions, Inc.