Page 1 of 1

using vlc to :sout my audio CDs to mp4 [SOLVED]

Posted: 17 Jul 2009 15:27
by just-do-it
Hi
I wonder if anyone has any ideas about this:

I am transcoding all my audio cds to mp4 format and then listening to them via http via vlc

In vlc 0.8.6d I was essentialy using

Code: Select all

c:\program files\videolan\vlc\vlc.exe" cdda://t:@track_no :sout=#transcode{acodec=mp3,ab=192,channels=2}:duplicate{dst=std{access=file,mux=mp4,dst="./track_no.mp4"}} vlc:quit
wrapped up in a windows vbs script (which you can download here)
http://just-do-it.no-ip.org/vlc/vlc_que ... _ripcd.php
this was working happily and I had transcoded some 100 CDs

I then upgraded vlc to 1.0.0 and started using

Code: Select all

"c:\program files\videolan\vlc\vlc" cdda://f: :cdda-track=3 :sout=#transcode{acodec=mp4a,ab=128,channels=2,samplerate=44100}:duplicate{dst=std{access=file,mux=mp4,dst=t1cjs.mp4},dst=display VLC://QUIT
in a silightly modified script
http://just-do-it.no-ip.org/vlc/vlc_que ... ripcd2.php
to take account of the small changes upgrading to vlc1.0.0

Unfortunately the second .vbs file fails to work with vlc1.0.0
The mp4 gets created (I have watched it do it) and then gets deleted imediately before the script loops to do the next track.
I am using w2k advanced server and windows xp to run the script and the faster xp machine is more robust than the w2k although neither are able to reliably transcode my CDs using vlc1.0.0 although vlc0.8.6d will run both scripts faultlessly...
anyone got any ideas how I can make vlc1.0.0 rip my cds - if I have to automate transcoding my CDs some other way I am open to suggestions
Chris

Re: using vlc to :sout my audio CDs to mp4

Posted: 17 Jul 2009 16:14
by Jean-Baptiste Kempf
Aren't you missing a } at the end?
Can you sahre your messages?

Re: using vlc to :sout my audio CDs to mp4 [SOLVED]

Posted: 17 Jul 2009 20:50
by just-do-it
Aren't you missing a } at the end?
YES! I put the '}' in and guess what - it works!

thanks
Chris