红联Linux门户
Linux帮助

WARNING: erroneous pipeline: no element "ffdec_h264"解决方

发布时间:2015-10-30 09:37:07来源:linux网站作者:杨大东

在测试gstreamer 命令:

gst-launch udpsrc port=5000 caps="application/x-rtp, media=(string)video, clock-rate=(int)90000 ,encoding-name=(string)H264, payload=(int)96" ! \gstrtpjitterbuffer ! rtph264depay ! ffdec_h264 ! ffmpegcolorspace ! videoscale ! "video/x-raw-yuv" ! autovideosink  


出现了WARNING: erroneous pipeline: no element "ffdec_h264",先可以使用命令gst-inspect ffdec_h264 检测一下gstreamer是否安装了ffdec_h264元element,如果没有安装的话,使用命令apt-get install gstreamer0.10-ffmpeg 安装此元素即可以顺利执行gstreamer接收视频命令。