2015-12-09 27 views
1

我不能夠在GNU八度使用aviread在Windows 10,許多網站告訴我安裝視頻包,但在安裝過程中我得到這個錯誤。不能以八度音頻運行aviread - 如何安裝視頻包?

octave:3> pkg install -forge video 
rm: cannot remove `a.exe': Permission denied 
Package libavformat was not found in the pkg-config search path. 
Perhaps you should add the directory containing `libavformat.pc' 
to the PKG_CONFIG_PATH environment variable 
No package 'libavformat' found 
Package libavcodec was not found in the pkg-config search path. 
Perhaps you should add the directory containing `libavcodec.pc' 
to the PKG_CONFIG_PATH environment variable 
No package 'libavcodec' found 
Package libavutil was not found in the pkg-config search path. 
Perhaps you should add the directory containing `libavutil.pc' 
to the PKG_CONFIG_PATH environment variable 
No package 'libavutil' found 
Package libswscale was not found in the pkg-config search path. 
Perhaps you should add the directory containing `libswscale.pc' 
to the PKG_CONFIG_PATH environment variable 
No package 'libswscale' found 
configure: error: need libavformat from FFMpeg 
checking for gcc... gcc 
checking for C compiler default output file name... a.exe 
checking whether the C compiler works... yes 
checking whether we are cross compiling... no 
checking for suffix of executables... .exe 
checking for suffix of object files... o 
checking whether we are using the GNU C compiler... yes 
checking whether gcc accepts -g... yes 
checking for gcc option to accept ISO C89... none needed 
checking for mkoctfile... C:/Octave/Octave-4.0.0/bin/mkoctfile-4.0.0.exe 
retrieving compile and link flags from C:/Octave/Octave-4.0.0/bin/mkoctfile-4.0.0.exe 
checking for F77_FUNC... yes 
checking for SLList.h... no 
checking for lo_ieee_nan_value... yes 
checking for octave_idx_type... no 
checking for quit.h... no 
checking for octave... C:/Octave/Octave-4.0.0/bin/octave-4.0.0.exe 
checking for OCTAVE_VERSION in Octave... 4.0.0 
checking for octave_config_info('canonical_host_type') in Octave... i686-w64-mingw32 
checking for octave_config_info('SHLEXT') in Octave... dll 
checking whether ln -s works... no, using cp -p 
checking for ranlib... ranlib 
checking for strip... strip 
checking for pkg-config... pkg-config 

checking for av_write_frame in -lavformat... no 

pkg: error running the configure script for video. 
error: called from 'configure_make' in file C:\Octave\Octave-4.0.0\share\octave\4.0.0\m\pkg\private\configure_make.m near line 79, column 9 
octave:3> 

我可以知道如何安裝該軟件包。大多數網站都說它已經過時,但它們都不能解決我的問題。如果沒有,是否有其他方式來讀取AVI文件(除了轉換文件本身)?

回答

1

我試過手動下載並安裝了最新的「版本」打造視頻包,驗證你的結果。 (顯然-forge旗拉同一個關閉服務器,這是v.1.0.2),從回來的路上就是在2009年有自那時以來一直沒有一個穩定版本,並且已經出現了大量的變化在那段時間八度,所以毫不奇怪,事情並不正確。

如果檢查出Octave forge Packages page你會在大約無人維護包底部看到一張紙條:

他們仍然儲存和釋放壓縮包可以從我們的File Release System下載(同爲很老monolithic releases) 。然而,許多人已經積累了bug修復和新功能的mercurialSVN庫,它只是碰巧有維護人員已準備了釋放。因此,我們鼓勵用戶檢查開發源代碼,而不是發佈的tarball。此外,這些軟件包的bug reports仍然受到歡迎,任何想要擔任維護者職位的人都可以通過維護者郵件列表與我們聯繫。

此外,File Release System, May 8 2009 release是最新的一個,其中包括視頻v1.0.2。如果檢查出mercurial repository,然而,有一個link to the video source,顯示源工作作爲近期爲2015年十一月此Octave help mailing list discussion介紹一些最近的嘗試得到它的工作有關,並提到具體困難的Windows。另一個maintainers list discussion表示它可能會在(至少)linux下進行改進和工作,如果您設置爲重新編譯,可能會出現窗口。

我最好的建議是通過電子郵件發送的倍頻幫助郵件列表([email protected]),看看是否有人想出了爲獲得該包windows下的工作程序。我的猜測大部分是在開發和編譯Linux,所以這可能不是一個微不足道的過程。

+0

不錯的分析+1。如果我有時間,我認爲未來兩週內會有一個video-1.2.x版本。您可以克隆hg repo並在GNU/Linux上運行「make install」,但是在首先需要ffmpeg的窗口上運行。如果您使用的是GNU/Linux,則可以使用已包含ffmpeg目標的MXE進行構建。 – Andy

+1

視頻1.2.1現在可以通過「pkg -forge」安裝在GNU/Linux上。對於Windows,您需要ffmpeg,它可以使用mxe-octave構建或下載二進制庫。 ffmpeg的開發文件位於:http://ffmpeg.zeranoe.com/builds/ – Andy

+1

視頻1.2.2發佈。請參閱此處瞭解有關windoze的安裝說明http://wiki.octave.org/Video_package – Andy