Page 1 of 1

Nobody knows???Range parameter

Posted: 17 May 2006 07:47
by supriyas
Hi,
I was expecting the developer team to respond to this.
I want to know why vlc server does not respond to the range parameter.
It, irrespective of range specified , plays from start to end. It does not have control over range??Cant I play from a specified range??
plz help,
thanks,
supriyas

Posted: 17 May 2006 20:42
by The DJ
What version are you using? Because i think this was fixed in 0.8.5

Re: Nobody knows???Range parameter

Posted: 22 May 2006 09:28
by supriyas
Hi,
Thanks for the reply. Well, I tried it with vlc 0.8.5 also and it still behaves the same way. No effect of Range prameter. Even I tried giving some wrong range like npt=50.000-0.000 but it does not give an error also. What could be the reason?? It seems like vlc server straight away ignores this parameter. How could I think of playing from a particular offset without this feature??
Plz help,
Thanks in advance,
supriyas

Re: Range Parameter..DJ help..

Posted: 25 May 2006 07:17
by supriyas
Hi,
vlc 0.8.5 also does not support range specification? U said the bug is removed in this version..so whats the problem.Is the way I m giving the range wrong?
I give it in the PLAY command as Range: npt=10-20 for example.???\
:( . Whats the problem???
One more thing I m using it for MPEG2 TS format..Does tht make ne difference?
Thanks in advance,
supriyas

No solution?

Posted: 30 May 2006 14:37
by supriyas
Hi,
No explaination for this behaviour of the vlc server?
Anybody noted same problem?
DJ can u help??
supriyas

Posted: 30 May 2006 19:04
by The DJ
is this on a PLAY, or on a PAUSE call ?

Re: No solution?

Posted: 31 May 2006 01:04
by robc
The implementation of Range header support in the RTSP server module of VLC is relatively incomplete. At this point in time the code expects the parameter to the Range header to be a float only - There is at this stage no support for the specific time references or the "now" keyword as defined in RFC 2326. This document defines npt-range acceptable parameters as follows:
npt-range = ( npt-time "-" [ npt-time ] ) | ( "-" npt-time )
npt-time = "now" | npt-sec | npt-hhmmss
npt-sec = 1*DIGIT [ "." *DIGIT ]
npt-hhmmss = npt-hh ":" npt-mm ":" npt-ss [ "." *DIGIT ]
npt-hh = 1*DIGIT ; any positive number
npt-mm = 1*2DIGIT ; 0-59
npt-ss = 1*2DIGIT ; 0-59
Further to this however, the vlm_MediaControl function within src/misc/vlm.c source file expects the seek position parameter to be supplied as a percentage of the total film length (rather than an absolute normal play time as parsed from the Range header) - This disjoint between expected and supplied parameters is likely to also contribute to the mixed behaviour seen with respect to Range header support.

Re:Re: No solution

Posted: 31 May 2006 08:12
by supriyas
Hi,
Well DJ, this is on the PLAY call..also I 've seen that the "scale" parameter also doesnt work for RTSP.
So robc, is it like it does not support 'range' at all or supports specific formats of time? If yes..which format?
Is there any other way to play a movie from a specific point of time??Or I will have to wait till the next release?
I m playing mpeg2 TS format. The movie plays but on server the time near the seek bar does not increment.
Is it like with RTSP server does not keep the track of time at all?
Plz suggest some way out. I want to play for a specific range.

Thanks n regards,
supriyas