Package Details: ffmpeg-ndi 2:7.1.1-5

Git Clone URL: https://aur.archlinux.org/ffmpeg-ndi.git (read-only, click to copy)
Package Base: ffmpeg-ndi
Description: Complete solution to record, convert and stream audio and video
Upstream URL: https://ffmpeg.org
Licenses: GPL-3.0-only
Provides: libavcodec.so, libavdevice.so, libavfilter.so, libavformat.so, libavutil.so, libpostproc.so, libswresample.so, libswscale.so
Submitter: Magicking
Maintainer: Magicking
Last Packager: Magicking
Votes: 0
Popularity: 0.000000
First Submitted: 2025-07-10 21:40 (UTC)
Last Updated: 2025-12-01 16:12 (UTC)

Required by (275)

Sources (5)

Pinned Comments

Magicking commented on 2025-07-10 23:45 (UTC) (edited on 2026-01-21 14:32 (UTC) by Magicking)

It's a nonfree version hence some free packages such as x264 & all might be missing from the toolkit If you want to use that in coordination with the extra/ffmpeg package, compile the package locally, grab all the compiled libraries, and put that in dedicated folder and set the LD_LIBRARY_PATH to that folder, you can now use the compiled ffmpeg (best is via a shell script to avoid

Example from the ffmpeg-ndi/src/ffmpeg directory:

mkdir /tmp/ffmpeg
mv ffmpeg */*.61 */*.10 */*.59 */*.5 */*.8 */*.so /tmp/ffmpeg
cat > /tmp/ffmpeg/ffmpeg_start.sh <<HEREDOC
#!/bin/sh

export LD_LIBRARY_PATH=/tmp/ffmpeg-ndi

exec /tmp/ffmpeg/ffmpeg "$@"
HEREDOC
chmod +x /tmp/ffmpeg/ffmpeg_start.sh
/tmp/ffmpeg/ffmpeg_start.sh -f libndi_newtek -find_sources 1 -i dummy
/tmp/ffmpeg/ffmpeg_start.sh -fflags nobuffer -f libndi_newtek -bandwidth 0 -i 'CAMERA NAME HERE' -c:v copy -c:a copy -f nut pipe:1 | ffplay -i pipe:0

Latest Comments

Magicking commented on 2025-12-01 16:14 (UTC)

Hey Thom, thanks for bringing that up, I switched from glslang to shaderc, you should not have that issue anymore.

thom.cherryhomes commented on 2025-10-25 22:08 (UTC)

Well, according to the build log for ffmpeg, I see this:

/usr/bin/ld: cannot find -lHLSL: No such file or directory
/usr/bin/ld: cannot find -lOGLCompiler: No such file or directory
/usr/bin/ld: cannot find -lSPVRemapper: No such file or directory
collect2: error: ld returned 1 exit status
ERROR: spirv_compiler not found

These bits are no longer part of glslang, What happened?

Magicking commented on 2025-10-20 16:45 (UTC)

Hey Thom, at this point, if I were you, I would use strace to understan what binary this compilation require and/or where it's falling

best,

thom.cherryhomes commented on 2025-10-19 21:52 (UTC)

I've had to reinstall my system due to an SSD failure.

Since my reinstall, I could no longer use ffmpeg4.4 to get the needed codecs for NDI HX support in OBS.

Attempting to build either ffmpeg-ndi or ffmpeg7.1 results in the following error, despite having shaderc and glslang installed and used by the rest of the system:

ERROR: spirv_compiler not found

It has blown a very large hole in my workflow, as I need to deal with my only camera sources via NDI. :(

-Thom

Magicking commented on 2025-07-10 23:45 (UTC) (edited on 2026-01-21 14:32 (UTC) by Magicking)

It's a nonfree version hence some free packages such as x264 & all might be missing from the toolkit If you want to use that in coordination with the extra/ffmpeg package, compile the package locally, grab all the compiled libraries, and put that in dedicated folder and set the LD_LIBRARY_PATH to that folder, you can now use the compiled ffmpeg (best is via a shell script to avoid

Example from the ffmpeg-ndi/src/ffmpeg directory:

mkdir /tmp/ffmpeg
mv ffmpeg */*.61 */*.10 */*.59 */*.5 */*.8 */*.so /tmp/ffmpeg
cat > /tmp/ffmpeg/ffmpeg_start.sh <<HEREDOC
#!/bin/sh

export LD_LIBRARY_PATH=/tmp/ffmpeg-ndi

exec /tmp/ffmpeg/ffmpeg "$@"
HEREDOC
chmod +x /tmp/ffmpeg/ffmpeg_start.sh
/tmp/ffmpeg/ffmpeg_start.sh -f libndi_newtek -find_sources 1 -i dummy
/tmp/ffmpeg/ffmpeg_start.sh -fflags nobuffer -f libndi_newtek -bandwidth 0 -i 'CAMERA NAME HERE' -c:v copy -c:a copy -f nut pipe:1 | ffplay -i pipe:0