Can't I play the past video twice or three times faster on ONB?

If possible, please let me know how.

Hi KIm

You can try to start VLC via command line with speed parameter (–rate), for example like in this cmd script:

cd "C:\Program Files (x86)\VideoLAN\VLC"
 
vlc.exe --start-time=3600 --rate=-4.0 "rtsp://admin:Test1234@bgvm-pvv-01:554/vod/F4121B2C-21E5-4312-8399-3172F160E4F3
 
@ --start-time=3600 - specifies "seek" command to 3600 seconds after begining of the records in the RS DB (relatively to DB start)
 
@ --rate=-4.0 - specifies speed of the playback - backwards, 4 times higher than normal (for 1 second of the clock time will pass 4 seconds of the recorded video)
 
@ --rate - supported values [-32.0 : 32.0]. With increase of the speed more and more frames are skipped (otherwise bandwidth becomes unnormeous)

Thank you for your answer !

Unfortunately, I can’t use VLC.

Is it impossible to play twice or three times faster without VLC?

Hi Kim,

Possibility to play video with different speed is part of the RTSP protocol: https://www.rfc-editor.org/rfc/rfc2326.

In particular you could look at the scale parameter: https://www.rfc-editor.org/rfc/rfc2326#page-56

it ahs also been discussed in this thread: https://developer.milestonesys.com/s/question/0D50O00003X1EZnSAN/onvif-bridgertsp-server-reverse-playback-and-gototime-support

In short, the library or application you are using have to support that on RTSP protocol level. Some of them do, some don’t (aka it could be a little bit harder to implement)

Hello Petar,

I understand that ONB in release 2023 R1 complies with RTSP 1.0 (RFC 2326) but not with RTSP 2.0 (RFC 7826) ?

Is ONB 2023 R1 fully compliant with RTSP 1.0 (and RFC 2326) ? Or only on a subset of RFC ?

Nope,

I’m pretty sure it is not fully compliant.

Hello Petar,

Well then comes here the unavoidable question : where can I find the subset of RTSP 1.0 implemented in ONB 2023 R1 ?

How do I know what I can do with ONB and what I can’t regarding for example chapters 10,11 or 12 of RFC 2326 ?

Well, I’m afraid, we don’t have such a document.

As for commands (section 10) all the needed (to create and play media) are supported:

+ 10.1 OPTIONS … 30

+ 10.2 DESCRIBE … 31

+ 10.3 ANNOUNCE … 32

+ 10.4 SETUP … 33

+ 10.5 PLAY … 34

+ 10.6 PAUSE … 36

+ 10.7 TEARDOWN … 37

+ 10.8 GET_PARAMETER … 37 (partially)

Section 11 is with status codes, not sure what you would expect there.

Section 12 - supported headers (if I don’t miss something :-)):

+ 12.1 Accept ............................................... 46

+ 12.5 Authorization ........................................ 46

+ 12.11 Content-Base ........................................ 49

+ 12.14 Content-Length ...................................... 50

+ 12.16 Content-Type ........................................ 50

+ 12.17 CSeq ................................................ 50

+ 12.18 Date ................................................ 50

+ 12.28 Public .............................................. 53

+ 12.29 Range ............................................... 53

+ 12.33 RTP-Info ............................................ 55

+ 12.34 Scale ............................................... 56 (partially)

+ 12.37 Session ............................................. 57

+ 12.38 Timestamp ........................................... 58

+ 12.39 Transport ........................................... 58

+ 12.41 User-Agent .......................................... 62

+ 12.44 WWW-Authenticate .................................... 62

Media-Properties (not part of 1.0)