Windows XP compatible non-SSE2 FFmpeg builds

Announcements made by users.
Post Reply
Reino
Posts: 59
Joined: Thu Aug 22, 2013 5:14 pm
Contact:

Windows XP compatible non-SSE2 FFmpeg builds

Post by Reino » Sat Apr 27, 2019 12:17 pm

(Kyle ("Zeranoe") accidentally removed the "Making Zeranoe builds work under XP & XP builds by rogerdpack"-topic, so I've created a new one.)

I still own an AMD Athlon XP 3200+ (no SSE2) pc running a highly tweaked Windows XP Pro SP3 install, which I'm still quite font of.
An increasing amount of software doesn't work on WinXP and/or my old cpu anymore. FFmpeg however isn't one of them.

Some time ago I've made an extraction-script for a handful of Dutch video-on-demand websites. It's sort of like a lite version of Youtube-dl.
FFmpeg has officially dropped support for Windows XP. Zeranoe's FFmpeg builds don't work on my pc anymore either. So about 2 years ago I decided to try building my own FFmpeg binaries by forking Roger Pack's ffmpeg-windows-build-helpers script.
With a legacy hardware/software compatible FFmpeg build I could yet again open/download video-urls (extracted by my "BashGemist" script) on my old pc. And of course I've decided to share it with the rest of the world.

Build configuration:

Code: Select all

  configuration:
    --arch=x86
    --target-os=mingw32
    --cross-prefix=/cygdrive/m/ffmpeg-windows-build-helpers-master/ffmpeg_local_builds/sandbox/cross_compilers/mingw-w64-i686/bin/i686-w64-mingw32-
    --pkg-config=pkg-config --pkg-config-flags=--static
    --extra-version=Reino
    --enable-gray
    --enable-version3
    --disable-debug
    --disable-doc
    --disable-htmlpages
    --disable-manpages
    --disable-podpages
    --disable-txtpages
    --disable-w32threads
    --enable-avisynth
    --enable-frei0r
    --enable-filter=frei0r
    --enable-gmp
    --enable-gpl
    --enable-libaom
    --enable-libass
    --enable-libbluray
    --enable-libbs2b
    --enable-libcaca
    --extra-cflags=-DCACA_STATIC
    --enable-libfdk-aac
    --enable-libflite
    --enable-libfontconfig
    --enable-libfreetype
    --enable-libfribidi
    --enable-libgme
    --enable-libgsm
    --enable-libilbc
    --enable-libmp3lame
    --enable-libmysofa
    --enable-libopencore-amrnb
    --enable-libopencore-amrwb
    --enable-libopenh264
    --enable-libopenmpt
    --enable-libopus
    --enable-librubberband
    --enable-libsnappy
    --enable-libsoxr
    --enable-libspeex
    --enable-libtheora
    --enable-libtwolame
    --extra-cflags=-DLIBTWOLAME_STATIC
    --enable-libvidstab
    --enable-libvmaf
    --enable-libvo-amrwbenc
    --enable-libvorbis
    --enable-libvpx
    --enable-libwebp
    --enable-libx264
    --enable-libx265
    --enable-libxavs
    --enable-libxml2
    --enable-libxvid
    --enable-libzimg
    --enable-libzvbi
    --enable-mbedtls
    --extra-cflags='-march=pentium3'
    --extra-cflags='-mtune=athlon-xp'
    --extra-cflags=-O2
    --extra-cflags='-mfpmath=sse'
    --extra-cflags=-msse
    --enable-static
    --disable-shared
    --prefix=/cygdrive/m/ffmpeg-windows-build-helpers-master/ffmpeg_local_builds/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32
Changelog (30-06-2019):

Code: Select all

FFmpeg buildscript:
  cmake 3.14.3      --> cmake 3.14.5
  libiconv 1.15     --> libiconv 1.16
  fontconfig 2.13.1 --> fontconfig 2.13.91
  mbedtls 2.16.1    --> mbedtls 2.16.2
  libopenmpt 0.4.4  --> libopenmpt 0.4.5
                    --> libvmaf_git
  *_git             --> latest commit

  ffmpeg-N-93674-g1e01f66 --> ffmpeg 4.2-1811-g89b9690 (N-94137)

Other:
  frei0r-plugins 1.6.1-86-g0dc64db --> frei0r-plugins 1.6.1-94-gf1b1074
  openssl 1.0.2r                   --> openssl 1.0.2s
  openssl 1.1.1b                   --> openssl 1.1.1c
  curl 7.64.1                      --> curl 7.65.1
                                   --> xidel 0.9.9-6885-g25dafcb
                                   --> xidel 0.9.9-6885-g25dafcb (openssl)
FFmpeg downloads
Other downloads
Github repository
Last edited by Reino on Sun Jun 30, 2019 2:12 pm, edited 1 time in total.

anuswara
Posts: 18
Joined: Thu Aug 11, 2011 5:16 pm

Re: Windows XP compatible non-SSE2 FFmpeg builds

Post by anuswara » Sat Apr 27, 2019 9:13 pm

Hi,

thanks. Sorry if I dont understand the code of the name: does ffmpeg-N-93674-g1e01f66 means that it is the 4.1.3 al-Khwarizmi?
thanks.

(PS: I warmly hope that this will be and remain the stable topic for this matter).

Reino
Posts: 59
Joined: Thu Aug 22, 2013 5:14 pm
Contact:

Re: Windows XP compatible non-SSE2 FFmpeg builds

Post by Reino » Sun Apr 28, 2019 8:44 am

Unless specified otherwise, I'm always using the latest git version.
And you can easily find out for yourself. With the SHA-1 commit hash, ffmpeg-N-93674-g1e01f66, visit https://github.com/FFmpeg/FFmpeg/commit/1e01f66 and you'll see that this commit was made on April 22 (but pushed on April 26).
So yes, it's newer than FFmpeg 4.1.3 "al-Khwarizmi".

manolito
Posts: 12
Joined: Wed Apr 20, 2016 4:02 pm

Re: Windows XP compatible non-SSE2 FFmpeg builds

Post by manolito » Sun Apr 28, 2019 1:10 pm

Thanks very much to CoRoNe for keeping up providung us XP users with current FFmpeg builds... :D

Both the static and the shared builds passed all my tests without any hiccups.

Thanks again
manolito

anuswara
Posts: 18
Joined: Thu Aug 11, 2011 5:16 pm

Re: Windows XP compatible non-SSE2 FFmpeg builds

Post by anuswara » Sun Apr 28, 2019 2:22 pm

Thanks again to Corone from me too (Vista32 SP2 user).

See you on friday 30th august :)

Reino
Posts: 59
Joined: Thu Aug 22, 2013 5:14 pm
Contact:

Re: Windows XP compatible non-SSE2 FFmpeg builds

Post by Reino » Sun Jun 30, 2019 2:58 pm

An interim update with most notably:
- Added libvmaf filter (Netflix's VMAF).
- Renamed all new releases in a more recognizable way, including a version and build string for FFmpeg.

Please visit the following urls on how to use libvmaf:
https://ffmpeg.org/ffmpeg-filters.html#libvmaf
https://github.com/Netflix/vmaf/blob/ma ... ith-ffmpeg

https://ffmpeg.org/ffmpeg-filters.html#libvmaf:
If no model path is specified it uses the default model: vmaf_v0.6.1.pkl.
You need to download 'vmaf_v0.6.1.pkl' and 'vmaf_v0.6.1.pkl.model', or this filter won't work.
By default FFmpeg is looking in '/usr/local/share/model/' for this file, so you always need to specify the path.
If you downloaded both files in the same map as 'ffmpeg.exe':

Code: Select all

ffmpeg.exe -i main -i ref -lavfi "libvmaf=model_path=vmaf_v0.6.1.pkl" -f null -
If you downloaded both files in another map:

Code: Select all

ffmpeg.exe -i main -i ref -lavfi "libvmaf=model_path='D\:/other_map/vmaf_v0.6.1.pkl'" -f null -
See post #1 for more info.

Post Reply
'