【发布时间】:2017-06-27 07:25:03
【问题描述】:
视频文件与以下管道完美配合。
.\gst-launch-1.0.exe playbin uri=file:///C:\\Users\\naseeb\\Downloads\\Gabbroo.mp4
但是,我想自己使用解复用器、解码器和接收器创建管道。 我在管道下面创建了
.\gst-launch-1.0.exe filesrc location=C:\\Users\\naseeb\\Downloads\\Gabbroo.mp4 ! qtdemux name=demux demux. ! queue ! mad ! audioconvert ! audioresample ! autoaudiosink demux. ! queue ! avdec_h264 ! autovideosink
但它不工作并且失败并出现以下错误:
警告:来自元素 /GstPipeline:pipeline0/GstQTDemux:demux:延迟链接 > 失败。 附加调试信息: ./grammar.y(506): gst_parse_no_more_pads (): /GstPipeline:pipeline0/GstQTDemux:demux: 延迟将名为 demux 的 GstQTDemux 的一些填充连接到名为 queue0 的 GstQueue 的一些填充失败 重新分配延迟... 重新分配延迟... 错误:来自元素 /GstPipeline:pipeline0/GstQTDemux:demux:内部数据流错误。 附加调试信息: qtdemux.c(5850): gst_qtdemux_loop (): /GstPipeline:pipeline0/GstQTDemux:demux: 流停止,原因未协商 (-4)
我已经搜索了很多,但找不到我在管道中缺少什么元素以使其正常工作。
请提出一些解决方案。
【问题讨论】:
标签: gstreamer gst-launch