Page 1 of 1

VLM <error> does not work with multiple SETUP entries

Posted: 31 May 2015 13:10
by realjobe
Hi.
Using VLC 2.1.5 to 2.2.1 on Windowns 8.1 machine.
I am using VLM to start broadcast transcoding and I have noticed a small issue.
VLM will return

Code: Select all

<?xml version="1.0" encoding="utf-8" standalone="yes" ?> <vlm><error></error></vlm>
if all is give as one GET entry, but
when I use SETUP entries, error is not given. All lines above are pushed individually using PHP'S curl_exec($ch).

Example

Code: Select all

new LIVE broadcast enabled setup LIVE input 'http://192.168.0.251:8001/1:0:16:83F:19:46:E080000:0:0:0:' setup LIVE output #transcode{vcodec=h264,vb=384,fps=25,width=720,height=400,venc=x264{{profile=high,level=3,preset=slower,keyint=250}},acodec=mp3,ab=96,channels=2,samplerate=44100}:std{access=http,mux=ffmpeg{{mux=flv}},dst=0.0.0.0:554/Timstream.flv} control LIVE play
After the PLAY, and error whould be given..

Re: VLM <error> does not work with multiple SETUP entries

Posted: 16 Jul 2015 10:50
by Jean-Baptiste Kempf
Please look at the logs.

Re: VLM <error> does not work with multiple SETUP entries

Posted: 22 Jul 2015 08:05
by realjobe
http://pastebin.com/n8zRNwp8

The case with this debug log is:

- Trying to pull a .ts video stream from DreamBox (Enigma2 device) sateliiteTV, but the tuner is already reserved and the Gstreamer can't start giving the stream.
- So, would it be so that in the debug log

Code: Select all

main error: read error: Connection reset by peer main error: cannot pre fill buffer
should be announced back to VLM error clause?
- Now the Error clause is empty.
- It does not matter if the input parameters are given in multiple "setup" or by one GET call.
- Error is triggered when "Command=Controll <name> play" is called.


Reference https://forum.videolan.org/viewtopic.php?f=4&t=122893