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 > Programming and Hacking > Development

Reply
 
Thread Tools Search this Thread Display Modes
Old 1st March 2023, 19:14   #1  |  Link
Jamaika
Registered User
 
Join Date: Jul 2015
Posts: 678
New additions to ffmpeg evc, vvc, htj2k

New additions to ffmpeg evc, vvc, htj2k
After month I managed to create ffmpeg converter. SIMD AVX2
This is the beginning of the implementation of evc, vvc, htj2k.
Added extras:

libaom_x64.dll libaribb24_x64.dll libavcodec_x64.dll libavformat_x64.dll libavutil_x64.dll libcairo_pixman_x64.dll libcelt_opus_silk_x64.dll libcelt_x64.dll libcodec2_x64.dll libdav1d_x64.dll libdavs2_x64.dll libgsmfr_x64.dll libharfbuzz_x64.dll libiconv_x64.dll libjxl_x64.dll libkvazaar_x64.dll liblcms2_x64.dll libmp3lame_x64.dll libogg_x64.dll libopenh264_x64.dll libopenjpeg_x64.dll libpng_x64.dll libpthread_win32.dll librsvg_x64.dll libsdl2_x64.dll libshine_x64.dll libsnappy_x64.dll libspeex_x64.dll libsvtav1_x64.dll libswresample_x64.dll libswscale_x64.dll libtheora_x64.dll libtwolame_x64.dll libuavs3d_x64.dll libuavs3e_x64.dll libvorbis_x64.dll libvpx_x64.dll libwebp_x64.dll libx264_0810bit_x64.dll libx265_081012bit_x64.dll libxavs_x64.dll libxavs2_x64.dll libxevd_x64.dll libxeve_x64.dll libxml2_x64.dll libxvid_x64.dll zlib_x64.dll libuvg266


If I have time my dump is github.
https://github.com/Jamaika1/plugins_...tj2k/tree/main
Perhaps on the forum there are other converters and players evc/vvc/htj2k/jpegxs/heif.
Not all additions have been added.
https://www.sendspace.com/file/iwahqb

Edit:
Problems encountered:
Add-ons to ffmpeg can have the same functionality. In static compilation, problems with similar functions come out and the functions should be changed.
In a static build, it is important that add-ins are not in WINAPI, i.e. contain int DLLmain functions.
Problems with libintl.h, iconv.h and pthread.h functions under Win64.
To add or not to add such additives?
Problems with libcelt and libcelt2. Doesn't libcelt2 support libcelt? What was the old plug for?
Is librsvg under Windows 64bit and what is this decoder for?
"This is librsvg - A small library to render Scalable Vector Graphics (SVG), associated with the GNOME Project. It renders SVG files to Cairo surfaces. Cairo is the 2D, antialiased drawing library that GNOME uses to draw things to the screen or to generate output for printing."
This is not a small library. A lot of add-ons and should all of them be added, e.g. fonts?
Should add-ons contain glib, cairo, fonttype include callbacks?

Edit:
After many trials and tests, there is success. Unfortunately, it ended up in the trash of librsvg. FFmpeg is unstable with it.
It's time to start testing.
Code:
Compiled: INTEL, flags: MMX SSE SSE2 SSE3 SSSE3 SSE41 SSE42 AVX
Detected: INTEL, flags: MMX SSE SSE2 SSE3 SSSE3 SSE41 SSE42 AVX
Available: sse2(2) sse41(7)
In use: sse2(1) sse41(7)
--owf=auto value set to 2.
--threads=auto value set to 4.
Output #0, vvc, to 'output_uvg266.vvc':
Output #0, evc, to 'output_xeve.evc':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf59.35.100
  Stream #0:0(und): Video: vvc, yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 3000 kb/s, 29.97 fps, 29.97 tbn (default)
  Stream #0:0(und): Video: evc, yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 3000 kb/s, 29.97 fps, 29.97 tbn (default)
    Metadata:
      handler_name    : ISO Media file produced by Google Inc. Created on: 02/14/2019.
      vendor_id       : [0][0][0][0]
      encoder         : Lavc59.56.100 libuvg266
      encoder         : Lavc59.56.100 libxeve
frame=  100 fps=3.6 q=42.0 Lsize=    1184kB time=00:00:03.30 bitrate=2937.2kbits/s speed=0.118x
https://www.sendspace.com/file/xwzg8l

Edit:
A few fixes I decided to add. It doesn't matter which ones.
The EVC codec can be converted to a mov container. It has a special plug added.
I failed to compile aac fixed correctly.
I added XAVS2/UAVS3 10bit decoder. The encoders are underdeveloped. Bitrate problem.
Successfully compiled X264 with asm 10bit.
I was able to compile ac3 fixed correctly.
I don't know how to decode HTJ2K.
I don't know how to configure SDL2 under ffplay.

https://www.sendspace.com/file/dsmn42

Edit:
I added few fixes.
News:
https://github.com/strukturag/libhei...14dc23aba7e743

https://www.sendspace.com/file/c1hhpx

Edit:
Several improvements
I added ffplay. I thought that in gcc nothing would come of it but miracle happened. I replaced the libxml2 libraries and it works.
Delete -> https://github.com/GNOME/libxml2
Add -> https://github.com/GerHobbelt/libxml2

https://www.sendspace.com/file/ll5ipb

Test of the latest gcc 13.0.1 isn't recommended.
http://msystem.waw.pl/x265/mingw-gcc1301-20230322.7z

Edit:
I added few extras:
https://github.com/freetype/freetype
https://gitlab.freedesktop.org/fontconfig/fontconfig
https://github.com/fribidi/fribidi
https://gitlab.freedesktop.org/cairo/cairo
https://github.com/harfbuzz/harfbuzz
-> plus new fixes for vvc
https://github.com/ffvvc/FFmpeg/tree...ea47feb91a0b21
Unresolved GNOME atomic function C/C++ problem.
https://gitlab.gnome.org/GNOME/glib/-/issues/600

https://www.sendspace.com/file/ph9xyb

Edit:
Test codec audio AVX
ffmpeg.exe -i "iphone6s_4k.mov" -c:v libx264 -vb 3000k -c:a libopus -ac 2 -ar 48000 -s 1920x1080 -frames:v 100 -pix_fmt yuv420p output_opus.mp4 OK
ffmpeg.exe -i "iphone6s_4k.mov" -c:v libx264 -vb 3000k -c:a libspeex -ac 2 -s 1920x1080 -frames:v 100 -pix_fmt yuv420p output_speex.mov OK
ffmpeg.exe -i "iphone6s_4k.mov" -c:v libx264 -vb 3000k -c:a libtwolame -ac 2 -ar 48000 -ab 128k -s 1920x1080 -frames:v 100 -pix_fmt yuv420p output_twolame.mov OK
ffmpeg.exe -i "iphone6s_4k.mov" -c:v libx264 -vb 3000k -c:a libvorbis -ac 2 -ar 48000 -ab 128k -s 1920x1080 -frames:v 100 -pix_fmt yuv420p output_vorbis.mov OK
ffmpeg.exe -i "iphone6s_4k.mov" -c:v libx264 -vb 3000k -c:a libshine -ac 2 -ar 48000 -ab 128k -s 1920x1080 -frames:v 100 -pix_fmt yuv420p output_shine.mov OK
ffmpeg.exe -i "iphone6s_4k.mov" -c:v libx264 -vb 3000k -c:a libsnappy -ac 2 -ar 48000 -ab 128k -s 1920x1080 -frames:v 100 -pix_fmt yuv420p output_snappy.mov OK
ffmpeg.exe -i "iphone6s_4k.mov" -c:v libx264 -vb 3000k -c:a libmp3lame -ac 2 -ar 48000 -ab 128k -s 1920x1080 -frames:v 100 -pix_fmt yuv420p output_mp3lame.mov OK
ffmpeg.exe -i "iphone6s_4k.mov" -y -c:a libcodec2 -vn -mode 3200 -frames:v 100 output_codec2.c2 OK

