[MPlayer-users] playing 3GP/H2.63/AMR files
Trilok Soni
trilok_ulug at yahoo.co.in
Mon Nov 22 11:02:27 CET 2004
Vladimir,
I have now integrated following things into mplayer:
1. libavformat
2. Enabeled FAAC,FAAD support.
3. changed libavcodec for amr_nb_fixed support as per
amr.c documentation.
[note:]
I am able to play standalone H.263 file using mplayer
now.
But when I tried to play 3gp file, it gives
=======================================================
Cannot find codec for audio format 0x726D6173.
Read DOCS/HTML/en/codecs.html!
=======================================================
warning, as I came know from the googling that it is
indicating "samr" format for audio codec.
How do I modifiy codecs.conf entried for above format?
I tried to put "fourcc samr" but it is not working.
I am copying the beautiful log with crash here:
[command used : ./mplayer
/test_streams/trs/Televisi1970.3gp
-demuxer 35 -v -v -v -v
--------------snip------------------------
MPlayer 1.0pre5-3.4.0 (C) 2000-2004 MPlayer Team
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/Televisi1970.3gp'
'-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('Televisi1970.3gp.conf') ->
'//.mplayer/Televisi1970.3gp.conf'
[[[init getch2]]]
Playing /test_streams/trs/Televisi1970.3gp.
[file] File size is 1851112 bytes
STREAM: [file] /test_streams/trs/Televisi1970.3gp
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably
Arpi)
CACHE_PRE_INIT: 0 [0] 0 pre:1677721 eof:0
Cache fill: 0.00% (0 bytes) CACHE2_SEEK: 0x0 <=
0x0 (0x0) <= 0x1B8000
LAVF_check: QuickTime/MPEG4 format
libavformat file format detected.
mp_seek(0x4ccb80, 0, 1)
mp_seek(0x4ccb80, -1, 2)
CACHE2_SEEK: 0x0 <= 0x1C3EE7 (0x800) <= 0x1B8000
Out of boundaries... seeking to 0x1C3800
s->pos=1BA000 newpos=1C3800 new_bufpos=1C3800
buflen=0
Seek done. new pos: 0x1C3800
mp_seek(0x4ccb80, 0, 0)
CACHE2_SEEK: 0x1C3800 <= 0x0 (0x1C3EE8) <= 0x1C3EE8
Out of boundaries... seeking to 0x0
s->pos=0 newpos=0 new_bufpos=0 buflen=0
Seek done. new pos: 0x0
32768=mp_read(0x4ccb80, 0x51e9f0, 32768), eof:0
mp_seek(0x4ccb80, 1776596, 0)
CACHE2_SEEK: 0x0 <= 0x1B1BD4 (0x8000) <= 0x72000
Out of boundaries... seeking to 0x1B1800
s->pos=74000 newpos=1B1800 new_bufpos=1B1800
buflen=0
Seek done. new pos: 0x1B1800
32768=mp_read(0x4ccb80, 0x51e9f0, 32768), eof:0
32768=mp_read(0x4ccb80, 0x51e9f0, 32768), eof:0
8980=mp_read(0x4ccb80, 0x51e9f0, 32768), eof:1
mp_seek(0x4ccb80, 28, 0)
CACHE2_SEEK: 0x1B1800 <= 0x1C (0x1C3EE8) <= 0x1C3EE8
Out of boundaries... seeking to 0x0
s->pos=0 newpos=0 new_bufpos=0 buflen=0
Seek done. new pos: 0x0
mp_seek(0x4ccb80, 0, 1)
mp_seek(0x4ccb80, -1, 2)
CACHE2_SEEK: 0x0 <= 0x1C3EE7 (0x800) <= 0x72000
Out of boundaries... seeking to 0x1C3800
s->pos=74000 newpos=1C3800 new_bufpos=1C3800
buflen=0
Seek done. new pos: 0x1C3800
mp_seek(0x4ccb80, 28, 0)
CACHE2_SEEK: 0x1C3800 <= 0x1C (0x1C3EE8) <= 0x1C3EE8
Out of boundaries... seeking to 0x0
s->pos=0 newpos=0 new_bufpos=0 buflen=0
Seek done. new pos: 0x0
==> Found video stream: 0
aspect= 176*0/(144*1)
======= VIDEO Format ======
biSize 40
biWidth 176
biHeight 144
biPlanes 0
biBitCount 24
biCompression 859189875='s263'
biSizeImage 76032
===========================
==> Found audio stream: 1
======= WAVE Format =======
Format Tag: 24947 (0x6173)
Channels: 1
Samplerate: 8000
avg byte/sec: 0
Block align: 0
bits/sample: 16
cbSize: 0
===========================
LAVF: 1 audio and 1 video streams found
[V] filefmt:35 fourcc:0x33363273 size:176x144
fps:12.00 ftime:=0.0833
get_path('sub/') -> '//.mplayer/sub/'
get_path('default.sub') -> '//.mplayer/default.sub'
=======================================================
Cannot find codec for audio format 0x726D6173.
Read DOCS/HTML/en/codecs.html!
=======================================================
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: [ffh263] vfm:ffmpeg (FFmpeg
H263+ decoder)
=======================================================
Audio: no sound
Freeing 0 unused audio chunks
Starting playback...
demux_lavf_fill_buffer()
32768=mp_read(0x4ccb80, 0x51e9f0, 32768), eof:0
[ffmpeg] aspect_ratio: 1.333333
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.33:1 - prescaling to correct movie
aspect.
VO Config
(176x144->192x144,flags=1,'MPlayer',0x32315659)
VO: [x11] 176x144 => 192x144 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 IP
*** [vo] Allocating (slices) mp_image_t, 176x144x12bpp
YUV planar, 38016 bytes
(imgfmt: 32315659, planes: 5eeec0,5f6a80,5f51c0
strides: 176,88,88, chroma: 88x7
2, shift: h:1,v:1)
OSD chg: 3 V: no pb:-1
OSD chg: 2 V: no pb:-1
V: 0.0 1 0% 0% 0.0% 0 0
21%demux_lavf_fill_buffer()
MPlayer interrupted by signal 11 in module:
video_read_frame
- MPlayer crashed by bad usage of CPU/FPU/RAM.
Recompile MPlayer with --enable-debug and make a
'gdb' backtrace and
disassembly. Details in
DOCS/HTML/en/bugreports_what.html#bugreports_crash.
- 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.
*** uninit(0xAC9)
uninit video: ffmpeg
DEMUXER: freeing demuxer at 0x51e198
DEMUXER: freeing sh_video at 0x4d1fb0
DEMUXER: freeing sh_audio at 0x4d2048
[[[uninit getch2]]]
vo: uninit ...
max framesize was 1445 bytes
#
--------------snip------------------------
---Trilok Soni
--- Vladimir Mosgalin <mosgalin at VM10124.spb.edu>
wrote:
> On Tue, 16 Nov 2004, Trilok Soni wrote:
>
> TS>I am continuing my experiments with mplayer for
> TS>3gp/h263/amr files.
> TS>
> TS>I am able to play 3gp, h263 and amr files with
> TS>"ffplay" available in ffmpeg pacakge. AFAIK, same
> TS>package(libavcodec) is included in the mplayer.
> TS>
> TS>But I don't why it is not working with mplayer.
> Any
> TS>suggestions??
>
> Mplayer doesn't even know how to demux the file, how
> do you expect it to
> decode video? You have to use -demuxer 35 (and
> mplayer has to be
> compiled with libavformat), and after successful
> demuxing, continue
> experimenting with codecs...
>
> --
>
> Vladimir
>
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-users
>
__________________________________
Do you Yahoo!?
Meet the all-new My Yahoo! - Try it today!
http://my.yahoo.com
More information about the MPlayer-users
mailing list