how to set two options --aspect-ratio and --video-filter together on command line

This forum is about all development around libVLC.
leonY
New Cone
New Cone
Posts: 5
Joined: 17 Oct 2018 04:25

how to set two options --aspect-ratio and --video-filter together on command line

Postby leonY » 09 Oct 2019 07:33

i have a video which is 3840 x 2160 with left eye channel and right eye channel placed top and bottom.

i.e. left eye 3840 x 1080 on the top and right eye 3840 x 1080 at the bottom

To display only left eye channel at size 1920 x 1080 on vlc player 3.0.8
I can first set Preference->Video->Force Aspect Ratio 8:9 then set Video Effects->Crop->Bottom 1080

the UI menu method works fine.

However I am not able to do it via command line options. I believe the relevant option are --aspect-ratio=8:9 and --video-filter=croppadd{cropbottom=1080} . Individually, each of them works fine.

But they do not work together.

I tried swap their order or combine them as one option. no success.

two options: "C:\Program Files\VideoLAN\VLC\vlc.exe" "--aspect-ratio=8:9" "--video-filter=croppadd{cropbottom=1080}" test_video.mp4
one option "C:\Program Files\VideoLAN\VLC\vlc.exe" "--aspect-ratio=8:9 --video-filter=croppadd{cropbottom=1080}" test_video.mp4

any help/advise is appreciated. thank you
Leon

Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 27 guests