Using ffmpeg (or similar) to print h264 details

I have h264 video in the mpeg transport stream and I suspect that at some points in the video it switches from 1080i / 50Hz to 1080p / 25Hz. I would like to prove using some kind of video analysis tool. Can ffmpeg (or the like) print such detailed decoding information? I tried setting ffmpeg "-lvelvel debug", but it no longer has information about the actual decoding.

+4
source share
2 answers

ffprobe is a much simpler solution and is part of FFmpeg:

 $ ffprobe -show_frames -i input.mp4 
+5
source

Sorted. In the end, I put some printfs in the ffmpeg source to get the information I need.

0
source

Source: https://habr.com/ru/post/1442307/


All Articles