Mercurial > mplayer.hg
view TOOLS/x2mpsub.sh @ 10950:1665cee5c281
big update of cputable:
- Fixed/Updated Cyrix/IDT CPUs from VIA (some entries were mixed up to wrong vendor)
- Updated Intel Table (newer P4, Pentium-M, Itanium, Itanium 2 (unused))
- Updated AMD Table (Athlon 64, no info on Athlon 64 FX yet...)
author | atmos4 |
---|---|
date | Fri, 26 Sep 2003 22:42:10 +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