Tuesday, May 7, 2024
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 10267  / 1 Year ago, tue, december 20, 2022, 9:02:34

How change mplayer subtitle from white to yellow? Also how change subtitle font to Ubuntu-font-family ?


More From » configuration

 Answers
5

You can try the following:



Edit your mplayer config file (/home/user/.mplayer/config) and add these lines:



font = "Ubuntu"
ass-font-color = "ffff0000"
ass-font-scale = "2"


Let's say you have a video named video.avi and the subtitles in the same folder eg:(home/user/Videos) named subtitle.srt.



Then to open a video with mplayer in full screen from the command line type:



cd /home/user/Videos
mplayer video.avi -sub subtitle.srt -fs -ass


(You can change the value of "ass-font-scale" acoording to your needs.)



If you are using mplayer-gui to open the video, make sure you have SSA/ASS enable,right-click in mplayer-gui and go to Preferences.



In the tab "Subtitles & OSD" click in "SSA/ASS subtitle rendering"



enter image description here



If you want to change another option like font scaling just go to the "Font" tab.



enter image description here



(Maybe after changing some options you have to restart the mplayer-gui.)



Hope this will be helpful!



Regards.


[#33707] Wednesday, December 21, 2022, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
rryble

Total Points: 489
Total Questions: 121
Total Answers: 119

Location: Marshall Islands
Member since Mon, May 31, 2021
3 Years ago
rryble questions
Thu, Jan 5, 23, 18:10, 1 Year ago
Wed, Aug 11, 21, 07:19, 3 Years ago
Fri, Jul 23, 21, 00:13, 3 Years ago
;