grupocas.blogg.se

Ffmpeg build with many codecs support
Ffmpeg build with many codecs support








ffmpeg build with many codecs support

If I imported prebuilt opencv, how can I fix it? In my virtual env has just one OpenCV directory and I think it is the last one which I installed.

ffmpeg build with many codecs support

After following these steps, version should be 3.3.1 but it still seems 3.3.0. I cloned OpenCV from github like these steps which I gave the url to my question. I checked cv2.version after import cv2, and it seems '3.3.0' also pip freeze result like that. For that reason, I added cv2 versions and paths.

ffmpeg build with many codecs support

I didn't understand why FFmpeg has seemed "YES" when I have building OpenCV at that time has given "NO" result with cv2.getBuildInformation().ģ.2.0 (cv_env)➜ cv_env python Python 2.7.6 (default, Oct 26 2016,įFMPEG: NO (cv_env)➜ cv_env python Python 2.7.6Ĥ.8.4] on linux2 Type "help", "copyright", "credits" or "license"Ĭv2._file_ '/opt/cv_env/local/lib/python2.7/site-packages/cv2/cv2.so'Ĥ.8.4] on linux Type "help", "copyright", "credits" or "license"Ĭv2._file_ '/usr/local/lib/python3.4/dist-packages/cv2/'Īlso, I didn't remember which steps I applied (for python2 or python3). avc On2 Audio for Video Codec (decoders: on2avc ) ffmpeg -codecs | grep -i avc and, the output is :ĭEV.LS h264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (decoders: h264 h264_cuvid ) (encoders: h264_nvenc nvenc nvenc_h264 ) D.A.L. I also tried to find if FFMPEG supports codec for decoding AVC encoded files. I installed OpenCV with following these steps.

ffmpeg build with many codecs support

When I tried to check FFmpeg support with this command: I built the OpenCV with -D WITH_FFMPEG=ON option and it would finish successfully and the result that about FFmpeg was seemed to be OK.Īlso, when I run "make -j8" command, it finished with no problem. Problem is that: "cv2.videoCapture() return always false". I installed OpenCV in the virtual environment a lot of times when trying to solve this problem. I read nearly all of the questions about this subject but I didn't solve it.










Ffmpeg build with many codecs support