
Take a look how it is used in Demo scene for implementation of Progress Bar.

Stream #0:0(eng): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p, 720x480, 1989 kb/s, SAR 1:1 DAR 3:2, 28.66 fps, 29.50 tbr, 22500 tbn, 45k tbcĪs you can see many more info about video file is available for parsing from the log in OnProgress method.

You can do it parsing first occurrence of Duration info, here is how it looks in the received log:
ffmpeg -i -c:v libx264 -crf 23 -maxrate 1M -bufsize 2M