Calculation of duplicated video frames in live stream

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Calculation of duplicated video frames in live stream

Dmitry Menshikov
Hi!

I'm trying to detect duplication of video frames in live streams. Such
situation occurs when encoder can't encode stream at specified fps. I see
few frames with the same pkt_size. I know that there is filter to detect
similar frames but such technique looks like overkill.

The simplest solution I see is to compare crc of frames.

Is my idea right? Have ffprobe such option? Thank you very much!

P.S. Command I currently use: ffprobe -hide_banner -v error -show_frames
-show_entries frame=media_type,key_frame,pkt_pts_time -i rtmp://host/path

--
Yours truly, Dmitry Menshikov
http://dmenshikov.com
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".