[MPlayer-users] Playing MP4 [ mpeg4video + aac ] file
Trilok Soni
trilok_ulug at yahoo.co.in
Mon Nov 22 11:11:20 CET 2004
Hi All,
As I am doing several experments with mplayer on ARM
OMAP 1710. Herewith I have tried to play MP4 file
[downloaded from Internet], which is playing file with
QuickTime Player [free version], but when playing on
Mplayer port of ARM, I am only able to here sound
[again not so much clear] and only one frame of video
is getting displayed on LCD.
Whereas I am able play standalond .m4v file. Here is
the mplayer log: I have removed some frame decoding
messages for making it short...
command line:
#./mplayer /test_streams/trs/test_qcif_200_aac_64.mp4
-demuxer 35 -v -v -v -v
--------------snip------------------
CPU: ARM
Reading config file
/usr/local/scratch/trilok/ws/target/etc/mplayer/mplayer.conf
: No such file or directory
Reading config file //.mplayer/config
Reading //.mplayer/codecs.conf: 73 audio & 180 video
codecs
CommandLine:
'/test_streams/trs/test_qcif_200_aac_64.mp4'
'-demuxer' '35' '-v' '
-v' '-v' '-v'
get_path('font/font.desc') ->
'//.mplayer/font/font.desc'
font: can't open file: //.mplayer/font/font.desc
font: Reading section: [info]
font: Reading section: [files]
RAW:
/usr/local/scratch/trilok/ws/target/share/mplayer/font//iso-8859-1-a.raw
3
216 x 22, 256 colors
RAW:
/usr/local/scratch/trilok/ws/target/share/mplayer/font//iso-8859-1-b.raw
3
216 x 22, 256 colors
font: Reading section: [characters]
font: Reading section: [files]
RAW:
/usr/local/scratch/trilok/ws/target/share/mplayer/font//osd-mplayer-a.raw
416 x 25, 256 colors
RAW:
/usr/local/scratch/trilok/ws/target/share/mplayer/font//osd-mplayer-b.raw
416 x 25, 256 colors
font: Reading section: [characters]
font: resampling alpha by factor 0.750 (192) DONE!
font: resampling alpha by factor 0.750 (192) DONE!
Font
/usr/local/scratch/trilok/ws/target/share/mplayer/font/font.desc
loaded suc
cessfully! (206 chars)
Using Unoptimized OnScreenDisplay
Failed to open /dev/rtc: No such file or directory (it
should be readable by the
user.)
Using usleep() timing
get_path('input.conf') -> '//.mplayer/input.conf'
Can't open input config file //.mplayer/input.conf: No
such file or directory
Can't open input config file
/usr/local/scratch/trilok/ws/target/etc/mplayer/inp
ut.conf: No such file or directory
Falling back on default (hardcoded) input config
get_path('test_qcif_200_aac_64.mp4.conf') ->
'//.mplayer/test_qcif_200_aac_64.mp
4.conf'
[[[init getch2]]]
Playing /test_streams/trs/test_qcif_200_aac_64.mp4.
[file] File size is 912793 bytes
STREAM: [file]
/test_streams/trs/test_qcif_200_aac_64.mp4
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably
Arpi)
CACHE_PRE_INIT: 0 [0] 237568 pre:1677721 eof:0
Cache fill: 2.83% (237568 bytes) Cache fill:
10.88% (912793 bytes) CACHE2_SEEK: 0x0 <= 0x0 (0x0)
<= 0xDED99
LAVF_check: QuickTime/MPEG4 format
libavformat file format detected.
mp_seek(0x4ccba0, 0, 1)
mp_seek(0x4ccba0, -1, 2)
CACHE2_SEEK: 0x0 <= 0xDED98 (0x800) <= 0xDED99
mp_seek(0x4ccba0, 0, 0)
CACHE2_SEEK: 0x0 <= 0x0 (0xDED99) <= 0xDED99
32768=mp_read(0x4ccba0, 0x51ea10, 32768), eof:0
mp_seek(0x4ccba0, 0, 1)
CACHE2_SEEK: 0x0 <= 0x8000 (0x8000) <= 0xDED99
mp_seek(0x4ccba0, -1, 2)
CACHE2_SEEK: 0x0 <= 0xDED98 (0x8800) <= 0xDED99
mp_seek(0x4ccba0, 32768, 0)
CACHE2_SEEK: 0x0 <= 0x8000 (0xDED99) <= 0xDED99
==> Found video stream: 0
aspect= 176*1/(144*1)
======= VIDEO Format ======
biSize 71
biWidth 176
biHeight 144
biPlanes 0
biBitCount 24
biCompression 1446269005='MP4V'
biSizeImage 76032
Unknown extra header dump: [0] [0] [1] [b0] [3] [0]
[0] [1] [b5] [9] [0] [0] [1]
[0] [0] [0] [1] [20] [0] [c8] [88] [ba] [98] [61]
[f4] [20] [b0] [82] [42] [83]
[7]
===========================
==> Found audio stream: 1
======= WAVE Format =======
Format Tag: 28781 (0x706D)
Channels: 2
Samplerate: 44100
avg byte/sec: 0
Block align: 0
bits/sample: 16
cbSize: 2
Unknown extra header dump: [12] [10]
===========================
LAVF: 1 audio and 1 video streams found
[V] filefmt:35 fourcc:0x5634504D size:176x144
fps:15.00 ftime:=0.0667
get_path('sub/') -> '//.mplayer/sub/'
get_path('default.sub') -> '//.mplayer/default.sub'
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced
Audio Coding)
dec_audio: Allocating 4608 bytes for input buffer.
dec_audio: Allocating 49152 + 65536 = 114688 bytes for
output buffer.
FAAD: codecdata extracted from WAVEFORMATEX
FAAD: Decoder init done (0Bytes)!
FAAD: Negotiated samplerate: 44100Hz channels: 2
FAAD: compressed input bitrate missing, assuming
128kbit/s!
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio:
16000->176400 (128.0 kbit)
Selected audio codec: [faad] afm:faad (FAAD AAC
(MPEG2/MPEG4 Audio) decoder)
==========================================================================
X11 opening display: :0.0
vo: X11 color mask: FFFF (R:F800 G:7E0 B:1F)
vo: X11 running at 240x320 with depth 16 and 16 bpp
(":0.0" => local display)
[x11] Unknown wm type...
[x11] Current fstype setting doesn't honour any X
atoms
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec
codec family
INFO: libavcodec init OK!
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg
MPEG-4)
==========================================================================
Checking audio filter chain for 44100Hz/2ch/16bit ->
44100Hz/2ch/16bit...
[libaf] Adding filter dummy
[dummy] Was reinitialized, rate=44100Hz, nch = 2,
format = 0x00000001 and bps =
2
AF_pre: af format: 2 bps, 2 ch, 44100 hz, little
endian signed int
AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian)
ao2: 44100 Hz 2 chans Signed 16-bit (Little-Endian)
audio_setup: using '/dev/dsp' dsp device
audio_setup: using '/dev/sound/mixer' mixer device
audio_setup: using 'pcm' mixer device
audio_setup: sample format: Signed 16-bit
(Little-Endian) (requested: Signed 16-
bit (Little-Endian))
audio_setup: using 2 channels (requested: 2)
audio_setup: using 44100 Hz samplerate (requested:
44100)
audio_setup: frags: 8/8 (8192 bytes/frag) free:
65536
AO: [oss] 44100Hz 2ch Signed 16-bit (Little-Endian) (2
bps)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
Building audio filter chain for 44100Hz/2ch/16bit ->
44100Hz/2ch/16bit...
[dummy] Was reinitialized, rate=44100Hz, nch = 2,
format = 0x00000001 and bps =
2
[dummy] Was reinitialized, rate=44100Hz, nch = 2,
format = 0x00000001 and bps =
2
Starting playback...
decaudio: minlen=65536 maxlen=65536 declen=65536
(max=114688)
decaudio: decoding 65536 bytes, max: 114688 (49152)
demux_lavf_fill_buffer()
demux_lavf_fill_buffer()
.....
demux_lavf_fill_buffer()
demux_lavf_fill_buffer()
32768=mp_read(0x4ccba0, 0x51ea10, 32768), eof:0
demux_lavf_fill_buffer()
demux_lavf_fill_buffer()
demux_lavf_fill_buffer()
FAAD: Decoded zero samples!
demux_lavf_fill_buffer()
FAAD: Successfully decoded frame (4096 Bytes)!
demux_lavf_fill_buffer()
demux_lavf_fill_buffer()
FAAD: Successfully decoded frame (4096 Bytes)!
decaudio: declen=65536 out=65536 (max 65536)
[ffmpeg] aspect_ratio: 1.222222
VDec: vo config request - 176 x 144 (preferred csp:
Planar YV12)
Trying filter chain: vo
vo_x11: query_format was called: 32315659 (Planar
YV12)
vo_debug: query(Planar YV12) returned 0x445 (i=0)
vo_x11: query_format was called: 30323449 (Planar
I420)
vo_debug: query(Planar I420) returned 0x445 (i=1)
vo_x11: query_format was called: 56555949 (Planar
IYUV)
vo_debug: query(Planar IYUV) returned 0x445 (i=2)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.22:1 - prescaling to correct movie
aspect.
VO Config
(176x144->176x144,flags=1,'MPlayer',0x32315659)
VO: [x11] 176x144 => 176x144 Planar YV12 [fs]
VO: Description: X11 ( XImage/Shm )
VO: Author: Aaron Holtzman <aholtzma at ess.engr.uvic.ca>
vo_x11: query_format was called: 32315659 (Planar
YV12)
Sharing memory.
1.000
|
1.000
|
No accelerated colorspace conversion found
SwScaler: using unscaled Planar YV12 -> BGR 16-bit
special converter
using IPB
*** [vo] Allocating (slices) mp_image_t, 176x144x12bpp
YUV planar, 38016 bytes
(imgfmt: 32315659, planes: 60e5c0,616180,6148c0
strides: 176,88,88, chroma: 88x7
2, shift: h:1,v:1)
A: -0.0 V: 0.0 A-V: -0.028 ct: 0.000 1/ 1 0%
0% 0.0% 0 0 10%
decaudio: minlen=16384 maxlen=65536 declen=16384
(max=114688)
decaudio: decoding 16384 bytes, max: 114688 (49152)
demux_lavf_fill_buffer()
FAAD: Successfully decoded frame (4096 Bytes)!
demux_lavf_fill_buffer()
FAAD: Successfully decoded frame (4096 Bytes)!
demux_lavf_fill_buffer()
FAAD: Successfully decoded frame (4096 Bytes)!
demux_lavf_fill_buffer()
FAAD: Successfully decoded frame (4096 Bytes)!
decaudio: declen=16384 out=16384 (max 65536)
using IPB
*** [vo] Allocating (slices) mp_image_t, 176x144x12bpp
YUV planar, 38016 bytes
(imgfmt: 32315659, planes: 619300,620ec0,61f600
strides: 176,88,88, chroma: 88x7
2, shift: h:1,v:1)
A: 0.1 V: 0.1 A-V: 0.069 ct: 0.007 2/ 2 0%
0% 0.0% 1 0 10%
decaudio: minlen=24576 maxlen=65536 declen=24576
(max=114688)
decaudio: decoding 24576 bytes, max: 114688 (49152)
demux_lavf_fill_buffer()
FAAD: Successfully decoded frame (4096 Bytes)!
demux_lavf_fill_buffer()
FAAD: Successfully decoded frame (4096 Bytes)!
demux_lavf_fill_buffer()
FAAD: Successfully decoded frame (4096 Bytes)!
demux_lavf_fill_buffer()
FAAD: Successfully decoded frame (4096 Bytes)!
demux_lavf_fill_buffer()
FAAD: Successfully decoded frame (4096 Bytes)!
demux_lavf_fill_buffer()
FAAD: Successfully decoded frame (4096 Bytes)!
decaudio: declen=24576 out=24576 (max 65536)
using IPB
...
using IPB
A: 0.4 V: 0.2 A-V: 0.215 ct: 0.020 4/ 4 0%
0% 0.0% 3 0 10%
decaudio: minlen=24576 maxlen=65536 declen=24576
(max=114688)
decaudio: decoding 24576 bytes, max: 114688 (49152)
demux_lavf_fill_buffer()
FAAD: Successfully decoded frame (4096 Bytes)!
demux_lavf_fill_buffer()
FAAD: Successfully decoded frame (4096 Bytes)!
demux_lavf_fill_buffer()
FAAD: Successfully decoded frame (4096 Bytes)!
demux_lavf_fill_buffer()
FAAD: Successfully decoded frame (4096 Bytes)!
demux_lavf_fill_buffer()
FAAD: Successfully decoded frame (4096 Bytes)!
demux_lavf_fill_buffer()
FAAD: Successfully decoded frame (4096 Bytes)!
decaudio: declen=24576 out=24576 (max 65536)
using IPB
A: 0.6 V: 0.3 A-V: 0.348 ct: 0.027 5/ 5 0%
0% 0.0% 4 0 10%
using IPB
A: 9.2 V: 4.3 A-V: 4.820 ct: 0.433 66/ 66 37%
0% 442.6% 65 0 4%
decaudio: minlen=24576 maxlen=65536 declen=24576
(max=114688)
decaudio: decoding 24576 bytes, max: 114688 (49152)
demux_lavf_fill_buffer()
FAAD: Successfully decoded frame (4096 Bytes)!
demux_lavf_fill_buffer()
FAAD: Successfully decoded frame (4096 Bytes)!
demux_lavf_fill_buffer()
FAAD: Successfully decoded frame (4096 Bytes)!
demux_lavf_fill_buffer()
FAAD: Successfully decoded frame (4096 Bytes)!
demux_lavf_fill_buffer()
FAAD: Successfully decoded frame (4096 Bytes)!
demux_lavf_fill_buffer()
MPlayer interrupted by signal 2 in module:
enable_cache
*** uninit(0xC8)
[[[uninit getch2]]]
vo: x11 uninit called but X11 not inited..
max framesize was 0 bytes
MPlayer interrupted by signal 2 in module:
decode_audio
*** uninit(0xECB)
Uninit audio filters...
[libaf] Removing filter dummy
uninit audio: faad
FAAD: Closing decoder!
uninit video: ffmpeg
DEMUXER: freeing demuxer at 0x51e1a0
DEMUXER: freeing sh_video at 0x52be90
DEMUXER: freeing sh_audio at 0x52bf28
[[[uninit getch2]]]
vo: uninit ...
max framesize was 5266 bytes
#
--------------snip------------------
Let me know, if more information is required.
---Trilok Soni
__________________________________
Do you Yahoo!?
Meet the all-new My Yahoo! - Try it today!
http://my.yahoo.com
More information about the MPlayer-users
mailing list