Opened 5 years ago
Closed 5 years ago
#8085 closed enhancement (invalid)
ffprobe - report if audio is vbr
| Reported by: | Joseph P. Hillenburg | Owned by: | |
|---|---|---|---|
| Priority: | wish | Component: | ffprobe |
| Version: | git-master | Keywords: | |
| Cc: | Blocked By: | ||
| Blocking: | Reproduced by developer: | no | |
| Analyzed by developer: | no |
Description
Currently, ffprobe reports an average bitrate for audio streams. It would be useful to not only report this, but also to report if a given stream is variable bitrate (VBR). As a human, I can guess this, but I am utilizing the JSON output from ffprobe programmatically.
Change History (2)
comment:1 by , 5 years ago
comment:2 by , 5 years ago
| Resolution: | → invalid |
|---|---|
| Status: | new → closed |
| Version: | 4.2 → git-master |
The bit_rate field in the format output above is set from a header value (or a value decided from a few frames), vbr can only be detected by examining all frames (except the last one).
Note:
See TracTickets
for help on using tickets.



For example, below we have a bit_rate key. Could we add a key that indicates vbr vs. cbr?
"format": { "filename": "Sultans of Swing.mp3", "nb_streams": 1, "nb_programs": 0, "format_name": "mp3", "format_long_name": "MP2/3 (MPEG audio layer 2/3)", "start_time": "0.000000", "duration": "346.435918", "size": "8759649", "bit_rate": "202280", "probe_score": 51, "tags": { "title": "Sultans of Swing", "artist": "Dire Straits", "genre": "Rock", "date": "1978" }