VOD server based on VLC issues with stream "duration"
Thomas COIN <[email protected]> Thu, 22 Jan 2015 16:15:06 +0100
| Newsgroups | gmane.comp.video.videolan.vlc.general |
|---|---|
| Message-ID | <CAJ6P=e8euxmT8R4+_3BqB4-sk1216_WTn0s+T54e96BgG3EbdQ@mail.gmail.com> |
--===============2415846746152652636== Content-Type: multipart/alternative; boundary=089e011615f21fe079050d3f236c --089e011615f21fe079050d3f236c Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello, I've successfully created a vod server using VLC, but i'm not able to retrieve stream duration, when streaming a file. Here are the steps I've made : Server side : vlc -I telnet --telnet-password videolan --rtsp-host 0.0.0.0 --rtsp-port 5554 Client side : telnet <serverip> 4212 new video1 vod enabled setup video1 input /home/thomas/Videos/big_buck_bunny_480p_h264.mov When I open the stream, with GStreamer, i'm not able to get the stream duration, the received rtsp package : RTSP response message 0xac32e128 status line: code: '200' reason: 'OK' version: '1.0' headers: key: 'Server', value: 'VLC/2.1.4' key: 'Date', value: 'Wed, 21 Jan 2015 15:10:28 GMT' key: 'RTP-Info', value: 'url=3Drtsp:// 127.0.0.1:5554/video1/trackID=3D0;seq=3D35178;rtptime=3D2914133846' key: 'RTP-Info', value: 'url=3Drtsp:// 127.0.0.1:5554/video1/trackID=3D1;seq=3D19074;rtptime=3D3316517314' key: 'Range', value: 'npt=3D0.000000-' key: 'Session', value: '49bcba4504c8bb5e;timeout=3D60' key: 'Content-Length', value: '0' key: 'Cache-Control', value: 'no-cache' key: 'CSeq', value: '5' body: length 1 We can see that the rage value is not set. So, is it possible to send the duration with a VLC base VOD server ? Thanks a lot Sincerly --=20 Thomas COIN Ing=C3=A9nieur Syst=C3=A8mes Embarqu=C3=A9s - Adeneo Embedded t=C3=A9l : 06 50 22 13 90 blog : http://thomarmax.wordpress.com site : http://www.adeneo-embedded.com/ <http://www.viadeo.com/invitation/thomas.coin> --089e011615f21fe079050d3f236c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Hello,<br><br clear=3D"all"><div><div>I've successfull= y created a vod server using VLC, but i'm not able to retrieve stream d= uration, when streaming a file.<br><br></div><div>Here are the steps I'= ve made :<br><br>Server side :<br>vlc -I telnet --telnet-password videolan = --rtsp-host 0.0.0.0 --rtsp-port 5554<br><br>Client side :<br>telnet <ser= verip> 4212<br>new video1 vod enabled<br>setup video1 input /home/thomas= /Videos/big_buck_bunny_480p_h264.mov<br><br></div><div>When I open the stre= am, with GStreamer, i'm not able to get the stream duration, <br></div>= <div>the received rtsp package :<br><br>RTSP response message 0xac32e128<br= >=C2=A0status line:<br>=C2=A0=C2=A0 code:=C2=A0=C2=A0 '200'<br>=C2= =A0=C2=A0 reason: 'OK'<br>=C2=A0=C2=A0 version: '1.0'<br>= =C2=A0headers:<br>=C2=A0=C2=A0 key: 'Server', value: 'VLC/2.1.4= '<br>=C2=A0=C2=A0 key: 'Date', value: 'Wed, 21 Jan 2015 15:= 10:28 GMT'<br>=C2=A0=C2=A0 key: 'RTP-Info', value: 'url=3Dr= tsp://<a href=3D"http://127.0.0.1:5554/video1/trackID=3D0;seq=3D35178;rtpti= me=3D2914133846">127.0.0.1:5554/video1/trackID=3D0;seq=3D35178;rtptime=3D29= 14133846</a>'<br>=C2=A0=C2=A0 key: 'RTP-Info', value: 'url= =3Drtsp://<a href=3D"http://127.0.0.1:5554/video1/trackID=3D1;seq=3D19074;r= tptime=3D3316517314">127.0.0.1:5554/video1/trackID=3D1;seq=3D19074;rtptime= =3D3316517314</a>'<br>=C2=A0=C2=A0 key: 'Range', value: 'np= t=3D0.000000-'<br>=C2=A0=C2=A0 key: 'Session', value: '49bc= ba4504c8bb5e;timeout=3D60'<br>=C2=A0=C2=A0 key: 'Content-Length'= ;, value: '0'<br>=C2=A0=C2=A0 key: 'Cache-Control', value: = 'no-cache'<br>=C2=A0=C2=A0 key: 'CSeq', value: '5'<= br>=C2=A0body: length 1<br><br></div><div>We can see that the rage value is= not set.<br><br></div><div>So, is it possible to send the duration with a = VLC base VOD server ?<br><br></div><div>Thanks a lot<br><br></div><div>Sinc= erly<br></div><div><br><br><br></div><div>-- <br><div class=3D"gmail_signat= ure"><div dir=3D"ltr">Thomas COIN<br>Ing=C3=A9nieur Syst=C3=A8mes Embarqu= =C3=A9s - Adeneo Embedded<br><div>t=C3=A9l : 06 50 22 13 90</div><div>blog = : <a href=3D"http://thomarmax.wordpress.com" target=3D"_blank">http://thoma= rmax.wordpress.com</a></div><div>site :=C2=A0<a href=3D"http://www.adeneo-e= mbedded.com/" target=3D"_blank">http://www.adeneo-embedded.com/</a><br><a h= ref=3D"http://www.viadeo.com/invitation/thomas.coin" target=3D"_blank"><img= src=3D"http://static0.viadeo-static.com/v_img23/profile/promotion/white/bu= tton_profile_fr.png"></a><br></div></div></div> </div></div></div> --089e011615f21fe079050d3f236c-- --===============2415846746152652636== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ______________________________________________________ vlc mailing list To unsubscribe or modify your subscription options: https://mailman.videolan.org/listinfo/vlc --===============2415846746152652636==--