gimmeamilk
gimmeamilk

Reputation: 2110

Using ffmpeg (or similar) to print detailed h264 information

I have some h264 video in mpeg transport stream, and I suspect at certain points in the video it switches from 1080i/50Hz to 1080p/25Hz. I'd like to prove that using some video analysis tool. Can ffmpeg (or similar) print out such detailed decoding info? I've tried ffmpeg setting "-loglevel debug" but it prints no more info about the actual decoding.

Upvotes: 5

Views: 5774

Answers (2)

llogan
llogan

Reputation: 133703

ffprobe is a far easier solution and is included with FFmpeg:

$ ffprobe -show_frames -i input.mp4

Upvotes: 9

gimmeamilk
gimmeamilk

Reputation: 2110

Sorted it. In the end I put a few printfs into ffmpeg source to get the info I needed.

Upvotes: 0

Related Questions