Test codec video AVX
ffmpeg.exe -i "iphone6s_4k.mov" -c:v libkvazaar -vb 3000k -c:a ac3 -ac 2 -ar 48000 -ab 128k -s 1920x1080 -frames:v 100 -pix_fmt yuv420p output_kvazaar.mov OK
ffmpeg.exe -i "iphone6s_4k.mov" -c:v libxvid -vb 3000k -c:a ac3 -ac 2 -ar 48000 -ab 128k -s 1920x1080 -frames:v 100 -pix_fmt yuv420p output_xvid.mov {not retained bitrates}
ffmpeg.exe -i "iphone6s_4k.mov" -c:v libx264 -vb 3000k -c:a ac3 -ac 2 -ar 48000 -ab 128k -s 1920x1080 -frames:v 100 -pix_fmt yuv420p output_x264.mov OK
ffmpeg.exe -i "iphone6s_4k.mov" -c:v libopenh264 -vb 3000k -c:a ac3 -ac 2 -ar 48000 -ab 128k -s 1920x1080 -frames:v 100 -pix_fmt yuv420p output_openh264.mov OK
ffmpeg.exe -i "iphone6s_4k.mov" -c:v libx265 -vb 3000k -c:a ac3 -ac 2 -ar 48000 -ab 128k -s 1920x1080 -frames:v 100 -pix_fmt yuv420p output_x265.mov OK
ffmpeg.exe -i "iphone6s_4k.mov" -c:v libxavs -vb 3000k -c:a ac3 -ac 2 -ar 48000 -ab 128k -s 1920x1080 -frames:v 100 -pix_fmt yuv420p output_xavs.mkv {doesn't like the mov container, not retained bitrates, cavs decoder not working, abandoned project}
ffmpeg.exe -i "iphone6s_4k.mov" -c:v libxavs2 -vb 3000k -c:a ac3 -ac 2 -ar 48000 -ab 128k -s 1920x1080 -frames:v 100 -pix_fmt yuv420p output_xavs2.mkv {doesn't like the mov container, not retained bitrates, recommended installation of 10bit decoder, abandoned project}
ffmpeg.exe -i "iphone6s_4k.mov" -c:v libuavs3 -vb 3000k -c:a ac3 -ac 2 -ar 48000 -ab 128k -s 1920x1080 -frames:v 100 -pix_fmt yuv420p output_uavs3.mov {problem DTS, abandoned project}
I don't know if there is avs4.
ffmpeg.exe -i "iphone6s_4k.mov" -c:v libxeve -vb 3000k -c:a ac3 -ac 2 -ar 48000 -ab 128k -s 1920x1080 -frames:v 100 -pix_fmt yuv420p output_xeve.mov {encoder/decoder drops frames}
ffmpeg.exe -i "iphone6s_4k.mov" -c:v libuvg266 -vb 3000k -c:a ac3 -ac 2 -ar 48000 -ab 128k -s 1920x1080 -frames:v 100 -pix_fmt yuv420p output_uvg266.mts {vvc decoder not working}
ffmpeg.exe -i "iphone6s_4k.mov" -c:v libtheora -q:v 20 -c:a libvorbis -q:a 20 -s 1920x1080 -frames:v 100 -pix_fmt yuv420p output_theora.ogv {encoder not working, abandoned project(2010}

Creating ffmpeg converter in AVX2. There is currently no way to do this in nasm and gcc. These libraries are not written. I can only add fma3.
Test of Elecard films in the first versions of VVC. I can only open I frames.
Code:
Input #0, vvc, from 'NovosobornayaSquare_1920x1080.bin': 0B f=0/0
  Duration: N/A, bitrate: N/A
  Stream #0:0: Video: vvc (Main), yuv420p, 1920x1080, 59.94 fps, 25 tbr, 1200k tbn
[vvc @ 00000275747fe190] Skipping NAL unit 23
    Last message repeated 3 times
[vvc @ 00000275747fe190] Skipping NAL unit 2342KB sq=    0B f=0/0
    Last message repeated 1 times
[vvc @ 00000275747fe190] Skipping NAL unit 2333KB sq=    0B f=0/0
    Last message repeated 1 times
[vvc @ 00000275747fe190] Skipping NAL unit 2371KB sq=    0B f=0/0
[vvc @ 00000275747fe190] Skipping NAL unit 2370KB sq=    0B f=0/0
    Last message repeated 2 times
[vvc @ 00000275747fe190] Skipping NAL unit 2389KB sq=    0B f=0/0
    Last message repeated 2 times
News.
Free intoPIX JPEG XS codecs included. Advertised successor to JPEG2000. Unfortunately, I didn't find plugins for ffmpeg and I don't know how to use the codec.

My created AVX / AVX2 codecs.
https://www.sendspace.com/file/09luu5

Edit:
I had to delete some previous content. I have problem with the ar.exe file in mingw.
https://www.gnu.org/software/binutils/
For amateurs I remind you that there is file needed to merge libraries into larger projects.
The problem is that created .a libraries aren't created only patches are overwritten. Redundant information may remain with any changes.

Edit:
Latest FFmpeg GCC 13.0.1 20230423/NASM 2.17rc0 20230220 converter test AVX.
https://github.com/FFmpeg/FFmpeg/com...fd3a96d77ecc6b

HTjpeg2000 decoder has been completely rebuilt. Now it works.
AOM codec doesn't like the new GCC. I don't know. Is it better to use AOM or AVM?
Theora codec has problems. Blurred frames.
The mov container doesn't like to decode CAVS, AVS2, AVS3.
Problem with AAC encoder float

It seems FFmpeg with GCC/NASM won't work any better. My knowledge of creating FFmpeg ends.
https://github.com/Jamaika1/plugins_...de5edb9cf2418d
https://www.sendspace.com/file/6jpbi2

Edit:
Added updates in May:
Added ffmpeg FFmpeg/FFmpeg@41dd50ad
Added xevc mpeg5/ffevc@8ca6b5f
Added vvc dec ffvvc/FFmpeg@b1c8bd1
Added x265 multicoreware/x265_git@3dae0c3
Added dav1d videolan/dav1d@6afabf8
Added LittleCMS2 mm2/Little-CMS@2dec684
Added libwebp webmproject/libwebp@761f49c
Added harfbuzz harfbuzz/harfbuzz@afd432d
Added freetype freedesktop/freetype@36a086b
Added aom jbeich/aom@578a0b3
Added lzma tukaani-project/xz@2cf5ae5
Added zlib madler/zlib@6658868
Added bzip2 bzip2/bzip2@2d83939
Added libxml2 GNOME/libxml2@e07f765

https://www.sendspace.com/file/cx7o8m

News plus new video codec samples:
Added svt-av1 AOMediaCodec/SVT-AV1@ea296ef
Added aom jbeich/aom@51b883e
Added mstorsjo/fdk-aac@3f864cc ??? https://github.com/schreibfaul1/FDK-AAC-DECODER-in-C
Added cpuinfo pytorch/cpuinfo@b16eacd
Added jpegxl libjxl/libjxl@466e243
Change davs2 xatabhk/davs2-10bit@6b944dc

https://www.sendspace.com/file/gxmrn7

And after the May weekend.
News plus new video codec samples:
https://github.com/FFmpeg/FFmpeg@2dd9b407
https://github.com/ffvvc/FFmpeg@580a67f9
https://github.com/jbeich/aom@6009df0
https://github.com/videolan/dav1d@8af8244
https://github.com/harfbuzz/harfbuzz@5ec0cca
https://github.com/GNOME/libxml2@3463063
https://gitlab.freedesktop.org/freet...etype@8fe50c2a
https://github.com/tukaani-project/xz@c247d06
Fix name libcelt, libvorbis, libspeex, libcodec2

https://www.sendspace.com/file/ovw996

Test fortran gcc-14-20230507-64
News plus new video codec samples:
https://github.com/FFmpeg/FFmpeg@8564b4a
https://github.com/ffvvc/FFmpeg@4a0266b
https://github.com/mpeg5/ffevc@ba38046
https://github.com/drowe67/codec2@f68a2fe
https://github.com/videolan/dav1d@8a104cf
https://bitbucket.org/multicoreware/x265_git@34532bd
https://github.com/harfbuzz/harfbuzz@5d543d6
https://github.com/GNOME/libxml2@687a2b7
https://gitlab.freedesktop.org/freet...etype@3af4772d
https://github.com/GNOME/glib@fde0683 + libgnuintl 0.21.0 + valgrind-3.21.0 delete failed attempt

https://www.sendspace.com/file/w6gp91

News ffmpeg plus new video codec samples:
https://github.com/FFmpeg/FFmpeg/com...2727f12af5c535
https://github.com/mpeg5/ffevc/commi...9cb6a65531faef
https://github.com/harfbuzz/harfbuzz...910a105536f8c2
https://gitlab.freedesktop.org/freet...7e9e47fc84c6eb
https://gitlab.freedesktop.org/cairo...43890b440e9a80
https://github.com/GNOME/libxml2/com...4bb42a63caeeea
https://github.com/xiph/speex/commit...9825b9f79b686c

https://www.sendspace.com/file/fwdqdz

Last edited by Jamaika; 28th May 2023 at 11:34.
Jamaika is offline   Reply With Quote
Old 28th May 2023, 11:35   #2  |  Link
Jamaika
Registered User
 
Join Date: Jul 2015
Posts: 678
News ffmpeg plus new video codec samples:
https://github.com/FFmpeg/FFmpeg/com...f5274b1f986729
https://github.com/mpeg5/ffevc/commi...12e2524e2d7888
https://github.com/videolan/dav1d/co...673acb649577fb
https://github.com/harfbuzz/harfbuzz...d02f8dbe2a84cf
https://gitlab.freedesktop.org/freet...329bd2fb2a85ef
https://gitlab.freedesktop.org/cairo...0d97845a0c727f
https://github.com/GNOME/libxml2/com...7528274efebe44
https://github.com/tukaani-project/x...a15838a0d00878
https://github.com/mm2/Little-CMS/co...03a79ca908b5a4
https://github.com/libass/libass/com...8603edb87da2fd
https://github.com/webmproject/libwe...7242ceaa6eaf75
https://github.com/google/highway/co...4a2369f2f2480a
https://gitlab.com/AOMediaCodec/SVT-...4748b6633975ec
https://github.com/libjxl/libjxl/com...bc1b3b8973bb3d
https://github.com/jbeich/aom/commit...ff0bf167e24df3

Problem playing cavs, xvid, xeve, webm
Problem creating xeve
Could my ffmpeg contain errors? They can be, this is manually assembled ffmpeg.
Adding the https://github.com/FFmpeg/FFmpeg/com...591d8ca7f6c1de patch to gcc 11.3.1 causes aac encoder to suddenly work.
Code:
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> vvc (libuvg266))
  Stream #0:1 -> #0:1 (aac (aac_fixed) -> aac (libfdk_aac))
Press [q] to stop, [?] for help
Compiled: INTEL, flags: MMX SSE SSE2 SSE3 SSSE3 SSE41 SSE42 AVX
Detected: INTEL, flags: MMX SSE SSE2 SSE3 SSSE3 SSE41 SSE42 AVX
Available: sse2(2) sse41(7)
In use: sse2(1) sse41(7)
--owf=auto value set to 2.
--threads=auto value set to 4.
Output #0, avi, to 'output_uvg266.avi':
https://www.sendspace.com/file/28e0ga

News ffmpeg plus new video codec samples:
https://github.com/FFmpeg/FFmpeg/com...a1134884475309
https://github.com/mpeg5/ffevc/commi...b2c627889738f7
https://github.com/ffvvc/FFmpeg/comm...6ecc8c1bb081ba
https://gitlab.gnome.org/GNOME/pango...a17259a928fc8f
https://gitlab.gnome.org/GNOME/glib/...ae6f9903f0f4f3
https://gitlab.gnome.org/GNOME/libxm...1d9b79cc2035f8
https://gitlab.freedesktop.org/cairo...01cc92dd12fd4a
https://gitlab.freedesktop.org/fontc...333d3afdf2566e
https://github.com/harfbuzz/harfbuzz...66e2042e86c66f
https://github.com/videolan/dav1d/co...58f06824462cb9
https://github.com/webmproject/libwe...b9c80ccbad9f6f
https://github.com/mm2/Little-CMS/co...140751e8eba606

https://www.sendspace.com/file/wv2rnr

Unfinished project, with errors. A hint on how to compile rsvg under win64 is welcome
https://www.sendspace.com/file/45q6pk

News ffmpeg plus new video codec samples:
https://github.com/FFmpeg/FFmpeg/com...30d2002487935f
https://github.com/mpeg5/ffevc/commi...f522ea25fefb72
https://github.com/ffvvc/FFmpeg/comm...6ecc8c1bb081ba
https://github.com/xiph/opus/commit/...8dca7565a0bfa2
https://github.com/ultravideo/kvazaa...3bd2ff7caf33d2
https://github.com/videolan/dav1d/co...b2725e5e5852d8
https://github.com/jbeich/aom/commit...b590dcce7325a6
https://github.com/libjxl/libjxl/com...d2b878584e4650
https://github.com/google/highway/co...69b3dd4a4ec4e3
https://gitlab.com/AOMediaCodec/SVT-...523a5bbaf2cee1
https://gitlab.freedesktop.org/freet...c876987f03a3e6
https://github.com/xz-mirror/xz/comm...d2d7a89df5a10b
https://github.com/GNOME/pango/commi...a1601f8ebc881c
https://github.com/GNOME/libxml2/com...aef889375aae32
https://gitlab.freedesktop.org/cairo...cfa28b488f5a29
https://github.com/harfbuzz/harfbuzz...afddf999faddbe

https://www.sendspace.com/file/qrkwwo

I was able to add librsvg under win64. The question is correct? One thing is for sure now ffmpeg doesn't crash.
https://www.sendspace.com/file/jbplw9

News ffmpeg plus new video codec samples:
We have holiday. New additions may be underdeveloped.
Currently the new gcc 11.4.0 isn't available for windows versions.
Since you got here, be aware that mingw may have trouble playing cavs,avs2,avs3,xvid,aac smoothly.
FFmpeg converter doesn't contain ac4 and jpegxs codecs. The jpegxs codecs can be downloaded from the site.
https://jpeg.org/jpegxs/software.html

[libopenh264 @ 0000028e40c0df80] [OpenH264] this = 0x0000028e4186f4e0, Warning:layerId(0) doesn't support profile(578), change to UNSPECIFIC profile
[libopenh264 @ 0000028e40c0df80] [OpenH264] this = 0x0000028e4186f4e0, Warning:bEnableFrameSkip = 0,bitrate can't be controlled for RC_QUALITY_MODE,RC_BITRATE_MODE and RC_TIMESTAMP_MODE without enabling skip frame.
[cavs @ 00000239eb7e7570] No sequence header decoded yet
[cavs @ 00000239eb7e7570] unexpected start code 0x1b3
[cavs @ 00000239eb7e7570] stc 0x1b3 is too large
[theora @ 00000298b0e68440] error in unpack_block_qpis
[theora @ 00000298afdee860] error in unpack_block_qpis
[theora @ 00000298aff2cd70] error in unpack_block_qpis 0B f=0/0
[theora @ 00000298b0c8cbd0] error in unpack_block_qpis
[theora @ 00000298afdee860] error in unpack_block_qpis
[theora @ 00000298b0c8cbd0] error in unpack_block_qpis 0B f=0/0
[theora @ 00000298aff2cd70] error in unpack_block_qpis 0B f=0/0
[theora @ 00000298afcef690] error in unpack_block_qpis 0B f=0/0
[codec2 @ 00000232cd859a00] Estimating duration from bitrate, this may be inaccurate
[shine @ 0000020145c6ea50] overread, skip -6 enddists: -4 -4B f=0/0
[shine @ 0000020145c6ea50] overread, skip -5 enddists: -2 -2B f=0/0
[shine @ 0000020145c6ea50] overread, skip -6 enddists: -5 -5
[shine @ 0000020145c6ea50] overread, skip -5 enddists: -2 -2
←[1;31mxavs2[e]: deprecated parameter: FrameRate = 4
←[1;32m[davs2 debug]: Dec[ 0] 21a59fd1420: discontinuous COI (prev: 102 --> curr: 0).←[0m
←[1;33m[davs2 warn]: Dec[ 0] 21a59fd1420: force to remove obsolete frame <poc: 104>.←[0m
←[1;33m[davs2 warn]: Dec[ 0] 21a59fd1420: force to remove obsolete frame <poc: 100>.←[0m
←[1;33m[davs2 warn]: Dec[ 0] 21a59fd1420: force to remove obsolete frame <poc: 96>.←[0m
←[1;33m[davs2 warn]: Dec[ 0] 21a59fd1420: force to remove obsolete frame <poc: 98>.←[0m
←[1;33m[davs2 warn]: Dec[ 0] 21a59fd1420: force to remove obsolete frame <poc: 102>.←[0m
[vvc @ 000002663073ebe0] Skipping NAL unit 2367KB sq= 0B f=0/0
[vvc @ 000002663073ebe0] Skipping NAL unit 2342KB sq= 0B f=0/0
[vvc @ 000002663073ebe0] Skipping NAL unit 2342KB sq= 0B f=0/0
file mpegts // openvvc
[mpegts @ 000001e75c407120] start time for stream 0 is not set in estimate_timings_from_pts
[mpegts @ 000001e75c407120] stream 0 : no TS found at start of file, duration not set
[mpegts @ 000001e75c407120] Could not find codec parameters for stream 0 (Video: vvc (VVC / 0x20435656), none): unspecified size
[vvc @ 000001e75c8e9ab0] Picture header not available. 0B f=0/0
[vvc @ 000001e75c8e9ab0] Failed to read unit 0 (type 0).
[vvc @ 000001e75c8e9ab0] Failed to parse picture unit.
[vvc @ 000001e75c8e9ab0] PPS id 0 not available.B sq= 0B f=0/0
[mp4/vvc @ 00000164cc516c40] extra data is not supported yet.0B f=0/0

https://github.com/FFmpeg/FFmpeg/com...10b2580608d428
https://github.com/ffvvc/FFmpeg/comm...6977e4fb63f891
https://github.com/harfbuzz/harfbuzz...6947b9db240176
https://github.com/GNOME/libxml2/com...aeae32ad4b90db
https://github.com/libjxl/libjxl/com...dca5f4d63369e7
https://github.com/google/highway/co...c2647adab392ec
https://github.com/GNOME/glib/commit...d1980bd0e1af00
https://github.com/jbeich/aom/commit...66ca024293d8bb
https://gitlab.com/AOMediaCodec/SVT-...326fb3a7549bd9
https://github.com/webmproject/libwe...0cd0b68f8cccc6
https://github.com/mm2/Little-CMS/co...03cbcce1aad127
https://github.com/GerHobbelt/pthrea...cbf5eb2458d5ee
https://github.com/videolan/dav1d/co...6369a31663cb25

https://www.sendspace.com/file/6qv4ra

FFmpeg and the matter of fonts for windows.
At first I added fontconfig and freetype. Add-ons recommended by FFmpeg but not working, e.g. libass/vf_drawtext on windows.
[Parsed_drawtext_0 @ 0000022966714de0] Cannot find a valid font for the family Sans
https://www.gyan.dev/ffmpeg/builds/
I was wondering what could be improved here. Freetype advertising under linux/unix/windows/...
First of all freetype standard (src/base/ftsystem.c) it isn't known what system it is under. When we want specific system it turns out that the file from the builds directory should be replaced. It's troublesome.
Even after replacing freetype files ffmpeg doesn't see the fonts.
The situation is different in librsvg.
The add-on is in the rust system, which can be troublesome for beginners, but you can throw fontconfig/freetype under windows and include the font windows options.
Again, ffmpeg reports no font installed. An uninstalled font is displayed with a default font.
Disadvantages. You cannot specify font directory for ffmpeg to read.
** (process:10756): WARNING **: 06:19:18.300: couldn't load font "DejaVu Sans Mono Not-Rotated 5.0791015625", falling back to "Sans Not-Rotated 5.0791015625", expect ugly output.

News ffmpeg plus new video codec samples:
https://github.com/FFmpeg/FFmpeg/com...a9f44fb14d7875
https://github.com/ffvvc/FFmpeg/comm...7992eb8905ae58
https://github.com/glennrp/libpng/co...71bb36e6b48551
https://github.com/mm2/Little-CMS/co...19146616a62de9
https://github.com/harfbuzz/harfbuzz...18016cabe50a15
https://github.com/GNOME/glib/commit...ac0e0b01db398a
https://gitlab.freedesktop.org/freet...e30a0ed8353c0d
https://github.com/PCRE2Project/pcre...78007dfcbccd5b
https://gitlab.freedesktop.org/cairo...cfa28b488f5a29
https://github.com/jbeich/aom/commit...8fa3038fe7f4dd
https://github.com/GNOME/libxml2/com...275a18e3d7a036
https://bitbucket.org/multicoreware/...655f93951128c3
https://github.com/libjxl/libjxl/com...de584fa693273c
https://github.com/webmproject/libwe...0539001b692042
https://github.com/google/highway/co...947f980081b047

https://www.sendspace.com/file/lp5mz7

News ffmpeg plus new video codec samples:
https://github.com/FFmpeg/FFmpeg/com...984d898f3738eb
https://github.com/mm2/Little-CMS/co...8ee699bbaf9ade
https://github.com/harfbuzz/harfbuzz...3a3c05300dff78
https://github.com/GNOME/glib/commit...5499d25ead041a
https://github.com/jbeich/aom/commit...7ded2a13dccc36
https://github.com/libjxl/libjxl/com...d62db19c58f6d2
https://github.com/webmproject/libwe...2d9cdaf801aa54
https://github.com/videolan/dav1d/co...bec9ca11931502
https://gitlab.freedesktop.org/freet...7cff681ab8a1c7
https://gitlab.freedesktop.org/cairo...25b868d34c4756

Stream #0:0[0x1]: Video: evc (Baseline) (evc1 / 0x31637665), yuv420p10le(progressive), 1920x1080, 1270 kb/s, SAR 1:1 DAR 16:9, 29.97 fps, 29.97 tbr, 11988 tbn (default)
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000292287f27b0] Could not find codec parameters for stream 0 (Video: vvc (vvc1 / 0x31637676), none, 1920x1080, 2991 kb/s): unspecified pixel format
https://www.sendspace.com/file/fnoyo9

Test ffmpeg AVX/AVX2
https://github.com/FFmpeg/FFmpeg/com...50285863ab5829
https://github.com/ffvvc/FFmpeg/blob...c/vvc_filter.c
https://github.com/libjxl/libjxl/com...ea42a437537b34
https://gitlab.freedesktop.org/freet...c420bdd6a8941d
https://github.com/webmproject/libwe...fbd756c97c9711
https://github.com/jbeich/aom/commit...5fd9961a206e16
https://github.com/harfbuzz/harfbuzz...dd7a14f59e1def
https://github.com/PCRE2Project/pcre...3eade07617148c

https://www.sendspace.com/file/ue11k4

Last edited by Jamaika; 16th July 2023 at 10:29.
Jamaika is offline   Reply With Quote
Old 20th July 2023, 16:06   #3  |  Link
Jamaika
Registered User
 
Join Date: Jul 2015
Posts: 678
Test ffvvc/evc AVX
https://github.com/FFmpeg/FFmpeg/com...610fe6b9fadfe1
https://github.com/ffvvc/FFmpeg/comm...1ce656904f0166
https://github.com/ffvvc/FFmpeg/tree...2e702d40bb807d
https://github.com/ffvvc/FFmpeg/tree...68b6fabbcbafd2
https://github.com/libjxl/libjxl/com...8462900980c923
https://github.com/google/highway/co...94004e5d256fea
https://github.com/jbeich/aom/commit...0caa19611991d7
https://github.com/videolan/dav1d/co...756b03b43c117c
https://github.com/tukaani-project/x...ee42d49bfd1392
https://gitlab.freedesktop.org/freet...de07e755501a16
https://gitlab.freedesktop.org/cairo...c3e99fbda67ffe
https://github.com/PCRE2Project/pcre...01e66fe80f4317
https://github.com/harfbuzz/harfbuzz...e129a09c4b306d
https://github.com/ultravideo/kvazaa...80298c200e47e6
https://github.com/GNOME/glib/commit...1e06d6f9f1872f

[libopenh264 @ 00000228c96338d0] [OpenH264] this = 0x00000228c98e1cc0, Warning:layerId(0) doesn't support profile(578), change to UNSPECIFIC profile
[libopenh264 @ 00000228c96338d0] [OpenH264] this = 0x00000228c98e1cc0, Warning:bEnableFrameSkip = 0,bitrate can't be controlled for RC_QUALITY_MODE,RC_BITRATE_MODE and RC_TIMESTAMP_MODE without enabling skip frame.
https://www.sendspace.com/file/naa3mk

I added OPENCL functions in filters. I don't know if it works properly. I had problems with it. I had to close the functions with separate "opencl_source.c" file.
const char *ff_source_avgblur_cl;
const char *ff_source_colorkey_cl;
const char *ff_source_colorspace_common_cl;
const char *ff_source_convolution_cl;
const char *ff_source_deshake_cl;
const char *ff_source_neighbor_cl;
const char *ff_source_nlmeans_cl;
const char *ff_source_overlay_cl;
const char *ff_source_pad_cl;
const char *ff_source_remap_cl;
const char *ff_source_tonemap_cl;
const char *ff_source_transpose_cl;
const char *ff_source_unsharp_cl;
const char *ff_source_xfade_cl;


https://github.com/KhronosGroup/Open...e71e1ccb3fe288
https://github.com/KhronosGroup/Open...9e5481a2bae067

https://www.sendspace.com/file/6cvy1a

I added OPENGL functions in filters.
https://github.com/KhronosGroup/Open...70202051248d5c

https://github.com/FFmpeg/FFmpeg/com...5924d570287ff1
https://gitlab.freedesktop.org/fontc...1258c922cd0d99
https://gitlab.freedesktop.org/cairo...20d81b0b5a7961
https://gitlab.freedesktop.org/freet...618a761eaf1193
https://github.com/harfbuzz/harfbuzz...0a54214a59715b
https://github.com/GNOME/glib/commit...6bef722dc060cd
https://github.com/mm2/Little-CMS/co...aada8b81e38cba
https://github.com/webmproject/libwe...c916ed5aadc7c9
https://github.com/libjxl/libjxl/com...5a30d3598a8bdf
https://github.com/jbeich/aom/commit...630b106cdea67c
https://gitlab.com/AOMediaCodec/SVT-...1241dc51dab16e

https://www.sendspace.com/file/k7in9z

https://github.com/FFmpeg/FFmpeg/com...f1953a45c74a81
https://github.com/ffvvc/FFmpeg/comm...138ef0b349ff37
https://github.com/ffvvc/FFmpeg/comm...2e702d40bb807d
https://github.com/ffvvc/FFmpeg/comm...68b6fabbcbafd2
https://github.com/ffvvc/FFmpeg/comm...6ba4cccc79369c
https://gitlab.freedesktop.org/freet...b866be131a201a
https://github.com/harfbuzz/harfbuzz...c601debd1f1177
https://github.com/GNOME/glib/commit...736d1040227145
https://github.com/libjxl/libjxl/com...ebc44d34194f7e
https://github.com/jbeich/aom/commit...0ace0c668f723e
https://github.com/google/highway/co...3543d99321d013
https://github.com/GNOME/libxml2/com...9714f9df2c4411
https://github.com/tukaani-project/x...ff91378ca59e05
https://github.com/pytorch/cpuinfo/c...5817570a30b49a

x264 doesn't include OpenCL 8bit.
https://www.sendspace.com/file/q57x12

https://github.com/FFmpeg/FFmpeg/com...2f74b4fe724ed3
https://github.com/libjxl/libjxl/com...7f22ea30729073
https://github.com/google/highway/co...1a5fb04dc191af
https://github.com/GNOME/libxml2/com...49db662c4b8080
https://github.com/tukaani-project/x...64aa22d3fcad5a
https://github.com/PCRE2Project/pcre...6cd98d0f28faab
https://github.com/jbeich/aom/commit...39e7e555ea5d8c
https://github.com/harfbuzz/harfbuzz...3fc0cae9cd0e30

ffplay_rsvg.exe output_codec2.c2
ffplay version 6.1.0-c7bfc826 Copyright (c) 2003-2023 the FFmpeg developers
built with GCC: (GNU) 11.3.1 20221227
Assertion failed: e > 0.0, file postfilter.c, line 112 0B f=0/0
nan : 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0

Under reconstruction
https://github.com/Jamaika1/plugins_...k/commits/main

Test ffmpeg AVX/ AVX2/ AVX512ICL

https://www.sendspace.com/filegroup/...RxaRVRbJJYwFLf

https://github.com/FFmpeg/FFmpeg/com...0ecfacdf09431d
#if CONFIG_BZLIB
#undef WIN32_LEAN_AND_MEAN
#include <bzlib.h>
#endif

https://github.com/FFmpeg/FFmpeg/com...f2f4eea6940ea4
https://github.com/mpeg5/ffevc/commi...fd595e4e432ebe
https://github.com/ffvvc/FFmpeg/comm...6fc94f1fab02ab
https://github.com/mm2/Little-CMS/co...e15b1d1442d9cd
https://github.com/madler/zlib/commi...ef1678c14d7eda
https://github.com/tukaani-project/x...6b5935f758d5f3
https://github.com/GNOME/glib/commit...c23dfc4c37107d
https://github.com/GNOME/libxml2/com...dfbb043c0a9b6a
https://github.com/GNOME/pango/commi...4acaf20ee71354
https://github.com/harfbuzz/harfbuzz...705c3f013f66c6
https://github.com/PCRE2Project/pcre...c42eb1010098cb
https://github.com/libass/libass/com...7eb50d41e2555d
https://gitlab.freedesktop.org/pixma...8c33449f60b628
https://gitlab.freedesktop.org/cairo...de4537f9faf2b4
https://gitlab.freedesktop.org/freet...2b2e0e0f235aba
https://gitlab.freedesktop.org/fontc...546d9dbfb8e031
https://github.com/jbeich/aom/commit...8002c9f62acea0
https://github.com/libjxl/libjxl/com...8e1c129668ec73
https://github.com/google/highway/co...839604c87abe6c
https://github.com/pytorch/cpuinfo/c...3a9415ecf2a8d8

https://www.sendspace.com/file/uea13t

Last edited by Jamaika; 16th August 2023 at 21:24.
Jamaika is offline   Reply With Quote
Old 27th August 2023, 06:11   #4  |  Link
Jamaika
Registered User
 
Join Date: Jul 2015
Posts: 678
Quote:
Originally Posted by Squeezy
Dear Jamaika,
Do you know what happened to the thread "crazy family of JPEG formats"? I used the compiles you provided and I was happy that you did them. Is there a chance that you still offer them?
Best regards,
Stephan
Quote:
Originally Posted by Marsu42
Um, the whole "Crazy family JPEG formats (2017)" is gone?
I did like some of your windows binary links a lot :-\
I remember I had some heifenc binaries you did (even with butteraugli), but newer versions seem to have gotten lost over here - and the other public ones I find seem to be targeted towards avif.
Do you have a recent heifenc Windows binary package with current x265 (for heic), or is it linked somewhere on doom9 and I didn't see it?
Thanks!
I gave up on the Crazy family JPEG formats thread (2017). Nobody was interested in it.
The new Codec Git on JPEG.org is actually paid.
Novelties JPEGXT, JPEGHT2000, JPEGXS did not enter, they are not applicable in free programs or have a lot of bugs.
Creators who are nervous don't like pointing out mistakes or sharing knowledge about programs.
Working at DHL, pandemic, loneliness, war in Ukraine, lack of leave is my being on the forum.
And one more thing. I don't create my own programs so the rest shouldn't interest me. It's been 6 years on the forum. Wasted time?

What can I say about libheif/avif. HEIF is still not added in ffmpeg/libavcodec in programs and probably won't be. The google butteraugli add-on has ceased to exist. JpegXL deleted the plugins so there is no way to connect it.
Code:
tune_butteraugli.c: In function 'set_mb_butteraugli_rdmult_scaling':
tune_butteraugli.c:109:10: error: 'AV1_COMP' has no member named 'butteraugli_info'
  109 |       cpi->butteraugli_info.rdmult_scaling_factors[index] = weight;
      |          ^~
The same applies to libwebp2. Apparently the legitimacy of use is zero.
libheif was supposed to add vvc. He didn't add. Added kvazaar. It added jpeg2000 but not htjpeg2000.
Oh, the latest generation codecs are already in c++17 or higher, so they don't quite match the often discontinued c99 add-ons.
x266 vvc did not appear.

I've been struggling with ffmpeg manually lately. It works out on average. GCC 11.3.1 is unstable with ffmpeg or there are bugs. The add-ons have common functions. How MSVC compiles it I don't know? But what do you want from free programs.
Currently fortran isn't creating new GCC 11.4.0, so something is still wrong.

There is a lot of AV2 advertising on the forum, but I don't see the need to create a codec. Nobody did some tests.

My builds are AVX rarely AVX2, AVX3(?). The higher SIMD the more time it takes to compile.

Phew how hot and stagnant on the forum.
It's hard, let's introduce some movement.
https://github.com/FFmpeg/FFmpeg/com...387f5ab895fa46
https://github.com/ffvvc/FFmpeg/comm...39db249d1c60b1
https://github.com/madler/zlib/commi...fb96d684b2c9d5
https://github.com/GNOME/glib/commit...64f17716d50bb3
https://github.com/GNOME/libxml2/com...4d7110e429bce9
https://github.com/harfbuzz/harfbuzz...cb9b3cc0921f69
https://github.com/PCRE2Project/pcre...6f61b9be50cbc2
https://github.com/libass/libass/com...440209965eb64f
https://gitlab.freedesktop.org/cairo...de96a0a4007905
https://gitlab.freedesktop.org/freet...76d09b2604e5b6
https://gitlab.freedesktop.org/fontc...156733b2b2c13a
https://github.com/jbeich/aom/commit...e042d06e7b2895
https://github.com/libjxl/libjxl/com...54a805596b1916
https://github.com/google/highway/co...de47acb823f825
https://github.com/pytorch/cpuinfo/c...45f2af720e0aa4
https://gitlab.com/AOMediaCodec/SVT-...d6831ab06a849c

https://www.sendspace.com/file/l41eae

Last edited by Jamaika; 27th August 2023 at 10:37.
Jamaika is offline   Reply With Quote
Old 28th August 2023, 12:14   #5  |  Link
Marsu42
Huba Huba
 
Marsu42's Avatar
 
Join Date: Aug 2005
Location: Palumbian Jungle
Posts: 78
Quote:
Originally Posted by Jamaika View Post
I gave up on the Crazy family JPEG formats thread (2017). Nobody was interested in it.
Well, from a purely consumer's perspective, I certainly was interested in the binaries, and learned a lot about formats I'd never heard about otherwise. But thanks for so many years of providing these (in hindsight, I should have kept more) - and I hope you won't feel like the time was completely wasted.

Quote:
Originally Posted by Jamaika View Post
What can I say about libheif/avif. HEIF is still not added in ffmpeg/libavcodec in programs and probably won't be.
Doh - that's unfortunary, because I discovered that going into the year 2024 of our Lord, there is still no way to view reaonably compressed images (i.e. not tif, png) on my Android 13 mobile phone with >10 bits per pixel.

There is no jxl support except for a too basic viewer, and avif is just supported as baseline with 8bpp on my Samung S20, and 12bpp jpeg doesn't work either.

As I've painfully discovered, the one and only way is 10bpp heic (which happens to be supported because of 10bpp hevc encoding). And the one and only way to create heic seems to be heifenc.

Concerning ffmpeg heif, direct support isn't vital if you can do ffmpeg frame => mp4box ... I can get this to work for avif (av1 frame), but it doesn't seem to work for x265 frame and the resulting image is broken (did anyone ever manage?). Otherwise heic is rather annoying because it's slow to browse on desktop and isn't supported in browsers.

The hassle with heifenc is that it doesn't support pipes, only reads jpg/png and doesn't have all the filtering stuff from ffmpeg or image magick - i.e. I have to generate immensely large (and slow) temporary files to use heifenc...
__________________
"The innocent have nothing to fear" :stupid:

Last edited by Marsu42; 28th August 2023 at 12:22.
Marsu42 is offline   Reply With Quote
Old 29th August 2023, 21:49   #6  |  Link
Jamaika
Registered User
 
Join Date: Jul 2015
Posts: 678
Latest additions in libheif. This is what I managed to do. I haven't tested.

HEIC encoders:
- x265 = x265 HEVC encoder (3.5+105-59ff5e7) [default]
- kvazaar = kvazaar HEVC encoder
AVIF encoders:
- aom = AOMedia Project AV1 Encoder v3.6.1-5f8db64 [default]
- svt = SVT-AV1 encoder 1.7.0-ebc5df4
JPEG encoders:
- jpeg = libjpeg-turbo 3.0.1-9b704f9 (libjpeg 8.0) [default]
JPEG-2000 encoders:
- openjpeg = OpenJPEG 2.5.0-1ee6d11 [default]
Uncompressed encoders:
- uncompressed = uncompressed [default]

https://www.sendspace.com/file/31ikqk

Last edited by Jamaika; 30th August 2023 at 05:13.
Jamaika is offline   Reply With Quote
Old 2nd September 2023, 07:48   #7  |  Link
Jamaika
Registered User
 
Join Date: Jul 2015
Posts: 678
Going back to latest ffmpeg
Code:
matroskadec.c: In function 'mkv_stereo3d_conv':
matroskadec.c:2175: warning: "IGNORE" redefined
 2175 | #define IGNORE(STEREOMODETYPE, WDIV, HDIV, WEBM)
      |
In file included from c:\gcc1131\x86_64-w64-mingw32\include\windows.h:70,
                 from c:\gcc1131\x86_64-w64-mingw32\include\winsock2.h:23,
                 from c:\gcc1131\x86_64-w64-mingw32\include\libavformat\os_support.h:143,
                 from c:\gcc1131\x86_64-w64-mingw32\include\libavformat\internal.h:29,
                 from matroskadec.c:64:
c:\gcc1131\x86_64-w64-mingw32\include\winbase.h:511: note: this is the location of the previous definition
  511 | #define IGNORE 0
      |
matroskaenc.c: In function 'mkv_write_stereo_mode':
matroskaenc.c:1636: warning: "IGNORE" redefined
 1636 | #define IGNORE(STEREOMODETYPE, WDIV, HDIV, WEBM)
      |
In file included from c:\gcc1131\x86_64-w64-mingw32\include\windows.h:70,
                 from c:\gcc1131\x86_64-w64-mingw32\include\winsock2.h:23,
                 from c:\gcc1131\x86_64-w64-mingw32\include\libavformat\os_support.h:143,
                 from c:\gcc1131\x86_64-w64-mingw32\include\libavformat\internal.h:29,
                 from matroskaenc.c:34:
c:\gcc1131\x86_64-w64-mingw32\include\winbase.h:511: note: this is the location of the previous definition
  511 | #define IGNORE 0
https://github.com/FFmpeg/FFmpeg/com...b2b98bdeda5039
https://github.com/ffvvc/FFmpeg/comm...36327f5fc4bcad
https://github.com/mm2/Little-CMS/co...433b59390ef29b
https://github.com/tukaani-project/x...55142be8ef9b11
https://github.com/GNOME/glib/commit...bbbdd9fb62ecdb
https://github.com/GNOME/libxml2/com...d12fe40b78717f
https://github.com/harfbuzz/harfbuzz...8da2e8c5cfca19
https://github.com/PCRE2Project/pcre...534fd10c1d4d59
https://gitlab.freedesktop.org/cairo...622c29f5010698
https://gitlab.freedesktop.org/freet...e1a7dab0ef21de
https://gitlab.freedesktop.org/fontc...156733b2b2c13a
https://github.com/jbeich/aom/commit...a34a95c956a31c
https://github.com/libjxl/libjxl/com...59bb9047d8c60f
https://github.com/google/brotli/com...7a633c4a9b2f5d
https://github.com/google/highway/co...25cf60b63ee741
https://bitbucket.org/multicoreware/...6a4d028e99089e
https://github.com/ultravideo/uvg266...56bae17818e489


Warming:
bzip2 isn't longer updated. bzip3 replaced it
bzip3 isn't supported in ffmpeg and addons.

https://www.sendspace.com/file/b8ll50

Code:
mpegvideo_enc.c: In function 'ff_mpv_encode_init':
mpegvideo_enc.c:897:10: error: 'CONFIG_H263P_ENCODER' undeclared (first use in this function); did you mean 'CONFIG_H263_ENCODER'?
  897 |     if ((CONFIG_H263P_ENCODER || CONFIG_RV20_ENCODER) && s->modified_quant)
      |          ^~~~~~~~~~~~~~~~~~~~
      |          CONFIG_H263_ENCODER
The thing may not be very interesting. You can add vvc to matroska.
https://github.com/FFmpeg/FFmpeg/com...97d8c04a1374c3
https://github.com/ffvvc/FFmpeg/comm...f00d65da4b2e86
https://gitlab.freedesktop.org/freet...84c3a0979603f0
https://github.com/GNOME/libxml2/com...4df8cf6d0be5fc
https://github.com/GNOME/glib/commit...e7fe2c7df6cd49
https://github.com/mm2/Little-CMS/co...28817bc8c37c70
https://github.com/jbeich/aom/commit...8d3a7b6064c493
https://github.com/google/highway/co...994e56827dc443
https://github.com/libjxl/libjxl/com...542ffedeacdef8
https://github.com/harfbuzz/harfbuzz...a59384491d3989
https://github.com/lameproject/lame/...70de433468070a

https://www.sendspace.com/file/0e5qnl

some fixes, some improvements

I don't know why opus and vorbis decoders don't work in gcc.
Libopus for webm works but for .oga files it crashes.
https://github.com/FFmpeg/FFmpeg/com...2f52b1bc0156cc
https://github.com/ffvvc/FFmpeg/comm...fcd09de847f642
https://github.com/mm2/Little-CMS/co...da8498d6dd21d4
https://github.com/tukaani-project/x...1fd04359d53f08
https://github.com/GNOME/glib/commit...b93e4adc5b28cc
https://github.com/GNOME/libxml2/com...82c6bd2d16d0ee
https://github.com/GNOME/pango/commi...d3887abaee7ed7
https://github.com/harfbuzz/harfbuzz...0cd1af375aae23
https://github.com/PCRE2Project/pcre...36335aa26f84fa
https://gitlab.freedesktop.org/freet...9f19a7339bcab3
https://gitlab.freedesktop.org/fontc...2c3be400f06a58
https://github.com/jbeich/aom/commit...cea18edc5e3bd0
https://github.com/libjxl/libjxl/com...d14676365cb09e
https://github.com/google/highway/co...8341db3e57e4ec
https://github.com/google/brotli/com...cb3c3eaa96f26a
https://bitbucket.org/multicoreware/...6a4d028e99089e

https://www.sendspace.com/file/0bzjly

After the holidays. Time to end the ffmpeg vvc/evc thread. We'll probably delete it in a month.
What is my success? I managed to compile ffmpeg in gcc, but the decoders and encoders are unstable, the add-ons only work. So my knowledge ends here. Oh, the VVC ffmpeg decoder is AVX2 only. We throw away old computers.

// decoders/encoders
#define CONFIG_AAC_DECODER 0 //delete
#define CONFIG_AAC_FIXED_DECODER 0 //delete
#define CONFIG_AAC_ENCODER 0 //delete
#define CONFIG_AAC_MF_ENCODER 0 //delete
#define CONFIG_AC3_DECODER 0 //delete
#define CONFIG_AC3_FIXED_DECODER 0 //delete
#define CONFIG_AC3_ENCODER 0 //delete
#define CONFIG_AC3_FIXED_ENCODER 0 //delete
#define CONFIG_AC3_MF_ENCODER 0 //delete
#define CONFIG_EAC3_DECODER 0 //delete
#define CONFIG_EAC3_ENCODER 0 //delete
#define CONFIG_HAP_DECODER 0 //delete
#define CONFIG_HAP_ENCODER 0 //delete
#define CONFIG_MP1_DECODER 0 //delete
#define CONFIG_MP1FLOAT_DECODER 0 //delete
#define CONFIG_MP2_DECODER 0 //delete
#define CONFIG_MP2_ENCODER 0 //delete
#define CONFIG_MP2FIXED_ENCODER 0 //delete
#define CONFIG_MP2FLOAT_DECODER 0 //delete
#define CONFIG_MP3_DECODER 0 //delete
#define CONFIG_MP3_MF_ENCODER 0 //delete
#define CONFIG_MP3ADU_DECODER 0 //delete
#define CONFIG_MP3ADUFLOAT_DECODER 0 //delete
#define CONFIG_MP3FLOAT_DECODER 0 //delete
#define CONFIG_MP3ON4_DECODER 0 //delete
#define CONFIG_MP3ON4FLOAT_DECODER 0 //delete
#define CONFIG_VP9_DECODER 0 //delete
#define CONFIG_MPEG4_DECODER 0 //delete XVID
#define CONFIG_MPEG4_ENCODER 0 //delete XVID

Fix ffmpeg only plugins
https://www.sendspace.com/file/chpp3e


New additions 24/09/2023. As you can see, there are more add-ons for photo/subtitles codecs than video codecs.

Intricacies of FFmpeg config
Should I add assembler under NASM/GCC 11.3.X? This should be added.
What does CONFIG_GPL 0 mean? Means that some codecs are not active.
DIRENT_H/INTTYPES_H/STRINGS_H/MALLOC_H doesnt add after plain Windows. The same applies to the HAVE_SYS* function under POSIX.
Problem adding PTHREAD\THREAD in rsvg\ass\drawtext add-ins. I think it should be PTHREAD for win64.
Will ffvvc be compatible with windows gcc? It will be unstable just like other add-ons.

I see new RUST features in GCC on github
rust: Implement TARGET_RUST_OS_INFO for i[34567]86-*-mingw* and x86_64-*-mingw*.

https://github.com/FFmpeg/FFmpeg/com...278f704680d6a6
https://github.com/ffvvc/FFmpeg/comm...59c00559e32322
https://github.com/mpeg5/ffevc/commi...f2408dff2e3dd2
https://github.com/mm2/Little-CMS/co...0dfadbb6c72d7c
https://github.com/madler/zlib/commi...27d40a407d3266
https://github.com/tukaani-project/x...4afe3293e51d71
https://github.com/GNOME/glib/commit...53725034b8cb77
https://github.com/GNOME/libxml2/com...d3229587c88373
https://gitlab.freedesktop.org/freet...c131348bcd7e8f
https://gitlab.freedesktop.org/cairo...4fe9d787b76cab
https://github.com/PCRE2Project/pcre...327c9f4b0a2ef7
https://github.com/harfbuzz/harfbuzz...9beb7dfbeb20e3
https://github.com/google/brotli/com...cb3c3eaa96f26a
https://github.com/google/highway/co...3995f136db26bc
https://github.com/libjxl/libjxl/com...13ba850e7face5
https://github.com/webmproject/libwe...c3baa5df2c167d
https://github.com/jbeich/aom/commit...cea18edc5e3bd0

https://www.sendspace.com/file/amsn04

https://github.com/uclouvain/openjpe...a9381af42b52ba

Last edited by Jamaika; 24th September 2023 at 06:54.
Jamaika is offline   Reply With Quote
Reply

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 13:09.


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