Add Relative % size option to Marquee Font Size

Feature requests for VLC.
Chromatic
Blank Cone
Blank Cone
Posts: 28
Joined: 27 Jun 2013 16:03

Add Relative % size option to Marquee Font Size

Postby Chromatic » 06 Jul 2013 17:09

This feature could be added to all the font sizing,.. but I use Marquee for Text Overlay of the Dynamic Media info of every file being played (IE: Filename/Time/Duration) --

The only option here is to set it by "Pixels" in the Marquee advanced preferences.

That sounds great, but the problem is, if you don't have ever single video at the exact same resolution -- You have big problems with the size of your marquee text overlay.

High resolutions (Ie: 1280x720) cause the Marquee text overlay to be tiny, unreadable. Then lower resolutions, ie: 640x360 will make the text giant, taking a huge amount of room of the actual screen. There is not middle ground currently.

Thus,.. a "relative percentage" size would be perfect. Where it would utilize a relative size of the full screen being played -- X and Y percent, so no matter what resolution video is being played your text remains the exact same size!

Thanks!

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Add Relative % size option to Marquee Font Size

Postby Jean-Baptiste Kempf » 08 Jul 2013 16:23

What is the video output you are using?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Chromatic
Blank Cone
Blank Cone
Posts: 28
Joined: 27 Jun 2013 16:03

Re: Add Relative % size option to Marquee Font Size

Postby Chromatic » 11 Jul 2013 04:30

Not sure exactly what you are referring to -- however I will try to cover all the bases.

I am using VLC 2.0.7 Twoflower

I am playing files from a playlist,.. 150 videos in the playlist.

The files are a mixture of .mp4, .avi etc.

The resolutions are anywhere from 576x320 to 1280x720 depending on video.

I am broadcasting it with OBS (Open Broadcast Software) to a stream on a media server. (Though this piece of software has nothing to do with the On screen display).

If I am missing the question, please clarify.

Thanks

OffertonChris
New Cone
New Cone
Posts: 1
Joined: 17 Jan 2021 19:27

Re: Add Relative % size option to Marquee Font Size

Postby OffertonChris » 21 Jan 2021 15:17

Did you get an answer?
I just made a work-around for it using FFmpeg function FFprobe

In a batch file:-

Code: Select all

:: Set figure for VLC overlay font size as a :: percentage of source media resolution height FOR /F "tokens=* USEBACKQ" %%F IN (`"ffprobe -v error -show_entries stream=height -of default=noprint_wrappers=1:nokey=1 %VideoSource%"`) DO ( SET ResHt=%%F ) ECHO Resolution height of source video = %ResHt% SET percentage=5 SET /A PxlHt=((%ResHt%/100)*%percentage%) ECHO Marq pixel height = %PxlHt%
Where %VideoSource% = File name or URL of a stream
and %PxlHt% is the returned font size to use in your VLC marquee font size parameter.
Use only whole integers for percentage variable.
(BTW I'm using this in batch files that launch VLC to record a homemade CCTV system using old mobile phones as IP cameras)

Code: Select all

ffprobe -h
is the help page for FFprobe.

Code: Select all

ffprobe -v error -show_format -show_streams %VideoSource%
will show you all the properties of your video that can be extracted.


Return to “VLC media player Feature Requests”

Who is online

Users browsing this forum: No registered users and 3 guests