Xingtao / FFdynamic

Library with dynamic audio/video composition and runtime control
MIT License
372 stars 74 forks source link

Decklink output? #31

Open tvadi opened 2 years ago

tvadi commented 2 years ago

Say I have a good compile of ffmpeg, that plays out a Blackmagic design Decklink board good with a line like:

ffmpeg -i /home/matt/VideoTests/720ts_6DK01H_tru720og.ts -pix_fmt uyvy422 -f decklink -vcodec v210 "DeckLink SDI 4K"

Can FFdynamic also play out the Decklink? If so, what would streamletOutput / outputBuilder config look like?

Thanks!

tvadi commented 2 years ago

I am at this point in install, any ideas?

/FFdynamic/FFdynamic$ sudo sh build.sh -- The CXX compiler identification is GNU 9.3.0 -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") --** Will use pkg_config to find FFmpeg -- Checking for module 'libavformat' -- Found libavformat, version 58.29.100 -- Checking for module 'libavcodec' -- Found libavcodec, version 58.54.100 -- Checking for module 'libavfilter' -- Found libavfilter, version 7.57.100 -- Checking for module 'libavutil' -- Found libavutil, version 56.31.100 -- Checking for module 'libswscale' -- Found libswscale, version 5.5.100 -- Checking for module 'libswresample' -- Found libswresample, version 3.5.100 -- pkg config lib: -- pkg config include: /usr/include/x86_64-linux-gnu --** Will search FFmpeg in default dirs: /usr;/usr/local;/sw;/opt;/opt/local --** Searching FFmpeg with dirs: /usr;/usr/local;/sw;/opt;/opt/local -- Not Found lib FFMPEG_LIBAVFORMAT-NOTFOUND or path FFMPEG_LIBAVFORMAT_INLUCDE_DIR-NOTFOUND -- Not Found lib FFMPEG_LIBAVCODEC-NOTFOUND or path FFMPEG_LIBAVCODEC_INLUCDE_DIR-NOTFOUND -- Not Found lib FFMPEG_LIBAVFILTER-NOTFOUND or path FFMPEG_LIBAVFILTER_INLUCDE_DIR-NOTFOUND -- Not Found lib FFMPEG_LIBAVUTIL-NOTFOUND or path FFMPEG_LIBAVUTIL_INLUCDE_DIR-NOTFOUND -- Not Found lib FFMPEG_LIBSWSCALE-NOTFOUND or path FFMPEG_LIBSWSCALE_INLUCDE_DIR-NOTFOUND -- Not Found lib FFMPEG_LIBSWRESAMPLE-NOTFOUND or path FFMPEG_LIBSWRESAMPLE_INLUCDE_DIR-NOTFOUND ERROR_FATALFail. Not found required ffmpeg libs. ERROR_FATAL-- Required: avformat;avcodec;avfilter;avutil;swscale;swresample ERROR_FATAL-- But Only Found: FATAL_ERROR,Cannot find FFmpeg::FFmpeg target. --** Will use pkg_config to find Glog -- Checking for module 'libglog' -- Found libglog, version 0.4.0 -- pkg config lib: -- pkg config include: --** Will search Glog in default dirs: /usr;/usr/local;/sw;/opt;/opt/local;/usr/lib/x86_64-linux-gnu --** Searching Glog with dirs: /usr;/usr/local;/sw;/opt;/opt/local;/usr/lib/x86_64-linux-gnu -- Found lib --> /usr/lib/x86_64-linux-gnu/libglog.so and path /usr/include/glog Set target Glog::Glog: *Include: /usr/include/glog *Libraries: /usr/lib/x86_64-linux-gnu/libglog.so -- Configuring done CMake Error at CMakeLists.txt:65 (add_library): Target "ffdynamic" links to target "FFmpeg::FFmpeg" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing?