|
Posted at 7/18/2022 17:23:31
Only Author
3#
Hi Liuth,
Thanks for your reply.
I had tried the following pipeline, but no luck.
export GST_MPP_VIDEODEC_DEFAULT_ARM_AFBC=1
GST_DEBUG=3 gst-launch-1.0 -v v4l2src device=/dev/video9 io-mode=2 do-timestamp=false ! "image/jpeg,width=(int)3840,height=(int)2160,framerate=(fraction)30/1" ! mppjpegdec ! fpsdisplaysink video-sink="waylandsink fullscreen=true" text-overlay=false fps-update-interval=10000 sync=false
Lots of v4l2src lost frames WARNNINGs still start to appear in 10 mins and last for 5 ~ 6 mins. I could see the same kernel errors appeared simultaneously.
Moreover, waylandsink seemed like rendering in 15~20fps although fpsdisplaysink shown that it was almost 30fps.
Does AFBC support mppjpegdec?
============================================================================================================================================
GStreamer logs:
/GstPipeline:pipeline0/GstFPSDisplaySink:fpsdisplaysink0: last-message = rendered: 17726, dropped: 0, current: 29.98, average: 29.99
/GstPipeline:pipeline0/GstFPSDisplaySink:fpsdisplaysink0: last-message = rendered: 18027, dropped: 0, current: 30.04, average: 29.99
0:10:04.365817500 972 0x1ee2f580 WARN mppdec gstmppdec.c:870:gst_mpp_dec_loop:<mppjpegdec0> can't process this frame
0:10:04.380713822 972 0x1ee2ede0 WARN v4l2src gstv4l2src.c:1123:gst_v4l2src_create:<v4l2src0> lost frames detected: count = 2 - ts: 0:10:04.272944195
0:10:09.039025151 972 0x1ee2ede0 WARN v4l2src gstv4l2src.c:1123:gst_v4l2src_create:<v4l2src0> lost frames detected: count = 1 - ts: 0:10:08.929021737
0:10:09.637534590 972 0x1ee2ede0 WARN v4l2src gstv4l2src.c:1123:gst_v4l2src_create:<v4l2src0> lost frames detected: count = 1 - ts: 0:10:09.528899361
/GstPipeline:pipeline0/GstFPSDisplaySink:fpsdisplaysink0: last-message = rendered: 18325, dropped: 0, current: 29.80, average: 29.99
0:10:16.703086427 972 0x1ee2ede0 WARN v4l2src gstv4l2src.c:1123:gst_v4l2src_create:<v4l2src0> lost frames detected: count = 1 - ts: 0:10:16.593011779
/GstPipeline:pipeline0/GstFPSDisplaySink:fpsdisplaysink0: last-message = rendered: 18625, dropped: 0, current: 29.88, average: 29.99
/GstPipeline:pipeline0/GstFPSDisplaySink:fpsdisplaysink0: last-message = rendered: 18926, dropped: 0, current: 30.03, average: 29.99
0:10:35.833906821 972 0x1ee2ede0 WARN v4l2src gstv4l2src.c:1123:gst_v4l2src_create:<v4l2src0> lost frames detected: count = 1 - ts: 0:10:35.728882070
0:10:36.039984316 972 0x1ee2ede0 WARN v4l2src gstv4l2src.c:1123:gst_v4l2src_create:<v4l2src0> lost frames detected: count = 1 - ts: 0:10:35.928829612
0:10:38.269524480 972 0x1ee2ede0 WARN v4l2src gstv4l2src.c:1123:gst_v4l2src_create:<v4l2src0> lost frames detected: count = 1 - ts: 0:10:38.160844362
0:10:41.434795602 972 0x1ee2ede0 WARN v4l2src gstv4l2src.c:1123:gst_v4l2src_create:<v4l2src0> lost frames detected: count = 1 - ts: 0:10:41.328791362
...
...
============================================================================================================================================ |
|