ffprobe:bitrate
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
ffprobe:bitrate [2025/01/12 22:54] – peter | ffprobe:bitrate [2025/01/12 23:00] (current) – peter | ||
---|---|---|---|
Line 27: | Line 27: | ||
<WRAP info> | <WRAP info> | ||
- | **NOTE:** The command pulls the bit rate from the video stream header metadata. | + | **NOTE:** The output will be in bits. |
- | * That data is not required to be written to the stream, and MKV does not support it. | + | |
- | * MKV stores that info in the container, meaning you need to replace **stream=bit_rate** with **format=bit_rate** for MKV containers. | + | * To get this as Kbps divide by 1024. |
+ | * To get this as Kbps divide by 1048576. | ||
+ | |||
+ | That data is not required to be written to the stream, and MKV does not support it. | ||
+ | * MKV stores that info in the container, meaning you need to replace **stream=bit_rate** with **format=bit_rate** for MKV containers. | ||
Options: | Options: | ||
Line 35: | Line 39: | ||
* **-v quiet**: sets the log level as quiet meaning show no logs. | * **-v quiet**: sets the log level as quiet meaning show no logs. | ||
* **-v error**: Limits output to errors to avoid any unnecessary information display. | * **-v error**: Limits output to errors to avoid any unnecessary information display. | ||
- | * **-select_streams v: | + | * **-select_streams v: |
- | * **-show_entries stream=bit_rate**: | + | * Removing this means the bitrate will be shown for all video streams. |
- | * **-show_entries format=bit_rate**: | + | * **-show_entries stream=bit_rate**: |
- | * **-of default=noprint_wrappers=1: | + | * **-show_entries format=bit_rate**: |
+ | * **-of default=noprint_wrappers=1: | ||
* **input.mp4**: | * **input.mp4**: | ||
Line 60: | Line 65: | ||
481 | 481 | ||
</ | </ | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== References ===== | ||
+ | |||
+ | https:// | ||
+ | |||
ffprobe/bitrate.1736722456.txt.gz · Last modified: 2025/01/12 22:54 by peter