VLM. Problem with option parameter.

Discussion about configuration and usage of VLM (a stream scheduler) within VLC.
Dmitry.Ananyev
New Cone
New Cone
Posts: 4
Joined: 11 Jun 2014 12:45

VLM. Problem with option parameter.

Postby Dmitry.Ananyev » 11 Jun 2014 12:57

Hi to all!

I have a problem with video stream through VLM. It running at Ubuntu 12.4 server x64.

This command work fine, when I run it in debug mode:
cvlc -vvv rtsp://10.5.4.21:554/h264 --sout-mux-caching=5000 --sout '#transcode{vcodec=FLV1,vb=1024,acodec=mp3,ab=128,channels=1,samplerate=44100}:standard{access=http,mux=flv,dst=0.0.0.0:8089/stream.flv}'
video and sound work's fine.

but when i run it in vlm mode, work only sound, w\o video. What's wrong in my config file?

new webcam1 broadcast enabled

setup webcam1 input rtsp://10.5.4.21:554/h264
setup webcam1 option mux-caching=5000
setup webcam1 output #transcode{vcodec=FLV1,vb=1024,acodec=mp3,ab=128,channels=1,samplerate=44100}:standard{access=http,mux=flv,dst=0.0.0.0:8089/stream.flv}

control webcam1 play

May be you ask me, how to debug stream in vlm mode?

Thanks a lot!
Sorry for my English.

Dmitry.Ananyev
New Cone
New Cone
Posts: 4
Joined: 11 Jun 2014 12:45

Re: VLM. Problem with option parameter.

Postby Dmitry.Ananyev » 11 Jun 2014 13:14

i try to run it in vlm console:
It doesn't work, because: cannot add a new stream (unsupported while muxing to this format). You can try increasing sout-mux-caching value

> new test1 broadcast enabled
new
> setup test1 input rtsp://10.5.4.21:554/h264
setup
> setup test1 option mux-caching=5000
setup
> setup test1 output #transcode{vcodec=FLV1,vb=1024,acodec=mp3,ab=128,channels=1,samplerate=44100}:standard{access=http,mux=flv,dst=0.0.0.0:8088/stream1.flv}
setup
> control test1 play
control
> [0x7fca7c004428] access_output_http access out: Consider passing --http-host=IP on the command line instead.
[0x7fca7802e518] [Media: test1] main input error: ES_OUT_RESET_PCR called
MultiFramedRTPSource::doGetNextFrame1(): The total received frame size exceeds the client's buffer size (65536). 6645 bytes of trailing data will be dropped!
[0x7fca7802e518] [Media: test1] main input error: ES_OUT_RESET_PCR called
[flv @ 0x7fca7c4d3f00] Codec for stream 0 does not use global headers but container format requires global headers
[flv @ 0x7fca60017920] removing common factors from framerate
[h264 @ 0x7fca60013da0] Missing reference picture
[h264 @ 0x7fca60013da0] decode_slice_header error
[h264 @ 0x7fca60013da0] allocate_progress() overflow
[h264 @ 0x7fca60013da0] get_buffer() failed (-1 2 (nil))
[h264 @ 0x7fca60013da0] decode_slice_header error
[h264 @ 0x7fca60013da0] allocate_progress() overflow
[h264 @ 0x7fca60013da0] get_buffer() failed (-1 2 (nil))
[h264 @ 0x7fca60013da0] decode_slice_header error
[h264 @ 0x7fca60013da0] allocate_progress() overflow
[h264 @ 0x7fca60013da0] get_buffer() failed (-1 2 (nil))
[h264 @ 0x7fca60013da0] decode_slice_header error
[h264 @ 0x7fca60013da0] allocate_progress() overflow
[h264 @ 0x7fca60013da0] get_buffer() failed (-1 2 (nil))
[h264 @ 0x7fca60013da0] decode_slice_header error
[h264 @ 0x7fca60013da0] allocate_progress() overflow
[h264 @ 0x7fca60013da0] get_buffer() failed (-1 2 (nil))
[h264 @ 0x7fca60013da0] decode_slice_header error
[h264 @ 0x7fca60013da0] allocate_progress() overflow
[h264 @ 0x7fca60013da0] get_buffer() failed (-1 2 (nil))
[h264 @ 0x7fca60013da0] decode_slice_header error
[h264 @ 0x7fca60013da0] allocate_progress() overflow
[h264 @ 0x7fca60013da0] get_buffer() failed (-1 2 (nil))
[h264 @ 0x7fca60013da0] decode_slice_header error
[h264 @ 0x7fca60013da0] allocate_progress() overflow
[h264 @ 0x7fca60013da0] get_buffer() failed (-1 2 (nil))
[h264 @ 0x7fca60013da0] decode_slice_header error
[h264 @ 0x7fca60013da0] no frame!
[h264 @ 0x7fca60014bc0] Missing reference picture
[h264 @ 0x7fca60014bc0] decode_slice_header error
[h264 @ 0x7fca60014bc0] concealing 1584 DC, 1584 AC, 1584 MV errors
[h264 @ 0x7fca600151e0] mmco: unref short failure
[flv @ 0x7fca60c9a4a0] removing common factors from framerate
[0x7fca7c005868] main mux error: cannot add a new stream (unsupported while muxing to this format). You can try increasing sout-mux-caching value
[0x7fca7c4d44d8] stream_out_transcode stream out error: cannot add this stream

Dmitry.Ananyev
New Cone
New Cone
Posts: 4
Joined: 11 Jun 2014 12:45

Re: VLM. Problem with option parameter.

Postby Dmitry.Ananyev » 27 Jun 2014 19:01

Can anybody help?
How use option "mux-caching" correctly?

Dmitry.Ananyev
New Cone
New Cone
Posts: 4
Joined: 11 Jun 2014 12:45

Re: VLM. Problem with option parameter.

Postby Dmitry.Ananyev » 03 Jul 2014 11:19

Resolved.
VLM option parameters stored here: /etc/default/vlcd
VLC_EXTRA_OPTS="--mux-caching=5000"


Return to “VLM”

Who is online

Users browsing this forum: No registered users and 4 guests