Page 1 of 1

rtsp url with aspect ratio?

Posted: 28 Aug 2022 18:14
by amcrest
We're using vlc to view several rtsp camera streams. The rtsp urls all display properly, but one of them requires a manual adjustment to the aspect ratio in order to display properly, and we're wondering if the desired aspect ratio can be encoded into the rtsp url, please.

Initially. this connects:

Code: Select all

rtsp://user:passwd@192.168.1.10:4556/cam/realmonitor?channel=1&subtype=1
Then, one must manually enter Alt-va1 to change the aspect ratio to 16:9.

What is the syntax, if any, to encode the aspect ratio into the rtsp url?

Currently Debian 10, vlc 3.0.17.4 Vetinari

Thank you for your considerations.

Re: rtsp url with aspect ratio?

Posted: 28 Aug 2022 18:28
by RĂ©mi Denis-Courmont
It's possible if the server has such an option. VLC won't know or care what goes in the URL.