[MPlayer-users] howto set audio format of vide

wim delvaux wim.delvaux at adaptiveplanet.com
Mon Mar 19 23:57:11 CET 2007


I have this avi file that has XVID video and MAD audio tag.

Playing S.avi.
AVI file format detected.
VIDEO:  [XVID]  640x272  12bpp  25.000 fps  1026.9 kbps (125.3 kbyte/s)
Clip info:
 Software: MEncoder 2:1.0~rc1-0ubuntu8
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
[VO_TDFXFB] Can't open /dev/fb0: No such file or directory.
[VO_3DFX] Unable to open /dev/3dfx.
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
==========================================================================
Forced audio codec: mad
Opening audio decoder: [libmad] libmad mpeg audio decoder
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [mad] afm: libmad (libMAD MPEG layer 1-2-3)
==========================================================================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 640 x 272 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 2.35:1 - prescaling to correct movie aspect.
VO: [xv] 640x272 => 640x272 Planar YV12


My DVD player does not like MAD audio 

I need to force the tag to MP3 which apparently does work.

I tried with -fafmttag -0x55 -ffourcc XVID -ovc copy -oac copy 
but the resulting file still is MAD.

What do I need to do ?

Thx



More information about the MPlayer-users mailing list