Mercurial > mplayer.hg
view TOOLS/x2mpsub.sh @ 6758:ecc71f27bfd7
DR1 IP/IPB supoprt (I/P only with -double) -- OSD *must be* disabled! :)
note: playing IPB mpeg (-vc ffmpeg12) looks broken due to bad frame display
order (differs from frame decoding order) - requires workaround or PUT_IMAGE
implementation...
author | arpi |
---|---|
date | Sat, 20 Jul 2002 15:49:38 +0000 |
parents | 2c6c21e1a1a1 |
children |
line wrap: on
line source
#!/bin/sh # # This script converts the subtitles in the current directory into # MPsub format (into ./converted-subtitles/*) # # Gabucino. No warranty. :) # TMP="x2mpsub-$RANDOM" mkdir "$TMP" touch "$TMP/$TMP" for x in *; do echo "Converting $x" mplayer "$TMP/$TMP" -sub "$x" -dumpmpsub -quiet > /dev/null 2> /dev/null mv dump.mpsub "$TMP/$x" done rm "$TMP/$TMP" mv "$TMP" converted-subtitles