ryanmccartney / ffmpeg-docker Goto Github PK
View Code? Open in Web Editor NEWFFmpeg in a container with an API and optional Decklink support
Home Page: https://ryan.mccartney.info/ffmpeg-docker
License: GNU General Public License v3.0
FFmpeg in a container with an API and optional Decklink support
Home Page: https://ryan.mccartney.info/ffmpeg-docker
License: GNU General Public License v3.0
DECKLINK_DRIVER_DEB="./Blackmagic_Desktop_Video_Linux_$DECKLINK_DRIVER_VERSION/deb/x86_64/desktopvideo_12.4.1a15_amd64.deb" &&\
I don't think this is consistent across versions though - you may have to grep the file list for the one matching 'desktopvideo'.
./Blackmagic_Desktop_Video_Linux_12.7.1/deb/x86_64/desktopvideo-gui_12.7.1a1_amd64.deb
#10 22.76 /bin/sh: 1: [[: not found
#10 22.76 ./Blackmagic_Desktop_Video_Linux_12.7.1/deb/x86_64/desktopvideo_12.7.1a1_amd64.deb
#10 22.76 /bin/sh: 1: [[: not found./Blackmagic_Desktop_Video_Linux_12.7.1/deb/x86_64/mediaexpress_3.8.1a4_amd64.deb
#10 22.76
#10 22.76 /bin/sh: 1: [[: not found
#10 23.22 Selecting previously unselected package desktopvideo.
#10 24.38 (Reading database ... 30487 files and directories currently installed.)
#10 24.38 Preparing to unpack .../desktopvideo_12.7.1a1_amd64.deb ...
#10 24.38 Unpacking desktopvideo (12.7.1a1) ...
#10 26.46 dpkg: dependency problems prevent configuration of desktopvideo:
#10 26.46 desktopvideo depends on dkms; however:
#10 26.46 Package dkms is not installed.
#10 26.46 desktopvideo depends on linux-headers-686-pae | linux-headers-686 | linux-headers-amd64 | linux-headers-arm64 | linux-headers-generic | linux-headers; however:
#10 26.46 Package linux-headers-686-pae is not installed.
#10 26.46 Package linux-headers-686 is not installed.
#10 26.46 Package linux-headers-amd64 is not installed.
#10 26.46 Package linux-headers-arm64 is not installed.
#10 26.46 Package linux-headers-generic is not installed.
#10 26.46 Package linux-headers is not installed.
#10 26.46
#10 26.46 dpkg: error processing package desktopvideo (--install):
#10 26.46 dependency problems - leaving unconfigured
#10 26.48 Errors were encountered while processing:
#10 26.48 desktopvideo
#10 26.79
#10 26.79 WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
#10 26.79
#10 26.85 Reading package lists...
#10 28.39 Building dependency tree...
#10 28.58 Reading state information...
#10 28.59 Correcting dependencies... Done
#10 28.81 The following additional packages will be installed:
#10 28.81 cpp-12 dctrl-tools distro-info-data dkms gcc-12 kmod libasan8 libgcc-12-dev
#10 28.81 libkmod2 libtsan2 linux-headers-5.15.0-89 linux-headers-5.15.0-89-generic
#10 28.81 linux-headers-generic lsb-release sudo
#10 28.81 Suggested packages:
#10 28.81 gcc-12-locales cpp-12-doc debtags menu gcc-12-multilib gcc-12-doc
#10 28.92 The following NEW packages will be installed:
#10 28.92 cpp-12 dctrl-tools distro-info-data dkms gcc-12 kmod libasan8 libgcc-12-dev
#10 28.92 libkmod2 libtsan2 linux-headers-5.15.0-89 linux-headers-5.15.0-89-generic
#10 28.92 linux-headers-generic lsb-release sudo
#10 28.97 0 upgraded, 15 newly installed, 0 to remove and 9 not upgraded.
#10 28.97 1 not fully installed or removed.
#10 28.97 Need to get 56.5 MB of archives.
> [ffmpeg-docker 18/27] RUN CONFIGURE_OPTIONS="" && FDK_ACC="" && if [ "true" = "true" ]; then
CONFIGURE_OPTIONS="--enable-nonfree --enable-libsrt --disable-libaom --disable-libsvtav1 --enable-libklvanc --
enable-libvmaf --enable-libfdk-aac " && FDK_AAC="--enable-libfdk-aac"; fi && if [ "false" = "true" ]; then
CONFIGURE_OPTIONS="$CONFIGURE_OPTIONS --enable-libndi_newtek "; fi && if [ "true" = "true" ]; then
CONFIGURE_OPTIONS="$CONFIGURE_OPTIONS--enable-decklink "; fi && echo "Extra Configured Options:
$CONFIGURE_OPTIONS" && ./configure --prefix="$HOME/ffmpeg_build" --pkg-config-flags="--static"
--extra-cflags="-I$HOME/ffmpeg_build/include -I$HOME/ffmpeg_sources/BMD_SDK/include" --extra-ldflags="-
L$HOME/ffmpeg_build/lib" --extra-libs="-lpthread -lm" --ld="g++" --bindir="$HOME/bin" --enable-
gnutls --enable-libass $FDK_AAC --enable-libfreetype --enable-libmp3lame --enable-libopus
--enable-libdav1d --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-
gpl $CONFIGURE_OPTIONS:
0.352 Extra Configured Options: --enable-nonfree --enable-libsrt --disable-libaom --disable-libsvtav1 --enable-libklvanc
--enable-libvmaf --enable-libfdk-aac --enable-decklink
9.227 ERROR: libvmaf >= 1.5.2 not found using pkg-config
At the moment it's not used. Should it be a cardName instead
Hi,
Can you kindly include support for NVIDIA and Intel Quick Sync video encoders?
Regards,
Fahad
Hi,
I hope your are doing well.
It would be great if you can add libklvanc during ffmpeg compile process that is used for parsing/generation of Vertical Ancillary Data (VANC) commonly found in the Serial Digital Interface (SDI) wire protocol.
https://github.com/stoth68000/libklvanc
The library includes a general parser/decoder and an encoder for VANC lines, as well as the ability to both decode and generate protocols commonly found in SDI, including:
SMPTE ST 334 - CEA-708 closed captions in VANC
SMPTE ST 2016 Active Format Descriptor (AFD) and Bar Data
SCTE-104 Ad triggers
SMPTE ST 2038 arbitrary VANC encapsulation
SMPTE ST 12-2 Timecodes
SMPTE RDD 8 Subtitle Distribution packets
Regards,
Fahad
Hi,
I am trying to build with Decklink and NDI support and successfully build.
I am getting error when trying to run container using docker compose up.
Error: (HTTP code 500) server error - error gathering device information while adding custom device "/dev/blackmagic/io0": no such file or directory
Regards,
Fahad
Lots of errors - spamming the logs.
Seems to try, die, then restart and try again. Perhaps should just try once?
Hi,
It would be great to have a WebUI for operation.
Regards,
Fahad
Please can you provide an endpoint to list files in the /media folder in the ffmpeg docker container?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.