Author Topic: Configuration script for bulding ffmpeg 8.0.1  (Read 59521 times)

Dave Yeo

  • Hero Member
  • *****
  • Posts: 6073
  • Karma: +169/-2
Re: Configuration script for bulding ffmpeg 8.0.1
« Reply #15 on: April 20, 2026, 07:33:29 am »
Interesting, that was the command that the FFmpeg developers said to use many years back. Time goes on.
If you remember, when I first used the command, it failed as upstream didn't support xttrs and you added a switch to disable xttrs. Looking at the dates, 16 years has gone by :(

Igor

  • Full Member
  • ***
  • Posts: 158
  • Karma: +20/-0
Re: Configuration script for bulding ffmpeg 8.0.1
« Reply #16 on: April 20, 2026, 09:43:52 pm »
Hi,
I couldn't get this to work.
If anyone has the opportunity to download this and post it somewhere by any means, I would be grateful.

Interesting, that was the command that the FFmpeg developers said to use many years back. Time goes on.
If you remember, when I first used the command, it failed as upstream didn't support xttrs and you added a switch to disable xttrs. Looking at the dates, 16 years has gone by :(

Remy

  • Hero Member
  • *****
  • Posts: 980
  • Karma: +16/-1
Re: Configuration script for bulding ffmpeg 8.0.1
« Reply #17 on: April 20, 2026, 10:09:31 pm »
Hi!
I found ffmpeg 8.0.1 on experimental depository which has a fallback to 4.2.2 issue, having to remove extra codec installed dlls first.

I'm currently updating my AVxCAT (bugs are resolved, adding NLS language file for easier use, EN and Fr files will be provided by default to allow easy other language customisation - only single byte chars support now - etc...).
I quick 8.0.1 test gives some errors due to changes into ffmpeg as it often happens. I'm updating my code for compatibility but not fully done. It seems to be faster !
As soon I could test most functions well working, I'll give a try to this build too.
Regards     

Dave Yeo

  • Hero Member
  • *****
  • Posts: 6073
  • Karma: +169/-2
Re: Configuration script for bulding ffmpeg 8.0.1
« Reply #18 on: April 20, 2026, 11:10:42 pm »
Hi,
I couldn't get this to work.
If anyone has the opportunity to download this and post it somewhere by any means, I would be grateful.

Interesting, that was the command that the FFmpeg developers said to use many years back. Time goes on.
If you remember, when I first used the command, it failed as upstream didn't support xttrs and you added a switch to disable xttrs. Looking at the dates, 16 years has gone by :(

Try the directions at
Code: [Select]
https://ffmpeg.org/fate.htmlIn particular
Code: [Select]
./configure --enable-somelib --samples=/path/to/fate-suite
make fate-rsync
Which should pull the fate-suite.
If needed I can upload it tonight, even 7z it is close to a GB and I don't have the best connection, probably hours to upload.

Steven Levine

  • Full Member
  • ***
  • Posts: 160
  • Karma: +17/-0
Re: Configuration script for bulding ffmpeg 8.0.1
« Reply #19 on: April 21, 2026, 08:50:16 pm »
Dave, the command you were given worked fine at the time because the maximum native rsync protocol version was 30.

The chosen options are not going to break anything, but they are far less than optimal.  This is easy to test.

Dave Yeo

  • Hero Member
  • *****
  • Posts: 6073
  • Karma: +169/-2
Re: Configuration script for bulding ffmpeg 8.0.1
« Reply #20 on: April 21, 2026, 11:13:44 pm »
Trunk is now broken. One problem,
Code: [Select]
rm -f libavdevice/libavdevice_s.a
echo libavdevice/alldevices.o libavdevice/avdevice.o libavdevice/lavfi.o libavdevice/utils.o libavdevice/version.o > libavdevice/libavdevice_s.a.objs
ar rcD libavdevice/libavdevice_s.a @libavdevice/libavdevice_s.a.objs
ar: libavdevice/alldevices.o libavdevice/avdevice.o libavdevice/lavfi.o libavdevice/utils.o libavdevice/version.o: No such file or directory
make: *** [K:/fate.ffmpeg/src/ffbuild/library.mak:39: libavdevice/libavdevice_s.a] Error 1
Not sure what the problem is there, the object files are all there and the response file looks fine.
Bigger problem going forward,
Code: [Select]
nasm -f aout -DPREFIX -I./ -Isrc// -Isrc/libavcodec/x86/ -Pconfig.asm  -MD libavcodec/x86/vp8dsp.d  -o libavcodec/x86/vp8dsp.o src/libavcodec/x86/vp8dsp.asm
src/libavcodec/x86/vp8dsp.asm:416: error: (ALLOC_STACK:4) expecting `)'
src/libavcodec/x86/vp8dsp.asm:176: ... from macro `FILTER_SSSE3' defined here
src//libavutil/x86/x86inc.asm:821: ... from macro `cglobal' defined here
src//libavutil/x86/x86inc.asm:859: ... from macro `cglobal_internal' defined here
src//libavutil/x86/x86inc.asm:712: ... from macro `PROLOGUE' defined here
src//libavutil/x86/x86inc.asm:414: ... from macro `ALLOC_STACK' defined here
src/libavcodec/x86/vp8dsp.asm:416: error: (ALLOC_STACK:4) expecting `)'
src/libavcodec/x86/vp8dsp.asm:231: ... from macro `FILTER_SSSE3' defined here
src//libavutil/x86/x86inc.asm:821: ... from macro `cglobal' defined here
src//libavutil/x86/x86inc.asm:859: ... from macro `cglobal_internal' defined here
src//libavutil/x86/x86inc.asm:712: ... from macro `PROLOGUE' defined here
src//libavutil/x86/x86inc.asm:414: ... from macro `ALLOC_STACK' defined here
src/libavcodec/x86/vp8dsp.asm:417: error: (ALLOC_STACK:4) expecting `)'
src/libavcodec/x86/vp8dsp.asm:176: ... from macro `FILTER_SSSE3' defined here
src//libavutil/x86/x86inc.asm:821: ... from macro `cglobal' defined here
src//libavutil/x86/x86inc.asm:859: ... from macro `cglobal_internal' defined here
src//libavutil/x86/x86inc.asm:712: ... from macro `PROLOGUE' defined here
src//libavutil/x86/x86inc.asm:414: ... from macro `ALLOC_STACK' defined here
src/libavcodec/x86/vp8dsp.asm:417: error: (ALLOC_STACK:4) expecting `)'
src/libavcodec/x86/vp8dsp.asm:231: ... from macro `FILTER_SSSE3' defined here
src//libavutil/x86/x86inc.asm:821: ... from macro `cglobal' defined here
src//libavutil/x86/x86inc.asm:859: ... from macro `cglobal_internal' defined here
src//libavutil/x86/x86inc.asm:712: ... from macro `PROLOGUE' defined here
src//libavutil/x86/x86inc.asm:414: ... from macro `ALLOC_STACK' defined here
make: *** [src/ffbuild/common.mak:113: libavcodec/x86/vp8dsp.o] Error 1

