for ffmpeg: https://gitlab.kitware.com/paraview/paraview/issues/19397
https://patchwork.ffmpeg.org/patch/6959/
when building paraview cmake doesnt detect python 3, fortran and “opengl-xmesa”. how to proceed?
im running centos 8 with intel parallel xe (fortran compiler) with all dependencies installed.
I’m not sure what your are doing right now. Do you have these errors only when building with the patch you link ?
The “patch” is a change made in ffmpeg, that link is a piece of changelog ( series of patchs through time). When I download the last version from git of ffmpeg and build doesn’t generate the required library of cmake. Because libavresample was substituted to libswresample. If you google it " libvsvsampe deprecated" you will get a series of other packages with the same problem.
Thank you
In respect of linking fortran, python 3 there is a way to do a direct link? I don’t have an idea what cmake is requesting from “opengl xmesa”, I already have installed all libraries from Mesa and qt5, and I running the driver from Nvidia not “generic noveau”. Both gave me the same problem.
- Why do you want to build with an updated ffmpeg ?
- What does this have to do with fortran or python 3 ?
- What do you mean by direct link ?
- Why are you mentioning “opengl xmesa” ? Do you have an error message ?
What are you trying to achieve ?
How are you trying to achieve it ?
What is not working ?
Can you share an error message ?
first, im using updated ffmpeg because i dont know if an older version would run with centos8.
about fortran(now is detected), python, opengl xmesa, cmake says that didn’t found fortran and python. i have installed intel fortran and python beyond system packages of python and fortran.
direct link i meant force cmake finding the py/fortran/openglxmesa libraries.
well my primary objective is build paraview with ffmpeg and running in my nvidia driver. but im confused wich graphical renderer i use mesa, qt5 … im relatively new to linux.
CMake Error at VTK/CMake/vtkModule.cmake:3664 (message):
Could not find the FFMPEG external dependency.
Call Stack (most recent call first):
VTK/IO/FFMPEG/CMakeLists.txt:1 (vtk_module_find_package)
" Page 3 of 14
EXECINFO_LIB EXECINFO_LIB-NOTFOUND
ExternalData_URL_TEMPLATES
FFMPEG_avcodec_INCLUDE_DIR /usr/local/include
FFMPEG_avcodec_LIBRARY /usr/local/lib/libavcodec.a
FFMPEG_avdevice_INCLUDE_DIR /usr/local/include
FFMPEG_avdevice_LIBRARY /usr/local/lib/libavdevice.a
FFMPEG_avfilter_INCLUDE_DIR /usr/local/include
FFMPEG_avfilter_LIBRARY /usr/local/lib/libavfilter.a
FFMPEG_avformat_INCLUDE_DIR /usr/local/include
FFMPEG_avformat_LIBRARY /usr/local/lib/libavformat.a
FFMPEG_avresample_INCLUDE_DIR /usr/local/include
FFMPEG_avresample_LIBRARY /usr/local/lib/libavresample.a
FFMPEG_avutil_INCLUDE_DIR /usr/local/include
FFMPEG_avutil_LIBRARY /usr/local/lib/libavutil.a
FFMPEG_swresample_INCLUDE_DIR /usr/local/include
FFMPEG_swresample_LIBRARY /usr/local/lib/libswresample.a
FFMPEG_swscale_INCLUDE_DIR /usr/local/include
FFMPEG_swscale_LIBRARY /usr/local/lib/libswscale.a
FREETYPE_INCLUDE_DIR_freetype2 /usr/include/freetype2
FREETYPE_INCLUDE_DIR_ft2build /usr/include/freetype2
FREETYPE_LIBRARY_DEBUG FREETYPE_LIBRARY_DEBUG-NOTFOUND
FREETYPE_LIBRARY_RELEASE /usr/lib64/libfreetype.so
Fontconfig_DIR Fontconfig_DIR-NOTFOUND
GITCOMMAND /usr/bin/git
GIT_EXECUTABLE /usr/bin/git
HDF5_BATCH_H5DETECT OFF
HDF5_USE_PREGEN OFF
HGCOMMAND HGCOMMAND-NOTFOUND
MAKECOMMAND /usr/bin/cmake --build . --config "${CTEST_CONFIGURATION_TY
MEMORYCHECK_COMMAND /usr/bin/valgrind
MEMORYCHECK_SUPPRESSIONS_FILE
OPENGL_EGL_INCLUDE_DIR /usr/include
OPENGL_GLES2_INCLUDE_DIR /usr/include
OPENGL_GLES3_INCLUDE_DIR /usr/include
OPENGL_GLX_INCLUDE_DIR /usr/include
OPENGL_INCLUDE_DIR /usr/include
OPENGL_egl_LIBRARY /usr/lib64/libEGL.so
OPENGL_gles2_LIBRARY /usr/lib64/libGLESv2.so
OPENGL_gles3_LIBRARY /usr/lib64/libGLESv2.so
OPENGL_glu_LIBRARY /usr/lib64/libGLU.so
OPENGL_glx_LIBRARY /usr/lib64/libGLX.so
OPENGL_opengl_LIBRARY /usr/lib64/libOpenGL.so
ExternalData_URL_TEMPLATES: Additional URL templates for the ExternalData CMake script to look
Press [enter] to edit option Press [d] to delete an entry CMake Version 3.11.4
Press [c] to configure
Press [h] for help Press [q] to quit without generating
Press [t] to toggle advanced mode (Currently On)"
How did you install ffmpeg ?
https://linuxconfig.org/how-to-install-ffmpeg-on-redhat-8
by git, git clone, ./configure, make, make install
to use nvidia which graphic renderer i use?
What about adding a repository instead :
i tried installing ffmpeg with libavresample enabled, by ./configure --enable libavresample
Name : ffmpeg
Version : 4.2.1
Release : 2.el8
Architecture: x86_64
Install Date: qui 17 out 2019 10:54:23 -03
Group : Unspecified
Size : 1939212
License : GPLv2+
Signature : RSA/SHA1, seg 09 set 2019 05:42:57 -03, Key ID 979f0c69158b3811
Source RPM : ffmpeg-4.2.1-2.el8.src.rpm
Build Date : sáb 07 set 2019 06:22:54 -03
Build Host : unallocated.barefruit.co.uk
Relocations : (not relocatable)
Packager : RPM Fusion
Vendor : RPM Fusion
URL : http://ffmpeg.org/
Summary : Digital VCR and streaming server
Description :
FFmpeg is a complete and free Internet live audio and video
broadcasting solution for Linux/Unix. It also includes a digital
VCR. It can encode in real time in many formats including MPEG1 audio
and video, MPEG4, h263, ac3, asf, avi, real, mjpeg, and flash.
[root@localhost git]# ffmpeg -version
ffmpeg version N-95433-g0279e727e9 Copyright © 2000-2019 the FFmpeg developers
built with gcc 8 (GCC)
configuration: --enable-avresample
libavutil 56. 35.101 / 56. 35.101
libavcodec 58. 59.102 / 58. 59.102
libavformat 58. 33.100 / 58. 33.100
libavdevice 58. 9.100 / 58. 9.100
libavfilter 7. 63.100 / 7. 63.100
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 6.100 / 5. 6.100
libswresample 3. 6.100 / 3. 6.100
no success
" CMake Error at VTK/CMake/vtkModule.cmake:3664 (message):
Could not find the FFMPEG external dependency.
Call Stack (most recent call first):
VTK/IO/FFMPEG/CMakeLists.txt:1 (vtk_module_find_package)
"
which component is missing?