2012-05-03 97 views
2

我試圖運行在命令提示符某些管道用於播放視頻,我經常收到這些錯誤/消息/警告:的Gstreamer缺少插件

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. 是好安裝缺少的插件形成突觸經理或形成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是什麼意思)?

回答

1

答案,

它看起來像的GStreamer你的兩端安裝不正確。 playbin2,decodebin2是基本的和部分基礎插件

1是的,你可能會丟失一些插件

2使用GST-檢查命令來檢查它是否可用

3從C代碼,您可以管理州,註冊回調,瞭解更多 是缺少插件仍然需要

4我猜的GStreamer網站將得到更好的

5不知道這一個,如果你安排R.將幫助以合適的方式建立教會