Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Development

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 3rd January 2018, 00:29   #1  |  Link
qyot27
...?
 
qyot27's Avatar
 
Join Date: Nov 2005
Location: Florida
Posts: 1,419
FFmpegSource - C-plugin

Since it's easier, I'll keep this first post updated with newer builds whenever one happens.

Issues tracker (for C plugin issues only): https://github.com/qyot27/ffms2_cplugin/issues

FFMS2 C-plugin r1424+174

Standard C-plugin builds are in amd64, i686, and aarch64 directories.

The c++_avsgcc directory contains builds of the C++ plugin for use with
GCC builds of AviSynth+. To use them, create a plugins_gcc or plugins64_gcc
directory and place them there instead of in plugins(+) or plugins(+)64.
The plugins*_gcc directory probably also needs to have a registry entry
added for it like the standard 32-bit and 64-bit plugin directories have.


FFmpeg version is N-113236-g90bef6390f + the following patch from ffvvc:
https://github.com/ffvvc/FFmpeg/pull...4a86b8b82e519a

ffmpeg version N-113236-g90bef6390f Copyright (c) 2000-2024 the FFmpeg developers
built with gcc 13.2.0 (GCC)
libavutil 58. 36.101 / 58. 36.101
libavcodec 60. 37.100 / 60. 37.100
libavformat 60. 20.100 / 60. 20.100
libavfilter 9. 17.100 / 9. 17.100
libswscale 7. 6.100 / 7. 6.100
libswresample 4. 13.100 / 4. 13.100
libpostproc 57. 4.100 / 57. 4.100

configuration (amd64):
Code:
    --prefix=/home/qyot27/mpv-build-deps/ffmpeg_build_for_ffms2/amd64
    --cross-prefix=x86_64-w64-mingw32-
    --enable-gpl
    --enable-version3
    --disable-w32threads
    --disable-encoders
    --disable-muxers
    --disable-doc
    --disable-debug
    --disable-devices
    --disable-avdevice
    --enable-libdav1d
    --disable-decoder=aac_fixed
    --disable-decoder=ac3_fixed
    --disable-decoder=mp1
    --disable-decoder=mp2
    --disable-decoder=mp3
    --disable-decoder=mp3adu
    --disable-decoder=mp3on4
    --cpu=core2
    --extra-cflags='-march=core2'
    --target-os=mingw32
    --arch=x86_64

configuration (i686):
Code:
    --prefix=/home/qyot27/mpv-build-deps/ffmpeg_build_for_ffms2/i686
    --cross-prefix=x86_64-w64-mingw32-
    --windres='x86_64-w64-mingw32-windres -F pe-i386'
    --enable-gpl
    --enable-version3
    --disable-w32threads
    --disable-encoders
    --disable-muxers
    --disable-doc
    --disable-debug
    --disable-devices
    --disable-avdevice
    --enable-libdav1d
    --disable-decoder=aac_fixed
    --disable-decoder=ac3_fixed
    --disable-decoder=mp1
    --disable-decoder=mp2
    --disable-decoder=mp3
    --disable-decoder=mp3adu
    --disable-decoder=mp3on4
    --cpu=pentium3
    --extra-cflags='-m32 -mfpmath=sse -march=pentium3 -msse -mtune=pentium3'
    --extra-ldflags='-m32 -L/usr/i686-w64-mingw32/lib'
    --target-os=mingw32
    --arch=x86

configuration (aarch64):
Code:
    --prefix=$HOME/mpv-build-deps/ffmpeg_build_for_ffms2/aarch64
    --cross-prefix=aarch64-w64-mingw32-
    --windres="aarch64-w64-mingw32-windres -I/usr/llvm-mingw/generic-w64-mingw32/include"
    --enable-gpl
    --enable-version3
    --disable-w32threads
    --disable-encoders
    --disable-muxers
    --disable-doc
    --disable-debug
    --disable-devices
    --disable-avdevice
    --enable-libdav1d
    --disable-decoder=aac_fixed
    --disable-decoder=ac3_fixed
    --disable-decoder=mp1
    --disable-decoder=mp2
    --disable-decoder=mp3
    --disable-decoder=mp3adu
    --disable-decoder=mp3on4
    --extra-cflags="-I/usr/aarch64-w64-mingw32/include"
    --extra-ldflags="-I/usr/aarch64-w64-mingw32/lib"
    --target-os=mingw32
    --arch=aarch64
FFMS2 C-plugin r1315+119 (Final LastXP build)

Optimized for Pentium-III and SSE (32-bit)
Optimized for Core2 (64-bit)

ffmpeg version r90798 master-21da248b5f HEAD-a56580b117
contains: lastxp_wincrypt
Copyright (c) 2000-2018 the FFmpeg developers
built with gcc 7.2.0 (GCC)
libavutil 56. 13.100 / 56. 13.100
libavcodec 58. 17.100 / 58. 17.100
libavformat 58. 11.101 / 58. 11.101
libavfilter 7. 15.100 / 7. 15.100
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 0.102 / 5. 0.102
libswresample 3. 0.101 / 3. 0.101
libpostproc 55. 0.100 / 55. 0.100

32-bit configuration:
Code:
    --prefix=/home/qyot27/ffmpeg_build_for_ffms2/32bit
    --cross-prefix=i686-w64-mingw32-
    --enable-gpl
    --enable-version3
    --disable-w32threads
    --enable-avresample
    --disable-encoders
    --disable-muxers
    --disable-doc
    --disable-debug
    --disable-devices
    --disable-avdevice
    --extra-cflags='-mfpmath=sse -march=pentium3 -msse -mtune=pentium3'
    --target-os=mingw32
    --arch=x86
64-bit configuration:
Code:
    --prefix=/home/qyot27/ffmpeg_build_for_ffms2/64bit
    --cross-prefix=x86_64-w64-mingw32-
    --enable-gpl
    --enable-version3
    --disable-w32threads
    --enable-avresample
    --disable-encoders
    --disable-muxers
    --disable-doc
    --disable-debug
    --disable-devices
    --disable-avdevice
    --extra-cflags='-march=core2'
    --target-os=mingw32
    --arch=x86
FFmpeg has now switched from wincrypt to bcrypt, and this is too far-reaching of a change for any selective revert to handle - the system library it links against changed (and bcrypt.dll is not available on XP; it's part of Vista+'s API), and far more importantly, the code that requires the random_seed functions that the *crypt library is called in for is spread throughout the FFmpeg codebase - it's used in encoders, decoders, and [de]muxers, so unlike the winthread/pthread thing last time, this time XP compatibility is probably broken for good. While it could probably hang on for a while doing increasingly labor-intensive merge integrations to revert the bcrypt commits, make sure everything still compiles, and that no unwanted behavior arises because of the use of winthread, I'm not particularly enthused to do so, and the alternatives (Wine, ReactOS, using Wine in Windows if you can get it compiled) are more compelling in the long term.

Last edited by qyot27; 8th January 2024 at 08:48. Reason: EDIT 2024-01-08: r1424+174
qyot27 is offline   Reply With Quote
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:36.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.