This is a port of the ebuild from the gentoo.de overlay with a patch to fix2 problems caused by the version of mplayer used in gentoo. In particular the newer mplayer no longer return the aspect ratio of a dvb stream so the patch fixes it to 4:3, of course this only works if the stream really has 4:3 aspect ratio (and this is the case for most channels). The second patch eliminates the -really-quiet parameter from the mplayer command used to crop the black boarders, the newer versions infact doesn't return crop informations with this parameter. Now it works well on my vdr :-) http://www.vdr-portal.de/board/thread.php?threadid=53225&hilight=vdrrip
Created attachment 98891 [details] vdr-vdrrip-0.3.0-r2.ebuild
Created attachment 98892 [details] confd
Created attachment 98893 [details, diff] vdrrip-0.3.0-1.3.7.diff
Created attachment 98894 [details, diff] mplayercmd.diff
Created attachment 98895 [details] vdrrip-qh
Created attachment 98896 [details] vdrrip-qh.conf
Created attachment 98905 [details] ebuild with patches from debian experimental ported
Created attachment 98906 [details, diff] detectlength.diff
Created attachment 98907 [details, diff] fix-ogm-ac3-vdrsync-dev.diff
Created attachment 98908 [details, diff] greppid2.diff
Created attachment 98909 [details, diff] maketempdir.diff
Created attachment 98911 [details, diff] mplayercmd.diff small change, only fix aspect ratio if mplayer returns 0
Created attachment 99010 [details, diff] fixpreview.diff
Created attachment 99011 [details, diff] mencoderparam.diff new patch submitted to author but did't get any answer.
One of the two problems fixed by UGLY patch2 was fixed by the mplayer upstream and should be soon in in the current svn version of mplayer and so it will be hopefully fixed in the next release, the patch however checks the value returned by mplayer and only forces it to 4:3 if is 0.000 so it is probably a good idea to keep it, maybe adding a warning message.
Comment on attachment 98896 [details] vdrrip-qh.conf # /etc/conf.d/vdrrip-qh # Distributed under the terms of the GNU General Public License, v2 or later # $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-vdrrip/files/vdrrip-qh.conf,v 1.1 2005/11/20 20:35:02 zzam Exp $ USER="root" LOGFILE="/var/log/vdrrip-qh" TEMPDIR="/tmp/vdrrip" QUEUE="/etc/vdr/plugins/queue.vdrrip"
Created attachment 99142 [details, diff] preserve-queue-owner.diff Another patch from Debian Required otherwise the script changes the ownership of the queue file after the encoding and vdr can no longer access it.
Created attachment 99378 [details, diff] log-patch.diff yet another patch to vdrrip-qh without it nothing is logged
Created attachment 99379 [details] vdr-vdrrip-0.3.0-r4.ebuild latest ebuild with all patches
Can someone please rename the attachments to usefull names! "from debian" is no good name for a patch.
picup this bug to gentoo VDR project
Comment on attachment 99011 [details, diff] mencoderparam.diff patch by me to fix motion detection artifacts encoding interlaced streams
Created attachment 99579 [details] vdrrip-qh.conf queue parameter added
commited to CVS. Thanks to erm67 for providing the ebuild and also for proxy-maintaining it :)
Created attachment 99599 [details, diff] mencoderparam.diff small typo
Created attachment 101310 [details, diff] mplayercmd2.diff Fixes definitel the VIDEO_ASPECT problem and works with newer and older versions of mplayer
the plugin still does not work with the newest mplayer the patch mplayercmd2.diff should definitely fix the problem. I searches the first occurrence of ID_VIDEO_ASPECT not 0 and if cannot find it sets Aspect to 1.333
Also added last mplayercmd2.diff to ebuild.