Gstreamer 缺少插件

标签 gstreamer python-gstreamer qtgstreamer

我尝试在命令提示符下运行某些管道来播放视频,但经常收到这些错误/消息/警告:

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

问题

  1. 我想知道,我是否缺少执行此操作的插件。
  2. 我如何知道哪个插件负责哪个插件或在哪里找到?
  3. 通过 C 代码实现管道有什么好处?还需要缺少的插件吗?
  4. 从 Synaptic 管理器或 Gstreamer site(base,good,bad,ugly) 安装缺少的插件是否合适?
  5. 当我们执行gst-inspect时,我们得到如下输出:

    postproc:  postproc_hdeblock: LibPostProc hdeblock filter
    libvisual:  libvisual_oinksie: libvisual oinksie plugin plugin v.0.1
    flump3dec:  flump3dec: Fluendo MP3 Decoder (liboil build)
    vorbis:  vorbistag: VorbisTag
    vorbis:  vorbisparse: VorbisParse
    vorbis:  vorbisdec: Vorbis audio decoder
    vorbis:  vorbisenc: Vorbis audio encoder
    coreindexers:  fileindex: A index that stores entries in file
    coreindexers:  memindex: A index that stores entries in memory
    amrnb:  amrnbenc: AMR-NB audio encoder
    amrnb:  amrnbdec: AMR-NB audio decoder
    audioresample:  audioresample: Audio resampler
    flv:  flvmux: FLV muxer
    flv:  flvdemux: FLV Demuxer
    

x : y(x 和 y 的含义)是什么?

最佳答案

答案,

看来您两端的 gstreamer 没有正确安装。 playbin2、decodebin2 是基础插件,是基础插件的一部分

1 是的,您可能缺少一些插件

2 使用gst-inspect命令检查是否可用

3 通过 C 代码,您可以管理状态、注册回调、了解更多信息 是的,仍然需要缺少的插件

4 我想 gstreamer 网站会更好

5 不确定这个,如果您以正确的方式安排结果会有帮助

关于Gstreamer 缺少插件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10428814/

相关文章:

video-streaming - 如何在KURENTO调用中设置流比特率?

video - 使用 GStreamer 将 M3U8 播放列表转换为 MP4

python - 无法安装新的 wxpython

python - 将 opencv 帧写入 gstreamer rtsp 服务器管道

python - 如何在 gstreamer 中录制预定义时间的音频?

ffmpeg - 多媒体框架的差异

python - 通过 GStreamer 和 Python 的 RTMP

ffmpeg - 无法在 Linux ARM 机器上基于 Qt5 的 Web 浏览器播放视频文件

yocto - Bitbake 不填充所以符号链接(symbolic link)到共享库