0kb streaming audio file

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
arkennedy75
New Cone
New Cone
Posts: 3
Joined: 02 Nov 2011 01:50

0kb streaming audio file

Postby arkennedy75 » 04 Nov 2011 02:58

I'm trying to record a m3u url with VLC using a batch file. The output file is 0 kb. Here is my bat file:

"C:\Program Files\VideoLAN\VLC\vlc.exe" http://www.surfmusic.de/media/wtvn-am.m3u :sout=#duplicate{dst=std{access=file,mux=raw,dst=C:\Radio\test_028.mp3}}

Any ideas why my output file is 0 kb? Thank you.

bat999
Cone that earned his stripes
Cone that earned his stripes
Posts: 200
Joined: 19 Dec 2007 02:35

Re: 0kb streaming audio file

Postby bat999 » 04 Nov 2011 06:25

. Here is my bat file:

"C:\Program Files\VideoLAN\VLC\vlc.exe" http://www.surfmusic.de/media/wtvn-am.m3u :sout=#duplicate{dst=std{access=file,mux=raw,dst=C:\Radio\test_028.mp3}}

Any ideas why my output file is 0 kb?
Hi
That stream is aac, not mp3. :?

This command will work with VLC for your bat file:-

Code: Select all

"C:\Program Files\VideoLAN\VLC\vlc.exe" http://www.surfmusic.de/media/wtvn-am.m3u --sout "#std{access=file,mux=mp4,dst=C:\Radio\test_028.m4a}"
8)

arkennedy75
New Cone
New Cone
Posts: 3
Joined: 02 Nov 2011 01:50

Re: 0kb streaming audio file

Postby arkennedy75 » 04 Nov 2011 14:06

Thank you! That works.

One more question, I would like the output file name to include the record date. I saw the script below from a couple other threads to add the date. When I add the date script to my bat file it doesn’t record the stream or add the output file. Is the date script syntax correct? Thank you.

"C:\Program Files\VideoLAN\VLC\vlc.exe" http://www.surfmusic.de/media/wtvn-am.m3u --sout "#std{access=file,mux=mp4,dst=C:\Radio\mystreamfile%date:~7,2%_%date:~4,2%_%date:~10,4%.m4a}


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: Google [Bot] and 31 guests