使用gstreamer和RTSP服务器在imx6板上播放视频

时间:2016-10-27 06:43:55

标签: video-streaming gstreamer rtsp gstreamer-0.10

我正在开发yocto项目imx6板,并且在视频流方面存在问题,gstreamer和RTSP服务器已成功安装在船上。

在此命令之后

"gst-launch -v \rtspsrc latency=300 location=rtsp://10.55.165.
128:9001/1.mp4 name=s ! \ rtph264depay ! queue ! mfw_h264decoder ! xvimagesink
" 

我收到如下错误:

H264D_ARM11_02.06.03  build on Apr 16 2013 13:30:59.
MFW_GST_H264_DECODER_PLUGIN 3.0.11 build on Sep 19 2016 13:40:12.
Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstXvImageSink:xvimagesink0: Could not initialise Xv output
Additional debug info:
/home/user/vvdn_sdk/stct_iog1/source/yocto/build/tmp/work/cortexa9hf-vfp-neon-mx6-poky-linux-gnueabi/gst-plugins-base/0.10.36-r8/gst-:
Could not open display
Setting pipeline to NULL ...
Freeing pipeline ...
root@imx6slzbha:~# 

如果有人有想法,请告诉我。

1 个答案:

答案 0 :(得分:0)

使用mfw_isinkmfw_v4l2src希望是有效的