VLCKit and croppadd

This forum is about all development around libVLC.
Fanfwe
New Cone
New Cone
Posts: 7
Joined: 09 Sep 2020 09:26

VLCKit and croppadd

Postby Fanfwe » 01 Jul 2021 10:38

Hello,

I have compiled the SimplePlayer example from VLCKit for tvOS and I'm able to run it on my Apple TV.
Now I want to try cropping that video, so I modified the call to the VLCMediaPlayer constructor this way:

Code: Select all

mediaPlayer = VLCMediaPlayer(options: ["-vvv", "--video-filter=croppadd{cropleft=400}"])
I have successfully tested this parameter using the VLC media player on my Mac, however it has absolutely no effect on the app I'm building for Apple TV.

Is this at all supposed to be supported ? Am I trying something that isn't meant to be supported and hence won't work ?

mfkl
Developer
Developer
Posts: 739
Joined: 13 Jun 2017 10:41

Re: VLCKit and croppadd

Postby mfkl » 05 Jul 2021 10:10

Can you share full logs? Can you check whether it works on iOS?
https://mfkl.github.io

Fanfwe
New Cone
New Cone
Posts: 7
Joined: 09 Sep 2020 09:26

Re: VLCKit and croppadd

Postby Fanfwe » 05 Jul 2021 16:16

In fact I just found out that there's a videoCropGeometry property in the VLCMediaPlayer class which takes a string as an input.
I've used it with a string at format WxH+X+Y and it does the job.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 13 guests