Log in

View Full Version : OGG command line


sirt
30th April 2012, 11:24
Hi,

I would like to encode some WAV files to VBR OGG trough a BAT file ; what command line would you suggest to use ?

LoRd_MuldeR
30th April 2012, 13:54
Try something like this:

OggEnc2.exe -q 6 -o "C:\Output Folder\Output.ogg" "C:\Input Folder\Input.wav"

sirt
1st May 2012, 00:41
Thanks Lord, it works. Then I tried

"C:\oggenc2.exe" -q 10 *.wav
pause

I except to drag my files on the BAT file. Such comand line works with Lame but it doesn't with ogg ; i also tried "*.ogg" "*.wav" but it seems it is not recognized either.

Groucho2004
1st May 2012, 01:20
Thanks Lord, it works. Then I tried

"C:\oggenc2.exe" -q 10 *.wav
pause

I except to drag my files on the BAT file. Such comand line works with Lame but it doesn't with ogg ; i also tried "*.ogg" "*.wav" but it seems it is not recognized either.

You already asked that question and received an answer here (http://forum.doom9.org/showthread.php?p=1569268#post1569268). Does it not work?

sirt
1st May 2012, 01:32
I don't know if you talk about sneaker_ger's answer, do you ? I want to understand why mine doesn't work in fact...that's why I asked again because the one from my previous post (with the *.wav line) works with Lame but not with OGG

Groucho2004
1st May 2012, 01:38
I don't know if you talk about sneaker_ger's answer, do you ?
That's the post I linked to, isn't it?

I don't know if you talk about sneaker_ger's answer, do you ? I want to understand why mine doesn't work in fact...that's why I asked again because the one from my previous post (with the *.wav line) works with Lame but not with OGG
Because you're using different commands in your batch file (which don't make any sense for drag and drop).
Sneaker_ger's batch code can easily be adapted for ogg.

Bloax
5th May 2012, 20:23
Talking about oggenc2, you might be interested in this. (http://www.hydrogenaudio.org/forums/index.php?showtopic=74345&view=findpost&p=784966) ;)