VlLC subtitle positioning

Discuss your Lua playlist, album art and interface scripts.
bakkie
New Cone
New Cone
Posts: 1
Joined: 21 Oct 2017 01:27

VlLC subtitle positioning

Postby bakkie » 21 Oct 2017 01:32

Dear forum,

I am new here but have searched the internet for an extension that is to my knowledge not made yet. I am looking for an extension that checks the video file resolution and adapts the subtitles position so that it is displayed in the black bar beneath the screen if needed. I know this can be do e manually. However when switching from video with a different resolution the subtitles are displaced. My question is does any one know of such an extension or is any one capeble of making this. I hope this feature is implemented in an update of VLC

mederi
Big Cone-huna
Big Cone-huna
Posts: 1951
Joined: 15 Mar 2011 16:38
VLC version: 2.0.8
Operating System: Windows Vista/XP

Re: VlLC subtitle positioning

Postby mederi » 23 Oct 2017 16:12

However when switching from video with a different resolution the subtitles are displaced.
Can you provide more details please?

You need to start VLC with croppadd video filter to add black bars. You can write a batch script that would use external tools to calculate paddbottom parameter. There is a script for Linux somewhere on the forum. A VLC Extension Lua script could only calculate the parameter and then open current video in another instance of VLC with appropriate options for you.


Return to “Scripting VLC in lua”

Who is online

Users browsing this forum: No registered users and 12 guests