[MPlayer-users] Raspbian frame decode error stride changed

Desmond Coertzen patrolliekaptein at gmail.com
Thu Apr 24 22:34:36 CEST 2014


Should I post this to the dev list? It says no bug reports desired there?

Extra info though:
gcc -v on raspbian gives

Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabihf/4.6/lto-wrapper
Target: arm-linux-gnueabihf
Configured with: ../src/configure -v --with-pkgversion='Debian
4.6.3-14+rpi1' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-4.6 --enable-shared --enable-linker-build-id
--with-system-zlib --libexecdir=/usr/lib --without-included-gettext
--enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6
--libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu
--enable-libstdcxx-debug --enable-libstdcxx-time=yes
--enable-gnu-unique-object --enable-plugin --enable-objc-gc
--disable-sjlj-exceptions --with-arch=armv6 --with-fpu=vfp
--with-float=hard --enable-checking=release --build=arm-linux-gnueabihf
--host=arm-linux-gnueabihf --target=arm-linux-gnueabihf
Thread model: posix
gcc version 4.6.3 (Debian 4.6.3-14+rpi1)

Info with mplayer -vo x11 -v gives

MPlayer SVN-r37157-4.6 (C) 2000-2014 MPlayer Team
CPU: ARM
get_path('codecs.conf') -> '/home/pi/.mplayer/codecs.conf'
Reading optional codecs config file /home/pi/.mplayer/codecs.conf: No such
file or directory
Reading optional codecs config file /usr/local/etc/mplayer/codecs.conf: No
such file or directory
Using built-in default codecs.conf.
init_freetype
Using Unoptimized OnScreenDisplay
get_path('fonts') -> '/home/pi/.mplayer/fonts'
Configuration:
CommandLine: '-vo' 'x11' '-v' 'test_656.avi'
Using nanosleep() timing
get_path('input.conf') -> '/home/pi/.mplayer/input.conf'
Reading optional input config file /home/pi/.mplayer/input.conf: No such
file or directory
Reading optional input config file /usr/local/etc/mplayer/input.conf: No
such file or directory
Falling back on default (hardcoded) input config
get_path('test_656.avi.conf') -> '/home/pi/.mplayer/test_656.avi.conf'

Playing test_656.avi.
get_path('sub/') -> '/home/pi/.mplayer/sub/'
[file] File size is 581943200 bytes
STREAM: [file] test_656.avi
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
libavformat version 55.37.101 (internal)
Configuration: --enable-gpl --enable-postproc
LAVF_check: AVI (Audio Video Interleaved)
AVI file format detected.
list_end=0x146
======= AVI Header =======
us/frame: 33366  (fps=29.971)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (2320) HAS_INDEX IS_INTERLEAVED TRUST_CKTYPE
frames  total: 162239   initial: 0
streams: 2
Suggested BufferSize: 0
Size:  656 x 370
==========================
list_end=0xD4
==> Found video stream: 0
[aviheader] Video stream found, -vid 0
====== STREAM Header =====
Type: vids   FCC: DIVX (58564944)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 30000/1001 = 29.970
Start: 0   Len: 162239
Suggested BufferSize: 57840
Quality 0
Sample size: 0
==========================
Found 'bih', 40 bytes of 40
======= VIDEO Format ======
  biSize 40
  biWidth 656
  biHeight 370
  biPlanes 1
  biBitCount 24
  biCompression 1482049860='DIVX'
  biSizeImage 728160
===========================
Regenerating keyframe table for MPEG-4 video.
list_end=0x146
==> Found audio stream: 1
[aviheader] Audio stream found, -aid 1
====== STREAM Header =====
Type: auds   FCC: U (55)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 21
Rate: 48000/1152 = 41.667
Start: 0   Len: 225568
Suggested BufferSize: 960
Quality 0
Sample size: 0
==========================
Found 'wf', 30 bytes of 18
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 48000
avg byte/sec: 30874
Block align: 1152
bits/sample: 0
cbSize: 12
mp3.wID=1
mp3.fdwFlags=0x2
mp3.nBlockSize=1152
mp3.nFramesPerBlock=1
mp3.nCodecDelay=0
==========================================================================
list_end=0x172
hdr=Software  size=24
Software  : MEncoder SVN-r36353-4.5
list_end=0x225111A8
Found movie at 0x100C - 0x225111A8
Reading INDEX block, 387807 chunks for 162239 frames (fpos=575738288).
AVI index offset: 0x1008 (movi=0x100C idx0=0x4 idx1=0x6C)
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
AVI video size=405409494 (162239) audio size=167140896 (225568)
VIDEO:  [DIVX]  656x370  24bpp  29.970 fps  599.1 kbps (73.1 kbyte/s)
Auto-selected AVI video ID = 0
Auto-selected AVI audio ID = 1
[V] filefmt:3  fourcc:0x58564944  size:656x370  fps:29.970  ftime:=0.0334
Clip info:
 Software: MEncoder SVN-r36353-4.5
Load subtitles in ./
get_path('sub/') -> '/home/pi/.mplayer/sub/'
X11 opening display: :0
vo: X11 color mask:  FFFF  (R:F800 G:7E0 B:1F)
vo: X11 running at 656x416 with depth 16 and 16 bpp (":0" => local display)
[x11] Detected wm supports layers.
[x11] Detected wm supports NetWM.
[x11] Detected wm supports FULLSCREEN state.
[x11] Detected wm supports ABOVE state.
[x11] Detected wm supports BELOW state.
[x11] Current fstype setting honours LAYER FULLSCREEN ABOVE BELOW X atoms
Disabling DPMS
DPMSDisable stat: 1
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 55.58.105 (internal)
Configuration: --enable-gpl --enable-postproc
[ffmpeg] aspect_ratio: 0.000000
INFO: libavcodec init OK!
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
==========================================================================
Requested audio codec family [mpg123] (afm=mpg123) not available.
Enable it at compilation.
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
dec_audio: Allocating 1536000 + 131072 = 1667072 bytes for output buffer.
FFmpeg's libavcodec audio codec
INFO: libavcodec "mp3float" init OK!
AUDIO: 48000 Hz, 2 ch, floatle, 247.0 kbit/8.04% (ratio: 30874->384000)
Selected audio codec: [ffmp3float] afm: ffmpeg (FFmpeg MPEG layer-3 audio)
==========================================================================
Building audio filter chain for 48000Hz/2ch/floatle -> 0Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 48000Hz/2ch/floatle
[dummy] Was reinitialized: 48000Hz/2ch/floatle
Trying every known audio driver...
ao2: 48000 Hz  2 chans  floatle
audio_setup: using '/dev/dsp' dsp device
audio_setup: using '/dev/mixer' mixer device
audio_setup: using 'pcm' mixer device
[AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or
directory
alsa-init: requested format: 48000 Hz, 2 channels, 1d
alsa-init: using ALSA 1.0.25
alsa-init: setup for 1/2 channel(s)
alsa-init: using device default
alsa-init: opening device in blocking mode
alsa-init: device reopened in blocking mode
alsa-init: got buffersize=131072
alsa-init: got period size 1024
alsa: 48000 Hz/2 channels/8 bpf/131072 bytes buffer/Float 32 bit Little
Endian
AO: [alsa] 48000Hz 2ch floatle (4 bytes per sample)
AO: Description: ALSA-0.9.x-1.x audio output
AO: Author: Alex Beregszaszi, Zsolt Barat <joy at streamminister.de>
AO: Comment: under development
Building audio filter chain for 48000Hz/2ch/floatle ->
48000Hz/2ch/floatle...
[dummy] Was reinitialized: 48000Hz/2ch/floatle
[dummy] Was reinitialized: 48000Hz/2ch/floatle
Starting playback...
Increasing filtered audio buffer size from 0 to 131072
[ffmpeg] aspect_ratio: 1.772973
VDec: vo config request - 656 x 370 (preferred colorspace: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.77:1 - prescaling to correct movie aspect.
VO Config (656x370->656x370,flags=0,'MPlayer',0x32315659)
VO: [x11] 656x370 => 656x370 Planar YV12
VO: Description: X11 ( XImage/Shm )
VO: Author: Aaron Holtzman <aholtzma at ess.engr.uvic.ca>
Sharing memory.
SwScaler: reducing / aligning filtersize 1 -> 1
SwScaler: reducing / aligning filtersize 1 -> 1
SwScaler: reducing / aligning filtersize 1 -> 1
SwScaler: reducing / aligning filtersize 5 -> 4
[swscaler @ 0xcc6480]bicubic scaler, from yuv420p to rgb565le using C
[swscaler @ 0xcc6480]656x370 -> 656x370
[swscaler @ 0xcc6480]lum srcW=656 srcH=370 dstW=656 dstH=370 xInc=65536
yInc=65536
[swscaler @ 0xcc6480]chr srcW=328 srcH=185 dstW=328 dstH=370 xInc=65536
yInc=32768
[swscaler @ 0xcc6480]No accelerated colorspace conversion found from
yuv420p to rgb565le.
[swscaler @ 0xcc6480]using unscaled yuv420p -> rgb565le special converter
*** [vo] Allocating (slices) mp_image_t, 672x384x12bpp YUV planar, 387072
bytes
Unicode font: 5179 glyphs.
Unicode font: 5179 glyphs.
A:   0.2 V:   0.0 A-V:  0.250 ct:  0.000   1/  1 ??% ??% ??,?% 0 0

XXX initial  v_pts=0.000  a_pos=2016 (0.065)
*** [vo] Allocating (slices) mp_image_t, 672x384x12bpp YUV planar, 387072
bytes
A:   0.3 V:   0.0 A-V:  0.267 ct:  0.000   2/  2 ??% ??% ??,?% 1 0

[VD_FFMPEG] DRI failure.
[mpeg4 @ 0xbdb920]get_buffer() failed (stride changed)
Error while decoding frame!
A:   0.3 V:   0.1 A-V:  0.253 ct:  0.000   3/  3 ??% ??% ??,?% 2 0

*** [vo] Exporting (slices) mp_image_t, 656x370x12bpp YUV planar, 364080
bytes
[mpeg4 @ 0xbdb920]get_buffer() failed (stride changed)
Error while decoding frame!
A:   0.3 V:   0.1 A-V:  0.220 ct:  0.000   4/  4 ??% ??% ??,?% 3 0

[mpeg4 @ 0xbdb920]get_buffer() failed (stride changed)
Error while decoding frame!



On Wed, Apr 23, 2014 at 10:45 PM, Desmond Coertzen <
patrolliekaptein at gmail.com> wrote:

> Hi there, a little help please.
>
> I have a divx file encoded with mencoder. I cannot play it back on my
> mplayer compiled from svn on raspbian arm-linux. Audio works, but image
> frames break with
>
> [mpeg4 @ 0xbdb920]get_buffer() failed (stride changed)
> Error while decoding frame!
> A:   0.3 V:   0.1 A-V:  0.234 ct:  0.001   3/  3 ??% ??% ??,?% 2 0
>
> I used -vo x11, no filters. Verbose output:
>
> MPlayer SVN-r37157-4.6 (C) 2000-2014 MPlayer Team
> libavformat version 55.37.101 (internal)
> AVI file format detected.
> [aviheader] Video stream found, -vid 0
> [aviheader] Audio stream found, -aid 1
> VIDEO:  [DIVX]  656x370  24bpp  29.970 fps  798.5 kbps (97.5 kbyte/s)
> Clip info:
>  Software: MEncoder SVN-r36353-4.5
> Load subtitles in ./
> [gl] no GLX support present
> ==========================================================================
>
> I found some info on the mailing list here:
>
> http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2012-February/070081.html
>
> I'm on the newest svn revision of mplayer on the raspberry device. The
> file I'm trying to play does play on my other mplayer builds on i386-linux.
>
> From cat /proc/cpuinfo
> Processor : ARMv6-compatible processor rev 7 (v6l)
> BogoMIPS : 697.95
> Features : swp half thumb fastmult vfp edsp java tls
> CPU implementer : 0x41
> CPU architecture: 7
> CPU variant : 0x0
> CPU part : 0xb76
> CPU revision : 7
>
> Hardware : BCM2708
> Revision : 000d
> Serial : 00000000cc4e67ca
>
> I have other movie files I reencoded with the same mencoder that generated
> the same file, but these files play 100% fine on my raspberry. Everything
> looks the same between the two files, except ffourcc is FMP4. I changed
> ffourcc between DIVX and FMP4 but it made no difference on the broken file.
>
> Any help will be appreciated.
>
> Thanks
>
>


More information about the MPlayer-users mailing list