Comments (10)
FFmpeg 4.x and 5.0 should work but any more recent versions may not. Especially the major versions (like 6 and 7) usually contain breaking changes and it looks like they now removed certain functions that were deprecated for a long time - I've seen deprecation warnings for this particular function with FFmpeg 5.
from olive.
Hi, untill ffmpeg 6.0 worked, but now with ffmpeg 7.0 not works anymore, thanks for your reply.
Someone can update the code to support ffmpeg 7.0?
Best regards.
from olive.
I guess FFmpeg 6 didn't break anything that Olive used then, but it hasn't been tested with this version and the automated builds use FFmpeg 5. There are no plans to update the current code base, therefore, please use an older FFmpeg version.
from olive.
thanks @Simran-B ,
i have downloaded the source of ffmpeg 6.0, how can i pass it to olive?
can i add this line before the cmake?:
export PATH=/temp/buildCore/ffmpeg/build:$PATH
or i have to pass it in the cmake?
cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_RPATH=/temp/buildCore/ffmpeg/build
Thanks, best regards
from olive.
It should be sufficient to point CMake to the FFmpeg root folder like cmake .. -DFFMPEG_ROOT=/path/to/ffmpeg
.
That folder should be one that is the result of compiling and installing FFmpeg (the libraries avutil, avcodec, etc.), not the raw source code.
from olive.
Hi @Simran-B ,
i did how you explain to me, but continue to find only ffmpeg of the system:
-- Found FFMPEG: /usr/include/x86_64-linux-gnu (found suitable version "7.0", minimum required is "3.0") found components: avutil
i have run this:
cmake .. -DFFMPEG_DIR=/app/ffmpeg/build
made in this way:
seems all ok, but not take FFmpeg i declare in cmake, why?
best regards
from olive.
16:56:31 root@NanoKDE /app/olive/build master# export PATH=/app/ffmpeg/build:$PATH
export LD_LIBRARY_PATH=/app/ffmpeg/build:$LD_LIBRARY_PATH
16:56:38 root@NanoKDE /app/olive/build master# cmake ..
-- The CXX compiler identification is GNU 14.0.1
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so
-- Found OpenColorIO: /usr/lib/x86_64-linux-gnu/libOpenColorIO.so.2.1 (found suitable version "2.1.3", minimum required is "2.1.1")
-- Found OpenImageIO: /usr/lib/x86_64-linux-gnu/libOpenImageIO.so;/usr/lib/x86_64-linux-gnu/libOpenImageIO_Util.so (found suitable version "2.4.17", minimum required is "2.1.12")
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found CONFIG for OpenEXR 3 (OPENEXR_VERSION=3.2.4)
-- Found FFMPEG: /usr/include/x86_64-linux-gnu (found suitable version "7.0", minimum required is "3.0") found components: avutil avcodec avformat avfilter swscale swresample
-- Found PortAudio: /usr/lib/x86_64-linux-gnu/libportaudio.so
-- Looking for C++ include pa_jack.h
-- Looking for C++ include pa_jack.h - found
-- Could NOT find OpenTimelineIO (missing: OTIO_LIBRARIES OTIO_INCLUDE_DIRS OTIO_DEPS_INCLUDE_DIR)
OpenTimelineIO interchange will be disabled.
-- Could NOT find GoogleCrashpad (missing: CRASHPAD_CLIENT_LIB CRASHPAD_COMMON_LIB CRASHPAD_UTIL_LIB CRASHPAD_BASE_LIB BREAKPAD_BIN_DIR CRASHPAD_BUILD_INCLUDE_DIR CRASHPAD_CLIENT_INCLUDE_DIR CRASHPAD_BASE_INCLUDE_DIR CRASHPAD_COMPAT_LIB)
Automatic crash reporting will be disabled.
-- Found Git: /usr/bin/git (found version "2.43.3")
-- Found FFMPEG: /usr/include/x86_64-linux-gnu (found suitable version "7.0", minimum required is "3.0") found components: avutil
-- Could NOT find OpenTimelineIO (missing: OTIO_LIBRARIES OTIO_INCLUDE_DIRS OTIO_DEPS_INCLUDE_DIR)
OpenTimelineIO interchange will be disabled.
-- Setting build type to Debug as none was specified.
-- The following OPTIONAL packages have been found:
- Git
- Qt5X11Extras
-- The following REQUIRED packages have been found:
- OpenColorIO (required version >= 2.1.1)
- OpenImageIO (required version >= 2.1.12)
- Threads
- OpenEXR
- QT
- Qt5Core
- Qt5Gui
- Qt5OpenGL
- Qt5LinguistTools
- Qt5Concurrent
- Qt5DBus
- Qt5Network
- PortAudio
- FFMPEG (required version >= 3.0)
- Imath
- OpenGL
- Qt5Widgets
- Qt5Test
- Qt5 (required version >= 5.15)
-- The following OPTIONAL packages have not been found:
- GoogleCrashpad
- OpenTimelineIO
-- Configuring done (0.7s)
-- Generating done (0.1s)
-- Build files have been written to: /app/olive/build
16:56:48 root@NanoKDE /app/olive/build master# which ffmpeg
/app/ffmpeg/build/ffmpeg
from olive.
The folder doesn't look correct. The FFmpeg root path is expected to contain an include
directory or the CMake script will check other paths instead, like /usr/include
. You seem to be pointing to the build directory, but you need to point to an install directory.
For example, when you configure FFmpeg, you can specify a prefix like ./configure --prefix="/app/ffmpeg/install" ...
.
Then you need to build FFmpeg with make
and finally install it with make install
. With the shown prefix, the files won't go to the normal system folders but to the specified path. You should then be able to specify the path like -DFFMPEG_ROOT=/app/ffmpeg/install
. Accordingly, you should use export LD_LIBRARY_PATH=/app/ffmpeg/install/lib:$LD_LIBRARY_PATH
.
from olive.
Thanks @Simran-B ,
i will try today and update you!
You're a gentleman, thanks.
from olive.
OK WORKED! :) ;) :*
Now we can close!, thanks.
from olive.
Related Issues (20)
- [UI]Black screen when opening application HOT 1
- Audio Lags Sometimes After Importing
- Cannot build on Arch [BUILD] HOT 17
- AppImage does not support Wayland HOT 3
- [EXPORT] Export takes too long and doesn't end HOT 3
- [RENDER] Can olive support api for video automation render by providing the pipeline file? HOT 1
- [PLAYBACK] Audio stuck conforming
- [BUILD] Cannot retrieve download links for versions prior than the latest one HOT 9
- Timeline merged into Sequence[EDIT]
- [REQ] fix GH license file HOT 2
- It does not save, just open recent projects[UI]
- no sound on sequence viewer [PLAYBACK]
- [EDIT] Only can add position key frames to "Transform" video effect
- [CRASH] exporting video
- [BUILD] Build fails with opencolorio-2.3.2: error: too few arguments to function call, expected 8, have 7 HOT 1
- Video playback of the whole project doesn't work
- [EDIT] Looping video causes the first frame to get stuck for a few seconds
- [UI] Suspicious, nonexistant startup file constantly loading. HOT 1
- [EDIT] Will the set to frame size feature come? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from olive.