Hello everyone,
Doing some experiments with avdec_h264 (Debian Gstreamer packages version 1.8.3-1) and packet loss, I am wondering what the "output-corrupt" property of avdec_h264 does? I have the following test pipe: gst-launch-1.0 \ videotestsrc pattern=ball is-live=true ! \ x264enc bitrate=2048 key-int-max=60 ! \ video/x-h264,profile=baseline ! \ identity drop-probability=0.05 ! \ h264parse ! \ avdec_h264 output-corrupt=false ! \ xvimagesink \ --gst-debug=*av*:9 2>&1 | grep corrupt No matter how I set "output-corrupt", corrupt frames are always displayed. According to the debug output, avdec_h264 never detects a corrupt frame and always prints: libav gstavviddec.c:1381:gst_ffmpegviddec_video_frame:<avdec_h264-0> corrupted frame: 0 Is that behavior intended? Is there another way to detect incorrect decoded frames? Thanks, Peter _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
On Mon, 2016-10-17 at 09:38 +0200, Peter Randeu wrote:
> > No matter how I set "output-corrupt", corrupt frames are always > displayed. According to the debug output, avdec_h264 never detects a > corrupt frame and always prints: > libav gstavviddec.c:1381:gst_ffmpegviddec_video_frame:<avdec_h264-0> > corrupted frame: 0 > > Is that behavior intended? > Is there another way to detect incorrect decoded frames? There was a bug in various ffmpeg versions that made it never signal frames as corrupt. Version 3.0 and newer should have that though. Is that what you're using, or an older one? -- Sebastian Dröge, Centricular Ltd · http://www.centricular.com _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel signature.asc (949 bytes) Download Attachment |
In reply to this post by Peter Randeu
On Tue, 18 Oct 2016 13:26:20 +0300, Sebastian Dröge wrote:
> On Mon, 2016-10-17 at 09:38 +0200, Peter Randeu wrote: >> >> No matter how I set "output-corrupt", corrupt frames are always >> displayed. > > There was a bug in various ffmpeg versions that made it never signal > frames as corrupt. Version 3.0 and newer should have that though. > > Is that what you're using, or an older one? I am using the current Debian/testing version of GStreamer which is 1.8.3-1. Gstreamer1.0-libav depends on the following packages: libavcodec57, libavfilter6, libavformat57, libavutil55 They are all on version 3.1.4 (Debian package version 7:3.1.4-1) which seems to be the latest stable release. I have also recompiled the Debian package of gst-libav so that is does not use the system libav but the version included in the gst-libav sources. But that had no influence on the behavior of "output-corrupt". Peter _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |