오류해결2019. 4. 9. 00:27

windows 환경에서 skvideo 라이브러리를 사용할 경우 ffmpeg 를 찾지 못해서 나는 오류입니다.

이럴 경우 환경변수를 설정해주시던가

 

코드를 사용하여 수동으로 잡아주시면 됩니다.

 

 

윈도우에 ffmpeg 를 설치하고 환경변수를 설정하는 법입니다.

https://www.wikihow.com/Install-FFmpeg-on-Windows

 

How to Install FFmpeg on Windows

This wikiHow teaches you how to install FFmpeg onto your Windows 10 computer. FFmpeg is a command line-only program that allows you to convert videos and audio into different formats, as well as record live audio and video. Open the FFmpeg...

www.wikihow.com

 

수동으로 할 경우 ffmpeg 를 구글에 검색해서 다운받으신 뒤

 

해당 압축파일을 풀고 나서

 

import skvideo
skvideo.setFFmpegPath("해당 위치")
import skvideo.io

 

해당 위치라 적혀 있는 부분에다 경로를 넣어주시고 해당 3줄 코드를 추가하면 됩니다.

https://github.com/scikit-video/scikit-video/issues/98 왼쪽 링크를 참고했습니다.

 

AssertionError: Cannot find installation of real FFmpeg (which comes with ffprobe). · Issue #98 · scikit-video/scikit-video

Hi, I have a mac and I was trying to use skvideo.io.vwrite from my spyder console. It throws the assertion error: Cannot find installation of real FFmpeg (which comes with ffprobe). When I type whi...

github.com

 

'오류해결' 카테고리의 다른 글

오류해결 Host key verification failed  (0) 2021.04.13
python can not allocate memory 문제  (0) 2021.03.18
오류 해결 _auth_source_manager_obj  (0) 2020.12.21
Posted by richcherry