Nobody knows???Range parameter

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
supriyas
Blank Cone
Blank Cone
Posts: 17
Joined: 22 Feb 2006 12:01

Nobody knows???Range parameter

Postby supriyas » 17 May 2006 07:47

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

The DJ
Cone Master
Cone Master
Posts: 5987
Joined: 22 Nov 2003 21:52
VLC version: git
Operating System: Mac OS X
Location: Enschede, Holland
Contact:

Postby The DJ » 17 May 2006 20:42

What version are you using? Because i think this was fixed in 0.8.5
Don't use PMs for support questions.

supriyas
Blank Cone
Blank Cone
Posts: 17
Joined: 22 Feb 2006 12:01

Re: Nobody knows???Range parameter

Postby supriyas » 22 May 2006 09:28

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

supriyas
Blank Cone
Blank Cone
Posts: 17
Joined: 22 Feb 2006 12:01

Re: Range Parameter..DJ help..

Postby supriyas » 25 May 2006 07:17

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

supriyas
Blank Cone
Blank Cone
Posts: 17
Joined: 22 Feb 2006 12:01

No solution?

Postby supriyas » 30 May 2006 14:37

Hi,
No explaination for this behaviour of the vlc server?
Anybody noted same problem?
DJ can u help??
supriyas

The DJ
Cone Master
Cone Master
Posts: 5987
Joined: 22 Nov 2003 21:52
VLC version: git
Operating System: Mac OS X
Location: Enschede, Holland
Contact:

Postby The DJ » 30 May 2006 19:04

is this on a PLAY, or on a PAUSE call ?
Don't use PMs for support questions.

robc
Blank Cone
Blank Cone
Posts: 53
Joined: 22 Dec 2005 22:04
Location: Melbourne, Australia
Contact:

Re: No solution?

Postby robc » 31 May 2006 01:04

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.

supriyas
Blank Cone
Blank Cone
Posts: 17
Joined: 22 Feb 2006 12:01

Re:Re: No solution

Postby supriyas » 31 May 2006 08:12

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


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 34 guests