From patchwork Fri May 15 17:00:15 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andr=C3=A9_Weidemann?= X-Patchwork-Id: 12728 Received: from fmmailgate01.web.de ([217.72.192.221]) by mail.linuxtv.org with esmtp (Exim 4.63) (envelope-from ) id 1M50mk-00064I-4c for vdr@linuxtv.org; Fri, 15 May 2009 19:01:26 +0200 Received: from smtp05.web.de (fmsmtp05.dlan.cinetic.de [172.20.4.166]) by fmmailgate01.web.de (Postfix) with ESMTP id 4CEB61022EC29 for ; Fri, 15 May 2009 19:00:17 +0200 (CEST) Received: from [80.88.20.143] (helo=[192.168.3.1]) by smtp05.web.de with asmtp (TLSv1:AES256-SHA:256) (WEB.DE 4.110 #277) id 1M50lb-0003uN-00 for vdr@linuxtv.org; Fri, 15 May 2009 19:00:15 +0200 Message-ID: <4A0D9F9F.2080600@web.de> Date: Fri, 15 May 2009 19:00:15 +0200 From: =?ISO-8859-1?Q?Andr=E9_Weidemann?= User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: VDR Mailing List References: <4A0D5F39.7060700@tiscali.it> <4A0D8B73.4020701@web.de> <4A0D95F5.9060608@tiscali.it> <4A0D9C9D.8060107@tiscali.it> In-Reply-To: <4A0D9C9D.8060107@tiscali.it> Sender: Andre.Weidemann@web.de X-Sender: Andre.Weidemann@web.de X-Provags-ID: V01U2FsdGVkX19JkjjNa4h9ynpcfcD9FXFWfRfONix4j6kk8jWH pTSeZUNG5qjzCol6Xe906r2V64JhTlnKc1MZ0AnG2DlNiSW8Iu 8s6lW2h14qAp9IzALQRA== X-LSpam-Score: -2.5 (--) X-LSpam-Report: No, score=-2.5 required=5.0 tests=AWL=0.072, BAYES_00=-2.599 autolearn=ham Subject: Re: [vdr] Mplayer and mp4 files X-BeenThere: vdr@linuxtv.org X-Mailman-Version: 2.1.9 Precedence: list Reply-To: VDR Mailing List List-Id: VDR Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 May 2009 17:01:27 -0000 Status: O X-Status: X-Keywords: X-UID: 20469 Hi Diego, Diego Pierotto wrote: > Thank you guys, now it's working but the other files (avi, divx, etc) > are not reproducing anymore :-( > > Gotta choose which one keep running??? A user at the German VDR-Portal suggested to adjust the mplayer.sh. http://www.vdr-portal.de/board/thread.php?threadid=82287 I put the code into a diff. Copy this file to the directory of your mplayer.sh and run: patch < mplayer.sh.diff This should "fix" it. Good luck. André --- mplayer.sh.old 2009-05-15 18:52:14.285053000 +0200 +++ mplayer.sh 2009-05-15 18:46:21.473053000 +0200 @@ -554,9 +554,13 @@ \) ; then CMDLINE="$MPLAYER -vo $VO $AOUT $FDSTR $CACHESTR $REMOTE $USERDEF" else + if test "${SUFFIX}" == ".mov" -o "${SUFFIX}" == ".MOV" -o "${SUFFIX}" == ".mp4" || `echo "$VIDEO_FORMAT"| egrep -q "avc1"` || `echo "$VIDEO_FORMAT"| egrep -q "jpeg"`; then + CMDLINE="$MPLAYER -vo $VO $AOUT -demuxer mov -vf scale=$NEW_X:${NEW_Y}${DETC},expand=$NEW_X:$REAL_Y:-1:-1:0,$VOP:$NEW_FPS $SPEED $FDSTR $CACHESTR $REMOTE $SUBTITLES $USERDEF $FORCEIDX" + else CMDLINE="$MPLAYER -vo $VO $AOUT -vf scale=$NEW_X:${NEW_Y}${DETC},expand=$NEW_X:$REAL_Y:-1:-1:1,$VOP:$NEW_FPS $SPEED $FDSTR $CACHESTR $REMOTE $SUBTITLES $USERDEF $FORCEIDX" fi fi +fi debugvar CMDLINE "$CMDLINE" exec $CMDLINE "$FILE"