[MPlayer-users] bug: subtitles incorrectly displayed with movie coded with matroska codec
Reimar =?UTF8?Q?D=F6ffinger?=
Reimar.Doeffinger at stud.uni-karlsruhe.de
Thu Jan 27 16:28:16 CET 2005
Hi,
On Thu, Jan 27, 2005 at 03:18:37AM +0400, Savchenko Andrew wrote:
> Thanks for the advice. I've made a tiny script to automatically patch
> font.desc. Whith this script I've made a patches for
Thanks. Though I prefer the output the attached, modified script creates (I know
nothing about awk so I might have added a bug while modifying, but it
worked in the case I tried...).
Btw.: uploading very small files is not such a good idea as most people
on this list will not be able to download from incoming.
Greetings,
Reimar D?ffinger
-------------- next part --------------
#!/bin/bash
temp_file_name=`mktemp mplayer-fix-font.descXXXXXXXXXX`
gawk -F "[x| |+|;|(\|)]" '{ print $0; tmp = tolower($6); if (($1==0) && ($2!=tmp) && (index(tmp,"e")!=1)) {print "0x"tmp" "$3" "$4";"} } ' $1 > ${temp_file_name}
mv -f ${temp_file_name} "$1"
More information about the MPlayer-users
mailing list