Page 1 of 1

RTSP Speed and Scale parameters

Posted: 19 Sep 2017 11:47
by marco_sm
Hi,

I just registered into the forum and I would like some help about RTSP streams.

We use libVLC in a custom application to display H.264 video recordings from a video surveillance system. No issues, so far.

Now we need to implement fast forward/backward and reverse playback, that are apparently not supported by VLC, but available on the media server (in the vendor RTSP player already implemented with ActiveX).

The RTSP protocol itself supports those functionalities via the Scale and Speed headers.

Therefore we are thinking that maybe we could work on a patch (or pull request) to add support for the Scale and Speed RTSP parameters in libVLC.

Any advice or insight would be greatly appreciated.

Regards,
Marco

Re: RTSP Speed and Scale parameters

Posted: 22 Sep 2017 12:34
by marco_sm
Sorry for bothering about this again.

Does any libVLC developer know if it is possible to specify arbitrary headers in an RTSP request?

If not, could you provide some guidance about how to add support for this?

I'm looking at the rtsp_request_play function, but I'm not sure it is the right place where to look...

Re: RTSP Speed and Scale parameters

Posted: 16 Oct 2017 05:58
by Jean-Baptiste Kempf
Yes, it is doable. Contact me if you are still blocked on this.

Re: RTSP Speed and Scale parameters

Posted: 23 Nov 2022 22:05
by williamfj
Hello, I am 5 years later with the same concern.
I know the scale option of rtsp
But I don't know how to send it to vlc so that it is added to the header that vlc sends to the server.

since in libvlc the rate option does not work. The playback freezes.
Can someone help me with this question please?