gstreamer中使用“ mppvideodec”问题
你好,使用Firefly的文件系统,想用gstreame的硬解解码来进行视频循环播放功能,其中视频播放硬解码已经实现,但是只能播放一次。就是说我通过加载本地视频到mppvideodec,在gst_element_set_state (data2.pipeline, GST_STATE_PLAYING);播放好后获取到GST_MESSAGE_EOS消息,在设置gst_element_set_state (data2.pipeline, GST_STATE_NULL); 更改视频源后gst_element_set_state (data2.pipeline, GST_STATE_PLAYING);后出现问题如下问题:
gst_caps_is_strictly_equal: assertion 'GST_IS_CAPS (caps1)' failed
** (Gstreamer_video:30463): CRITICAL **: gst_video_codec_state_unref: assertion 'state->ref_count > 0' failed
Error received from element depay: GStreamer encountered a general stream error.
Debugging information: qtdemux.c(5520): gst_qtdemux_loop (): /GstPipeline:test-pipeline/GstQTDemux:depay:
streaming stopped, reason error
Error received from element parse: No valid frames decoded before end of stream
Debugging information: gstvideodecoder.c(1173): gst_video_decoder_sink_event_default (): /GstPipeline:test-pipeline/GstMppVideoDec:parse:
no valid frames found
而使用软件解码avdec_h264时上面的流程是正常的
请问有没有哪位大神遇到这个问题,或者说有没有上面解决思路提供谢谢! 请问你是怎么安装gstreamer实现硬解码的呢? 请问楼主解决这个问题了吗,我也碰到这个问题 怎么解决的 gstreamer的资料不多,请问如何硬解码,保存RGB的数据啊?
页:
[1]