![]() FFmpeg has been compiled and tested with Microsoft Visual Studio 2013 SP2 and above (Windows), MinGW (msys2-x86_64-20161025) (Windows) and gcc 4.8 and above (Linux) compilers.įFmpeg requires separate git repository nvcodec-headers for NV-accelerated ffmpeg build. įor the rest of this document, it is assumed that the system being used has a GPU which has both NVENC and NVDEC.įFmpeg supports both Windows and Linux. Maybe not hasattr(self, 'lastread') is the problem.FFmpeg with NVIDIA GPU acceleration requires a system with Linux or Windows operating system and a supported NVIDIA GPU.įor a list of supported GPUs, refer to. "Please update to a recent version from the website.")%( Raise IOError(("MoviePy error: failed to read the first frame of " "Please update to a recent version from the website."Ĭheck the file ' moviepy/video/io/ffmpeg_reader.py line 135-140 if not hasattr(self, 'lastread'): "for instance the version in the repos is deprecated. I guess the cmd is made up of multiple parameters, so I modified as the following cmd = ( + i_arg +īUT, I got : MoviePy error: failed to read the first frame of " Moviepy/video/io/ffmpeg_reader.py line89-95 cmd = ( + i_arg + ![]() modified the ffmpeg_reader.py in moviepy.complied ffmpeg with nvidia video sdk : or use docker image.Use -h to get full help or, even better, run 'man ffmpeg' My ffmpeg ffmpeg version N-87822-g734ed38 Copyright (c) 2000-2017 the FFmpeg developersīuilt with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 20160609Ĭonfiguration: -enable-nonfree -disable-shared -enable-nvenc -enable-cuda -enable-cuvid -enable-libnpp -extra-cflags=-I/usr/local/cuda/include -extra-cflags=-I/usr/local/include -extra-ldflags=-L/usr/local/cuda/lib64 So, Is it possible to increase support for gpu acceleration? Ffmpeg 4.0 has released the NVIDIA NVDEC-accelerated H.264, HEVC, MJPEG, MPEG-1/2/4, VC1, VP8/9 hwaccel decoding added.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |