> inspection
5 commands for ffmpeg inspection
// inspection
5 commandsGet video file information
$ ffprobe input.mp4Get video stream details like codec and resolution
$ ffprobe -v error -select_streams v:0 -show_entries stream=codec_name,width,height,r_frame_rate -of csv=p=0 input.mp4Get audio stream details
$ ffprobe -v error -select_streams a:0 -show_entries stream=codec_name,sample_rate,channels -of csv=p=0 input.mp4Read and display all metadata tags
$ ffprobe -v error -show_entries format_tags -of default=noprint_wrappers=1 input.mp4Check video duration
$ ffprobe -v error -show_entries format=duration -of csv=p=0 input.mp4