我正在尝试使用 gstreamer 流式传输 h265 编码的视频。我正在使用命令
gst-launch-0.10 filesrc location=/home/user/Desktop/sample_mpeg4.mp4 !qtdemux !h264解析!视频/x-h264 !ffmpeg色彩空间!去隔行!xvimagesink*
我得到这个
警告:错误的管道:无法将 h264parse0 链接到 ffmpegcsp0
我必须克服什么错误
为什么
ffdec_h264
我找不到
如果尝试这个得到错误
gst-launch-0.10 uridecodebin uri=file:///home/user/Desktop/sample_mpeg4.mp4 !xvimagesink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstQTDemux:qtdemux0: GStreamer encountered a general stream error.
Additional debug info:
qtdemux.c(3891): gst_qtdemux_loop (): /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstQTDemux:qtdemux0:
streaming stopped, reason not-negotiated
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...