[FFmpeg-user] the latest ffmpeg seams broke AC3 Decoder in mplayer

Zongyao Qu zongyao.qu at gmail.com
Fri Feb 3 15:33:15 CET 2012


I am not sure whether the issue lays in mplayer or ffmpeg.

but when I roll back ffmpeg to 0.10, it works.

I am using Mac OSX 10.7, x86_64.

the full log is below.

BTW, I think the suspicious place is here
----------------------------------
[AC3 decoder @ 0x100923f50]Value 1606411960.000000 for parameter
'drc_scale' out of range
[AC3 decoder @ 0x100923f50]Error setting option drc_scale to value
1606411960.

I don't know whether it is OK to report such kind of issue, since it is not
a ffmpeg only issue. But I think it is mplayer irrelevant.

if it is not OK, please let me know, I will post it to mplayer.
Thank you.
===============
QZY:x86_64 NILTSH$ ./mplayer -demuxer lavf -v
/Volumes/Work/MPX/MediaTest/00101.MTS MPlayer UNKNOWN-4.2.1 (C)
2000-2012 MPlayer Team
CPU vendor name: GenuineIntel  max cpuid level: 13
CPU: Intel(R) Core(TM) i7-2720QM CPU @ 2.20GHz (Family: 6, Model: 42,
Stepping: 7)
extended cpuid-level: 8
extended cache-info: 16801856
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 1 SSSE3: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2 SSSE3 CMOV
get_path('codecs.conf') -> '/Users/NILTSH/.mplayer/codecs.conf'
Reading optional codecs config file /Users/NILTSH/.mplayer/codecs.conf:
No such file or directory
Reading optional codecs config file /usr/local/etc/mplayer/codecs.conf:
No such file or directory
Using built-in default codecs.conf.
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/Users/NILTSH/.mplayer/fonts'
Configuration: --codecsdir=codecs --disable-mencoder --disable-gui
--disable-apple-remote --disable-unrarexec --disable-pnm --disable-tga
--disable-md5sum --disable-quartz --disable-openal
--disable-tremor-internal --disable-jpeg --disable-png
--disable-yuv4mpeg --disable-faac --disable-faad --disable-tv
--disable-libdca --disable-liba52 --disable-libvorbis --disable-theora
--disable-qtx --disable-gl --disable-matrixview --disable-x11
--disable-xv --enable-decoder=vda
--extra-cflags=-mmacosx-version-min=10.6
--extra-ldflags=-mmacosx-version-min=10.6 -framework CoreFoundation
-framework VideoDecodeAcceleration -framework QuartzCore
CommandLine: '-demuxer' 'lavf' '-v'
'/Volumes/Work/MPX/MediaTest/00101.MTS'
Using Darwin accurate timing
get_path('input.conf') -> '/Users/NILTSH/.mplayer/input.conf'
Reading optional input config file /Users/NILTSH/.mplayer/input.conf: No
such file or directory
Reading optional input config file /usr/local/etc/mplayer/input.conf: No
such file or directory
Falling back on default (hardcoded) input config
get_path('00101.MTS.conf') -> '/Users/NILTSH/.mplayer/00101.MTS.conf'

Playing /Volumes/Work/MPX/MediaTest/00101.MTS.
get_path('sub/') -> '/Users/NILTSH/.mplayer/sub/'
[file] File size is 9940992 bytes
STREAM: [file] /Volumes/Work/MPX/MediaTest/00101.MTS
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
libavformat version 54.0.100 (internal)
Configuration: --enable-gpl --enable-postproc
LAVF_check: MPEG-2 transport stream format
libavformat file format detected.
[mpegts @ 0x100922480]stream=0 stream_type=1b pid=1011
prog_reg_desc=HDMV
[mpegts @ 0x100922480]stream=1 stream_type=81 pid=1100
prog_reg_desc=HDMV
[mpegts @ 0x100922480]stream=2 stream_type=90 pid=1200
prog_reg_desc=HDMV
[ac3 @ 0x10092c160]Unsupported bit depth: 0
[mpegts @ 0x100922480]parser not found for codec hdmv_pgs_subtitle,
packets or times may be invalid.
[h264 @ 0x10092c160]Increasing reorder buffer to 1
[h264 @ 0x10092c160]no picture ooo
[h264 @ 0x10092c160]no picture ooo
[h264 @ 0x10092c160]no picture 
[mpegts @ 0x100922480]Probe buffer size limit 5000000 reached
rfps: 59.666667 0.014040
rfps: 59.750000 0.006785
rfps: 59.750000 0.006785
rfps: 59.833333 0.002139
rfps: 59.833333 0.002139
rfps: 59.916667 0.000103
rfps: 59.940060 0.000000
rfps: 59.940060 0.000000
==> Found video stream: 0
======= VIDEO Format ======
  biSize 500
  biWidth 1920
  biHeight 1080
  biPlanes 0
  biBitCount 0
  biCompression 875967048='H264'
  biSizeImage 0
