[vlc] VOD server based on VLC issues with stream "duration"
Thomas COIN
esvcorp at gmail.com
Thu Jan 22 16:15:06 CET 2015
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=rtsp://
127.0.0.1:5554/video1/trackID=0;seq=35178;rtptime=2914133846'
key: 'RTP-Info', value: 'url=rtsp://
127.0.0.1:5554/video1/trackID=1;seq=19074;rtptime=3316517314'
key: 'Range', value: 'npt=0.000000-'
key: 'Session', value: '49bcba4504c8bb5e;timeout=60'
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
--
Thomas COIN
Ingénieur Systèmes Embarqués - Adeneo Embedded
tél : 06 50 22 13 90
blog : http://thomarmax.wordpress.com
site : http://www.adeneo-embedded.com/
<http://www.viadeo.com/invitation/thomas.coin>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc/attachments/20150122/40597d1c/attachment.html>
More information about the vlc
mailing list