I can't see what the problem is, too many macros.


Dave Yeo

  • Hero Member
  • *****
  • Posts: 6073
  • Karma: +169/-2
Re: Configuration script for bulding ffmpeg 8.0.1
« Reply #21 on: April 22, 2026, 03:23:49 am »
Trunk is now broken. One problem,
Code: [Select]
rm -f libavdevice/libavdevice_s.a
echo libavdevice/alldevices.o libavdevice/avdevice.o libavdevice/lavfi.o libavdevice/utils.o libavdevice/version.o > libavdevice/libavdevice_s.a.objs
ar rcD libavdevice/libavdevice_s.a @libavdevice/libavdevice_s.a.objs
ar: libavdevice/alldevices.o libavdevice/avdevice.o libavdevice/lavfi.o libavdevice/utils.o libavdevice/version.o: No such file or directory
make: *** [K:/fate.ffmpeg/src/ffbuild/library.mak:39: libavdevice/libavdevice_s.a] Error 1
Not sure what the problem is there, the object files are all there and the response file looks fine.
Bigger problem going forward,

The problem with the static lib is that the response file is all one line instead of each argument having its own line. Not sure what to do about that

Dave Yeo

  • Hero Member
  • *****
  • Posts: 6073
  • Karma: +169/-2
Re: Configuration script for bulding ffmpeg 8.0.1
« Reply #22 on: April 22, 2026, 05:36:00 am »
This fixes the response file, but depends on GNU sed, so would fail on *BSD including MacOS
Code: [Select]
diff --git a/ffbuild/library.mak b/ffbuild/library.mak
index 91daa9c25f..6b87803d01 100644
--- a/ffbuild/library.mak
+++ b/ffbuild/library.mak
@@ -37,6 +37,7 @@ $(SUBDIR)$(LIBNAME): $(OBJS) $(STLIBOBJS)
        $(RM) $@
 ifeq ($(RESPONSE_FILES),yes)
        $(Q)echo $^ > $@.objs
+       $(Q)sed -i  's/ /\n/g' $@.objs
        $(AR) $(ARFLAGS) $(AR_O) @$@.objs
 else
        $(AR) $(ARFLAGS) $(AR_O) $^

Wonder how to do it with tr
Code: [Select]
tr ' '' \n' < filename
just echos the fixed file to stdout
Edt: fix tr command
« Last Edit: April 22, 2026, 05:44:00 am by Dave Yeo »

Remy

  • Hero Member
  • *****
  • Posts: 980
  • Karma: +16/-1
Re: Configuration script for bulding ffmpeg 8.0.1
« Reply #23 on: September 02, 2026, 12:37:23 am »
Hi!

Now, I give a try to these builds and the first issue I have is the version number not been correctly issued using fmpeg -version
the 8.0.1 should reply >  ffmpeg version 8.0.1 and  8.1 should reply  ffmpeg version 8.1.0

But here is what is replied !
for 8.0.1 > ffmpeg version n8.0.1 
for 8.1.0 > ffmpeg version N-123885-g283faf55f8

Can it be changed to issue the correct ffmpeg version according previous version style ?.

thx

note:
I just updated my next AVxCAT 2.3.0 (expected to be GA soon) with added compatibility for ffmpeg 8.0.1 available on exp netlabs.

- for those interested to give it a try (a lot of updates, bug resolution, better responsiveness, rewritten code for cd covers (up to a max of 3 albums art proposed for selection if found), optimized color options + user color setting mode (for expert) as well other language support (EN, FR, DE currently done but user can code its own language file) etc... included a special prereqs tools which scans your system for required / optional tools generating a html result including missing tools with links and/or rpm command if rpm/yum installed... new path order using unix like model (A major update)

Currently, I'm updating the corresponding PDF file.
I can provide a special link if some are interested as new install package except the current pdf isn't fully updated yet
send me a private message or email if interested with (for those having AVxCAT installed, use the write to author option or the contact link from my web page.     

Regards