VLC 1.1.4 -> IceCast 2.3.2 -> VLC 1.1.4 (Windows) enc/mux?
Posted: 05 Nov 2010 21:46
I'm experimenting with IceCast and VLC on my local LAN (no firewalls), and have trouble getting things to work.
Set setup is this:
- VLC 1.1.4 on Windows 7 Ultimate x64 sends stream
- IceCast 2.3.2 on Windows Server 2003 Standard x86 accepts the stream as source (port 8000, firewall is open)
- VLC 1.1.4 on another Windows 7 Ultimate x64 machine listens to IceCast mountpoint url to verify the stream is working OK.
My final aim is to use AAC or AAC+ streams transcoded from WAV or MP3 source files.
My first try somehow worked, but uses OGG/Vorbis, which is not what I want to stream:
:sout=#transcode{vcodec=none,acodec=vorb,ab=128,channels=2,samplerate=44100}:duplicate{dst=std{access=shout,mux=ogg,dst=source:sourceF00@w2k3r2x86encast:8000/mountpoint},dst=display} :no-sout-rtp-sap :no-sout-standard-sap :sout-keep
I want to learn about the file/transcoding/acodec/mux combinations that should work for streaming AAC or AAC+ to IceCast.
You guys probably want some logging, so any help getting those is appreciated too.
These did not work:
1. Mountpoint vanishes in less than 5 seconds after the listener starts listening:
:sout=#transcode{vcodec=none,acodec=mp3,ab=128,channels=2,samplerate=44100}:duplicate{dst=std{access=shout,mux=raw,dst=source:sourceF00@w2k3r2x86encast:8000/mountpoint},dst=display} :no-sout-rtp-sap :no-sout-standard-sap :sout-keep
:sout=#transcode{vcodec=none,acodec=mp4a,ab=128,channels=2,samplerate=44100}:duplicate{dst=std{access=shout,mux=mp4,dst=source:sourceF00@w2k3r2x86encast:8000/mountpoint},dst=display} :no-sout-rtp-sap :no-sout-standard-sap :sout-keep
2. Mountpoint vanishes in less than 10 seconds after the listener starts listening:
:sout=#transcode{vcodec=none,acodec=mp3,ab=128,channels=2,samplerate=44100}:duplicate{dst=std{access=shout,mux=mpeg1,dst=source:sourceF00@w2k3r2x86encast:8000/mountpoint},dst=display} :no-sout-rtp-sap :no-sout-standard-sap :sout-keep
3. Mountpoint does not appear:
:sout=#transcode{vcodec=none,acodec=mp4a,ab=128,channels=2,samplerate=44100}:duplicate{dst=std{access=shout,mux=ogg,dst=source:sourceF00@w2k3r2x86encast:8000/mountpoint},dst=display} :no-sout-rtp-sap :no-sout-standard-sap :sout-keep
:sout=#transcode{vcodec=none,acodec=mp4a,ab=128,channels=2,samplerate=44100}:duplicate{dst=std{access=shout,mux=ts,dst=source:sourceF00@w2k3r2x86encast:8000/mountpoint},dst=display} :no-sout-rtp-sap :no-sout-standard-sap :sout-keep
4. Plays at listener PC, but it plays silence in stead of sound:
:sout=#transcode{vcodec=none,acodec=mp3,ab=128,channels=2,samplerate=44100}:duplicate{dst=std{access=shout,mux=ogg,dst=source:sourceF00@w2k3r2x86encast:8000/mountpoint},dst=display} :no-sout-rtp-sap :no-sout-standard-sap :sout-keep
I have included "duplicate" because that allows me to listen both at the streaming PC sending the stream to the IceCast source and the listening PC (fetching the stream from IceCast)
I am aware of the Muxer/Codec/Transport matrices: http://www.videolan.org/streaming-features.html
Protocol: http
Muxers compatible with http: ps, ts, ogg, asf, raw, mpjpeg
Muxers not compatible with http: mp4, quicktime
Muxers: http://wiki.videolan.org/MPEG-TS
muxer ts: transport stream (network transport)
muxer ps: program stream (physical media)
Codec: aac (mpeg-4)
Muxers compatible with aac: ts, mp4, mov, rtp
Mixers not compatible with aac: ps, ogg, asf, mpmjpeg, raw
--jeroen
Set setup is this:
- VLC 1.1.4 on Windows 7 Ultimate x64 sends stream
- IceCast 2.3.2 on Windows Server 2003 Standard x86 accepts the stream as source (port 8000, firewall is open)
- VLC 1.1.4 on another Windows 7 Ultimate x64 machine listens to IceCast mountpoint url to verify the stream is working OK.
My final aim is to use AAC or AAC+ streams transcoded from WAV or MP3 source files.
My first try somehow worked, but uses OGG/Vorbis, which is not what I want to stream:
:sout=#transcode{vcodec=none,acodec=vorb,ab=128,channels=2,samplerate=44100}:duplicate{dst=std{access=shout,mux=ogg,dst=source:sourceF00@w2k3r2x86encast:8000/mountpoint},dst=display} :no-sout-rtp-sap :no-sout-standard-sap :sout-keep
I want to learn about the file/transcoding/acodec/mux combinations that should work for streaming AAC or AAC+ to IceCast.
You guys probably want some logging, so any help getting those is appreciated too.
These did not work:
1. Mountpoint vanishes in less than 5 seconds after the listener starts listening:
:sout=#transcode{vcodec=none,acodec=mp3,ab=128,channels=2,samplerate=44100}:duplicate{dst=std{access=shout,mux=raw,dst=source:sourceF00@w2k3r2x86encast:8000/mountpoint},dst=display} :no-sout-rtp-sap :no-sout-standard-sap :sout-keep
:sout=#transcode{vcodec=none,acodec=mp4a,ab=128,channels=2,samplerate=44100}:duplicate{dst=std{access=shout,mux=mp4,dst=source:sourceF00@w2k3r2x86encast:8000/mountpoint},dst=display} :no-sout-rtp-sap :no-sout-standard-sap :sout-keep
2. Mountpoint vanishes in less than 10 seconds after the listener starts listening:
:sout=#transcode{vcodec=none,acodec=mp3,ab=128,channels=2,samplerate=44100}:duplicate{dst=std{access=shout,mux=mpeg1,dst=source:sourceF00@w2k3r2x86encast:8000/mountpoint},dst=display} :no-sout-rtp-sap :no-sout-standard-sap :sout-keep
3. Mountpoint does not appear:
:sout=#transcode{vcodec=none,acodec=mp4a,ab=128,channels=2,samplerate=44100}:duplicate{dst=std{access=shout,mux=ogg,dst=source:sourceF00@w2k3r2x86encast:8000/mountpoint},dst=display} :no-sout-rtp-sap :no-sout-standard-sap :sout-keep
:sout=#transcode{vcodec=none,acodec=mp4a,ab=128,channels=2,samplerate=44100}:duplicate{dst=std{access=shout,mux=ts,dst=source:sourceF00@w2k3r2x86encast:8000/mountpoint},dst=display} :no-sout-rtp-sap :no-sout-standard-sap :sout-keep
4. Plays at listener PC, but it plays silence in stead of sound:
:sout=#transcode{vcodec=none,acodec=mp3,ab=128,channels=2,samplerate=44100}:duplicate{dst=std{access=shout,mux=ogg,dst=source:sourceF00@w2k3r2x86encast:8000/mountpoint},dst=display} :no-sout-rtp-sap :no-sout-standard-sap :sout-keep
I have included "duplicate" because that allows me to listen both at the streaming PC sending the stream to the IceCast source and the listening PC (fetching the stream from IceCast)
I am aware of the Muxer/Codec/Transport matrices: http://www.videolan.org/streaming-features.html
Protocol: http
Muxers compatible with http: ps, ts, ogg, asf, raw, mpjpeg
Muxers not compatible with http: mp4, quicktime
Muxers: http://wiki.videolan.org/MPEG-TS
muxer ts: transport stream (network transport)
muxer ps: program stream (physical media)
Codec: aac (mpeg-4)
Muxers compatible with aac: ts, mp4, mov, rtp
Mixers not compatible with aac: ps, ogg, asf, mpmjpeg, raw
--jeroen