[MPlayer-users] [feature request] subtitles in separate window or console

Reimar Döffinger Reimar.Doeffinger at gmx.de
Tue Feb 1 19:36:16 EET 2022


> On 1 Feb 2022, at 04:54, none <suprnerd at suddenlink.net> wrote:
> 
> Hello,
> 
> 
> When videos have more subtitles than usual (ex: a Twitch VOD) it might be preferable to have them scroll in a separate window or in the console.  Would it be possible to implement such a feature?
> 

The code is there, when no video is displayed the subtitles are shown on the console.
See set_osd_subtitle in mplayer.c
These lines update the subtitle rendered on the video:
    vo_sub = subs;
    vo_osd_changed(OSDTYPE_SUBTITLE);

and changing this to if(1) would always render it in console:
    if (!mpctx->sh_video) {

But it seem a very special feature to add an option or something for it really...



More information about the MPlayer-users mailing list