Http intrface and transcoding?

About encoding, codec settings, muxers and filter usage
realjobe
Cone that earned his stripes
Cone that earned his stripes
Posts: 175
Joined: 10 Feb 2008 15:40

Http intrface and transcoding?

Postby realjobe » 25 Nov 2014 19:59

Hi there.
I have this WP8.1 App "DreamWebTV" that apparently needs VLC to be active and HTTP & LUA interpreter with password active.
Mobile App seems to send the trans coding command to VLC with all the params like

Code: Select all

"transcode{vcodec=h264,vb=384,fps=25,width=640,height=360,venc=x264 {{profile=baseline,level=1}},acodec=mp3,ab=96,channels=2,samplerate=48000,scodec,soverlay} :http{dst=:8080/140378593.ts}"
when input is

Code: Select all

http://srv:8001/1:0:1:11:3:F:FFFF0000:0:0:0:
So VLC has this Http interface "http://srv:8080/requests/vlm_cmd.xml" that needs commands.
How is above done? HttpAPI/ JSON?

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

Re: Http intrface and transcoding?

Postby realjobe » 30 Nov 2014 20:57

Well.. Apparently it is something like

Code: Select all

http://srv:8080/requests/vlm_cmd.xml?command=new testd broadcast enabled input "http://192.168.0.251:8001/1:0:1:11:3:F:FFFF0000:0:0:0:" output #transcode{vcodec=h264,vb=256,fps=25,scale=1,acodec=mp3,ab=96,samplerate=44100,channels=1}: std{access=http,mux=ffmpeg{{mux=flv}},dst=0.0.0.0:554/stream.mp4}
and then to play

Code: Select all

http://tsrv:8080/requests/vlm_cmd.xml?command=control testd play
Kill it

Code: Select all

http://tsrv:8080/requests/vlm_cmd.xml?command=del testd
All can be see under 'Manage Streams" on WebUI


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 12 guests