Page 1 of 1

Crop output of camera stream not working

Posted: 06 Jan 2024 13:19
by jockyw2001
With VLC on Windows I can crop the display of a RTSP camera stream using for example --crop=16:9
On Android I thought I could pass this option in the Custom libVLC options (crop=16:9),but it doesn't work.

What am I doing wrong or is cropping not supported on Android?

BR, JockyW

Re: Crop output of camera stream not working

Posted: 06 Jan 2024 17:09
by jockyw2001
After playing with various options I found that these options on Android in custom libVLC options:
fullscreen, aspect-ratio=center
is giving me the required results which correspond to following command line options on Windows:
--fullscreen --crop=5:4

More consistency between the various platforms would have been wishful, but I'm glad the problem is solved anyways :)

Re: Crop output of camera stream not working

Posted: 18 Jan 2024 14:30
by DJG_666
None of the above works on Samsung Galaxy. Useful info, though.

Re: Crop output of camera stream not working

Posted: 18 Jan 2024 16:41
by Spike1
I recall a complaint here that the screen gesture on VLC for Android only switches between two screen-fitting options and is not a generalized zoom. I don't believe VLC 3 for Android offers crop or zoom. OP was talking about VLC for Windows. Developers may say whether it's scheduled for VLC 4 for Android.

Re: Crop output of camera stream not working

Posted: 19 Jan 2024 06:39
by DJG_666
I Second this: VLC 3.5 doesn't crop at all (much needed).