[MPlayer-users] trouble with audio channel extraction
David Dudas
david_dudas at yahoo.com
Sun Nov 13 07:45:03 CET 2005
Hi,
I have a 3g2 file taken with my mobile phone (Samsung a890) from which I am
trying to extract the audio file. Mplayer creates an audiodump.wav file but
when I listen to it, it sounds like a cage full of hamsters.
Here's what I did:
# mplayer -vo null -ao pcm 1000.3g2
MPlayer 1.0pre7try2-3.4.3 (C) 2000-2005 MPlayer Team
CPU: Intel (Family: 8, Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
Playing 1000.3g2.
ISO: Unknown File Type Major Brand: 3g2a
QuickTime/MOV file format detected.
--------------
MOV track #0: 6 chunks, 227 samples
MOV: Found MPEG4 movie Elementary Stream Descriptor atom (68)!
Image size: 176 x 144 (24 bpp)
Display size: 320 x 240
Fourcc: mp4v Codec: ''
--------------
MOV track #1: 6 chunks, 0 samples
Audio bits: 16 chans: 2 rate: 8000
MOV: Found MPEG4 audio Elementary Stream Descriptor atom (202)!
Fourcc: mp4a
--------------
MOV: longest streams: A: #1 (6 samples) V: #0 (227 samples)
VIDEO: [mp4v] 176x144 24bpp 15.000 fps 0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 8000 Hz, 2 ch, s16le, 256.0 kbit/100.00% (ratio: 32000->32000)
Selected audio codec: [ffamrnb] afm:ffmpeg (AMR Narrowband)
==========================================================================
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
Checking audio filter chain for 8000Hz/2ch/s16le -> 8000Hz/2ch/s16le...
AF_pre: 8000Hz/2ch/s16le
[AO PCM] File: audiodump.wav (WAVE)
PCM: Samplerate: 8000Hz Channels: Stereo Format s16le
[AO PCM] Info: fastest dumping is achieved with -vc dummy -vo null
PCM: Info: to write WAVE files use -waveheader (default).
AO: [pcm] 8000Hz 2ch s16le (2 bps)
Building audio filter chain for 8000Hz/2ch/s16le -> 8000Hz/2ch/s16le...
Starting playback...
VDec: vo config request - 176 x 144 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [null] 176x144 => 192x144 Planar YV12
[amr_nb @ 0x8591d28]amr frame too short (3, should be 32) 0.3% 186 0
A: 2.9 V: 15.1 A-V:-12.152 ct: -1.477 227/227 0% 0% 0.4% 187 0
Exiting... (End of file)
Not sure if the following is significant, but ffmpeg indicates that the audio
stream consists of 9 channels:
# ffmpeg -i 1000.3g2 -acodec mp3 -ac 1 -ar 44100 -ab 64 -s 320x240 -aspect 4:3
-y -f swf 1000.swf
ffmpeg version CVS, build 3276800, Copyright (c) 2000-2004 Fabrice Bellard
configuration: --enable-mp3lame --disable-ffserver --disable-ffplay
--enable-small --enable-memalign-hack --enable-shared --enable-faad
--enable-faac --enable-gpl --enable-amr_nb
built on Nov 12 2005 16:37:13, gcc: 3.4.3 20041212 (Red Hat 3.4.3-9.EL4)
Input #0, mov,mp4,m4a,3gp,3g2, from '1000.3g2':
Duration: 00:00:15.3, start: 0.000000, bitrate: 94 kb/s
Stream #0.0, 15.00 fps: Video: mpeg4, yuv420p, 176x144
Stream #0.1: Audio: aac, 64000 Hz, 9 channels
Resampling with input channels greater than 2 unsupported.Can't resample.
Aborting.
Abort at ffmpeg.c:1691
Aborted
Any suggestions on what I may be doing wrong with MPlayer?
thanks,
David
__________________________________
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com
More information about the MPlayer-users
mailing list