Page 1 of 1

filters sequence on forced aspect ratio

Posted: 09 May 2014 14:19
by siwSop
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,