summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2007-01-03 11:20:40 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2007-01-03 11:20:40 +0000
commitce90a37606b4ba42bf363fc8482bebb3bdcfbf1e (patch)
tree47bc79545164229466a3ad8cb2e04fd5ebbd8dee /media-plugins/vdr-vdrrip/files
parentFixed broken encoding in ChangeLog (diff)
downloadgentoo-2-ce90a37606b4ba42bf363fc8482bebb3bdcfbf1e.tar.gz
gentoo-2-ce90a37606b4ba42bf363fc8482bebb3bdcfbf1e.tar.bz2
gentoo-2-ce90a37606b4ba42bf363fc8482bebb3bdcfbf1e.zip
Corrected bash syntax in patch, thanks to erm67, Bug #159496.
(Portage version: 2.1.2_rc4-r5)
Diffstat (limited to 'media-plugins/vdr-vdrrip/files')
-rw-r--r--media-plugins/vdr-vdrrip/files/digest-vdr-vdrrip-0.3.0-r66
-rw-r--r--media-plugins/vdr-vdrrip/files/mencoderparam-2.diff67
2 files changed, 73 insertions, 0 deletions
diff --git a/media-plugins/vdr-vdrrip/files/digest-vdr-vdrrip-0.3.0-r6 b/media-plugins/vdr-vdrrip/files/digest-vdr-vdrrip-0.3.0-r6
new file mode 100644
index 000000000000..a8ba5765ee75
--- /dev/null
+++ b/media-plugins/vdr-vdrrip/files/digest-vdr-vdrrip-0.3.0-r6
@@ -0,0 +1,6 @@
+MD5 3c5363fd3017458b566e3503ccfaea2c queuehandler-fixed-0.3.0.sh 25777
+RMD160 4e8928b884205556e9d2bbe1b29c9b0ad4029b88 queuehandler-fixed-0.3.0.sh 25777
+SHA256 b6c9729de47ce0ebafdfa8ae8dc2022adc292718d37f79d8569f13d865b25d5f queuehandler-fixed-0.3.0.sh 25777
+MD5 7ba3581d26b3ffc2ebfc400f95bf72fd vdr-vdrrip-0.3.0.tgz 94937
+RMD160 9a3d418e715e3fbcf5d010a21c671b13fd269b99 vdr-vdrrip-0.3.0.tgz 94937
+SHA256 9fda896cacbb78b2139ae6baa53f08a992768a78d0dce33b836b0c2ae797702b vdr-vdrrip-0.3.0.tgz 94937
diff --git a/media-plugins/vdr-vdrrip/files/mencoderparam-2.diff b/media-plugins/vdr-vdrrip/files/mencoderparam-2.diff
new file mode 100644
index 000000000000..e1bc11c31d44
--- /dev/null
+++ b/media-plugins/vdr-vdrrip/files/mencoderparam-2.diff
@@ -0,0 +1,67 @@
+diff -r -u vdrrip-0.3.0/scripts/queuehandler.sh vdrrip-0.3.0.gentoo/scripts/queuehandler.sh
+--- vdrrip-0.3.0/scripts/queuehandler.sh 2006-10-06 18:25:15.000000000 +0200
++++ vdrrip-0.3.0.gentoo/scripts/queuehandler.sh 2006-10-06 18:54:32.000000000 +0200
+@@ -481,26 +481,40 @@
+ local vopopts="-vop $vopopts"
+ fi
+
++ if [ "$ppvalues" -a "${ppvalues:1:2}" != "hb" ]
++ then
++ local mintopts=""
++ local xintopts=""
++ else
++ local mintopts=":ildct:ilme"
++ local xintopts=":interlacing"
++ fi
++
+ # encode in two passes
+ for pass in 1 2
+ do
+ if [ "$pass" = "1" ]
+ then
+ local ofile="-o /dev/null"
++ local mturbo=":turbo"
++ local xturbo=":turbo"
+ else
+ local ofile="-o $tempdir/$name.avi"
++ if [ "$useropts_lavc" ]; then log_info "\$useropts_lavc are set to \"$useropts_lavc\""; fi
++ if [ "$useropts_xvid" ]; then log_info "\$useropts_xvid are set to \"$useropts_xvid\""; fi
++ if [ "$mintopts" ]; then log_info "\Encoding an interlaced stream with \"$mintopts\""; fi
++ if [ "$xintopts" ]; then log_info "\Encoding an interlaced stream with \"$xintopts\""; fi
++ local mturbo=":$useropts_lavc$mintopts"
++ local xturbo=":$useropts_xvid$xintopts"
+ fi
+
+ # set mencoder video values
+ case "$vcodec" in
+ "lavc")
+- local vopts="-ovc lavc -lavcopts vcodec=mpeg4:vhq:vbitrate=$br_video:vqmin=$min_q:vqmax=$max_q:vpass=$pass -sws 2"
++ local vopts="-ovc lavc -lavcopts vcodec=mpeg4:vhq:vbitrate=$br_video:vqmin=$min_q:vqmax=$max_q:vpass=$pass$mturbo -sws 2"
+ ;;
+ "xvid")
+- local vopts="-ovc xvid -xvidencopts bitrate=$br_video:me_quality=6:pass=$pass -sws 2"
+- ;;
+- "divx4")
+- local vopts="-ovc divx4 -divx4opts br=$br_video:q=5:min_quant=$min_q:max_quant=$max_q:pass=$pass -sws 2"
++ local vopts="-ovc xvid -xvidencopts bitrate=$br_video:me_quality=6:pass=$pass$xturbo -sws 2"
+ ;;
+ *)
+ log_error "unknown video codec $vcodec"
+diff -r -u vdrrip-0.3.0/scripts/queuehandler.sh.conf vdrrip-0.3.0.gentoo/scripts/queuehandler.sh.conf
+--- vdrrip-0.3.0/scripts/queuehandler.sh.conf 2004-04-22 20:54:11.000000000 +0200
++++ vdrrip-0.3.0.gentoo/scripts/queuehandler.sh.conf 2006-10-06 18:58:54.000000000 +0200
+@@ -69,3 +69,14 @@
+
+ vdrhostname="localhost"
+
++ # These are the options beside the bitrate and eventually the
++ # interlace options passed to mencoder you can control the
++ # quality of the encoding by changing them here
++
++ useropts_lavc=""
++ # For a high quality high bitrate encoding use:
++ #useropts_lavc="mbd=2:trell:cbp:mv0:cmp=3:subcmp=3"
++ useropts_xvid=""
++ # For a high quality high bitrate encoding use:
++ #useropts_xvid="me_quality=6:vhq=1:notrellis:max_bframes=2"
++