Philip M. White
2002-Jan-06 21:05 UTC
[vorbis] Slightly off-topic: question about DOS batch files
Jack, thanks for your quick reply about my Comment question. This next question is slightly off-topic, but it pertains to encoding a directory of WAV files into Oggs. Right now I have 14 WAVs that I ripped from a CD... I made a [huge] batch file which specifies the name and track number of each WAV. Unfortunately, I have to have the entire batch file on a single line, since it's a single call to oggenc.exe. This single line is 1057 characters long! :-/ Is there any way to have an escape character, like the backslash on Unix/Linux, that would allow me to have multiple lines of batch file, but would be interpreted as a single line by DOS? That would make it much easier to edit data of each track. If anyone knows about this, please tell me. Thanks. -- Philip. -------------- next part -------------- A non-text attachment was scrubbed... Name: part Type: application/pgp-signature Size: 1489 bytes Desc: not available Url : http://lists.xiph.org/pipermail/vorbis/attachments/20020106/db99a763/part.pgp
> Jack, thanks for your quick reply about my Comment question. > This next question is slightly off-topic, but it pertains to encoding adirectory of WAV files into Oggs.> > Right now I have 14 WAVs that I ripped from a CD... I made a [huge]batch file which specifies the name and track number of each WAV. Unfortunately, I have to have the entire batch file on a single line, since it's a single call to oggenc.exe. This single line is 1057 characters long! :-/> Is there any way to have an escape character, like the backslash onUnix/Linux, that would allow me to have multiple lines of batch file, but would be interpreted as a single line by DOS? That would make it much easier to edit data of each track.> If anyone knows about this, please tell me. Thanks. > > -- Philip.Why not use OggDrop? Going for managed bitrates? Tagging? --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Hello Philip, You wrote at 1/7/2002, 6:05 AM: Philip> Right now I have 14 WAVs that I ripped from a CD... I made a Philip> [huge] batch file which specifies the name and track number of Philip> each WAV. Unfortunately, I have to have the entire batch file Philip> on a single line, since it's a single call to oggenc.exe. This Philip> single line is 1057 characters long! :-/ It isn't necessary to encode the full CD at once, is it? You could do well with multiple lines, like: oggenc -N "01" -q 4 --artist="Dido" --title="Here With Me" --album="No Angel" -d "2001" -n "%%n %%t.ogg" track01.wav oggenc -N "02" -q 4 --artist="Dido" --title="Hunter" --album="No Angel" -d "2001" -n "%%n %%t.ogg" track02.wav . . etc. -- Cheers, _____________________________ SyP (_Szabolcs Péter PGP Key ID: _____________________)ICQ# 69968772 0x098AEC13 <p>--- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
MARK JAMES HETHERINGTON
2002-Jan-06 21:58 UTC
[vorbis] Slightly off-topic: question about DOS batch files
What are you using to get the WAV files in the first place? Most CD rippers allow you to use a command line compressor. At 23:15 1/6/2002, you wrote:>Why not use OggDrop? Going for managed bitrates? Tagging?If you really must know (and I don't think it matters) I use oggdrop because I want to encode a batch of files without requiring user intervention between each file, and because I do a lot of tagging. Besides, I don't see how oggdrop is going to HELP me encode the entire CD to Ogg Vorbis. It's certainly much less automated than oggenc. <p>SyP wrote:> It isn't necessary to encode the full CD at once, is it? You could do > well with multiple lines, like: > oggenc -N "01" -q 4 --artist="Dido" --title="Here With Me" --album="No Angel" -d "2001" -n "%%n %%t.ogg" track01.wav > oggenc -N "02" -q 4 --artist="Dido" --title="Hunter" --album="No Angel" -d "2001" -n "%%n %%t.ogg" track02.wavThat's a good idea, but it would increase the size of my batch file tremendously, because then I'd have to specify a pageful (a pageful in the ogg info viewer, not batch file) of comments for EACH track, and that would be much more maintenance than working with a single line. It would be wonderful if DOS had some kind of escape character. Nice, simple, and elegant. But I guess those words don't really apply to DOS... (*shrug*) Thanks anyway. <p>--- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
John Morton
2002-Jan-06 22:00 UTC
[vorbis] Slightly off-topic: question about DOS batch files
On Monday 07 January 2002 18:05, Philip M. White wrote:> Jack, thanks for your quick reply about my Comment question. > This next question is slightly off-topic, but it pertains to encoding a > directory of WAV files into Oggs. > > Right now I have 14 WAVs that I ripped from a CD... I made a [huge] batch > file which specifies the name and track number of each WAV. Unfortunately, > I have to have the entire batch file on a single line, since it's a single > call to oggenc.exe. This single line is 1057 characters long! :-/ Is there > any way to have an escape character, like the backslash on Unix/Linux, that > would allow me to have multiple lines of batch file, but would be > interpreted as a single line by DOS? That would make it much easier to > edit data of each track. If anyone knows about this, please tell me. > Thanks.Give up on dos batch files and install either python or perl. ActiveState have some nice prepackaged binaries for each. Then grab a tutorial and hack away, or take one of the many existing perl/python rip/encode/tag scripts and tweak it to suit. This is almost certainly going to cause you less pain in the long run. John --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Hongl Lai
2002-Jan-06 23:40 UTC
[vorbis] Slightly off-topic: question about DOS batch files
On Mon, 2002-01-07 at 06:05, Philip M. White wrote:> Jack, thanks for your quick reply about my Comment question. > This next question is slightly off-topic, but it pertains to encoding a directory of WAV files into Oggs. > > Right now I have 14 WAVs that I ripped from a CD... I made a [huge] batch file which specifies the name and track number of each WAV. Unfortunately, I have to have the entire batch file on a single line, since it's a single call to oggenc.exe. This single line is 1057 characters long! :-/ > Is there any way to have an escape character, like the backslash on Unix/Linux, that would allow me to have multiple lines of batch file, but would be interpreted as a single line by DOS? That would make it much easier to edit data of each track. > If anyone knows about this, please tell me. Thanks. > > -- Philip.Try a UNIX shell, like bash. It has been ported to Win32. http://www.mingw.org/ <p><p>--- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
that irritating pissant
2002-Jan-07 10:44 UTC
[vorbis] Slightly off-topic: question about DOS batch files
> If you really must know (and I don't think it matters) I useoggdrop because I want to encode a batch of files without requiring user intervention between each file, and because I do a lot of tagging.> Besides, I don't see how oggdrop is going to HELP me encode theentire CD to Ogg Vorbis. It's certainly much less automated than oggenc. OggDrop isn't any less automated afaik, unless you're looking for tags or some of the other less basic features of oggenc. I highlight the entire directory of WAVs, and slap`em on into oggenc. It converts the whole CD for me, and i don't have to touch it between files. Of course, this still doesn't help if you're looking for tags. Have you tried an all-in-one ripping package like CDex? It supports Vorbis. Don't know if it does tagging properly - testing it out now. Yep, it does the tags. Dunno if this meets your needs or not, but it may be something to consider. <p>--- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.