Discussion:
[FFmpeg-user] Calculation of duplicated video frames in live stream
Dmitry Menshikov
2018-10-03 19:01:55 UTC
Permalink
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
ffmpeg-***@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmp
Dmitry Menshikov
2018-10-17 16:59:54 UTC
Permalink
Any ideas?
Post by 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
ffmpeg-***@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-***@ffmpeg.org with subject "unsubscribe
Carl Eugen Hoyos
2018-10-17 18:24:39 UTC
Permalink
Post by Dmitry Menshikov
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.
This is a good idea if you know that the frames are really identical
(and not just very similar), see the framecrc output format.

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
ffmpeg-***@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-***@ffmpeg.org with subject "unsubscrib

Loading...