Top FFprobe Commands to Get Video Information
Get video width and height:
ffprobe -v error -of flat=s=_ -select_streams v:0 -show_entries stream=width,height input.avi |
Get audio channels:
ffprobe -v error -of flat=s=_ -select_streams a:0 -show_entries stream=channels input.avi |
Get audio bit rate:
ffprobe -v error -of flat=s=_ -select_streams a:0 -show_entries stream=bit_rate input.avi |
Get video stream duration:
ffprobe -v error -select_streams v:0 -show_entries stream=duration -of default=noprint_wrappers=1:nokey=1 -sexagesimal input.avi |
Get entire video duration:
ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 -sexagesimal input.avi |
Get frame rate of video stream:
ffprobe -v error -select_streams v:0 -show_entries stream=avg_frame_rate -of default=noprint_wrappers=1:nokey=1 input.avi |
Get all streams details:
ffprobe -v error -show_format -show_streams input.avi |
Get output in JSON:
ffprobe -v quiet -print_format json -show_format -show_streams "input.avi" > "input.avi.json" |
More information:
More Related Posts
- [2016/05/27] Find Network Card Interfaces via Windo...
- [2016/05/29] Get Services Group Load Order via Wind...
- [2016/05/27] Top Windows Netsh AdvFirewall Firewall...
- [2016/06/01] Top 10 Best Job Websites Job Boards
- [2016/05/29] Top 5 Freelance Websites (Updated to 2...
- [2016/05/27] Format Hard Disks with HDD Low Level F...
- [2016/05/29] Permanently Uninstall and Remove AVG A...
- [2016/05/24] Automatically install drivers in Noteb...