嗨,我正在尝试使用以下命令在gstreamer中可视化音乐文件:gst-launch filesrc location=file.mp3 ! decodebin ! audioconvert !

tee name=myT myT. ! queue ! autoaudiosink myT. ! queue ! goom !

colorspace ! autovideosink

但是我得到了一个错误:“可能是时间戳问题,或者这台计算机太慢了。”

^{pr2}$

假设线程尝试执行以下命令:gst-launch filesrc location=file.mp3 ! decodebin ! audioconvert ! tee name=myT

{ ! queue ! autoaudiosink } { tee. ! queue ! goom ! colorspace ! autovideosink }

但它会给出以下链接错误:** (gst-launch-0.10:5308): WARNING **: Trying to connect elements that don't share a common ancestor: tee and queue1

0:00:00.125000000 5308 003342F0 ERROR GST_PIPELINE grammar.tab.c:656:gst_parse_perform_link: could not link tee to queue1

WARNING: erroneous pipeline: could not link tee to queue1

有人能分辨出什么毛病吗?谢谢

Logo

华为开发者空间,是为全球开发者打造的专属开发空间,汇聚了华为优质开发资源及工具,致力于让每一位开发者拥有一台云主机,基于华为根生态开发、创新。

更多推荐