Hello,
I have some recording made from BBC Four that have subtiltes included, they have different colors depending on who speak, I feature i would like to keep ;-)
I demux using : PROJECTX="nice -n 14 projectx -ini /usr/local/bin/AC3.ini " TMP=/media/tmp/PX CUT=/tmp/cut marks2bytepos.pl $1 > $CUT FILES=`echo "$1"/[0-9]*.vdr|sed -e "s//////g"` INFO="$1"/info.vdr
if [ -z "$2" ]; then BASENAME=`echo "$1"|sed -e "s///_/g" -e "s/_video0_//g" -e "s/.99.99.rec//g" -e "s/.50.99.rec//g" -e 's/\:/h/g' -e "s/:/h/" -e "s/_$//g" -e "s/%//g" -e "s/ //g" -e "s/.50.50.rec//g"|TR` else while [ $# -ge 1 ]; do shift BAS="`echo $BAS $1`" done BASENAME="`echo $BAS|TR`" fi A=`dirname $BASENAME` if [ "$A" == "." ]; then OUT=/media/converted BAS=$BASENAME else OUT=/media/converted/`dirname $BASENAME` BAS=`basename $BASENAME` fi
cd /tmp
$PROJECTX -cut $CUT -out $TMP -name PX -demux $FILES
AC3.ini has : MainPanel.enhancedPES=1 SubtitlePanel.exportAsVobSub=1
Which gives me :
-rw-r--r-- 1 greg greg 107M 2008-10-13 19:30 PX-02.mp2 -rw-r--r-- 1 greg greg 8.0K 2008-10-13 19:30 PX_log.txt -rw-r--r-- 1 greg greg 1.4G 2008-10-13 19:30 PX.m2v -rw-r--r-- 1 greg greg 107M 2008-10-13 19:30 PX.mp2 -rw-r--r-- 1 greg greg 3.2M 2008-10-13 19:30 PX.sup -rw-r--r-- 1 greg greg 34K 2008-10-13 19:30 PX.sup.idx -rw-r--r-- 1 greg greg 12K 2008-10-13 19:30 PX.sup.IFO -rw-r--r-- 1 greg greg 4.0M 2008-10-13 19:30 PX.sup.sub
Now if I mux with : mkvmerge -o The.Story.Of.Math.1_4.mkv --default-language eng PX.m2v PX.mp2 PX.sup.idx
The subtile are there but without color...
Any better way (I don't care of the resulting format as long as I keep the colors of the subtitle) ?
Thank you very much,