Skip to main content

Timeline for answer to Determine video bitrate using ffmpeg by rlittles

Current License: CC BY-SA 4.0

Post Revisions

10 events
when toggle format what by license comment
Jan 2, 2024 at 5:20 comment added rlittles @Cliff Thank you. I was thinking in MP4 mode since that's what the original question was about but you are completely right.
Jan 2, 2024 at 5:19 history edited rlittles CC BY-SA 4.0
mentioned that MKV solution is different
Sep 12, 2023 at 14:57 history edited Amazon Dies In Darkness CC BY-SA 4.0
deleted 148 characters in body
Sep 12, 2023 at 5:16 comment added Cliff @rlittles Your command pulls bitrate from the video stream header metadata. That data is not required to be written to the stream, and MKV doesn't support it, IIRC. MKV stores that info in the container, meaning you need to replace stream=bit_rate with format=bit_rate in your example for MKV containers.
May 8, 2023 at 18:33 comment added rlittles That's really weird. I tested it with an old H264 video and it worked. i.imgur.com/D0OIFwK.png This was on Windows, but I can't imagine that it would make a difference versus Linux.
May 8, 2023 at 16:47 comment added Wyatt Ward @rlittles I get the same; this is with a video that I encoded in h.264 CRF from a formerly lossless ffv1 video capture that I inverse telecine'd. Stream #0:0: Video: h264 (High 4:2:2), yuv422p(tv, progressive), 720x480, 23.98 fps, 23.98 tbr, 1k tbn
Sep 6, 2022 at 7:10 comment added rlittles Can you post the output of $ ffprobe <your-video-here>? It could have something to do with the format of your video. @benyamin
Sep 5, 2022 at 9:56 comment added ben it results N/A .
S Jul 27, 2022 at 6:44 review First answers
Jul 27, 2022 at 9:22
S Jul 27, 2022 at 6:44 history answered rlittles CC BY-SA 4.0