GStreamer的文档很混乱。尽管如此,这仍然不是求助于StackOverflow.com的借口:
如何使用GStreamer命令行将任何视频文件(从任何格式)转换为WebM(+ WebM音频)?
我在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 location=horse.mp3 ! decodebin ! audioconvert ! osxaudiosink
我一直收到 streaming task paused, reason not-linked (-1) 和 pipeline doesn't want to preroll 的错误提示。在我的Ubuntu上可以正常工作(将osxaudiosink
替换为alsasink
)。 - Ory Band