Bug#584685: mplayer: video freezes on theora-encoded file

Nathan A. Stine nathan.stine at gmail.com
Sat Jun 5 16:22:44 UTC 2010


Package: mplayer
Version: 2:1.0~rc3+svn20100502-3
Severity: normal

mplayer stops updating the video on at least one theora-encoded file[1].  I 
tried playing this file via Totem, and Totem played the file without
disability. There is a similar Ubuntu bug[2] that implies this is an ffmpeg
problem, but I can not verify this because ffplay will not play the file.

Attached is my mplayer -v output.  As you can see fftheora fails and mplayer
falls back to libtheora due to bug #420200.

The bug occurs at 459.5 seconds into the movie and at several other places.
A workaround is to seek backward/foward enough that the frame in question
is not decoded and diplayed.

[1] http://patentabsurdity.com/download.html (tested on HD quality file)
[2] https://bugs.launchpad.net/ffmpeg2theora/+bug/515397

Best regards,

Nathan A. Stine

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages mplayer depends on:
ii  libaa1                  1.4p5-38         ascii art library
ii  libasound2              1.0.23-1         shared library for ALSA applicatio
ii  libaudio2               1.9.2-3          Network Audio System - shared libr
ii  libavcodec52            4:0.5.2-1        ffmpeg codec library
ii  libavformat52           4:0.5.2-1        ffmpeg file format library
ii  libavutil49             4:0.5.2-1        ffmpeg utility library
ii  libc6                   2.11.1-2         Embedded GNU C Library: Shared lib
ii  libcaca0                0.99.beta17-1    colour ASCII art library
ii  libcdparanoia0          3.10.2+debian-9  audio extraction tool for sampling
ii  libdirectfb-1.2-9       1.2.10.0-3       direct frame buffer graphics - sha
ii  libdvdread4             4.1.3-9          library for reading DVDs
ii  libenca0                1.13-1           Extremely Naive Charset Analyser -
ii  libesd0                 0.2.41-7         Enlightened Sound Daemon - Shared 
ii  libfontconfig1          2.8.0-2.1        generic font configuration library
ii  libfreetype6            2.3.11-1         FreeType 2 font engine, shared lib
ii  libfribidi0             0.19.2-1         Free Implementation of the Unicode
ii  libgcc1                 1:4.4.4-4        GCC support library
ii  libgif4                 4.1.6-9          library for GIF images (library)
ii  libgl1-mesa-glx [libgl1 7.7.1-3          A free implementation of the OpenG
ii  libjack0                1.9.5~dfsg-13    JACK Audio Connection Kit (librari
ii  libjpeg62               6b-16.1          The Independent JPEG Group's JPEG 
ii  liblircclient0          0.8.3-5          infra-red remote control support -
ii  liblzo2-2               2.03-2           data compression library
ii  libncurses5             5.7+20100313-2   shared libraries for terminal hand
ii  libogg0                 1.2.0~dfsg-1     Ogg bitstream library
ii  libopenal1              1:1.12.854-2     Software implementation of the Ope
ii  libpng12-0              1.2.43-1         PNG library - runtime
ii  libpostproc51           4:0.5.2-1        ffmpeg video postprocessing librar
ii  libpulse0               0.9.21-1.2+b1    PulseAudio client libraries
ii  libsdl1.2debian         1.2.14-6         Simple DirectMedia Layer
ii  libsmbclient            2:3.4.8~dfsg-1   shared library for communication w
ii  libspeex1               1.2~rc1-1        The Speex codec runtime library
ii  libstdc++6              4.4.4-4          The GNU Standard C++ Library v3
ii  libsvga1                1:1.4.3-29       console SVGA display libraries
ii  libswscale0             4:0.5.2-1        ffmpeg video scaling library
ii  libtheora0              1.1.1+dfsg.1-3   The Theora Video Compression Codec
ii  libx11-6                2:1.3.3-3        X11 client-side library
ii  libxext6                2:1.1.1-3        X11 miscellaneous extension librar
ii  libxinerama1            2:1.1-3          X11 Xinerama extension library
ii  libxt6                  1:1.0.7-1        X11 toolkit intrinsics library
ii  libxv1                  2:1.0.5-1        X11 Video extension library
ii  libxvmc1                2:1.0.5-1        X11 Video extension library
ii  libxxf86dga1            2:1.1.1-2        X11 Direct Graphics Access extensi
ii  libxxf86vm1             1:1.1.0-2        X11 XFree86 video mode extension l
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

mplayer recommends no packages.

Versions of packages mplayer suggests:
ii  bzip2            1.0.5-4                 high-quality block-sorting file co
ii  fontconfig       2.8.0-2.1               generic font configuration library
ii  mplayer-doc      2:1.0~rc3+svn20100502-3 documentation for MPlayer
pn  netselect | fpin <none>                  (no description available)
ii  ttf-freefont     20090104-7              Freefont Serif, Sans and Mono True

-- no debconf information
-------------- next part --------------
stinerman at stine-1:/video/Movies$ mplayer Patent\ Absurdity.ogv -vo null -v
MPlayer SVN-r1.0~rc3+svn20100502-4.4.4 (C) 2000-2009 MPlayer Team
CPU vendor name: GenuineIntel  max cpuid level: 5
CPU: Intel(R) Pentium(R) 4 CPU 3.20GHz (Family: 15, Model: 4, Stepping: 10)
extended cpuid-level: 8
extended cache-info: 134242368
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 1 SSSE3: 0
Compiled with runtime CPU detection.
get_path('codecs.conf') -> '/home/stinerman/.mplayer/codecs.conf'
Reading /home/stinerman/.mplayer/codecs.conf: Can't open '/home/stinerman/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: Can't open '/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
Configuration: --prefix=/usr --confdir=/etc/mplayer --enable-xvmc --enable-menu --disable-arts --enable-largefiles --language=all --disable-libdvdcss-internal --disable-dvdread-internal --disable-libavutil_a --disable-libavcodec_a --disable-libavformat_a --disable-libpostproc_a --disable-libswscale_a --enable-runtime-cpudetection --enable-debug --enable-mga --enable-3dfx --enable-tdfxfb --disable-gui --disable-mencoder
CommandLine: 'Patent Absurdity.ogv' '-vo' 'null' '-v'
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/home/stinerman/.mplayer/fonts'
Using nanosleep() timing
get_path('input.conf') -> '/home/stinerman/.mplayer/input.conf'
Can't open input config file /home/stinerman/.mplayer/input.conf: No such file or directory
Parsing input config file /etc/mplayer/input.conf
Input config file /etc/mplayer/input.conf parsed: 89 binds
get_path('Patent Absurdity.ogv.conf') -> '/home/stinerman/.mplayer/Patent Absurdity.ogv.conf'

Playing Patent Absurdity.ogv.
get_path('sub/') -> '/home/stinerman/.mplayer/sub/'
[file] File size is 769753733 bytes
STREAM: [file] Patent Absurdity.ogv
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
LAVF_check: Ogg
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for REAL
Checking for SMJPEG
Ogg stream 0 is of an unknown type
==> Found video stream: 1
[Ogg] stream 1: video (Theora v3.2.1), -vid 0
======= VIDEO Format ======
  biSize 40
  biWidth 1280
  biHeight 1080
  biPlanes 3
  biBitCount 24
  biCompression 1868916852='theo'
  biSizeImage 4147200
===========================
==> Found audio stream: 2
[Ogg] stream 2: audio (Vorbis), -aid 0
Ogg stream length (granulepos): 52088
Ogg demuxer : found 1 audio stream, 1 video stream and 0 text stream
fixup_vorbis_wf: i=0, size=30
fixup_vorbis_wf: i=1, size=132
fixup_vorbis_wf: i=2, size=3484
demux_ogg, offset after 1st len = 2
demux_ogg, offset after 2nd len = 3
demux_ogg, i=0, bytes: 30, offset: 3
demux_ogg, i=1, bytes: 132, offset: 33
demux_ogg, i=2, bytes: 3484, offset: 165
demux_ogg, extradata size: 3649
demux_ogg, vorbis stream features are: channels: 2, srate: 48000, bitrate: 10000, max: 0, nominal: 80000, min: 0
Ogg file format detected.
VIDEO:  [theo]  1280x1080  24bpp  29.970 fps    0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:18  fourcc:0x6F656874  size:1280x1080  fps:29.970  ftime:=0.0334
get_path('sub/') -> '/home/stinerman/.mplayer/sub/'
==========================================================================
Trying to force video codec driver family ffmpeg...
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
[theora @ 0x7fd36eae26c0]Missing extradata!
Could not open codec.
VDecoder init failed :(
Trying to force video codec driver family ...
Opening video decoder: [theora] Theora/VP3
INFO: Theora video init ok!
VDec: vo config request - 1280 x 1080 (preferred colorspace: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO Config (1280x1080->1920x1080,flags=0,'MPlayer',0x32315659)
VO: [null] 1280x1080 => 1920x1080 Planar YV12 
VO: Description: Null video output
VO: Author: Aaron Holtzman <aholtzma at ess.engr.uvic.ca>
Selected video codec: [theora] vfm: theora (Theora (free, reworked VP3))
==========================================================================
==========================================================================
Trying to force audio codec driver family ffmpeg...
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
dec_audio: Allocating 192000 + 65536 = 257536 bytes for output buffer.
FFmpeg's libavcodec audio codec
INFO: libavcodec init OK!
AUDIO: 48000 Hz, 2 ch, s16le, 80.0 kbit/5.21% (ratio: 10000->192000)
Selected audio codec: [ffvorbis] afm: ffmpeg (FFmpeg Vorbis)
==========================================================================
Building audio filter chain for 48000Hz/2ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter volnorm 
Trying preferred audio driver 'pulse', options '[none]'
AO: [pulse] 48000Hz 2ch s16le (2 bytes per sample)
AO: Description: PulseAudio audio output
AO: Author: Lennart Poettering
Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
Starting playback...
Increasing filtered audio buffer size from 0 to 50048
*** [vo] Exporting mp_image_t, 1280x1088x12bpp YUV planar, 2088960 bytes
A: 459.5 V: 459.5 A-V:  0.000 ct: -0.347 1512/1512 22%  0%  0.8% 0 0 
Invalid frame duration value (459.526/0.000 => -459.526). Defaulting to 0.033 sec.
Uninit audio filters... 4.275 ct: -0.340 1516/1516  1%  0%  0.1% 0 0 
[libaf] Removing filter volnorm 
Uninit audio: ffmpeg
Uninit video: theora
vo: x11 uninit called but X11 not initialized..

Exiting... (Quit)



More information about the pkg-multimedia-maintainers mailing list