[MPlayer-dev-eng] mencoder not encoding ac3 on macOSX

Alexandre Roberto Zia alexandre at zia.com.br
Tue Mar 1 04:53:30 CET 2011


Hi folks, 

  I'm having a problem with mencoder latest svn version:

   ffmpeg can produce an AC3 audio file:
ffmpeg -y -i video.mkv -acodec ac3 -ac 6 -ab 384k -ar 48000 -f ac3 audioout

   but mencoder not:
mencoder" -ss 0 video.mkv -channels 6 -ovc copy -of rawaudio -mc 0 -noskip -oac lavc  -lavcopts acodec=ac3:abitrate=384 -af lavcresample=48000 -srate 48000 -o audioout -v

...
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
dec_audio: Allocating 192000 + 65536 = 257536 bytes for output buffer.
FFmpeg's libavcodec audio codec
INFO: libavcodec "dca" init OK!
[dca @ 0x1009e5bc0]Stream with high frequencies VQ coding
AUDIO: 48000 Hz, 6 ch, s16le, 1536.0 kbit/33.33% (ratio: 192000->576000)
Selected audio codec: [ffdca] afm: ffmpeg (FFmpeg DTS)
==========================================================================
[file] File size is 0 bytes
STREAM: [file] audioout
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
Ignoring video stream!
videocodec: framecopy (1280x544 0bpp fourcc=34363248)
Building audio filter chain for 48000Hz/6ch/s16le -> 48000Hz/0ch/??...
[libaf] Adding filter lavcresample 
[libaf] Removing filter lavcresample 
[libaf] Adding filter dummy 
[dummy] Was reinitialized: 48000Hz/6ch/s16le
[libaf] Adding filter format 
[format] Changing sample format from little-endian 16-bit signed int to big-endian 8-bit signed int
[dummy] Was reinitialized: 48000Hz/6ch/s16le
[format] Changing sample format from little-endian 16-bit signed int to big-endian 8-bit signed int
[ac3 @ 0x1009e5bc0]Specified sample_fmt is not supported.
Couldn't open codec ac3, br=384.


   Any help whoul dbe appreciated.

Thanks
Alexandre





More information about the MPlayer-dev-eng mailing list