User Tools

Site Tools


ffmpeg:video_bit_rate

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ffmpeg:video_bit_rate [2024/09/15 09:20] peterffmpeg:video_bit_rate [2025/01/12 13:34] (current) – removed peter
Line 1: Line 1:
-====== ffmpeg - Video bit rate ====== 
- 
-===== Get the bitrate of a video ===== 
- 
-<code bash> 
-ffprobe "0.mkv" 2>&1 | grep -E "bitrate|Video:" 
-</code> 
- 
-returns: 
- 
-<code> 
-  Duration: 00:23:30.34, start: 0.000000, bitrate: 4115 kb/s 
-  Stream #0:0(eng): Video: av1 (Main), yuv420p(tv, bt709/unknown/unknown, progressive), 1920x1080, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn (default) 
-</code> 
- 
----- 
- 
-To keep the same image details use the following formula to calculate the output video bit rate: 
- 
-<code> 
--b:v value = input_file_size_KB / duration_sec / 100 
-</code> 
- 
----- 
- 
-===== Example ===== 
- 
-<code> 
-460520KB / 120sec / 100 = 38.37 
-</code> 
- 
-result: 
- 
-<code> 
--b:v 38M 
-</code> 
- 
----- 
- 
  
ffmpeg/video_bit_rate.1726392058.txt.gz · Last modified: 2024/09/15 09:20 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki