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
問題
- 我想知道,如果我是我缺少的插件來執行此。
- 我如何知道哪個插件負責哪個或哪個位置?
- 通過C代碼實現管道的好處是什麼,仍然需要缺少插件。
- 是好安裝缺少的插件形成突觸經理或形成Gstreamer site(base,good,bad,ugly)
當我們這樣做
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是什麼意思)?