[Live-devel] hi all help to to do trick mode
Rishi kerala
rishikerala at gmail.com
Sun Feb 4 21:39:13 PST 2007
Dear Ross,
thanks for imediate reply..
while playing continously .. I mean I play first with scale 1.0 and then
again i will send a play command to try 4.0
I am getting the buffer. I just want to whether we need to specify the range
also.
or scale only is enough..
even in even ie 2,4,8 also I am getting the 1112 packetsize..
Bocz In my player I am stuck here. bcoz if I try the play command at
starting itself with 4x its working good.
but when I try a normal and jump to 4x then client got hanged.. suddenly
packet size is changed to 1316 to 1116
So is there any problem sending only scale..
Rgds
Rishi
On 2/5/07, Ross Finlayson <finlayson at live555.com> wrote:
>
> >I am using a simple rtsp client player as referrence from mplayer
> >to get stream of ts packets.
> >I need to do the trick mode so..
> >I am just sending a rtsp command as like this
> >
> >char * cmdFmt =
> > "PLAY %s RTSP/1.0\r\n"
> > "CSeq: %d\r\n"
> > "Session: 1\r\n"
> > "Scale: 2.0\r\n"
> > "\r\n";
> >
> >and In this the scale is given in even number like 2,4,6,8
> >but the problem is when I need a FF of 4x and then normal play and
> >then RR .. I want to know the Scale parameter is enough to get
> >packets.
>
> For 4x FF play, use a scale of 4.0. For normal play, use a scale of
> 1.0. For reverse play (at normal speed) use a scale of -1.0.
>
> Note, however, that not all servers support scales other than 1.0.
> (Ours does though, if you have an index file for each TS file.) The
> actual scale that the server implements is returned in the "Scale:"
> header that appears in the response to the RTSP "PLAY" command.
> --
>
> Ross Finlayson
> Live Networks, Inc.
> http://www.live555.com/
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live555.com
> http://lists.live555.com/mailman/listinfo/live-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.live555.com/pipermail/live-devel/attachments/20070204/1a786c6e/attachment.html
More information about the live-devel
mailing list