我试图在命令提示符上运行某些管道来播放视频,并且经常收到这些错误/消息/警告:
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时,会得到如下输出:
postproc_hdeblock: LibPostProc hdeblock过滤器libvisual: libvisual_oinksie: libvisual oinksie plugin插件v.0.1 flump3dec: flump3dec: Fluendo MP3 decoder (li煮沸编译) vorbis: vorbistag: VorbisTag Vorbis解析: VorbisParse vorbis: vorbisdec: Vorbis音频解码器vorbis: vorbisenc: Vorbis音频编码器核心索引: fileindex:一个在文件coreindexers中存储条目的索引: memindex:一个在内存中存储条目的索引: amrnbenc: amrnbenc: AMR-NB音频解码器amrnb: amrnbdec: AMR-NB音频解码器X:y(x和y)是什么意思?
发布于 2013-08-03 10:59:51
答案,
看起来你端处的gstreamer没有正确安装。playbin2、decodebin2是基本插件和基本插件的一部分。
是的,你可能漏掉了一些插件
2使用gst- to命令检查是否可用。
从C代码中可以管理状态,注册回调,了解更多是的,仍然需要缺少插件
4我想gstreamer网站会更好
5对这个不确定,如果你以适当的方式安排结果会有帮助。
发布于 2019-02-12 06:03:29
很可能GST_PLUGIN_PATH是不正确的。请将正确的路径设置为安装gstremer的位置。
https://stackoverflow.com/questions/10428814
复制相似问题