[FFmpeg-trac] #6332(ffprobe:new): ffprobe fails to analyse caf files (returns with 1)
FFmpeg
trac at avcodec.org
Wed Apr 19 14:54:12 EEST 2017
#6332: ffprobe fails to analyse caf files (returns with 1)
----------------------------------+---------------------------------------
Reporter: Krzysiek | Type: defect
Status: new | Priority: normal
Component: ffprobe | Version: unspecified
Keywords: caf | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
----------------------------------+---------------------------------------
Summary of the bug:
ffprobe fails to analyze the caf file that contains 128 channels. Last
version that I have and this was working is 3.0.1
How to reproduce:
{{{
% ffprobe -of json -show_format 128channel_caf_file.caf
ffprobe version N-85548-g3390a2b-tessus
built with Apple LLVM version 8.0.0 (clang-800.0.42.1)
}}}
Output that I get from this analysis (return code is 1):
{{{
ffprobe version N-85548-g3390a2b-tessus Copyright (c) 2007-2017 the FFmpeg
developers
built with Apple LLVM version 8.0.0 (clang-800.0.42.1)
configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg --extra-
version=tessus --enable-avisynth --enable-fontconfig --enable-gpl
--enable-libass --enable-libbluray --enable-libfreetype --enable-libgsm
--enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-libopus --enable-libschroedinger
--enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora
--enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-
libvpx --enable-libwavpack --enable-libx264 --enable-libx265 --enable-
libxavs --enable-libxvid --enable-libzmq --enable-libzvbi --enable-
version3 --disable-ffplay --disable-indev=qtkit
libavutil 55. 61.100 / 55. 61.100
libavcodec 57. 92.100 / 57. 92.100
libavformat 57. 72.101 / 57. 72.101
libavdevice 57. 7.100 / 57. 7.100
libavfilter 6. 84.101 / 6. 84.101
libswscale 4. 7.101 / 4. 7.101
libswresample 2. 8.100 / 2. 8.100
libpostproc 54. 6.100 / 54. 6.100
{
[caf @ 0x7fb944806400] Failed to open codec in avformat_find_stream_info
[caf @ 0x7fb944806400] Estimating duration from bitrate, this may be
inaccurate
Input #0, caf, from
'/Users/kmura/Downloads/damf_single_bed_10ch_118obj_dynamic_3s/damf_single_bed_128obj_dynamic.caf':
Duration: 00:00:03.00, start: 0.000000, bitrate: 147466 kb/s
Stream #0:0: Audio: pcm_s24be (lpcm / 0x6D63706C), 48000 Hz, 128
channels, 147456 kb/s
Could not open codec for input stream 0
}}}
Output from working version (return code is 0):
{{{
ffprobe version 3.0.1-tessus Copyright (c) 2007-2016 the FFmpeg developers
built with Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM
3.5svn)
configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg --as=yasm
--extra-version=tessus --enable-avisynth --enable-fontconfig --enable-gpl
--enable-libass --enable-libbluray --enable-libfreetype --enable-libgsm
--enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-libopus --enable-libschroedinger
--enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora
--enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-
libvpx --enable-libwavpack --enable-libx264 --enable-libx265 --enable-
libxavs --enable-libxvid --enable-libzmq --enable-version3 --disable-
ffplay --disable-indev=qtkit --disable-indev=x11grab_xcb
libavutil 55. 17.103 / 55. 17.103
libavcodec 57. 24.102 / 57. 24.102
libavformat 57. 25.100 / 57. 25.100
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 31.100 / 6. 31.100
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100
{
[caf @ 0x7f9fc5801000] Failed to open codec in av_find_stream_info
[caf @ 0x7f9fc5801000] Estimating duration from bitrate, this may be
inaccurate
Input #0, caf, from
'/Users/kmura/Downloads/damf_single_bed_10ch_118obj_dynamic_3s/damf_single_bed_128obj_dynamic.caf':
Duration: 00:00:03.00, start: 0.000000, bitrate: 147466 kb/s
Stream #0:0: Audio: pcm_s24be (lpcm / 0x6D63706C), 48000 Hz, 128
channels, 147456 kb/s
Could not open codec for input stream 0
"format": {
"filename":
"/Users/kmura/Downloads/damf_single_bed_10ch_118obj_dynamic_3s/damf_single_bed_128obj_dynamic.caf",
"nb_streams": 1,
"nb_programs": 0,
"format_name": "caf",
"format_long_name": "Apple CAF (Core Audio Format)",
"start_time": "0.000000",
"duration": "3.000000",
"size": "55300096",
"bit_rate": "147466922",
"probe_score": 100
}
}
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/6332>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list