Unexplained freeze/hang from gst-omx omxh264enc on Raspberry Pi 3

Graham Leggett minfrin at sharp.fm
Tue Nov 15 23:04:57 UTC 2016


On 16 Nov 2016, at 12:36 AM, Graham Leggett <minfrin at sharp.fm> wrote:

> - Things seems to start going wrong when we see the following: "no valid PTS, using oldest DTS 0:07:14.952708481” and "decreasing timestamp (0:07:14.952708481 < 0:07:15.792708481)” followed by "dropping frame 0:07:15.792708481” - have we got frames out of order?

On a separate run, I focused on the “dropping frames” messages that start when the stream falls off the rails.

Weirdly, we seem to drop the same frame multiple times - that’s weird - and even stranger, we either drop that same frame 8 times, or 4 times, or 2 times, or once.

Does this pattern seem familiar to anyone?

0:01:30.155517306 20046 0x74e01db0 DEBUG           videodecoder gstvideodecoder.c:2847:gst_video_decoder_drop_frame:<omxh264dec-omxh264dec0> dropping frame 0:07:15.792708481
0:01:30.196811397 20046 0x75713bb0 DEBUG           videodecoder gstvideodecoder.c:2847:gst_video_decoder_drop_frame:<omxh264dec-omxh264dec0> dropping frame 0:07:15.792708481
0:01:30.198273098 20046 0x75713bb0 DEBUG           videodecoder gstvideodecoder.c:2847:gst_video_decoder_drop_frame:<omxh264dec-omxh264dec0> dropping frame 0:07:15.792708481
0:01:30.199666571 20046 0x75713bb0 DEBUG           videodecoder gstvideodecoder.c:2847:gst_video_decoder_drop_frame:<omxh264dec-omxh264dec0> dropping frame 0:07:15.792708481
0:01:30.201234625 20046 0x75713bb0 DEBUG           videodecoder gstvideodecoder.c:2847:gst_video_decoder_drop_frame:<omxh264dec-omxh264dec0> dropping frame 0:07:15.792708481
0:01:30.202890543 20046 0x75713bb0 DEBUG           videodecoder gstvideodecoder.c:2847:gst_video_decoder_drop_frame:<omxh264dec-omxh264dec0> dropping frame 0:07:15.792708481
0:01:30.204412348 20046 0x75713bb0 DEBUG           videodecoder gstvideodecoder.c:2847:gst_video_decoder_drop_frame:<omxh264dec-omxh264dec0> dropping frame 0:07:15.792708481
0:01:30.206683258 20046 0x75713bb0 DEBUG           videodecoder gstvideodecoder.c:2847:gst_video_decoder_drop_frame:<omxh264dec-omxh264dec0> dropping frame 0:07:15.792708481
0:01:30.208471205 20046 0x75713bb0 DEBUG           videodecoder gstvideodecoder.c:2847:gst_video_decoder_drop_frame:<omxh264dec-omxh264dec0> dropping frame 0:07:16.112708481
0:01:30.210226809 20046 0x75713bb0 DEBUG           videodecoder gstvideodecoder.c:2847:gst_video_decoder_drop_frame:<omxh264dec-omxh264dec0> dropping frame 0:07:16.112708481
0:01:30.211906216 20046 0x75713bb0 DEBUG           videodecoder gstvideodecoder.c:2847:gst_video_decoder_drop_frame:<omxh264dec-omxh264dec0> dropping frame 0:07:16.112708481
0:01:30.213384220 20046 0x75713bb0 DEBUG           videodecoder gstvideodecoder.c:2847:gst_video_decoder_drop_frame:<omxh264dec-omxh264dec0> dropping frame 0:07:16.112708481
0:01:30.214855973 20046 0x75713bb0 DEBUG           videodecoder gstvideodecoder.c:2847:gst_video_decoder_drop_frame:<omxh264dec-omxh264dec0> dropping frame 0:07:16.112708481
0:01:30.216387205 20046 0x75713bb0 DEBUG           videodecoder gstvideodecoder.c:2847:gst_video_decoder_drop_frame:<omxh264dec-omxh264dec0> dropping frame 0:07:16.112708481
0:01:30.217909478 20046 0x75713bb0 DEBUG           videodecoder gstvideodecoder.c:2847:gst_video_decoder_drop_frame:<omxh264dec-omxh264dec0> dropping frame 0:07:16.112708481
0:01:30.219489563 20046 0x75713bb0 DEBUG           videodecoder gstvideodecoder.c:2847:gst_video_decoder_drop_frame:<omxh264dec-omxh264dec0> dropping frame 0:07:16.112708481
0:01:30.221330271 20046 0x75713bb0 DEBUG           videodecoder gstvideodecoder.c:2847:gst_video_decoder_drop_frame:<omxh264dec-omxh264dec0> dropping frame 0:07:16.432708481
0:01:30.222995720 20046 0x75713bb0 DEBUG           videodecoder gstvideodecoder.c:2847:gst_video_decoder_drop_frame:<omxh264dec-omxh264dec0> dropping frame 0:07:16.432708481
0:01:30.224915749 20046 0x75713bb0 DEBUG           videodecoder gstvideodecoder.c:2847:gst_video_decoder_drop_frame:<omxh264dec-omxh264dec0> dropping frame 0:07:16.432708481
0:01:30.226420887 20046 0x75713bb0 DEBUG           videodecoder gstvideodecoder.c:2847:gst_video_decoder_drop_frame:<omxh264dec-omxh264dec0> dropping frame 0:07:16.432708481
0:01:30.228092325 20046 0x75713bb0 DEBUG           videodecoder gstvideodecoder.c:2847:gst_video_decoder_drop_frame:<omxh264dec-omxh264dec0> dropping frame 0:07:16.432708481
0:01:30.229669807 20046 0x75713bb0 DEBUG           videodecoder gstvideodecoder.c:2847:gst_video_decoder_drop_frame:<omxh264dec-omxh264dec0> dropping frame 0:07:16.432708481
0:01:30.231222496 20046 0x75713bb0 DEBUG           videodecoder gstvideodecoder.c:2847:gst_video_decoder_drop_frame:<omxh264dec-omxh264dec0> dropping frame 0:07:16.432708481
0:01:30.232794821 20046 0x75713bb0 DEBUG           videodecoder gstvideodecoder.c:2847:gst_video_decoder_drop_frame:<omxh264dec-omxh264dec0> dropping frame 0:07:16.432708481
0:01:30.237690336 20046 0x75713bb0 DEBUG           videodecoder gstvideodecoder.c:2847:gst_video_decoder_drop_frame:<omxh264dec-omxh264dec0> dropping frame 0:07:16.592708481
0:01:30.239337712 20046 0x75713bb0 DEBUG           videodecoder gstvideodecoder.c:2847:gst_video_decoder_drop_frame:<omxh264dec-omxh264dec0> dropping frame 0:07:16.592708481
0:01:30.240950141 20046 0x75713bb0 DEBUG           videodecoder gstvideodecoder.c:2847:gst_video_decoder_drop_frame:<omxh264dec-omxh264dec0> dropping frame 0:07:16.592708481
0:01:30.242706526 20046 0x75713bb0 DEBUG           videodecoder gstvideodecoder.c:2847:gst_video_decoder_drop_frame:<omxh264dec-omxh264dec0> dropping frame 0:07:16.592708481
0:01:30.244132290 20046 0x75713bb0 DEBUG           videodecoder gstvideodecoder.c:2847:gst_video_decoder_drop_frame:<omxh264dec-omxh264dec0> dropping frame 0:07:16.672708481
0:01:30.246324399 20046 0x75713bb0 DEBUG           videodecoder gstvideodecoder.c:2847:gst_video_decoder_drop_frame:<omxh264dec-omxh264dec0> dropping frame 0:07:16.672708481
0:01:30.247834642 20046 0x75713bb0 DEBUG           videodecoder gstvideodecoder.c:2847:gst_video_decoder_drop_frame:<omxh264dec-omxh264dec0> dropping frame 0:07:16.712708481

Regards,
Graham
—

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3240 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20161116/b60e659a/attachment.bin>


More information about the gstreamer-devel mailing list