[MPlayer-users] play h.264 ES on xscale
이현우
hwrhee at erfsystem.com
Thu Jan 27 05:19:52 CET 2005
I test on intel pxa255(arm-xscale) processor
I upload clips and data that are using for test on ftp.
h.264 clip is encoded by x264 using yuv file(352 x 240 fps 29.97).
#x264 -o holeman.h26l holeman.yuv 352x240
I compiled MPlayer(CVS) using crosscompiler(arm-linux-gcc ver3.2) with
libavcodec and libavformat.
this is configure command for MPlayer.
#./configure --prefix=/usr/arm --target=arm-linux --cc=arm-linux-gcc --
as=arm-linux-as --disable-esd --disable-alsa --enable-largefiles --disable-
termcap --disable-dvdread --disable-real --disable-ftp --disable-network --
disable-live --disable-mpdvdkit --disable-cdparanoia --disable-freetype --
disable-fontconfig --disable-vidix --enable-sdl --disable-x11 --disable-
win32 --enable-static --host-cc=gcc --with-extralibdir=/usr/local/arm/lib --
with-extraincdir=/usr/local/arm/include
and than,
I excute mplayer that arm-crosscompiled on pxa255 system.(kernel ver 2.4.18-
pxa1-rmk7)
==================this is log while excute mplayer =========================
#mplayer -fps 29.97 ./holeman.h26l
MPlayer dev-CVS-050125-22:39-3.2 (C) 2000-2005 MPlayer Team
CPU: ARM
Failed to open /dev/rtc: No such device (it should be readable by the user.)
Playing ./holeman.h26l.
H264-ES file format detected.
SDL: Initializing of SDL failed: Unable to open mouse.
notice: Can't open /dev/tty: No such device or address
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm:ffmpeg (FFmpeg H.264)
==========================================================================
Audio: no sound
FPS forced to be 29.970 (ftime: 0.033).
Starting playback...
VDec: vo config request - 352 x 240 (preferred csp: Planar YV12)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
No accelerated colorspace conversion found
SwScaler: using unscaled Planar YV12 -> BGR 16-bit special converter
VO: [fbdev] 352x240 => 352x240 BGR 16-bit
can't open /dev/tty: No such device or address
[h264 @ 0x4c46d8]negative number of zero coeffs at 18 1
[h264 @ 0x4c46d8]error while decoding MB 18 1
[h264 @ 0x4c46d8]concealing 330 DC, 330 AC, 330 MV errors
[h264 @ 0x4c46d8]mb_type 77 in P slice to large at 11 8
[h264 @ 0x4c46d8]error while decoding MB 11 8
[h264 @ 0x4c46d8]concealing 192 DC, 192 AC, 192 MV errors
[h264 @ 0x4c46d8]P sub_mb_type 5 out of range at 3 3
[h264 @ 0x4c46d8]error while decoding MB 3 3
[h264 @ 0x4c46d8]concealing 310 DC, 310 AC, 310 MV errors
[h264 @ 0x4c46d8]dquant out of range (-27) at 20 6
[h264 @ 0x4c46d8]error while decoding MB 20 6
[h264 @ 0x4c46d8]concealing 227 DC, 227 AC, 227 MV errors
[h264 @ 0x4c46d8]left block unavailable for requested intra mode at 0 6
[h264 @ 0x4c46d8]error while decoding MB 0 6
[h264 @ 0x4c46d8]concealing 247 DC, 247 AC, 247 MV errors
[h264 @ 0x4c46d8]P sub_mb_type 38 out of range at 19 4
[h264 @ 0x4c46d8]error while decoding MB 19 4
[h264 @ 0x4c46d8]concealing 272 DC, 272 AC, 272 MV errors
[h264 @ 0x4c46d8]cbp too large (898) at 15 3
[h264 @ 0x4c46d8]error while decoding MB 15 3
[h264 @ 0x4c46d8]concealing 298 DC, 298 AC, 298 MV errors
[h264 @ 0x4c46d8]out of range intra chroma pred mode at 1 11
[h264 @ 0x4c46d8]error while decoding MB 1 11
[h264 @ 0x4c46d8]concealing 136 DC, 136 AC, 136 MV errors
[h264 @ 0x4c46d8]negative number of zero coeffs at 1 4
[h264 @ 0x4c46d8]error while decoding MB 1 4
[h264 @ 0x4c46d8]concealing 290 DC, 290 AC, 290 MV errors
[h264 @ 0x4c46d8]mb_type 30 in P slice to large at 17 4
[h264 @ 0x4c46d8]error while decoding MB 17 4
[h264 @ 0x4c46d8]concealing 274 DC, 274 AC, 274 MV errors
[h264 @ 0x4c46d8]mb_type 216 in P slice to large at 21 7
[h264 @ 0x4c46d8]error while decoding MB 21 7
[h264 @ 0x4c46d8]concealing 204 DC, 204 AC, 204 MV errors
[h264 @ 0x4c46d8]P sub_mb_type 5 out of range at 3 3
[h264 @ 0x4c46d8]error while decoding MB 3 3
[h264 @ 0x4c46d8]concealing 310 DC, 310 AC, 310 MV errors
[h264 @ 0x4c46d8]P sub_mb_type 10 out of range at 11 2
....
....
....
[h264 @ 0x4c46d8]mb_type 67 in P slice to large at 21 11
[h264 @ 0x4c46d8]error while decoding MB 21 11
[h264 @ 0x4c46d8]concealing 116 DC, 116 AC, 116 MV errors
[h264 @ 0x4c46d8]dquant out of range (29) at 18 4
[h264 @ 0x4c46d8]error while decoding MB 18 4
[h264 @ 0x4c46d8]concealing 273 DC, 273 AC, 273 MV errors
[h264 @ 0x4c46d8]out of range intra chroma pred mode at 19 3
[h264 @ 0x4c46d8]error while decoding MB 19 3
[h264 @ 0x4c46d8]concealing 294 DC, 294 AC, 294 MV errors
[h264 @ 0x4c46d8]dquant out of range (28) at 10 1
[h264 @ 0x4c46d8]error while decoding MB 10 1
[h264 @ 0x4c46d8]concealing 330 DC, 330 AC, 330 MV errors
[h264 @ 0x4c46d8]negative number of zero coeffs at 4 8
[h264 @ 0x4c46d8]error while decoding MB 4 8
[h264 @ 0x4c46d8]concealing 199 DC, 199 AC, 199 MV errors
[h264 @ 0x4c46d8]P sub_mb_type 6 out of range at 9 2
[h264 @ 0x4c46d8]error while decoding MB 9 2
[h264 @ 0x4c46d8]concealing 326 DC, 326 AC, 326 MV errors
[h264 @ 0x4c46d8]P sub_mb_type 12 out of range at 1 12
[h264 @ 0x4c46d8]error while decoding MB 1 12
[h264 @ 0x4c46d8]concealing 114 DC, 114 AC, 114 MV errors
[h264 @ 0x4c46d8]P sub_mb_type 10 out of range at 0 7
[h264 @ 0x4c46d8]error while decoding MB 0 7
[h264 @ 0x4c46d8]concealing 225 DC, 225 AC, 225 MV errors
[h264 @ 0x4c46d8]P sub_mb_type 4 out of range at 14 8
[h264 @ 0x4c46d8]error while decoding MB 14 8
[h264 @ 0x4c46d8]concealing 189 DC, 189 AC, 189 MV errors
[h264 @ 0x4c46d8]mb_type 27 in P slice to large at 5 1
[h264 @ 0x4c46d8]error while decoding MB 5 1
[h264 @ 0x4c46d8]concealing 330 DC, 330 AC, 330 MV errors
[h264 @ 0x4c46d8]negative number of zero coeffs at 21 2
[h264 @ 0x4c46d8]error while decoding MB 21 2
[h264 @ 0x4c46d8]concealing 314 DC, 314 AC, 314 MV errors
[h264 @ 0x4c46d8]P sub_mb_type 51 out of range at 18 5
[h264 @ 0x4c46d8]error while decoding MB 18 5
[h264 @ 0x4c46d8]concealing 251 DC, 251 AC, 251 MV errors
[h264 @ 0x4c46d8]out of range intra chroma pred mode at 4 6
[h264 @ 0x4c46d8]error while decoding MB 4 6
[h264 @ 0x4c46d8]concealing 243 DC, 243 AC, 243 MV errors
mplayer-264: h264.c:3754: decode_residual: Assertion `total_coeff<=16'
failed.
MPlayer interrupted by signal 6 in module: decode_video
- 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.
[root at ERF-PXA255 /root]$
[root at ERF-PXA255 /root]$
============================================================================
===
but I can play h.264 clip installed linux kernel 2.4.20-8 on intel pentium2
system.
I compiled same mplayer source(CVS) using gcc 3.2.2 and same configure
option.
I tested same h.264 clip.
here is log message while excute mplayer with h.264 clip.
============================log message on
pentium2============================
[root at LinuxBOX MPlayer-i686]# ./mplayer -fps 29.97
/home/deckard/h264/i686/x264-svn/holeman.h26l
MPlayer 1.0pre6-3.2.2 (C) 2000-2004 MPlayer Team
CPU: Intel Celeron Covington/Pentium II Deschutes,Tonga/Pentium II Xeon
(Family: 6, Stepping: 2)
Detected cache-line size is 32 bytes
CPUflags: MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX
Failed to open /dev/rtc: 짹쳇력?쳉Γ징째징 쩐첩쳇?(it should be readable
by
Playing /home/deckard/h264/i686/x264-svn/holeman.h26l.
H264-ES file format detected.
vo: X11 running at 1024x768 with depth 16 and 16 bpp (":0.0" => local
display)
It seems there is no Xvideo support for your video card available.
Run 'xvinfo' to verify its Xv support and read DOCS/HTML/en/video.html#xv!
See 'mplayer -vo help' for other (non-xv) video out drivers. Try -vo x11
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm:ffmpeg (FFmpeg H.264)
==========================================================================
Audio: no sound
FPS forced to be 29.970 (ftime: 0.033).
Starting playback...
VDec: vo config request - 352 x 240 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [x11] 352x240 => 352x240 Planar YV12
SwScaler: using unscaled Planar YV12 -> BGR 16-bit special converter
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
V: 0.0 691/691 51% 19% 0.0% 0 0
Exiting... (Quit)
[root at LinuxBOX MPlayer-i686]#
============================================================================
===
I tested mplayer with many configure option.
but I cant found why can't play h.264 clip on pxa255 processor.
please, help me.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20050127/826b3774/attachment.htm>
More information about the MPlayer-users
mailing list