Re: Mplayer and mp4 files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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"
_______________________________________________
vdr mailing list
vdr@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux