Mercurial > mplayer.hg
view TOOLS/x2mpsub.sh @ 14481:b83e85837ae1
Cumulative sync with 1.853: (NB: new CVS log commentation acknoledged)
1.853:
sync to x264 r93:
Change the mechanics of option "keyint": Now controls the GOP size directly and allows variable numbers of non-IDR I-frames within a GOP.
Remove option "idrint" and replace it with "keyint_min".
Add option "8x8mv" for the sake of completeness.
1.852: man page review part XIII
author | gpoirier |
---|---|
date | Wed, 12 Jan 2005 22:16:49 +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