I'm successfully multicasting video files, but I can't figure out how to stream audio only files, eg .wav files.
I tried from the command line:
Code: Select all
vlc -vvv audio.wav --sout udp:239.20.30.40:1234
Code: Select all
[00000226] main packetizer debug: looking for packetizer module
[00000226] main packetizer debug: probing 29 candidates
[00000146] main module debug: using packetizer module "packetizer_copy"
[00000218] main input debug: stream out mode -> no decoder thread
[00000218] main input debug: starting in synch mode
[00000219] main stream output debug: adding a new input
[00000223] main private debug: adding a new input
[00000223] mux_ts_dvbpsi private debug: adding input codec=u8 pid=68
[00000223] main private error: cannot add this stream
[00000226] main packetizer error: cannot create packetizer output
1. Without selecting audio codec transcoding:
Code: Select all
[00000233] logger interface: Using the logger interface module...
[00000234] main input: playlist item `C:\audio.wav'
[00000240] main private error: cannot add this stream
[00000243] main packetizer error: cannot create packetizer output
Code: Select all
[00000256] ffmpeg encoder error: cannot open encoder
[00000256] ffmpeg encoder error: cannot open encoder
[00000246] stream_out_transcode private error: cannot open encoder
[00000246] stream_out_transcode private error: cannot create audio chain
[00000255] main packetizer error: cannot create packetizer output
Code: Select all
libfaac doesn't support this output format
Code: Select all
vorbis encoder error: CBR mode initialisation failed
Code: Select all
main private error: cannot add this stream
viewtopic.php?t=2534
and modified the command line he used, but to no avail.
Am I missing something? I note that in markfms reply he states that ffmpeg is needed. I don't have any ffmpeg plugin (or at least none called *ffmpeg*), but it appears from the source that ffmpeg is statically linked. That's just a guess.
By the way, as you'd expect the client end is showing no activity in the logger window while trying these, while it does show activity when videos are streamed.
Thanks in advance for any help.