Re: [vdr] Mplayer and mp4 files
André Weidemann ha scritto: 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é ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr Thanks André, the patch did the trick. I applied it and now i can play both video format files :-) -- Member of the Italian VDR Wiki http://vdr.spaghettilinux.org/ ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] Mplayer and mp4 files
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@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] Mplayer and mp4 files
VDR User ha scritto: On Fri, May 15, 2009 at 9:19 AM, Diego Pierotto wrote: i really don't know where to put it inside mplayer.sh script. Look at the end of the mplayer.sh script and you'll see where $CMDLINE is used on the mplayer execution line. Just add it there. For example (this is not from mplayer.sh but the same concept): sudo DISPLAY=:0.0 $CMDLINE "$1" &>/logs/mplayer.log would become: sudo DISPLAY=:0.0 $CMDLINE -demuxer mov "$1" &>/logs/mplayer.log ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr Thank you guys, now it's working but the other files (avi, divx, etc) are not reproducing anymore :-( Gotta choose which one keep running??? -- Member of the Italian VDR Wiki http://vdr.spaghettilinux.org/ ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] Mplayer and mp4 files
On Fri, May 15, 2009 at 9:19 AM, Diego Pierotto wrote: > i really don't know where to put it inside > mplayer.sh script. Look at the end of the mplayer.sh script and you'll see where $CMDLINE is used on the mplayer execution line. Just add it there. For example (this is not from mplayer.sh but the same concept): sudo DISPLAY=:0.0 $CMDLINE "$1" &>/logs/mplayer.log would become: sudo DISPLAY=:0.0 $CMDLINE -demuxer mov "$1" &>/logs/mplayer.log ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] Mplayer and mp4 files
André Weidemann ha scritto: Hi Diego, Diego Pierotto wrote: Hi all, after i updated Mplayer and FFMPEG i can't hear the audio of video files downloaded from YouTube using webvideo. I can see the video but the audio is not present. I found a related post on the mplayer mailing list that suggested adding "-demuxer mov". See: http://lists.mplayerhq.hu/pipermail/mplayer-users/2008-October/074955.html So simply add it to the mplayer command line in mplayer.sh and see if it helps. Regards. André ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr Thanks for your reply but i really don't know where to put it inside mplayer.sh script. By the way, my output debug is: May 15 18:11:46 vdrbox logger: *** Starting mplayer.sh Version 0.8.7 May 15 18:11:46 vdrbox logger: *** DEBUG: Variable CFGFIL has value "/usr/local/bin/mplayer.sh.conf" May 15 18:11:46 vdrbox logger: *** DEBUG: Variable USEAC3 has value "false" May 15 18:11:46 vdrbox logger: *** DEBUG: Variable AC3AOUT has value "-ac hwac3" May 15 18:11:46 vdrbox logger: *** DEBUG: Variable TV_ASPECT has value "16/9" May 15 18:11:46 vdrbox logger: *** DEBUG: Variable PAL has value "true" May 15 18:11:46 vdrbox logger: *** DEBUG: Variable NTSC has value "true" May 15 18:11:46 vdrbox logger: *** DEBUG: Variable USE_SPEED has value "true" May 15 18:11:46 vdrbox logger: *** DEBUG: Variable DETC_FILTER has value "ivtc=1" May 15 18:11:46 vdrbox logger: *** DEBUG: Variable MPLAYER has value "/usr/bin/mplayer" May 15 18:11:46 vdrbox logger: *** DEBUG: Variable VOP has value "lavc=5000" May 15 18:11:46 vdrbox logger: *** DEBUG: Variable VO has value "mpegpes" May 15 18:11:46 vdrbox logger: *** DEBUG: Variable AO has value "mpegpes" May 15 18:11:46 vdrbox logger: *** DEBUG: Variable CACHE has value "4096" May 15 18:11:46 vdrbox logger: *** DEBUG: Variable CACHE_MIN has value "10" May 15 18:11:46 vdrbox logger: *** DEBUG: Variable CACHESTR has value " -cache-min 10" May 15 18:11:46 vdrbox logger: *** DEBUG: Variable FRAMEDROP has value "false" May 15 18:11:46 vdrbox logger: *** DEBUG: Variable FDSTR has value "" May 15 18:11:46 vdrbox logger: *** DEBUG: Variable LIRCRC has value "" May 15 18:11:46 vdrbox logger: *** DEBUG: Variable LIRCSTR has value "" May 15 18:11:46 vdrbox logger: *** DEBUG: Variable SUBTITLE has value " -subpos 80 -sub-bg-color 0 -sub-bg-alpha 30" May 15 18:11:46 vdrbox logger: *** DEBUG: Variable REMOTE has value "-slave -nolirc" May 15 18:11:46 vdrbox logger: *** Use Option USERDEF at your own risk! May 15 18:11:46 vdrbox logger: *** DEBUG: Variable USERDEF has value "-quiet" May 15 18:11:46 vdrbox logger: *** DEBUG: Variable XResPAL has value "352 480 528 544 704 720" May 15 18:11:46 vdrbox logger: *** DEBUG: Variable XResNTSC has value "352 480 512 544 640 704 720" May 15 18:11:46 vdrbox logger: *** DEBUG: Variable SLOW_CPU has value "false" May 15 18:11:46 vdrbox logger: *** DEBUG: Variable DVDFiles has value "/video/multimedia/video/DVD-VCD" May 15 18:11:46 vdrbox logger: *** DEBUG: Variable DVD has value "/dev/dvd" May 15 18:11:46 vdrbox logger: *** DEBUG: Variable DVDLANG has value "it" May 15 18:11:46 vdrbox logger: *** DEBUG: Variable DVDOPTIONS has value "" May 15 18:11:46 vdrbox logger: *** DEBUG: Variable VCDOPTIONS has value "" May 15 18:11:46 vdrbox logger: *** DEBUG: Variable MPEG_DIRECT has value "true" May 15 18:11:46 vdrbox logger: *** DEBUG: Variable SUFFIX has value ".mp4" May 15 18:11:46 vdrbox logger: *** DEBUG: Variable MPLAYER_V1 has value "true" May 15 18:11:46 vdrbox logger: *** DEBUG: Calling getvidxy function to analyze source video stream ... May 15 18:11:47 vdrbox logger: *** DEBUG: OutputFromMPLAYER: "ID_AUDIO_ID=0 ID_VIDEO_ID=1 ID_FILENAME=/video/multimedia/video/Download/promo_rally_argentina_2009.mp4 ID_DEMUXER=lavfpref ID_VIDEO_FORMAT=avc1 ID_VIDEO_BITRATE=0 ID_VIDEO_WIDTH=480 ID_VIDEO_HEIGHT=360 ID_VIDEO_FPS=24.998 ID_VIDEO_ASPECT=0. ID_AUDIO_FORMAT=255 ID_AUDIO_BITRATE=0 ID_AUDIO_RATE=44100 ID_AUDIO_NCH=2 ID_LENGTH=409.67 ID_SEEKABLE=1 ID_CHAPTERS=0 ID_VIDEO_CODEC=ffh264 ID_AUDIO_BITRATE=128000 ID_AUDIO_RATE=44100 ID_AUDIO_NCH=2 ID_AUDIO_CODEC=faad ID_EXIT=EOF" May 15 18:11:47 vdrbox logger: *** DEBUG: MPLAYER_RETURN: "0" May 15 18:11:47 vdrbox logger: *** DEBUG: parsed output for ORIG_X: "480" May 15 18:11:47 vdrbox logger: *** DEBUG: parsed output for ORIG_Y: "360" May 15 18:11:47 vdrbox logger: *** DEBUG: parsed output for ORIG_FPS: "24.998" May 15 18:11:47 vdrbox logger: *** DEBUG: parsed output for ORIG_ASPECT: "0." May 15 18:11:47 vdrbox logger: *** DEBUG: parsed output for VIDEO_FORMAT: "avc1" May 15 18:11:47 vdrbox logger: *** DEBUG: parsed output for AUDIO_CODEC: "faad" May 15 18:11:47 vdrbox logger: *** INFO: Source Video has Resolution of 480 x 360 ... May 15 18:11:47 vdrbox logger: *** DEBUG: PAL or unknown "24.998" May 15 18:11:48 vdrbox logger: *** DEBUG: Variable MAX_X has v
Re: [vdr] Mplayer and mp4 files
Hi Diego, Diego Pierotto wrote: > Hi all, > after i updated Mplayer and FFMPEG i can't hear the audio of video files > downloaded from YouTube using webvideo. > > I can see the video but the audio is not present. I found a related post on the mplayer mailing list that suggested adding "-demuxer mov". See: http://lists.mplayerhq.hu/pipermail/mplayer-users/2008-October/074955.html So simply add it to the mplayer command line in mplayer.sh and see if it helps. Regards. André ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr