VLM <error> does not work with multiple SETUP entries

Discussion about configuration and usage of VLM (a stream scheduler) within VLC.
realjobe
Cone that earned his stripes
Cone that earned his stripes
Posts: 175
Joined: 10 Feb 2008 15:40

VLM <error> does not work with multiple SETUP entries

Postby realjobe » 31 May 2015 13:10

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..

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

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

Postby Jean-Baptiste Kempf » 16 Jul 2015 10:50

Please look at the logs.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

realjobe
Cone that earned his stripes
Cone that earned his stripes
Posts: 175
Joined: 10 Feb 2008 15:40

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

Postby realjobe » 22 Jul 2015 08:05

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


Return to “VLM”

Who is online

Users browsing this forum: No registered users and 9 guests