RTSP Speed and Scale parameters

This forum is about all development around libVLC.
marco_sm
New Cone
New Cone
Posts: 2
Joined: 19 Sep 2017 11:13

RTSP Speed and Scale parameters

Postby marco_sm » 19 Sep 2017 11:47

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

marco_sm
New Cone
New Cone
Posts: 2
Joined: 19 Sep 2017 11:13

Re: RTSP Speed and Scale parameters

Postby marco_sm » 22 Sep 2017 12:34

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...

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: RTSP Speed and Scale parameters

Postby Jean-Baptiste Kempf » 16 Oct 2017 05:58

Yes, it is doable. Contact me if you are still blocked on this.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

williamfj
New Cone
New Cone
Posts: 2
Joined: 23 Nov 2022 21:53

Re: RTSP Speed and Scale parameters

Postby williamfj » 23 Nov 2022 22:05

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?


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 18 guests