filters sequence on forced aspect ratio

This forum is about all development around libVLC.
siwSop
New Cone
New Cone
Posts: 1
Joined: 09 May 2014 12:58

filters sequence on forced aspect ratio

Postby siwSop » 09 May 2014 14:19

Hello =)

I'm using libvlc to embed a video preview in my application and i would like to preview subtitles as well.

I encountered the known crop-problem (https://forum.videolan.org/viewtopic.php?f=14&t=90493)
and i was wondering, what exactly is the sequence in which the filters are applied,
and causes vlc to have this behaviour.

It seems to me that the subtitles area is calculated according to the initial video resolution and
this is why the subtitles are being shifted to the right and the left,
when the forced aspect ratio is smaller and greater than the initial aspect ratio respectively.

I was hoping that i could produce an .ass file that will "undo" this behaviour
(by changing the size, scale and position of the subtitles) by understanding how vlc handles the filters.

Thanks,

Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 37 guests