Unknown extra header dump: [0] [0] [0] [1] [9] [10] [0] [0] [0] [1] [27]
[64] [0] [2a] [ac] [2c] [a5] [1] [e0] [8] [9f] [97] [1] [10] [0] [0]
[3e] [90] [0] [1d] [4c] [e] [4] [0] [0] [63] [2e] [a0] [0] [2] [7a] [c4]
[21] [6b] [0] [20] [0] [0] [0] [1] [28] [ee] [3c] [e5] [11] [35] [8]
[6e] [8] [8] [40] [3c] [3] [10] [37] [4a] [14] [87] [4] [88] [4] [9c]
[18] [60] [6e] [c2] [52] [49] [93] [aa] [c9] [b7] [22] [4b] [9b] [b6]
[d8] [82] [8] [11] [13] [8] [c] [18] [34] [68] [d0] [c0] [2c] [2] [4]
[8] [20] [40] [7] [c0] [fc] [8] [20] [40] [7] [de] [c0] [0] [0] [0] [1]
[28] [5b] [8f] [39] [44] [4d] [42] [1b] [82] [2] [10] [f] [0] [c4] [d]
[d2] [85] [21] [c1] [22] [1] [27] [6] [18] [1b] [b5] [c] [8a] [c5] [70]
[b6] [7] [88] [3e] [84] [1] [4] [14] [6] [43] [0] [b3] [81] [ab] [e9]
[49] [26] [4e] [ab] [26] [dc] [89] [2e] [6e] [db] [62] [8] [20] [44]
[4c] [20] [30] [60] [d1] [a3] [43] [0] [b0] [8] [10] [20] [81] [0] [1f]
[3] [f0] [20] [81] [0] [1f] [7d] [8] [91] [a2] [72] [79] [2a] [e4] [ad]
[c9] [4a] [dc] [d1] [18] [98] [80] [40] [8] [20] [84] [10] [81] [0] [8]
[18] [10] [40] [fd] [ff] [c0] [0] [0] [0] [1] [28] [7b] [8f] [3a] [1d]
[11] [20] [c2] [96] [8] [2] [2] [0] [4b] [3] [f0] [7d] [41] [68] [20]
[12] [20] [1c] [70] [20] [60] [fb] [44] [5] [21] [8c] [39] [c1] [6] [7]
[ee] [14] [4] [90] [50] [11] [8] [2] [4e] [6] [af] [a8] [d3] [66] [ba]
[4b] [26] [db] [49] [25] [90] [84] [20] [d2] [95] [8e] [21] [0] [81] [6]
[22] [41] [c0] [10] [1] [f0] [3f] [3] [8] [64] [1c] [1] [0] [1f] [41]
[f8] [3e] [c1] [f8] [3e] [fc] [40] [42] [3b] [19] [c6] [78] [c9] [a7]
[8a] [21] [b3] [94] [50] [a2] [1a] [72] [8b] [4] [46] [36] [73] [83] [f]
[83] [ef] [ff] [f0] [0] [0] [0] [1] [28] [15] [b8] [c6] [ce] [51] [13]
[50] [86] [e0] [80] [84] [3] [c0] [31] [3] [74] [a1] [48] [70] [48] [80]
[49] [c1] [86] [6] [ed] [43] [22] [b1] [5c] [2d] [81] [e2] [f] [a1] [0]
[41] [5] [1] [90] [c0] [2c] [e0] [6a] [fa] [52] [49] [93] [aa] [c9] [b7]
[22] [4b] [9b] [b6] [d8] [82] [8] [11] [13] [8] [c] [18] [34] [68] [d0]
[c0] [2c] [2] [4] [8] [20] [40] [7] [c0] [fc] [8] [20] [40] [7] [df]
[42] [24] [68] [9c] [9e] [4a] [b9] [2b] [72] [52] [b7] [34] [46] [26]
[20] [10] [2] [8] [21] [4] [20] [40] [2] [6] [4] [10] [3f] [7f] [c6]
[c0] 
===========================
[lavf] stream 0: video (h264), -vid 0
==> Found audio stream: 1
======= WAVE Format =======
Format Tag: 8192 (0x2000)
Channels: 2
Samplerate: 48000
avg byte/sec: 32000
Block align: 1
bits/sample: 0
cbSize: 0
=================================================================
=======
==
[lavf] stream 1: audio (ac3), -aid 0
[lavf] stream 2: subtitle (pgssub), -sid 0
LAVF: Program 1 
LAVF: 1 audio and 1 video streams found
LAVF: build 3539044
VIDEO:  [H264]  1920x1080  0bpp  59.940 fps    0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:35  fourcc:0x34363248  size:1920x1080  fps:59.940 
ftime:=0.0167
Load subtitles in /Volumes/Work/MPX/MediaTest/
get_path('sub/') -> '/Users/NILTSH/.mplayer/sub/'
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 54.0.102 (internal)
Configuration: --enable-gpl --enable-postproc
INFO: libavcodec init OK!
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
dec_audio: Allocating 192000 + 131072 = 323072 bytes for output buffer.
FFmpeg's libavcodec audio codec
[AC3 decoder @ 0x100923f50]Value 1606411960.000000 for parameter
'drc_scale' out of range
[AC3 decoder @ 0x100923f50]Error setting option drc_scale to value
1606411960.
Could not open codec.
ADecoder init failed :(
ADecoder init failed :(
Requested audio codec family [a52] (afm=liba52) not available.
Enable it at compilation.
Opening audio decoder: [hwac3] AC3/DTS pass-through S/PDIF
dec_audio: Allocating 8192 bytes for input buffer.
dec_audio: Allocating 16384 + 131072 = 147456 bytes for output buffer.
hwac3: switched to AC3, 256000 bps, 48000 Hz

AUDIO: 48000 Hz, 2 ch, ac3be, 256.0 kbit/16.67% (ratio: 32000->192000)
Selected audio codec: [hwac3] afm: hwac3 (AC3 through S/PDIF)
Building audio filter chain for 48000Hz/2ch/ac3be -> 0Hz/0ch/??...
[libaf] Adding filter dummy 
[dummy] Was reinitialized: 48000Hz/2ch/ac3be
[dummy] Was reinitialized: 48000Hz/2ch/ac3be
Trying every known audio driver...
AO: [coreaudio] init([48000Hz][2ch][ac3be][0])
AO: [coreaudio] got audio output device ID: 34 Name: Built-in Output
AO: [coreaudio] supported format: 96000.0Hz 24bit [lpcm][4][8][1][8][2]
int LE S
AO: [coreaudio] supported format: 88200.0Hz 24bit [lpcm][4][8][1][8][2]
int LE S
AO: [coreaudio] supported format: 48000.0Hz 24bit [lpcm][4][8][1][8][2]
int LE S
AO: [coreaudio] supported format: 44100.0Hz 24bit [lpcm][4][8][1][8][2]
int LE S
AO: [coreaudio] supported format: 96000.0Hz 20bit [lpcm][4][8][1][8][2]
int LE S
AO: [coreaudio] supported format: 88200.0Hz 20bit [lpcm][4][8][1][8][2]
int LE S
AO: [coreaudio] supported format: 48000.0Hz 20bit [lpcm][4][8][1][8][2]
int LE S
AO: [coreaudio] supported format: 44100.0Hz 20bit [lpcm][4][8][1][8][2]
int LE S
AO: [coreaudio] supported format: 96000.0Hz 16bit [lpcm][12][4][1][4][2]
int LE S packed
AO: [coreaudio] supported format: 88200.0Hz 16bit [lpcm][12][4][1][4][2]
int LE S packed
AO: [coreaudio] supported format: 48000.0Hz 16bit [lpcm][12][4][1][4][2]
int LE S packed
AO: [coreaudio] supported format: 44100.0Hz 16bit [lpcm][12][4][1][4][2]
int LE S packed
AO: [coreaudio] supported format: 96000.0Hz 32bit [lpcm][9][8][1][8][2]
float LE U packed
AO: [coreaudio] supported format: 88200.0Hz 32bit [lpcm][9][8][1][8][2]
float LE U packed
AO: [coreaudio] supported format: 48000.0Hz 32bit [lpcm][9][8][1][8][2]
float LE U packed
AO: [coreaudio] supported format: 44100.0Hz 32bit [lpcm][9][8][1][8][2]
float LE U packed
AO: [coreaudio] probe default audio output device about support for
digital s/pdif output: 0
AO: [coreaudio] source: 48000.0Hz 16bit [lpcm][14][4][1][4][2] int BE S
packed
AO: [coreaudio] using   375 chunks of 512 bytes (buffer len 192000
bytes)
AO: [coreaudio] 48000Hz 2ch ac3be (2 bytes per sample)
AO: Description: Darwin/Mac OS X native audio output
AO: Author: Timothy J. Wood & Dan Christiansen & Chris Roccati
Building audio filter chain for 48000Hz/2ch/ac3be ->
48000Hz/2ch/ac3be...
[dummy] Was reinitialized: 48000Hz/2ch/ac3be
[dummy] Was reinitialized: 48000Hz/2ch/ac3be
Starting playback...
Increasing filtered audio buffer size from 0 to 131072
Unsupported PixelFormat 61
Unsupported PixelFormat 53
Unsupported PixelFormat 81
[ffmpeg] aspect_ratio: 1.777778
VDec: vo config request - 1920 x 1080 (preferred colorspace: Planar
YV12)
Trying filter chain: vo
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
Trying filter chain: scale vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO Config (1920x1080->1920x1080,flags=0,'MPlayer',0x32315659)
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 1
SwScaler: reducing / aligning filtersize 5 -> 4
[swscaler @ 0x10091edc0]BICUBIC scaler, from yuv420p to yuyv422 using
MMX2
[swscaler @ 0x10091edc0]1920x1080 -> 1920x1080
[swscaler @ 0x10091edc0]lum srcW=1920 srcH=1080 dstW=1920 dstH=1080
xInc=65536 yInc=65536
[swscaler @ 0x10091edc0]chr srcW=960 srcH=540 dstW=960 dstH=1080
xInc=65536 yInc=32768
REQ: flags=0x37  req=0x0  
VO: [corevideo] 1920x1080 => 1920x1080 Packed YUY2 
VO: Description: Mac OS X Core Video
VO: Author: Nicolas Plourde <nicolas.plourde at gmail.com>
[ASPECT] Warning: No suitable new res found!
*** [scale] Exporting mp_image_t, 1920x1080x12bpp YUV planar, 3110400
bytes
*** [vo] Allocating mp_image_t, 1920x1080x16bpp YUV packed, 4147200
bytes
[swscaler @ 0x10091edc0]Warning: data is not aligned! This can lead to a
speedloss
Fontconfig failed to select a font. Trying without fontconfig...
get_path('subfont.ttf') -> '/Users/NILTSH/.mplayer/subfont.ttf'
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
Fontconfig failed to select a font. Trying without fontconfig...
get_path('subfont.ttf') -> '/Users/NILTSH/.mplayer/subfont.ttf'
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
A:   0.8 V:   0.9 A-V: -0.033 ct:  0.000   0/  0 ??% ??% ??,?% 0 0 
[h264 @ 0x10092c160]Increasing reorder buffer to 1
[h264 @ 0x10092c160]no picture ooo
[h264 @ 0x10092c160]no picture ooo
[h264 @ 0x10092c160]no picture 
pts value < previous
A:   1.7 V:   0.9 A-V:  0.719 ct: -0.006   0/  0 ??% ??% ??,?% 3 0 
Uninit audio filters...
[libaf] Removing filter dummy 
Uninit audio: hwac3
Uninit video: ffmpeg

Exiting... (Quit)




More information about the ffmpeg-user mailing list