[MPlayer-users] subdelay + dumpsrtsub -> the opposite delay sign

Teemu Likonen tlikonen at iki.fi
Wed Mar 6 17:40:48 CET 2013


Vladimir Mosgalin [2013-03-06 19:13:44 +0400] wrote:

> As long as I remember, mplayer always interpreted subdelays opposite
> to other tools.
>
> Btw I *really* suggest you not to use -dumpsrt for srt-to-srt (or any
> other kind, for that matter) conversion; better use "srttool" (e.g.
> srttool -d -5 -i input.srt > output.srt") (it used to go with transcode
> package, if you can't find it, I can send its source) for
> non-interactive changes and subtitleeditor for interactive changes.

Thanks for suggestion. I rarely need this but I've used mplayer
succesfully for timing subtitle files. The usual pattern is:

    mplayer film.mkv -dumpmicrodvdsub [...]
    mplayer film.mkv -sub dumpsub.sub -subdelay X -subfps Y

When I have correct values for X and Y I do:

    mplayer film.mkv -sub dumpsub.sub -subdelay -X -subfps Y -dumpsrtsub

So it seems I need to change the sign of subdelay value X before I run
-dumpsrtsub. It's OK but I don't remember having required to do that
before. Maybe I remember wrong.



More information about the MPlayer-users mailing list