[MPlayer-dev-eng] How does the OSD(on screen display) layer of MPlayer work?

Xidorn Quan quanxunzhen at gmail.com
Thu Sep 6 00:54:42 CEST 2012


On Thu, Sep 6, 2012 at 5:57 AM, compn <tempn at twmi.rr.com> wrote:
> On Wed, 5 Sep 2012 22:46:42 +0200, Reimar Döffinger wrote:
>>On 5 Sep 2012, at 03:48, "JW" <jw8957 at qq.com> wrote:
>>> Recently, I hava some trouble with reading the sourcecode of MPlayer.
>>> I want to add personal information to the OSD layer,just like the subtitles,so I shoud have known how the subtitles show up on the OSD layer.
>>
>>Use the osd_show_text slave mode command. If that is not good enough, work your way through the code from there.
>>I don't think the subtitle code is going to do more than confuse you if you actually want only the OSD part.
>
> if you just want to put your name on the video using subtitle you can
> by easily creating a .srt file with the info.

Use function set_osd_msg isn't a bad idea I think.


More information about the MPlayer-dev-eng mailing list