I can confirm this issue too:
I'm trying to re-stream an RTSP steam I get from an IP camera. Here is my vlm.conf:
Code: Select all
new cam1 broadcast enabled
setup cam1 input rtsp://admin:admin@192.168.0.164/0
setup cam1 output #rtp{mux="ts",sdp="rtsp://localhost:1234/cam1"}
control cam1 play
With the above, I can stream MJPG just fine, but "mux=ts" doesn't support G726 and I get:
Code: Select all
[0x10027b070] main mux error: cannot add this stream
[0x10027f260] stream_out_rtp stream out error: cannot add this stream to the muxer
[0x105866ef0] [Media: cam1] main decoder error: cannot create packetizer output (g726)
If I remove the "mux=ts" from the above I get:
Code: Select all
➜ vlc --vlm-conf vlm.conf
VLC media player 2.0.2 Twoflower (revision 2.0.2-9-gd1b4a63)
[0x10020a650] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[0x10027f260] stream_out_rtp stream out: Consider passing --rtsp-host=IP on the command line instead.
[0x10027f260] stream_out_rtp stream out error: cannot add this stream (unsupported codec: MJPG)
[0x103023cf0] [Media: cam1] main decoder error: cannot create packetizer output (MJPG)
Any workaround to be able to stream MJPG+G726 over RTP/RTSP?