Re: [feature request] subtitles in separate window or console

Reimar Döffinger <[email protected]> Tue, 1 Feb 2022 18:36:16 +0100
Newsgroups gmane.comp.video.mplayer.user
Message-ID <[email protected]>
> On 1 Feb 2022, at 04:54, none <[email protected]> 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...