rockchip-linux / mpp

Media Process Platform (MPP) module
589 stars 171 forks source link

Radxa Rock5C搭配Radxa Debian12,gstreamer使用mpph264enc无法流畅播放视频的问题 #671

Open pacopink opened 2 months ago

pacopink commented 2 months ago

采用如下pipeline推流,就算分辨率降到640*480都无法流畅播放,只能是幻灯片效果,在radxa debian11下可以FHD分辨率流畅播放。

gst-launch-1.0 -v v4l2src ! capsfilter caps="image/jpeg, height=${H}, width=${W}, framerate=30/1 " ! mppjpegdec ! mpph264enc ! h264parse ! mppvideodec ! autovideosink 播放中会反复出现如下warning: gst.log

WARNING: from element /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstXvImageSink:autovideosink0-actual-sink-xvimage: A lot of buffers are being dropped. Additional debug info: ../libs/gst/base/gstbasesink.c(3143): gst_base_sink_is_too_late (): /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstXvImageSink:autovideosink0-actual-sink-xvimage: There may be a timestamping problem, or this computer is too slow.

HermanChen commented 1 month ago

gst 问题最好提到 gst 的那边先分析下是哪里的问题