Skip to content

binary-pixels/mlt_example

Repository files navigation

Setp 1:

pacman -Syu pacman -Su pacman -S mingw-w64-ucrt-x86_64-cmake mingw-w64-x86_64-dlfcn mingw-w64-x86_64-SDL2 mingw-w64-x86_64-qt5 mingw-w64-x86_64-mlt pacman -S mingw-w64-x86_64-toolchain mingw-w64-x86_64-qt5-multimedia mingw-w64-x86_64-qt5-quickcontrols2 mingw-w64-x86_64-ffmpeg mingw-w64-x86_64-ladspa-sdk

*** Use ldd to Check Dependencies *** Use the ldd command to inspect the dependencies of the problematic .dll files:

ldd C:/msys64/mingw64/lib/mlt/libmltplus.dll ldd C:/msys64/mingw64/lib/mlt/libmltrtaudio.dll ldd C:/msys64/mingw64/lib/mlt/libmltsdl.dll This will list all dependencies and indicate any missing libraries.

pacman -S mingw-w64-x86_64-libsndfile mingw-w64-x86_64-sox mingw-w64-x86_64-libsamplerate pacman -S mingw-w64-x86_64-qt6-base mingw-w64-x86_64-qt6-svg pacman -S mingw-w64-x86_64-mlt mingw-w64-x86_64-libsndfile mingw-w64-x86_64-rubberband pacman -S mingw-w64-x86_64-SDL2

ldd C:\msys64\mingw64\lib\mlt\libmltrtaudio.dll ntdll.dll => /c/WINDOWS/SYSTEM32/ntdll.dll (0x7ff85a230000) KERNEL32.DLL => /c/WINDOWS/System32/KERNEL32.DLL (0x7ff858670000) KERNELBASE.dll => /c/WINDOWS/System32/KERNELBASE.dll (0x7ff8578d0000) msvcrt.dll => /c/WINDOWS/System32/msvcrt.dll (0x7ff8585d0000) libmltrtaudio.dll => /mingw64/lib/mlt/libmltrtaudio.dll (0x7ff852ab0000)
libgcc_s_seh-1.dll => /mingw64/bin/libgcc_s_seh-1.dll (0x7ff852a80000)
libwinpthread-1.dll => /mingw64/bin/libwinpthread-1.dll (0x7ff852a10000)
libstdc++-6.dll => /mingw64/bin/libstdc++-6.dll (0x7ff829ed0000) libmlt-7.dll => /mingw64/bin/libmlt-7.dll (0x7ff83c3a0000) librtaudio-7.dll => not found

pacman -S mingw-w64-x86_64-rtaudio

Step 2:

source env.sh

''' export PATH=/mingw64/bin:$PATH export MLT_DATA=C:\msys64\mingw64\share\mlt export MLT_REPOSITORY=C:\msys64\mingw64\lib\mlt export DYLD_LIBRARY_PATH="C:\msys64\mingw64\lib:$DYLD_LIBRARY_PATH" '''

Step 3:

g++ video_processing.cpp -o video_processing -IC:/msys64/mingw64/include/mlt-7 -LC:/msys64/mingw64/lib/mlt -lmlt++-7 -lmlt-7 -std=c++11

Or Compile Qml

cd build

cmake .. cmake --build .

./editvideo

windeployqt.exe ./editvideo.exe

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors