vdr-addon-vdrconvert: problems with mjepgtools 1.8.0
Tobias Grimm
tobias.grimm at e-tobi.net
Sun Jan 1 23:55:51 UTC 2006
Thomas Günther wrote:
>Stefan Wagner wrote:
>
>
>>Workaround was postet in vdrportal
>>http://www.vdr-portal.de/board/thread.php?postid=401769#post401769
>>
>>
>
>I think dimitris patch
>(http://vdrportal.de/board/thread.php?postid=393895#post393895) is
>better. It handles both versions of mjpegtools.
>
>
May not be neccessary, but it's a one-liner, so I did it this way:
--- vdr-addon-vdrconvert-0.1.1.orig/bin/vdr2dvd.sh
+++ vdr-addon-vdrconvert-0.1.1/bin/vdr2dvd.sh
@@ -142,6 +142,9 @@
[ "$DVDNORM" = "ntsc" ] && PPMTOY4M_OPTIONS="-n 1 -F 30000:1001
-A 10:11 -I t -L -r -v 0"
fi
+# Need Chroma Subsampling Mode ?
+[ $(ppmtoy4m -h|grep 420mpeg2|wc -l ) -gt 0 ] &&
PPMTOY4M_OPTIONS="$PPMTOY4M_OPTIONS -S 420mpeg2"
+
# Grundfarbe nicht aktiver Button
[ -z "$DVDBUTTONCOLOR" ] && DVDBUTTONCOLOR="#000088"
[ -z "$DVDSUBBUTTONCOLOR" ] && DVDSUBBUTTONCOLOR=$DVDBUTTONCOLOR
For the burn plugin I simply added -S 420mpeg2 and increased the
dependency - don't think anyone needs to use this with an older
mjpegtools version.
Tobias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 548 bytes
Desc: OpenPGP digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-vdr-dvb-devel/attachments/20060102/c3f8ca0c/signature.pgp
More information about the pkg-vdr-dvb-devel
mailing list