我试图运行在命令提示符某些管道用于播放视频,我经常收到这些错误/消息/警告:
WARNING: erroneous pipeline: no element "qtdemux"
WARNING: erroneous pipeline: no element "playbin2"
WARNING: erroneous pipeline: no element "decodebin2"
ERROR: pipeline could not be constructed: no element "playbin".
以下是管道:
gst-launch filesrc location=path to the mp4 file ! playbin2 ! queue ! ffmpegcolorspace ! autovideosink
要么
gst-launch -v filesrc location=path to the mp4 file ! qtdemux name=demuxer ! { queue ! decodebin ! sdlvideosink } { demuxer. ! queue ! decodebin ! alsasink }
要么
gst-launch -v playbin uri=path to the mp4 file
要么
gst-launch -v playbin2 uri=path to the mp4 file
gst-inspect
什么是X:Y(X和Y的意思)?
答案,
它看起来像的GStreamer你的两端安装不正确。 playbin2,decodebin2是基本与基部的插件的一部分
1是的,你可能会丢失一些插件
2使用GST-检查命令检查(如果可用)
3从C代码,您可以管理状态,注册回调,了解更多仍需要是缺少插件
4我猜的GStreamer网站会更好
5不知道这一个,如果你安排的结果以适当的方式将有助于
最有可能的GST_PLUGIN_PATH不正确。请设置正确的路径gstremer已经安装在哪里。