[FFmpeg-trac] #4195(undetermined:new): No bitrate reported for FLAC stream
FFmpeg
trac at avcodec.org
Thu Dec 18 15:42:44 CET 2014
#4195: No bitrate reported for FLAC stream
-------------------------------------+-------------------------------------
Reporter: Đonny | Type: defect
Status: new | Priority: normal
Component: | Version: git-
undetermined | master
Keywords: FFprobe | Blocked By:
FLAC | Reproduced by developer: 0
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug:
FFprobe does not report bitrate for a stream in a FLAC file, but it
reports bitrate for the whole file.
I expect that if bitrate for whole file can be determined, and the file
contains just one stream, the bitrate for that stream will be more or less
same as stream of the file.
How to reproduce:
{{{
ffprobe sample.flac -print_format xml -show_streams -show_format
ffprobe version N-68500-g3ba1050 Copyright (c) 2007-2014 the FFmpeg
developers
built on Dec 17 2014 01:55:42 with gcc 4.9.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-avisynth --e
nable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-
iconv --enable-li
bass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-
libfreetype --enable-li
bgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-
libmp3lame --enable-lib
opencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-
libopus --enable-l
ibrtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex
--enable-libtheora --en
able-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-
amrwbenc --enable
-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-
libx264 --enable-
libx265 --enable-libxavs --enable-libxvid --enable-decklink --enable-zlib
libavutil 54. 15.100 / 54. 15.100
libavcodec 56. 15.100 / 56. 15.100
libavformat 56. 15.105 / 56. 15.105
libavdevice 56. 3.100 / 56. 3.100
libavfilter 5. 4.100 / 5. 4.100
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100
<?xml version="1.0" encoding="UTF-8"?>
<ffprobe>
Input #0, flac, from 'sample.flac':
Duration: 00:00:04.40, start: 0.000000, bitrate: 111 kb/s
Stream #0:0: Audio: flac, 8000 Hz, mono, s16
<streams>
<stream index="0" codec_name="flac" codec_long_name="FLAC (Free
Lossless Audio Cod
ec)" codec_type="audio" codec_time_base="1/8000"
codec_tag_string="[0][0][0][0]" codec_tag
="0x0000" sample_fmt="s16" sample_rate="8000" channels="1"
channel_layout="mono" bits_per_
sample="0" r_frame_rate="0/0" avg_frame_rate="0/0" time_base="1/8000"
start_pts="0" start_
time="0.000000" duration_ts="35195" duration="4.399375"
bits_per_raw_sample="16">
<disposition default="0" dub="0" original="0" comment="0"
lyrics="0" karaoke="
0" forced="0" hearing_impaired="0" visual_impaired="0" clean_effects="0"
attached_pic="0"/
>
</stream>
</streams>
<format filename="sample.flac" nb_streams="1" nb_programs="0"
format_name="flac" forma
t_long_name="raw FLAC" start_time="0.000000" duration="4.399375"
size="61522" bit_rate="11
1874" probe_score="50"/>
</ffprobe>
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/4195>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list