by gyan · 4y ago · 0 comments
FFmpeg relies on libjxl for decoding and encoding. Support added in
https://git.videolan.org/?p=ffmpeg.git;a=commit;h=458cc7e314...
https://git.videolan.org/?p=ffmpeg.git;a=commit;h=5f0b4e9c70...
The Windows static builds have binaries with this support. The linux and MacOS builds don't, as yet.
If it works, it works. Haven't encountered any major issues with writing them in my years.
Off the top of my head, take this make example:
%.o: %.c %.h
gcc -o $@ $<
mkdir $*
cp $@ $*
and spell it out a bit more: $MATCH$.o <- $MATCH$.c $MATCH$.h
gcc -o $OUT$ $FIRST_DEPEND$
mkdir $MATCH$
cp $OUT$ $MATCH$
Obviously this needs a lot more thought than that, but I think newbies would find the 2nd format much more friendly than the first.For new projects, people may prefer to use something like Zig as the build system. But a build system is not what will make the project faster or magically add new features and fix bugs. What makes that happen is developers being comfortable with the source code, including its build system.