ไม่สามารถเรียกใช้ aviread ในระดับแปดเสียงได้จะติดตั้งแพ็คเกจวิดีโอได้อย่างไร

ฉันไม่สามารถใช้ aviread ใน GNU Octave บน Windows 10 ได้ เว็บไซต์หลายแห่งบอกให้ฉันติดตั้งแพ็คเกจวิดีโอ แต่ฉันได้รับข้อผิดพลาดนี้ระหว่างการติดตั้ง

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 หรือไม่ (นอกเหนือจากการแปลงไฟล์เอง)


person Subetha Thankaraj    schedule 09.12.2015    source แหล่งที่มา


คำตอบ (1)


ฉันพยายามดาวน์โหลดและติดตั้งแพ็คเกจวิดีโอ 'รีลีส' ล่าสุดด้วยตนเอง เพื่อตรวจสอบผลลัพธ์ของคุณ (เห็นได้ชัดว่า -forge แฟล็กดึงอันเดียวกันออกจากเซิร์ฟเวอร์ ซึ่งก็คือ v.1.0.2) นั่นย้อนกลับไปในปี 2009 นับตั้งแต่นั้นเป็นต้นมา ยังไม่มีบิลด์ที่เสถียร และมีการเปลี่ยนแปลงมากมายใน อ็อกเทฟในช่วงเวลานั้น จึงไม่น่าแปลกใจที่สิ่งต่างๆ จะไม่ค่อยได้ผลนัก

หากคุณดูที่หน้าแพ็คเกจ Octave forge คุณจะเห็นหมายเหตุที่ด้านล่างเกี่ยวกับแพ็คเกจที่ไม่ได้รับการดูแล : :

ยังคงจัดเก็บไว้และสามารถดาวน์โหลด tarballs ได้จากระบบปล่อยไฟล์ (เช่นเดียวกับ รุ่นเสาหินที่เก่ามาก) อย่างไรก็ตาม หลายๆ รายการได้รวบรวมการแก้ไขข้อบกพร่องและคุณลักษณะใหม่ๆ ใน mercurial หรือ SVN repositories มันเกิดขึ้นง่ายๆ ว่าไม่มีผู้ดูแลคนใดได้เตรียมการเผยแพร่ . ด้วยเหตุนี้ เราจึงสนับสนุนให้ผู้ใช้ตรวจสอบแหล่งที่มาของการพัฒนา ไม่ใช่ tarball ที่เผยแพร่ นอกจากนี้ รายงานข้อบกพร่อง สำหรับแพ็คเกจเหล่านั้นยังคงยินดีต้อนรับ และใครก็ตามที่ประสงค์จะรับตำแหน่งผู้ดูแล โปรดติดต่อเราผ่านทางรายชื่อผู้รับจดหมายของผู้ดูแล

ขอย้ำอีกครั้งว่า File Release System, 8 พฤษภาคม 2552 เป็นเวอร์ชันล่าสุดที่มีวิดีโอ v1.0.2 หากคุณตรวจสอบ ที่เก็บ Mercurial จะมี ลิงก์ไปยังแหล่งวิดีโอที่แสดงการทำงานเกี่ยวกับแหล่งที่มาล่าสุดเมื่อเดือนพฤศจิกายน 2015 การสนทนาเกี่ยวกับรายการส่งเมลความช่วยเหลือระดับแปดเสียง อธิบายถึงความพยายามล่าสุดบางส่วนในการทำให้มันใช้งานได้ เกี่ยวกับ และกล่าวถึงปัญหาเฉพาะสำหรับ Windows การสนทนาเกี่ยวกับรายการผู้ดูแล อื่นระบุว่าอาจมีการปรับปรุงและใช้งานได้ ภายใต้ (อย่างน้อย) linux และอาจเป็น windows หากคุณตั้งค่าให้คอมไพล์ใหม่

คำแนะนำที่ดีที่สุดของฉันคือการส่งอีเมลรายชื่อผู้รับจดหมาย Octave Help ([email protected]) และดูว่ามีใครคิดขั้นตอนในการทำให้แพ็คเกจนั้นทำงานภายใต้ windows หรือไม่ ฉันเดาว่าส่วนใหญ่กำลังพัฒนาและคอมไพล์ด้วย linux ดังนั้นนี่อาจไม่ใช่กระบวนการที่ไม่สำคัญ

person Nick J    schedule 09.12.2015
comment
วิเคราะห์ได้ดี +1 ฉันคิดว่าจะมี video-1.2.x ออกมาในอีกสองสัปดาห์ข้างหน้าถ้าฉันหาเวลาได้ คุณสามารถโคลน hg repo และรัน make install บน GNU/Linux ได้แล้ว แต่บน windows คุณต้องมี ffmpeg ก่อน หากคุณมี GNU/Linux คุณสามารถสร้างด้วย MXE ซึ่งมีเป้าหมายสำหรับ ffmpeg อยู่แล้ว - person Andy; 10.12.2015
comment
วิดีโอ 1.2.1 พร้อมที่จะติดตั้งบน GNU/Linux ด้วย pkg -forge แล้ว สำหรับ Windows คุณจะต้องใช้ ffmpeg ซึ่งสามารถสร้างได้โดยใช้ mxe-octave หรือดาวน์โหลด binary lib ไฟล์ dev สำหรับ ffmpeg อยู่ที่นี่: ffmpeg.zeranoe.com/builds - person Andy; 28.12.2015
comment
วิดีโอ 1.2.2 เปิดตัวแล้ว ดูคำแนะนำในการติดตั้งสำหรับ windoze ที่นี่ wiki.octave.org/Video_package - person Andy; 28.01.2016