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. |
4th March 2023, 09:19 | #5 | Link |
Registered User
Join Date: Jan 2020
Posts: 34
|
OK thanks.
Another question : To compile x264 this time but with the libraries libswsale, libavformat, ffmpegsource and lsmash how do we do it? I'm using msys64 on windows to compile the x264. Thanks in advance Last edited by ghostshadow; 4th March 2023 at 09:49. |
4th March 2023, 10:07 | #6 | Link |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,277
|
You might want to look at https://github.com/m-ab-s/media-autobuild_suite it does compile x264 and x265 with all those dependencies.
Last edited by Selur; 4th March 2023 at 10:13. |
4th March 2023, 20:29 | #7 | Link | |
Registered User
Join Date: Jan 2020
Posts: 34
|
Quote:
But if I want to make my build from a source that I download (git of x264 mod), I find myself in the same situation. In the source folder of x264 I type this : ./configure --build=$MINGW_CHOST --host=$MINGW_CHOST --prefix=$LOCALDESTDIR --bindir=$LOCALDESTDIR/bin-video --enable-static --enable-pic --extra-cflags="-I/c/media-autobuild_suite-master/local64/include" --extra-ldflags=-L/c/media-autobuild_suite-master/local64/lib But the result is not good, it does not integrate me libswsale, libavformat etc .. ./configure --build=$MINGW_CHOST --host=$MINGW_CHOST --prefix=$LOCALDESTDIR --bindir=$LOCALDESTDIR/bin-video --enable-static --enable-pic --extra-cflags="-I/c/media-autobuild_suite-master/local64/include" --extra-ldflags=-L/c/media-autobuild_suite-master/local64/lib Unknown option --build=x86_64-w64-mingw32, ignored platform: X86_64 byte order: little-endian system: WINDOWS cli: yes libx264: internal shared: no static: yes bashcompletion: no asm: yes interlaced: yes avs: yes lavf: no ffms: no mp4: no gpl: yes thread: win32 opencl: yes filters: resize crop select_every lto: no debug: no gprof: no strip: no PIC: yes bit depth: all chroma format: all thanks Last edited by ghostshadow; 4th March 2023 at 20:35. |
|
4th March 2023, 21:09 | #9 | Link |
Registered User
Join Date: Jan 2020
Posts: 34
|
Thank but this is not good :
./configure --build=$MINGW_CHOST --host=$MINGW_CHOST --prefix=$LOCALDESTDIR --bindir=$LOCALDESTDIR/bin-video --enable-static --enable-pic --enable-lavf --extra-cflags="-I/c/media-autobuild_suite-master/local64/include" --extra-ldflags=-L/c/media-autobuild_suite-master/local64/lib Unknown option --build=x86_64-w64-mingw32, ignored Unknown option --enable-lavf, ignored |
9th March 2023, 19:11 | #10 | Link | |
Registered User
Join Date: Jan 2020
Posts: 34
|
it's good I managed to make my codecs by modifying the script of media-autobuild_suite-master.
On the other hand, on my x265 codec where I integrated avisynth, I can't use my bat script that I had when I used avs2yuv64.exe Quote:
|
|
15th March 2023, 07:17 | #12 | Link | |
ffx264/ffhevc author
Join Date: May 2007
Location: /dev/video0
Posts: 1,844
|
Quote:
yes, it does work with other programs. It's just an optimization. |
|
16th March 2023, 20:58 | #14 | Link | |
ffx264/ffhevc author
Join Date: May 2007
Location: /dev/video0
Posts: 1,844
|
Quote:
Ryzen 2xxx / 3xxx is znver2 Ryzen 5xxx is znver3 Or read the man page of GCC. |
|
16th March 2023, 22:07 | #15 | Link |
Registered User
Join Date: Jan 2020
Posts: 34
|
Hello, for me I won on alderlake on laptop 0.5 fps in x264 with avs denoise filter.( 6.15 fps)
For the ryzen3 I gain between 0.5 and 0.8 fps in x265 on pc. (5.2 fps) to compile you have to put: -march=znver3 -mtune=znver3 to compile with all the zen3 architecture for example. But in this case the codec will only work with ryzen 3. If you put that -mtune=znver3 he compiler does not generate any code that cannot run on the default machine |
17th March 2023, 22:11 | #17 | Link | |
ffx264/ffhevc author
Join Date: May 2007
Location: /dev/video0
Posts: 1,844
|
Quote:
it is only present in GCC 13 and above |
|
17th March 2023, 23:29 | #19 | Link |
ffx264/ffhevc author
Join Date: May 2007
Location: /dev/video0
Posts: 1,844
|
I can point you to the site of GCC but it only offers raw code. You'll have to compile it yourself. I do not know who offers Windows/MinGW binaries for GCC. There are some here on this forum
|
18th March 2023, 01:05 | #20 | Link | |
SuperVirus
Join Date: Jun 2012
Location: Antarctic Japan
Posts: 1,351
|
Quote:
NOTICE: experimental stuff. Play at your own risk :-/
__________________
«Your software patents have expired.» |
|
|
|