Author Topic: Mplayer for Dingux (subtitle enabled)  (Read 4574 times)

vimrc (OP)

  • Posts: 66
Mplayer for Dingux (subtitle enabled)
« on: April 03, 2010, 10:22:31 pm »
I have put the source of mplayer to, the RMVB library is also attached. Note that the gtktoolchain for dingux is necessary if you want to compile mplayer youself, where you get get it from:


The flickering subtitle/OSD under fbdev is an annoying problem, so subtitle function is disabled in the previous version. However, I found if the subtitle is put outside of the video part as the attached figure, it won't be flickering. So I release the quite beta version, the known bugs are:

1. The next subtitle will overlap the previous one because Mplayer won't erase the previous one automatically. (it should be fixed if we put a dummy subtitle...)

2. Still need IPU for video.

Unfortunately I am quite busy and don't have time to maintain it now. I will release the source at as soon as possible, you're welcome to improve it.  

How to use it?

1. Extract this package, copy /local/apps/, /local/home/, /local/sbin/ to the corresponding directories in your SD card (Please backup old files first).

2. Check your /local/sbin/main, make sure it includes the following statement:
Code: [Select]
export LD_LIBRARY_PATH=/boot/local/apps/gtkapp/
3. If you used dmenu, add the startup entry like:
Code: [Select]
MenuItem Mplayer
Icon = "res/media/mplayer.png"
Name = "Mplayer_sub"
Executable = "./mplayer -really-quiet -vo fbdev -vf scale=320:200,expand=:-20::2"
WorkDir = "/usr/local/apps/mplayer"
Selector = yes

4. In the /home/.mplayer/, I wrote an example config file, you can define your local code page free. (refer to

5. I also put the subfont.ttf file in the /home/.mplayer, you may want to put your own. Don't forget to change its name to subfont.ttf or it's necessary to point it in the config file.

6. If you want to disable the flickering cursor of terminal, add this statement in /local/sbin/main:

Code: [Select]
echo -e '\033[?25l'
7. Now enjoy the subtitle-enabled mplayer, use the start button to disable/enable the subtitle!
« Last Edit: April 04, 2010, 04:06:54 pm by vimrc »


  • * Former Staff
  • Posts: 889
Re: Mplayer for Dingux (subtitle enabled)
« Reply #1 on: April 04, 2010, 12:49:20 pm »
Cool, subtitles were the only missing feature in mplayer i think. There?s a Mplayer for Dingux which doesn?t need the IPU, what  prevents you from taking it out?

Not meant as nagging, just curious...  :)


  • Guest
Re: Mplayer for Dingux (subtitle enabled)
« Reply #2 on: April 04, 2010, 12:58:59 pm »
The Mplayer isnt that useable yet, because you cannot change volume. Although the osd is working and displays the volume bar, nothing is getting louder or anything. Ive tried fixing this, but I didnt get the mplayer without ipu compiled...

vimrc (OP)

  • Posts: 66
Re: Mplayer for Dingux (subtitle enabled)
« Reply #3 on: April 04, 2010, 01:35:29 pm »

Yes, it's true... I complied this version last November and I thought I would get time to improve it, unfortunately I don't have time to maintain it now. So I decided to release it.

At that time, the non-ipu Mplayer hadn't been released... Sorry for the latency...


It's true. The volume control is invalid. But it's not difficult to merge the valid codes to the Mplayer. The available codes can be obtained from Dmenu, Gmenu, Greader2x or the other Dingux program.  :)


  • * Former Staff
  • Posts: 889
Re: Mplayer for Dingux (subtitle enabled)
« Reply #4 on: April 04, 2010, 02:38:31 pm »
Alright, now i understand. Thought there may be a performance hit without IPU or so... is there?  ;D


  • Posts: 1
Re: Mplayer for Dingux (subtitle enabled)
« Reply #5 on: March 23, 2012, 05:59:00 am »
I know it's been almost two years, but if anybody still have this subtitle-enabled mplayer, upload it please. Those links are dead.
« Last Edit: March 23, 2012, 06:01:17 am by neuro »


Post a new topic
Post a new topic