One movie fails to play properly when using TT full featured card, VDR (1.3.22), MPlayer plugin (0.9.11), mplayer (1.0 pre 6 with codes from Feb 2005) and mplayer.sh (0.8.6). Audio stutters constantly.
However, using following command the audio does not stutter: mplayer -vf expand=720:576 -vo mpegpes -ao mpegpes <avi-file>
And this works even over ssh tunnel well (subtitles are missing but that should not be that big deal). So the file is good but there are some parameters that cause this but haven't figured out what causes this.
Following configs are used (from mplayer.sh.conf):
PAL="true" NTSC="false" USE_SPEED="true" USEAC3="true" AC3AOUT="-ac hwac3" TV_ASPECT="16/9" DETC_FILTER="ivtc=1" MPLAYER_V1="true" CACHE="8192" FRAMEDROP="false" MPEG_DIRECT="true"
Can anyone help with the problem?
Br, Pasi
Pasi Juppo pasi.juppo@iki.fi wrote:
One movie fails to play properly when using TT full featured card, VDR (1.3.22), MPlayer plugin (0.9.11), mplayer (1.0 pre 6 with codes from Feb 2005) and mplayer.sh (0.8.6). Audio stutters constantly.
However, using following command the audio does not stutter: mplayer -vf expand=720:576 -vo mpegpes -ao mpegpes <avi-file>
And this works even over ssh tunnel well (subtitles are missing but that should not be that big deal). So the file is good but there are some parameters that cause this but haven't figured out what causes this.
Following configs are used (from mplayer.sh.conf):
[snip]
Can anyone help with the problem?
Please set DEBUG=true (see the end of mplayer.sh.conf) and provide the log entries when playing this file via mplayer.sh.
Cheers, Juri
Juri Haberland wrote:
Pasi Juppo pasi.juppo@iki.fi wrote:
One movie fails to play properly when using TT full featured card, VDR (1.3.22), MPlayer plugin (0.9.11), mplayer (1.0 pre 6 with codes from Feb 2005) and mplayer.sh (0.8.6). Audio stutters constantly.
However, using following command the audio does not stutter: mplayer -vf expand=720:576 -vo mpegpes -ao mpegpes <avi-file>
And this works even over ssh tunnel well (subtitles are missing but that should not be that big deal). So the file is good but there are some parameters that cause this but haven't figured out what causes this.
Following configs are used (from mplayer.sh.conf):
[snip]
Can anyone help with the problem?
Please set DEBUG=true (see the end of mplayer.sh.conf) and provide the log entries when playing this file via mplayer.sh.
OK. Here's the log of first attempt which always fails to play any video clip:
Apr 10 18:47:11 backup logger: *** Starting mplayer.sh Version 0.8.6 Apr 10 18:47:11 backup logger: *** DEBUG: Variable CFGFIL has value "/usr/bin/mplayer.sh.conf" Apr 10 18:47:11 backup logger: *** DEBUG: Variable USEAC3 has value "true" Apr 10 18:47:11 backup logger: *** DEBUG: Variable AC3AOUT has value "-ac hwac3" Apr 10 18:47:11 backup logger: *** DEBUG: Variable TV_ASPECT has value "16/9" Apr 10 18:47:11 backup logger: *** DEBUG: Variable PAL has value "true" Apr 10 18:47:11 backup logger: *** DEBUG: Variable NTSC has value "false" Apr 10 18:47:11 backup logger: *** DEBUG: Variable USE_SPEED has value "true" Apr 10 18:47:11 backup logger: *** DEBUG: Variable DETC_FILTER has value "ivtc=1" Apr 10 18:47:11 backup logger: *** DEBUG: Variable MPLAYER has value "/usr/local/bin/mplayer" Apr 10 18:47:11 backup logger: *** DEBUG: Variable VOP has value "lavc=5000" Apr 10 18:47:11 backup logger: *** DEBUG: Variable VO has value "mpegpes" Apr 10 18:47:11 backup logger: *** DEBUG: Variable AO has value "mpegpes" Apr 10 18:47:11 backup logger: *** DEBUG: Variable CACHE has value "8192" Apr 10 18:47:11 backup logger: *** DEBUG: Variable CACHESTR has value "-cache 8192" Apr 10 18:47:11 backup logger: *** DEBUG: Variable FRAMEDROP has value "false" Apr 10 18:47:11 backup logger: *** DEBUG: Variable FDSTR has value "" Apr 10 18:47:11 backup logger: *** DEBUG: Variable LIRCRC has value "/opt/lirc/lircrc" Apr 10 18:47:11 backup logger: *** DEBUG: Variable LIRCSTR has value "-lircconf /opt/lirc/lircrc" Apr 10 18:47:11 backup logger: *** DEBUG: Variable SUBTITLE has value " -subpos 80 -sub-bg-color 0 -sub-bg-alpha 255" Apr 10 18:47:11 backup logger: *** DEBUG: Variable REMOTE has value "-slave -nolirc" Apr 10 18:47:11 backup logger: *** Use Option USERDEF at your own risk! Apr 10 18:47:11 backup logger: *** DEBUG: Variable USERDEF has value "-quiet" Apr 10 18:47:11 backup logger: *** DEBUG: Variable XResPAL has value "352 480 528 544 688 704 720" Apr 10 18:47:11 backup logger: *** DEBUG: Variable XResNTSC has value "352 480 512 640 704 720" Apr 10 18:47:11 backup logger: *** DEBUG: Variable SLOW_CPU has value "false" Apr 10 18:47:11 backup logger: *** DEBUG: *** Option DVDFiles not set correctly! You will not be able to play VCD/DVD "" Apr 10 18:47:11 backup logger: *** DEBUG: Variable DVDFiles has value "" Apr 10 18:47:11 backup logger: *** DEBUG: Variable DVD has value "/dev/hdc" Apr 10 18:47:11 backup logger: *** DEBUG: Variable DVDLANG has value "en" Apr 10 18:47:11 backup logger: *** DEBUG: Variable DVDOPTIONS has value "-aop list=volume:volume=170" Apr 10 18:47:11 backup logger: *** DEBUG: Variable VCDOPTIONS has value "" Apr 10 18:47:11 backup logger: *** DEBUG: Variable MPEG_DIRECT has value "true" Apr 10 18:47:11 backup logger: *** DEBUG: Variable SUFFIX has value ".avi" Apr 10 18:47:11 backup logger: *** DEBUG: Variable MPLAYER_V1 has value "true" Apr 10 18:47:11 backup logger: *** DEBUG: Calling getvidxy function to analyze source video stream ... Apr 10 18:47:12 backup logger: *** DEBUG: OutputFromMPLAYER: "" Apr 10 18:47:12 backup logger: *** DEBUG: MPLAYER_RETURN: "1" Apr 10 18:47:12 backup logger: *** FATAL: something went wrong analyzing the video; mplayer reported an error! Apr 10 18:47:12 backup logger: *** FATAL: check your mplayer installation. Exiting...
And the log of next attempt, which plays fine except for stuttering:
Apr 10 18:47:30 backup logger: *** DEBUG: Variable CFGFIL has value "/usr/bin/mplayer.sh.conf" Apr 10 18:47:30 backup logger: *** DEBUG: Variable USEAC3 has value "true" Apr 10 18:47:30 backup logger: *** DEBUG: Variable AC3AOUT has value "-ac hwac3" Apr 10 18:47:30 backup logger: *** DEBUG: Variable TV_ASPECT has value "16/9" Apr 10 18:47:30 backup logger: *** DEBUG: Variable PAL has value "true" Apr 10 18:47:30 backup logger: *** DEBUG: Variable NTSC has value "false" Apr 10 18:47:30 backup logger: *** DEBUG: Variable USE_SPEED has value "true" Apr 10 18:47:30 backup logger: *** DEBUG: Variable DETC_FILTER has value "ivtc=1" Apr 10 18:47:30 backup logger: *** DEBUG: Variable MPLAYER has value "/usr/local/bin/mplayer" Apr 10 18:47:30 backup logger: *** DEBUG: Variable VOP has value "lavc=5000" Apr 10 18:47:30 backup logger: *** DEBUG: Variable VO has value "mpegpes" Apr 10 18:47:30 backup logger: *** DEBUG: Variable AO has value "mpegpes" Apr 10 18:47:30 backup logger: *** DEBUG: Variable CACHE has value "8192" Apr 10 18:47:30 backup logger: *** DEBUG: Variable CACHESTR has value "-cache 8192" Apr 10 18:47:30 backup logger: *** DEBUG: Variable FRAMEDROP has value "false" Apr 10 18:47:30 backup logger: *** DEBUG: Variable FDSTR has value "" Apr 10 18:47:30 backup logger: *** DEBUG: Variable LIRCRC has value "/opt/lirc/lircrc" Apr 10 18:47:30 backup logger: *** DEBUG: Variable LIRCSTR has value "-lircconf /opt/lirc/lircrc" Apr 10 18:47:30 backup logger: *** DEBUG: Variable SUBTITLE has value " -subpos 80 -sub-bg-color 0 -sub-bg-alpha 255" Apr 10 18:47:31 backup logger: *** DEBUG: Variable REMOTE has value "-slave -nolirc" Apr 10 18:47:31 backup logger: *** Use Option USERDEF at your own risk! Apr 10 18:47:31 backup logger: *** DEBUG: Variable USERDEF has value "-quiet" Apr 10 18:47:31 backup logger: *** DEBUG: Variable XResPAL has value "352 480 528 544 688 704 720" Apr 10 18:47:31 backup logger: *** DEBUG: Variable XResNTSC has value "352 480 512 640 704 720" Apr 10 18:47:31 backup logger: *** DEBUG: Variable SLOW_CPU has value "false" Apr 10 18:47:31 backup logger: *** DEBUG: *** Option DVDFiles not set correctly! You will not be able to play VCD/DVD "" Apr 10 18:47:31 backup logger: *** DEBUG: Variable DVDFiles has value "" Apr 10 18:47:31 backup logger: *** DEBUG: Variable DVD has value "/dev/hdc" Apr 10 18:47:31 backup logger: *** DEBUG: Variable DVDLANG has value "en" Apr 10 18:47:31 backup logger: *** DEBUG: Variable DVDOPTIONS has value "-aop list=volume:volume=170" Apr 10 18:47:31 backup logger: *** DEBUG: Variable VCDOPTIONS has value "" Apr 10 18:47:31 backup logger: *** DEBUG: Variable MPEG_DIRECT has value "true" Apr 10 18:47:31 backup logger: *** DEBUG: Variable SUFFIX has value ".avi" Apr 10 18:47:31 backup logger: *** DEBUG: Variable MPLAYER_V1 has value "true" Apr 10 18:47:31 backup logger: *** DEBUG: Calling getvidxy function to analyze source video stream ... Apr 10 18:47:32 backup logger: *** DEBUG: OutputFromMPLAYER: "ID_VIDEO_ID=0 ID_AUDIO_ID=1 ID_FILE_SUB_ID=0 ID_FILE_SUB_FILENAME=<filename.sub> ID_FILENAME=<filename.avi> ID_VIDEO_FORMAT=XVID ID_VIDEO_BITRATE=997000 ID_VIDEO_WIDTH=640 ID_VIDEO_HEIGHT=352 ID_VIDEO_FPS=23.976 ID_VIDEO_ASPECT=0.0000 ID_AUDIO_CODEC=mp3 ID_AUDIO_FORMAT=85 ID_AUDIO_BITRATE=96000 ID_AUDIO_RATE=48000 ID_AUDIO_NCH=2 ID_LENGTH=5135" Apr 10 18:47:32 backup logger: *** DEBUG: MPLAYER_RETURN: "0" Apr 10 18:47:32 backup logger: *** DEBUG: parsed output for ORIG_X: "640" Apr 10 18:47:32 backup logger: *** DEBUG: parsed output for ORIG_Y: "352" Apr 10 18:47:32 backup logger: *** DEBUG: parsed output for ORIG_FPS: "23.976" Apr 10 18:47:32 backup logger: *** DEBUG: parsed output for ORIG_ASPECT: "0.0000" Apr 10 18:47:32 backup logger: *** DEBUG: parsed output for VIDEO_FORMAT: "XVID" Apr 10 18:47:32 backup logger: *** DEBUG: parsed output for AUDIO_CODEC: "mp3" Apr 10 18:47:32 backup logger: *** INFO: Source Video has Resolution of 640 x 352 ... Apr 10 18:47:32 backup logger: *** DEBUG: Film "" Apr 10 18:47:32 backup logger: *** DEBUG: Variable MAX_X has value "1024" Apr 10 18:47:32 backup logger: *** DEBUG: Variable NEW_Y has value "563" Apr 10 18:47:32 backup logger: *** INFO: For Sqare Pixels we would scale to 1024 x 563 ... Apr 10 18:47:32 backup logger: *** DEBUG: Variable XResTEMP has value "352 480 528 544 688 704 720" Apr 10 18:47:32 backup logger: *** DEBUG: Variable AnzahlVonXResTEMP has value "7" Apr 10 18:47:32 backup logger: *** DEBUG: Variable NEW_X has value "688" Apr 10 18:47:32 backup logger: *** DEBUG: setting REAL_Y = FULL_Y "" Apr 10 18:47:32 backup logger: *** DEBUG: Variable CMDLINE has value "/usr/local/bin/mplayer -vo mpegpes -ao mpegpes -vop lavc=5000:25,expand=688:576:-1:-1:1,scale=688:563 -speed 1.04 -cache 8192 -slave -nolirc -subpos 80 -sub-bg-color 0 -sub-bg-alpha 255 -quiet " Apr 10 18:49:45 backup ntpd[2759]: synchronized to 192.26.119.7, stratum=2
Maybe the reason for stuttering comes from the speed parameter?
Br, Pasi
Pasi Juppo pasi.juppo@iki.fi wrote:
Juri Haberland wrote:
Pasi Juppo pasi.juppo@iki.fi wrote:
One movie fails to play properly when using TT full featured card, VDR (1.3.22), MPlayer plugin (0.9.11), mplayer (1.0 pre 6 with codes from Feb 2005) and mplayer.sh (0.8.6). Audio stutters constantly.
However, using following command the audio does not stutter: mplayer -vf expand=720:576 -vo mpegpes -ao mpegpes <avi-file>
Please set DEBUG=true (see the end of mplayer.sh.conf) and provide the log entries when playing this file via mplayer.sh.
OK. Here's the log of first attempt which always fails to play any video clip:
[snip]
Apr 10 18:47:11 backup logger: *** DEBUG: Calling getvidxy function to analyze source video stream ... Apr 10 18:47:12 backup logger: *** DEBUG: OutputFromMPLAYER: "" Apr 10 18:47:12 backup logger: *** DEBUG: MPLAYER_RETURN: "1" Apr 10 18:47:12 backup logger: *** FATAL: something went wrong analyzing the video; mplayer reported an error! Apr 10 18:47:12 backup logger: *** FATAL: check your mplayer installation. Exiting...
Do mean to say that this happens on every first attempt to play a specific file? If so, this is highly unusual. Where are those video files located (e.g. on an NFS or SMb share? How is it mounted? On boot or per automounter)? Please try to run
'mplayer -identify vo null -ao null -frames 0 /your/video.avi'
and post the error message.
And the log of next attempt, which plays fine except for stuttering:
[snip]
Apr 10 18:47:32 backup logger: *** DEBUG: Variable CMDLINE has value "/usr/local/bin/mplayer -vo mpegpes -ao mpegpes -vop lavc=5000:25,expand=688:576:-1:-1:1,scale=688:563 -speed 1.04 -cache 8192 -slave -nolirc -subpos 80 -sub-bg-color 0 -sub-bg-alpha 255 -quiet "
Maybe the reason for stuttering comes from the speed parameter?
Possibly. Try to set USE_SPEED="false" and see if that helps. If so, please report back.
Cheers, Juri
Juri Haberland wrote:
Pasi Juppo pasi.juppo@iki.fi wrote:
Juri Haberland wrote:
Pasi Juppo pasi.juppo@iki.fi wrote:
One movie fails to play properly when using TT full featured card, VDR (1.3.22), MPlayer plugin (0.9.11), mplayer (1.0 pre 6 with codes from Feb 2005) and mplayer.sh (0.8.6). Audio stutters constantly.
However, using following command the audio does not stutter: mplayer -vf expand=720:576 -vo mpegpes -ao mpegpes <avi-file>
Please set DEBUG=true (see the end of mplayer.sh.conf) and provide the log entries when playing this file via mplayer.sh.
OK. Here's the log of first attempt which always fails to play any video clip:
[snip]
Apr 10 18:47:11 backup logger: *** DEBUG: Calling getvidxy function to analyze source video stream ... Apr 10 18:47:12 backup logger: *** DEBUG: OutputFromMPLAYER: "" Apr 10 18:47:12 backup logger: *** DEBUG: MPLAYER_RETURN: "1" Apr 10 18:47:12 backup logger: *** FATAL: something went wrong analyzing the video; mplayer reported an error! Apr 10 18:47:12 backup logger: *** FATAL: check your mplayer installation. Exiting...
Do mean to say that this happens on every first attempt to play a specific file? If so, this is highly unusual. Where are those video files located (e.g. on an NFS or SMb share? How is it mounted? On boot or per automounter)? Please try to run
'mplayer -identify vo null -ao null -frames 0 /your/video.avi'
and post the error message.
Video files are located on server and seen by HTPC via NFS. Mounting is done once at boot (haven't configured automount yet).
I tried to copy files to HTPC but the result was exactly the same.
It happens only once after HTPC have been booted up. Any video clip that plays fine causes MPlayer to 'crash' at the first attempt. Here's the log you requested. There's clearly something wrong.
--------- MPlayer 1.0pre6-3.3.3 (C) 2000-2004 MPlayer Team CPU: Intel Pentium 4/Xeon/Celeron Foster (Family: 8, Stepping: 9) Detected cache-line size is 64 bytes CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1 Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
Setting up LIRC support... mplayer: could not open config files /root/.lircrc and /etc/lircrc mplayer: No such file or directory Failed to read LIRC config file ~/.lircrc. You will not be able to use your remote control. Playing vo. File not found: 'vo' Failed to open vo
Playing null. File not found: 'null' Failed to open null
<movie_file.avi>. Cache fill: 12.50% (1048576 bytes) AVI file format detected. ID_VIDEO_ID=0 ID_AUDIO_ID=1 Detected NON-INTERLEAVED AVI file format. VIDEO: [XVID] 640x352 24bpp 23.976 fps 997.0 kbps (121.7 kbyte/s) SUB: Detected subtitle file format: microdvd SUB: Read 958 subtitles. SUB: Adjusted 1 subtitle(s). ID_FILE_SUB_ID=0 ID_FILE_SUB_FILENAME=./<movie_file.sub> SUB: added subtitle file (1): ./<movie_file.sub> ========================================================================== Opening audio decoder: [mp3lib] MPEG layer-2, layer-3 AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 12000->192000 (96.0 kbit) Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3) ========================================================================== ID_FILENAME=<movie_file.avi> ID_VIDEO_FORMAT=XVID ID_VIDEO_BITRATE=997000 ID_VIDEO_WIDTH=640 ID_VIDEO_HEIGHT=352 ID_VIDEO_FPS=23.976 ID_VIDEO_ASPECT=0.0000 ID_AUDIO_CODEC=mp3 ID_AUDIO_FORMAT=85 ID_AUDIO_BITRATE=96000 ID_AUDIO_RATE=48000 ID_AUDIO_NCH=2 ID_LENGTH=5135 vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":10.0" => remote display) ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4) ========================================================================== Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit... AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian) AO: [oss] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps) Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit... Starting playback... VDec: vo config request - 640 x 352 (preferred csp: Planar YV12) VDec: using Planar YV12 as output csp (no 0) Movie-Aspect is 1.82:1 - prescaling to correct movie aspect. VO: [xv] 640x352 => 640x352 Planar YV12 Shared memory not supported Reverting to normal Xv Shared memory not supported Reverting to normal Xv X11 error: BadAlloc (insufficient resources for operation)?,?% 1 0 2%
MPlayer interrupted by signal 6 in module: vo_check_events - MPlayer crashed. This shouldn't happen. It can be a bug in the MPlayer code _or_ in your drivers _or_ in your gcc version. If you think it's MPlayer's fault, please read DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and won't help unless you provide this information when reporting a possible bug. ---------
Tried again the same command and result was exactly the same so luckily the problem seems to be repeatable.
And the log of next attempt, which plays fine except for stuttering:
[snip]
Apr 10 18:47:32 backup logger: *** DEBUG: Variable CMDLINE has value "/usr/local/bin/mplayer -vo mpegpes -ao mpegpes -vop lavc=5000:25,expand=688:576:-1:-1:1,scale=688:563 -speed 1.04 -cache 8192 -slave -nolirc -subpos 80 -sub-bg-color 0 -sub-bg-alpha 255 -quiet "
Maybe the reason for stuttering comes from the speed parameter?
Possibly. Try to set USE_SPEED="false" and see if that helps. If so, please report back.
Unfortunately it did not solve the problem (the speed parameter was not used anymore). I tried it earlier too. Here's the command line:
Apr 13 21:22:01 backup logger: *** DEBUG: Variable CMDLINE has value "/usr/local/bin/mplayer -vo mpegpes -ao mpegpes -vop lavc=5000:25,expand=688:576:-1:-1:1,scale=688:563 -cache 8192 -slave -nolirc -subpos 80 -sub-bg-color 0 -sub-bg-alpha 255 -quiet "
I tried playing the movie clip from local harddisk but the result was exactly the same i.e. network 'slowness' is not the case (100Mbit/s network).
Br, Pasi
Hi and sorry for the late reply.
Pasi Juppo pasi.juppo@iki.fi wrote:
Juri Haberland wrote:
Pasi Juppo pasi.juppo@iki.fi wrote:
Juri Haberland wrote:
Pasi Juppo pasi.juppo@iki.fi wrote:
One movie fails to play properly when using TT full featured card, VDR (1.3.22), MPlayer plugin (0.9.11), mplayer (1.0 pre 6 with codes from Feb 2005) and mplayer.sh (0.8.6). Audio stutters constantly.
However, using following command the audio does not stutter: mplayer -vf expand=720:576 -vo mpegpes -ao mpegpes <avi-file>
Please set DEBUG=true (see the end of mplayer.sh.conf) and provide the log entries when playing this file via mplayer.sh.
OK. Here's the log of first attempt which always fails to play any video clip:
[snip]
Apr 10 18:47:11 backup logger: *** DEBUG: Calling getvidxy function to analyze source video stream ... Apr 10 18:47:12 backup logger: *** DEBUG: OutputFromMPLAYER: "" Apr 10 18:47:12 backup logger: *** DEBUG: MPLAYER_RETURN: "1" Apr 10 18:47:12 backup logger: *** FATAL: something went wrong analyzing the video; mplayer reported an error! Apr 10 18:47:12 backup logger: *** FATAL: check your mplayer installation. Exiting...
Do mean to say that this happens on every first attempt to play a specific file? If so, this is highly unusual. Where are those video files located (e.g. on an NFS or SMb share? How is it mounted? On boot or per automounter)? Please try to run
'mplayer -identify vo null -ao null -frames 0 /your/video.avi'
and post the error message.
[snip]
Tried again the same command and result was exactly the same so luckily the problem seems to be repeatable.
Sorry my fault - I forgot a dash (-) in the aboce command. Please retry with 'mplayer -identify -vo null -ao null -frames 0 /your/video.avi'
Possibly. Try to set USE_SPEED="false" and see if that helps. If so, please report back.
Unfortunately it did not solve the problem (the speed parameter was not used anymore). I tried it earlier too. Here's the command line:
Apr 13 21:22:01 backup logger: *** DEBUG: Variable CMDLINE has value "/usr/local/bin/mplayer -vo mpegpes -ao mpegpes -vop lavc=5000:25,expand=688:576:-1:-1:1,scale=688:563 -cache 8192 -slave -nolirc -subpos 80 -sub-bg-color 0 -sub-bg-alpha 255 -quiet "
Hmm, perhaps your CPU isn't fast enough. What kind of CPU do you use and at what frequency does it run?
Cheers, Juri
Juri Haberland wrote:
Hi and sorry for the late reply.
Pasi Juppo pasi.juppo@iki.fi wrote:
Juri Haberland wrote:
Pasi Juppo pasi.juppo@iki.fi wrote:
Juri Haberland wrote:
Pasi Juppo pasi.juppo@iki.fi wrote:
One movie fails to play properly when using TT full featured card, VDR (1.3.22), MPlayer plugin (0.9.11), mplayer (1.0 pre 6 with codes from Feb 2005) and mplayer.sh (0.8.6). Audio stutters constantly.
However, using following command the audio does not stutter: mplayer -vf expand=720:576 -vo mpegpes -ao mpegpes <avi-file>
Please set DEBUG=true (see the end of mplayer.sh.conf) and provide the log entries when playing this file via mplayer.sh.
OK. Here's the log of first attempt which always fails to play any video clip:
[snip]
Apr 10 18:47:11 backup logger: *** DEBUG: Calling getvidxy function to analyze source video stream ... Apr 10 18:47:12 backup logger: *** DEBUG: OutputFromMPLAYER: "" Apr 10 18:47:12 backup logger: *** DEBUG: MPLAYER_RETURN: "1" Apr 10 18:47:12 backup logger: *** FATAL: something went wrong analyzing the video; mplayer reported an error! Apr 10 18:47:12 backup logger: *** FATAL: check your mplayer installation. Exiting...
Do mean to say that this happens on every first attempt to play a specific file? If so, this is highly unusual. Where are those video files located (e.g. on an NFS or SMb share? How is it mounted? On boot or per automounter)? Please try to run
'mplayer -identify vo null -ao null -frames 0 /your/video.avi'
and post the error message.
[snip]
Tried again the same command and result was exactly the same so luckily the problem seems to be repeatable.
Sorry my fault - I forgot a dash (-) in the aboce command. Please retry with 'mplayer -identify -vo null -ao null -frames 0 /your/video.avi'
No problem. Here's the log:
MPlayer 1.0pre6-3.3.3 (C) 2000-2004 MPlayer Team CPU: Intel Pentium 4/Xeon/Celeron Foster (Family: 8, Stepping: 9) Detected cache-line size is 64 bytes CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1 Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
Setting up LIRC support... mplayer: could not open config files /root/.lircrc and /etc/lircrc mplayer: No such file or directory Failed to read LIRC config file ~/.lircrc. You will not be able to use your remote control. <movie_clip.avi>. Cache fill: 0.00% (0 bytes) AVI file format detected. ID_VIDEO_ID=0 ID_AUDIO_ID=1 Detected NON-INTERLEAVED AVI file format. VIDEO: [XVID] 640x352 24bpp 23.976 fps 997.0 kbps (121.7 kbyte/s) SUB: Detected subtitle file format: microdvd SUB: Read 958 subtitles. SUB: Adjusted 1 subtitle(s). ID_FILE_SUB_ID=0 ID_FILE_SUB_FILENAME=./<movie_clip.sub> SUB: added subtitle file (1): ./<movie_clip.sub> ========================================================================== Opening audio decoder: [mp3lib] MPEG layer-2, layer-3 AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 12000->192000 (96.0 kbit) Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3) ========================================================================== ID_FILENAME=<movie_clip.avi> ID_VIDEO_FORMAT=XVID ID_VIDEO_BITRATE=997000 ID_VIDEO_WIDTH=640 ID_VIDEO_HEIGHT=352 ID_VIDEO_FPS=23.976 ID_VIDEO_ASPECT=0.0000 ID_AUDIO_CODEC=mp3 ID_AUDIO_FORMAT=85 ID_AUDIO_BITRATE=96000 ID_AUDIO_RATE=48000 ID_AUDIO_NCH=2 ID_LENGTH=5135 ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4) ========================================================================== Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit... AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian) AO: [null] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps) Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit... Starting playback...
Exiting... (End of file)
Hmm, perhaps your CPU isn't fast enough. What kind of CPU do you use and at what frequency does it run?
CPU should be more than enough for the task: 2.4GHz P4. 256MB of RAM so I highly doubt that either of those is the cause for the problem. Even my server (XP 2100+) handles the movie clip fine.
Pasi