I am trying to find the bitrate value of a video using ffprobe
as follows:
ffprobe -i sample_5.mkv -v quiet -show_entries stream=bit_rate -hide_banner -of default=noprint_wrappers=1:nokey=1
but all files have Mkv
format and this command returns N/A
. when I use ffmpeg -i input.mkv
in the last line of output the bitrate value is shown. I do not know what is the problem. I need to have the bitrate value of each video. Could you please tell me how can I find it in python? Thank you.