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: 660
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 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


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/UAVS2 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

Last edited by Jamaika; Yesterday at 17:55.
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 20:19.


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