文档用于GStreamer令人困惑。这仍然不是诉诸的借口StackOverflow.com,但仍然:
是什么GStreamer命令行将任何视频文件(任何格式)转换为 WebM(+WebM 音频)?
这是我能找到的唯一带有示例的文档 http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good-plugins/html/gst-plugins-good-plugins-webmmux.html.
我被困在某处gst-launch-0.10 webmmux name=mux ! filesrc location=oldfile.ext ! filesink location=newfile.webm ! name=demux ! demux. ! ffmpegcolorspace ! vp8enc ! queue ! mux.video_0 ! demux. ! progressreport ! audioconvert ! audiorate ! vorbisenc ! queue ! mux.audio_0
我得到了一个WARNING: erroneous pipeline: link without source element
不知道如何让这件事继续下去。
这真是令人沮丧。
请帮忙,谢谢。 :)
您的管道元素全部乱序,并且在处理命名元素时出现语法错误。尝试这样的事情:
gst-launch-0.10 filesrc 位置=oldfile.ext !解码器名称=解复用器!队列 ! ffmpeg颜色空间! vp8enc ! webmmux 名称=多路复用器!文件接收器位置=newfile.webm demux。 !队列 !进度报告 !音频转换!音频重采样!沃比森克!多路复用器。
这将构建以下管道:
filesrc
|
decodebin
| |
+-------+ +-------+
| |
| queue
queue |
| progressreport
| |
ffmpegcolorspace audioconvert
| |
| audioresample
vp8enc |
| vorbisenc
| |
+-------+ +-------+
| |
webmmux
|
filesink
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)