dcecd42de4
Snapshot FFmpeg n7.1 (release tag) с применённым patch'ем для cuframes input format. Используется как FFMPEG_REPO_OVERRIDE в NickM-27/FFmpeg-Builds fork для статической сборки patched binary под Frigate (Debian 12 / glibc 2.36). Apply changes: + libavformat/cuframesdec.c (новый — реализация демуксера) M libavformat/Makefile (CONFIG_CUFRAMES_DEMUXER target) M libavformat/allformats.c (extern declaration) M configure (--enable-libcuframes option + dep check) Patch source: https://git.goldix.org/gx/cuframes (filter/ffmpeg-7.1-cuframes-demuxer.patch) History сброшена (snapshot вместо fork) потому что upstream shallow clone не позволял push в gitea. Полная история FFmpeg — на github.com/FFmpeg/FFmpeg n7.1.
33 lines
636 B
Bash
Executable File
33 lines
636 B
Bash
Executable File
#!/bin/sh
|
|
|
|
if [ "$1" = "--version" ]; then
|
|
rc.exe -?
|
|
exit $?
|
|
fi
|
|
|
|
if [ $# -lt 2 ]; then
|
|
echo "Usage: mswindres [-I/include/path ...] [-DSOME_DEFINE ...] [-o output.o] input.rc [output.o]" >&2
|
|
exit 0
|
|
fi
|
|
|
|
EXTRA_OPTS="-nologo"
|
|
|
|
while [ $# -gt 2 ]; do
|
|
case $1 in
|
|
-D*) EXTRA_OPTS="$EXTRA_OPTS -d$(echo $1 | sed -e "s/^..//" -e "s/ /\\\\ /g")" ;;
|
|
-I*) EXTRA_OPTS="$EXTRA_OPTS -i$(echo $1 | sed -e "s/^..//" -e "s/ /\\\\ /g")" ;;
|
|
-o) OPT_OUT="$2"; shift ;;
|
|
esac
|
|
shift
|
|
done
|
|
|
|
IN="$1"
|
|
if [ -z "$OPT_OUT" ]; then
|
|
OUT="$2"
|
|
else
|
|
OUT="$OPT_OUT"
|
|
fi
|
|
|
|
eval set -- $EXTRA_OPTS
|
|
rc.exe "$@" -fo "$OUT" "$IN"
|