我安裝的GStreamer-0.10,並根據這些指令(通過瀏覽點擊/下一個先前)所有模塊(基地,好的,壞的,醜陋的,ffmpeg的): http://www.linuxfromscratch.org/blfs/view/svn/multimedia/gst-plugins-ugly.html的GStreamer x264enc沒有找到
一切似乎有工作得很好,但是當我要執行我的管道我得到這個錯誤:
glib.GError: no element "x264enc"
顯然模塊未安裝:
gst-inspect x264enc
No such element or plugin 'x264enc'
之後,我通過執行安裝編解碼器:
sudo apt-get install x264
這也沒有工作。所以我手動安裝最新版本: http://www.videolan.org/developers/x264.html
X264的成功安裝我的的GStreamer-0.10醜陋模塊的./configure跑再次後,發現了這一點:
configure: *** checking feature: x264 plug-in ***
configure: *** for plug-ins: x264 ***
checking for X264... no
configure: No package 'x264' found
configure: *** These plugins will not be built: x264
configure: creating ./config.status
的檢查,如果x264是可用似乎得到fullfilled:
which x264
/usr/local/bin/x264
我使用的是Ubuntu的服務器12.04 LTS。任何想法,我必須做些什麼來正確編譯這個模塊?謝謝!