No, it is not a Vista problem - my mistake, I didn't specify the encapsulation method.
The following should stream to a LPCM WAVE file:
Code: Select all
@ECHO OFF
CD "C:\Program Files\VideoLAN\VLC\"
START vlc.exe http://74.222.8.253:8015 :sout=#transcode{acodec=s16l,ab=192,channels=2}:duplicate{dst=std{access=file,mux=wav,dst="C:\Temp\Test.wav"}}
Where "C:\Temp\Test.wav" is the destination. That should be playable in VLC.
The following will stream to a 192kbps CBR MP3 file:
Code: Select all
@ECHO OFF
CD "C:\Program Files\VideoLAN\VLC\"
START vlc.exe http://74.222.8.253:8015 :sout=#transcode{acodec=mp3,ab=192,channels=2}:duplicate{dst=std{access=file,mux=wav,dst="C:\Temp\Test.mp3"}}
Where "C:\Temp\Test.mp3" is the destination. That will not be playable as-is in VLC. It is, however, playable in e.g.
foobar2000. Using the utility "Rebuild MP3 Stream" within foobar2000 will rewrite the header etc. and make it playable in VLC and other media players (e.g. Windows Media Player).
Alternatively the outputted MP3 file can be opened in e.g.
mp3DirectCut where doing a "File >> Save all..." will also rebuild the stream losslessly (If you do not have either programs mp3DirectCut is probably the best choice since it is a small/lightweight program).
There are other tools which should alse be able to rebuild the mp3 stream, the above two are just a couple of examples.
Cheers, Arite.