[MPlayer-users] Audio format 0x20776172 is incompatible with '-oac copy'

Kichigai Mentat kichigai at comcast.net
Tue Apr 4 08:46:43 CEST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Apr 4, 2006, at 01.26, vitko wrote:

> I use mencoder to join some video clips using
>
>    mencoder file1 file2 ... filen -oac copy -ovc copy -o total.avi
>
> I failed to join some clips (obtained by my Minolta F100 digital  
> camera),
> mencoder says
>
>    Audio format 0x20776172 is incompatible with '-oac copy', please  
> try
>    '-oac pcm' instead or use '-fafmttag' to override it.
>
> I'm a bit confused - can someone more knowledgeable shed some light  
> on it?

It's pretty simple. That "raw" format works in a MOV file, but not in  
an AVI file. You'll have to convert it to something else, like  
uncompressed PCM, or MP3, or AAC, or something.

>
> Please see details below.
>
> Vit
>
>
>
> $ mencoder pict0013.mov pict0014.mov pict0015.mov pict0016.mov -oac  
> copy -ovc
> copy -o michal.avi
> MEncoder dev-CVS-060131-16:08-3.3.5 (C) 2000-2006 MPlayer Team
> <snip>
> success: format: 0  data: 0x0 - 0x149c94
> Quicktime/MOV file format detected.
> --------------
> MOV track #0: 5 chunks, 68 samples
> Image size: 320 x 240 (24 bpp)
> Display size: 320 x 240
> Fourcc: jpeg  Codec: 'Photo - JPEG'
> --------------
> MOV track #1: 5 chunks, 0 samples
> Audio bits: 8  chans: 1  rate: 7867
> Fourcc: raw
          ^^^^
> --------------
> MOV: longest streams: A: #1 (5 samples)  V: #0 (68 samples)
> VIDEO:  [jpeg]  320x240  24bpp  15.000 fps    0.0 kbps ( 0.0 kbyte/s)
> [V] filefmt:7  fourcc:0x6765706A  size:320x240  fps:15.00   
> ftime:=0.0667
> videocodec: framecopy (320x240 24bpp fourcc=6765706a)
> Audio format 0x20776172 is incompatible with '-oac copy', please  
> try '-oac pcm'
> instead or use '-fafmttag' to override it.
>
>
> $ mplayer pict0013.mov -identify
> MPlayer dev-CVS-060131-16:08-3.3.5 (C) 2000-2006 MPlayer Team
> <snip>
> Playing pict0013.mov.
> Quicktime/MOV file format detected.
> --------------
> MOV track #0: 5 chunks, 68 samples
> ID_VIDEO_ID=0
> Image size: 320 x 240 (24 bpp)
> Display size: 320 x 240
> Fourcc: jpeg  Codec: 'Photo - JPEG'
> --------------
> MOV track #1: 5 chunks, 0 samples
> ID_AUDIO_ID=1
> Audio bits: 8  chans: 1  rate: 7867
> Fourcc: raw
> --------------
> MOV: longest streams: A: #1 (5 samples)  V: #0 (68 samples)
> VIDEO:  [jpeg]  320x240  24bpp  15.000 fps    0.0 kbps ( 0.0 kbyte/s)
> ====================================================================== 
> ====
> Opening audio decoder: [pcm] Uncompressed PCM audio decoder
> AUDIO: 7867 Hz, 1 ch, u8, 62.9 kbit/100.00% (ratio: 7867->7867)
> Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
> ====================================================================== 
> ====
> ID_FILENAME=pict0013.mov
> ID_DEMUXER=mov
> ID_VIDEO_FORMAT=jpeg
> ID_VIDEO_BITRATE=0
> ID_VIDEO_WIDTH=320
> ID_VIDEO_HEIGHT=240
> ID_VIDEO_FPS=15.000
> ID_VIDEO_ASPECT=0.0000
> ID_AUDIO_CODEC=pcm
> ID_AUDIO_FORMAT=raw
> ID_AUDIO_BITRATE=62936
> ID_AUDIO_RATE=7867
> ID_AUDIO_NCH=1
> ID_LENGTH=4.53
> ====================================================================== 
> ====
> Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
> Selected video codec: [ffmjpeg] vfm: ffmpeg (FFmpeg MJPEG decoder)
> ====================================================================== 
> ====
> ID_VIDEO_CODEC=ffmjpeg
> alsa-init: 1 soundcard found, using: default
> alsa: 7867 Hz/1 channels/1 bpf/16384 bytes buffer/Unsigned 8 bit
> AO: [alsa] 7867Hz 1ch u8 (1 bytes per sample)
> Starting playback...
>
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-users

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFEMhZVwAwn3hu8KxcRAs19AJoCEQiura20x8MmF6SFslaJfKD5gQCfSmtT
SsQEV3Rh+p6v9oG1zRIRieY=
=KCWC
-----END PGP SIGNATURE-----




More information about the MPlayer-users mailing list