rockchip-linux / mpp

Media Process Platform (MPP) module
467 stars 156 forks source link

mppvideodec0: No valid frames decoded before end of stream #573

Open promistrio opened 2 months ago

promistrio commented 2 months ago

I wrote stream from udp to file "aa.mpg". When I try to use udp src I got the same. This stream haven't full key frame (it's an optimisation). avdec_h264 can open it (proof). nvv4l2decoder also can decode and show, but mpp do nothing (skip data i think).

gst-launch-1.0 filesrc location=aa.mpg ! tsdemux ! h264parse ! mppvideodec !  autovideosink sync=0
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /GstPipeline:pipeline0/GstMppVideoDec:mppvideodec0: No valid frames decoded before end of stream
Additional debug info:
gstvideodecoder.c(1140): gst_video_decoder_sink_event_default (): /GstPipeline:pipeline0/GstMppVideoDec:mppvideodec0:
no valid frames found
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...