User Tools

Site Tools


ffmpeg:video:size

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
ffmpeg:video:size [2025/05/27 18:52] – [Calculate size manually using packet size] peterffmpeg:video:size [2025/05/27 19:31] (current) peter
Line 5: Line 5:
 <code bash> <code bash>
 ffmpeg -i "input.mkv" -c copy -f null /dev/null 2>&1 | tail -n 2 | grep -Po "(?<=video\:)([0-9]+)" ffmpeg -i "input.mkv" -c copy -f null /dev/null 2>&1 | tail -n 2 | grep -Po "(?<=video\:)([0-9]+)"
 +
 +or
 +
 +ffmpeg -i "input.mkv" -c copy -f null /dev/null 2>&1 | tail -n 2 | grep -Po "video\:([0-9]+)(?=kB)" | cut -f 2 -d ":
 </code> </code>
  
ffmpeg/video/size.txt · Last modified: 2025/05/27 19:31 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki