Code: Select all
int libvlc_media_player_set_rate( libvlc_media_player_t *p_mi, float rate )
{
if (rate < 0.)
{
libvlc_printerr ("Playing backward not supported");
return -1;
}
Code: Select all
int libvlc_media_player_set_rate( libvlc_media_player_t *p_mi, float rate )
{
if (rate < 0.)
{
libvlc_printerr ("Playing backward not supported");
return -1;
}
This is the live555 RTSP Client support in the Live555 official website.Use the "-z <scale>" option to request fast-forward play (<scale> > 1.0), slow play (0 < <scale> < 1.0), or reverse play (<scale> < 0.0). (The default value is 1.0: normal play.)
I find that very hard to believe. What's the command you use? Libvlc 1.1.9 source code states that it's not supported a negative rate!It does work with some RTSP servers, like AneVIA"s
Code: Select all
Setup "video/MP2T" subsession (client ports 60656-60657)
Created output file: "video-MP2T-1"
Sending request: PLAY rtsp://192.168.1.201:8554/test.ts/ RTSP/1.0
CSeq: 5
User-Agent: ./openRTSP (LIVE555 Streaming Media v2011.03.14)
Session: 3F1EC0B2
Scale: -2.000000
Range: npt=30.000-0.000
Code: Select all
Received 212 new bytes of response data.
Received a complete PLAY response:
RTSP/1.0 200 OK
CSeq: 5
Date: Thu, May 26 2011 15:29:34 GMT
Scale: -2.000000
Range: npt=30.000-0.000
Session: 3F1EC0B2
RTP-Info: url=rtsp://192.168.1.201:8554/test.ts/track1;seq=62219;rtptime=1756668699
Code: Select all
Setup "video/MP2T" subsession (client ports 38118-38119)
Created output file: "video-MP2T-1"
Sending request: PLAY rtsp://172.16.2.196:8554/Redbull_720.ts/ RTSP/1.0
CSeq: 5
User-Agent: ./openRTSP (LIVE555 Streaming Media v2011.03.14)
Session: 1ABC44B7
Scale: -4.000000
Range: npt=100.000-0.000
Code: Select all
// A MPEG-2 Transport Stream:
{
char const* streamName = "mpeg2TransportStreamTest";
char const* inputFileName = "Redbull_720.ts";
char const* indexFileName = "Redbull_720.tsx";
Code: Select all
PLAY rtsp://172.16.2.196:8554/Redbull_720.ts/ RTSP/1.0
CSeq: 11
User-Agent: LibVLC/1.1.9 (LIVE555 Streaming Media v2010.11.17)
Session: 68C9705
Scale: -2.000000
RTSP/1.0 200 OK
CSeq: 11
Date: Fri, May 27 2011 14:41:49 GMT
Scale: -2.000000
Session: 68C97056
RTP-Info: url=rtsp://172.16.2.196:8554/Redbull_720.ts/track1;seq=13622;rtptime=2101514686
Return to “Development around libVLC”
Users browsing this forum: No registered users and 5 guests