[vdr] XviD movie stuttering (Mplayer)
pasi.juppo at iki.fi
Sun Apr 24 22:59:43 CEST 2005
Juri Haberland wrote:
> Hi and sorry for the late reply.
> Pasi Juppo <pasi.juppo at iki.fi> wrote:
>>Juri Haberland wrote:
>>>Pasi Juppo <pasi.juppo at iki.fi> wrote:
>>>>Juri Haberland wrote:
>>>>>Pasi Juppo <pasi.juppo at 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
>>>>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
>>>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.
>>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
> '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.
Cache fill: 0.00% (0 bytes) AVI file format detected.
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).
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)
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...
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.
More information about the vdr