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. |
![]() |
#1 | Link |
Registered User
Join Date: Jul 2015
Posts: 861
|
New functions in ffmpeg.
Added jpegXL animated
Improved opus options in ffmpeg. My ffmpeg project: https://limewire.com/?referrer=48k1433kko Latest project fixes. https://github.com/AviSynth/AviSynth...0fb6e0a6d76dd0 https://github.com/HomeOfAviSynthPlu...6e84a0c629252d https://gitlab.gnome.org/GNOME/libxm...43c1b565327654 https://gitlab.gnome.org/GNOME/glib/...13fbc41cf51ba3 https://gitlab.gnome.org/GNOME/pango...49f2727cd6ce60 https://github.com/freetype/freetype...03497c473e10d0 https://github.com/harfbuzz/harfbuzz...1375d9ef1d1959 https://github.com/tukaani-project/x...13ef520827b57c https://code.videolan.org/videolan/x...d4f10540df4687 https://code.videolan.org/videolan/d...e3621c14ee5484 https://bitbucket.org/multicoreware/...2b5574feff0f4c Last edited by Jamaika; 4th January 2025 at 19:18. |
![]() |
![]() |
![]() |
#3 | Link |
Registered User
Join Date: Jul 2015
Posts: 861
|
I don't know what you mean but these aren't your projects.
Is there a linking interest in the GUI? Probably not. There are lot of links on pages Is this advertisement? Rather not. A free 1GB file transfer with download counter for month would be useful but probably not realistic. Then you can say what it is. Last edited by Jamaika; 4th January 2025 at 18:06. |
![]() |
![]() |
![]() |
#6 | Link |
Registered User
Join Date: Jul 2015
Posts: 861
|
Let's see what's up in Mainconcept. What's new for big video editors. Will 2025 surprise us with ffmpeg or github add-ons?
https://www.mainconcept.com/mainconc...-wowza-jpeg-xs MainConcept, the leading provider of video and audio codecs, has expanded the availability of LCEVC with Wowza Streaming Engine and released a JPEG XS SDK featuring low latency and low complexity that also benefits from the MainConcept Easy Video API. MainConcept and Wowza have continually advanced their offerings to meet the industry’s ever-changing needs. By adding LCEVC into Wowza Streaming Engine that uses MainConcept codecs to encode or transcode to and from AVC/H.264 and HEVC/H.265, the teams have been able to provide reduced bitrates by enhancing compression efficiency resulting in significantly lower encoding costs while keeping backward compliance with all sorts of legacy playback devices. LCEVC (standardized as MPEG-5 Part 2) is an enhancement layer which, when combined with a base video encoded with a codec like AVC, HEVC or VVC produces an enhanced video stream. Last year MainConcept in partnership with V-Nova, the primary developers of LCEVC, added LCEVC to the MainConcept Live Encoder. This latest project with Wowza further expands the availability of this codec enhancement and is the first ever to offer both LCEVC and VVC together, the combination recently selected by Forum SBTVD and standardized in the upcoming TV 3.0 digital television in Brazil. That's how it looks. There is no point in counting on the addition of the ac4 codec to free projects this year. Will there be avs4 based on the vvc codec in Chinese TV? There is no announcement at the moment. Free projects on github are unfinished so they have nothing to do with Chinese TV. So it is not known whether to delete these projects from ffmpeg? https://gitee.com/pkuvcl/xavs2 https://github.com/uavs3/uavs3e https://www.avs.org.cn/en/index.php/index/list?catid=22 Last edited by Jamaika; 5th January 2025 at 08:15. |
![]() |
![]() |
![]() |
#7 | Link |
Registered User
Join Date: Jul 2015
Posts: 861
|
It's time to clutter up the forum.
Latest project fixes. https://github.com/GNOME/pango/commi...e5dc0b16cdae38 https://github.com/libjxl/libjxl/com...bf28da04548d8c https://github.com/cisco/openh264/co...5fc0a3c9ed14e3 https://github.com/despoa/LAME/commi...3da6ad8a97345f https://github.com/PCRE2Project/pcre...4be9000214e93b https://github.com/harfbuzz/harfbuzz...f74373cc0f1472 https://github.com/GNOME/libxml2/com...3cadcd952021d1 https://github.com/ultravideo/kvazaa...e57978d1433e0e https://bitbucket.org/multicoreware/...eed005d82b93c9 https://github.com/OpenVisualCloud/S...4c092b490cfbdd I added vsTMM to Avisynth, but I don't know if it's the best idea. There are similar projects on github. https://github.com/Asd-g/TMM2 https://github.com/pinterf/TIVTC https://github.com/avisynth-repository/TDeint Changed vfr function definitions in avisynth. Code:
if(avs->flags & AVISYNTH_FRAMEPROP_VFR) { avs->is_vfr = false; avpriv_set_pts_info(st, 32, avs->vi->fps_denominator, avs->vi->fps_numerator); } else { avs->is_vfr = true; avpriv_set_pts_info(st, 64, 1, 1); } https://github.com/Asd-g/AviSynth-FFTSpectrum What can be annoying in the AVISource Avisynth function? The function is enabled by default audio=true. It should be false. This function only works for pcm audio codecs. Lame MP3 doesn't work. GUI fonts in the windows family. The more fonts installed, the more memory is burdened. I provide links to uninstall fonts. It's a pity that fonts cann't be downloaded from the X directory without installing them in glib, cairo, harfbuzz, pango, libass, rsvg. ** (process:3748): WARNING **: 10:52:27.423: couldn't load font "Times-Roman Not-Rotated 11.199", falling back to "Sans Not-Rotated 11.199", expect ugly output. HKCU\Software\Microsoft\Shared Tools\Panose, name font HKCU\Software\Microsoft\Windows NT\CurrentVersion\Fonts, name font My ffmpeg project: https://limewire.com/?referrer=48k1433kko I haven't added l-smash fixes to ffmpeg. They'll be approved in ffmpeg and then they'll be added. https://github.com/HomeOfAviSynthPlu...r-lsmashsource Last edited by Jamaika; 9th January 2025 at 11:24. |
![]() |
![]() |
![]() |
#8 | Link |
Registered User
Join Date: Jul 2015
Posts: 861
|
Latest project fixes.
https://gitlab.gnome.org/GNOME/pango...09ea799038445b https://github.com/libjxl/libjxl/com...d6c55380e65ac5 https://github.com/PCRE2Project/pcre...fdb56d3eab0517 https://gitlab.gnome.org/GNOME/glib/...3442d3660480dd https://gitlab.freedesktop.org/cairo...8e1a9ce1a2fec2 https://gitlab.freedesktop.org/freet...3d9230335cc2c0 https://github.com/tukaani-project/x...bbc32f2a313615 Fixed JincResize 36/64/144/256 Added AddGrainC Added RemoveDirt Added TIVTC, TDeint https://www.sendspace.com/file/495fj7 Last edited by Jamaika; 16th January 2025 at 17:04. |
![]() |
![]() |
![]() |
#9 | Link |
Registered User
Join Date: Jul 2015
Posts: 861
|
Latest project fixes.
https://github.com/freetype/freetype...dda8c117498bab https://github.com/libjxl/libjxl/com...bdbd75de455aba https://github.com/tukaani-project/x...2d35cc281f65da https://github.com/xiph/speex/commit...894bd200526222 https://github.com/mm2/Little-CMS/co...b0628b1e704e56 https://gitlab.gnome.org/GNOME/glib/...a020a586727bbf https://gitlab.gnome.org/GNOME/libxm...ec3a91fda3e0e2 https://github.com/AviSynth/AviSynth...15b32ab9678d60 https://github.com/uclouvain/openjpe...0ea883e3d73fbf A few recent modifications. Enough for another 4 years. https://github.com/Asd-g/AviSynth-Ji...cba06a5c4426c2 https://github.com/pinterf/FastBlur/...c4d401ad94b308 Test plugins avisynth Code:
function LibavSource2(string path, int "atrack", \ int "fpsnum", int "fpsden", \ string "format", bool "cache") { atrack = Default(atrack, -1) fpsnum = Default(fpsnum, 0) fpsden = Default(fpsden, 1) cache = Default(cache, true) format = Default(format, "") video = LWLibavVideoSource(path, \ fpsnum=fpsnum, fpsden=fpsden, format=format, \ cache=cache) return (atrack==-2) ? video: AudioDub(video, \ LWLibavAudioSource(path, stream_index=atrack, cache=cache)) } function RemoveDirt(clip input, bool "_grey", int "repmode") { _grey=default(_grey, false) repmode=default(repmode, 16) clmode=17 clensed=Clense(input, grey=_grey, cache=4) sbegin = ForwardClense(input, grey=_grey, cache=-1) send = BackwardClense(input, grey=_grey, cache=-1) select = SCSelect(input, sbegin, send, clensed, debug=true) alt=Repair(select, input, mode=repmode, modeU = _grey ? -1 : repmode ) restore=Repair(clensed, input, mode=repmode, modeU = _grey ? -1 : repmode) corrected=RestoreMotionBlocks(clensed, restore, neighbour=input, alternative=alt, gmthreshold=70, dist=1, dmode=2, debug=false, noise=10, noisy=12, grey=_grey) return RemoveGrain(corrected, mode=clmode, modeU = _grey ? -1 : clmode ) } ConvertAudioToFloat() AudioBoost(4.0, 0.95, 1, true) z_ConvertFormat(pixel_type="YUV420",colorspace_op="709:709:709:l=>709:709:709:l",dither_type="none") Jinc64Resize(1280,720) RemoveDirt(false,16) tfm(pp=7,tdeint(mode=2,type=3)).tdecimate(mode=1) // I don't know if plugin is supposed to work like this. Test fix: https://github.com/Asd-g/AviSynth-JincResize/pulls https://www.sendspace.com/file/05nt44 Last edited by Jamaika; 23rd January 2025 at 09:45. |
![]() |
![]() |
![]() |
#11 | Link |
Registered User
Join Date: Jul 2015
Posts: 861
|
Latest project fixes.
https://gitlab.freedesktop.org/cairo...7fead23654ad55 https://gitlab.freedesktop.org/freet...e760ccac4c4e32 https://gitlab.gnome.org/GNOME/glib/...92f2b408dc0ef0 https://gitlab.gnome.org/GNOME/libxm...61c587f63e4448 https://github.com/libjxl/libjxl/com...fabde4e79c018d https://github.com/webmproject/libwe...17f695df89b286 https://bitbucket.org/multicoreware/...5d101806f56616 https://github.com/libass/libass/com...477ca360cb917d https://github.com/tukaani-project/x...b704fc303c48e4 https://github.com/Asd-g/AviSynth-Ji.../pull/20/files https://www.sendspace.com/file/6zplnr vsCnr2(mode="oxx", scdthr=10.0, ln=35, lm=192, un=47, um=255, vn=47, vm=255, sceneChroma=false) vsDeblockPP7(mode=0, y=3, u=3, v=3) vsDeGrainMedian(limitY=4, limitU=4, limitV=4, modeY=1, modeU=1, modeV=1, interlaced=false, norow=false, opt=-1) vsLGhost(mode=[2, 2, 1, 1], shift=[4, 7, -4, -7], intensity=[20, 10, -15, -5]) vsMSmooth(threshold=6.0, strength=3.0, mask=false, luma=true, chroma=false) vsTBilateral(diameterY=5, diameterU=5, diameterV=5, sdevY=1.4, sdevU=1.4, sdevV=1.4, idevY=7.0, idevU=7.0, idevV=7.0, csY=1.0, csU=1.0, csV=1.0, d2=false, kerns=2, kerni=2, restype=0, y=3, u=3, v=3) vsTCanny(sigmaY=1.50, sigmaU=1.50, sigmaV=1.50, sigma_vY=1.50, sigma_vU=1.50, sigma_vV=1.50, t_h=8.0, t_l=1.0, mode=1, op=1, scale=1.0, y=3, u=3, v=3, opt=-1) vsTEdgeMask (threshY=8.0, threshU=8.0, threshV=8.0, type=5, link=1, scale=1.0, Y=3, U=3, V=3, opt=-1) vsTMM(order=0, field=-1, mode=0, length=10, mtype=1, ttype=1, mtql=-1, mthl=-1, mtqc=-1, mthc=-1, nt=2, minthresh=4, maxthresh=75, cstr=4, athresh=-1, metric=0, expand=0, link=true, binary=false, eight=false, y=3, u=3, v=3, opt=-1) vsTTempSmooth(maxr=7, ythresh=4, uthresh=5, vthresh=5, ymdiff=2, umdiff=3, vmdiff=3, strength=2, scthresh=50.0, fp=true, y=3, u=3, v=3, opt=-1) EDIT: TEST ffmpeg. Modifications. Why doesn't HEVC work for AVX2? Deleted MMX, MMXEXT, MMX2, SSE Added HAVE_MALLOC_H, HAVE_ALIGNED_MALLOC for ffmpeg, openjpeg, glib, opencv2. Weird thing for C. Previous versions before 11.5.0 did not support HAVE_ALIGNED_MALLOC. Without adding these features the HEVC decoder will not work. Delete aligned_malloc & aligned_free in added plugins avisynth. Changed WINVER, _WIN32_WINNT, _WIN32_MAXVER from 0x0602 to 0x0A00 for directX12 support Problem with %zu in __USE_MINGW_ANSI_STDIO and __STRICT_ANSI__. UCRT is enabled to avoid using __USE_MINGW_ANSI_STDIO., __STRICT_ANSI__ don't work with C++17. For GCC version 15.0.0 %zu doesn't need __USE_MINGW_ANSI_STDIO. https://www.sendspace.com/file/ix8kgd Jamaican scribbles. The truth is that c and c++ are being replaced by rust. In two years the ffmpeg creation thread may be outdated. Last edited by Jamaika; 3rd February 2025 at 07:52. |
![]() |
![]() |
![]() |
#12 | Link |
Registered User
Join Date: Jul 2015
Posts: 861
|
Testing GCC 14.2.0 in new year 2025.
I don't know what it is, but the new release 3 UCRT brechtsanders compilation works better. GCC 14.2.0 is much faster than 11.5.0. https://github.com/brechtsanders/win...-12.0.0-r3.zip I deleted outdated xavs, xavs2, uavs3, uvg266 programs. Latest ffmpeg additions: https://github.com/xiph/opus/commit/...1a51b63ed8b987 https://github.com/xiph/speex/commit...e04a381634e354 https://github.com/PCRE2Project/pcre...aac78ebc57048b https://gitlab.gnome.org/GNOME/libxm...d15e1d7af869b2 https://gitlab.gnome.org/GNOME/glib/...94e11b378fd804 https://github.com/harfbuzz/harfbuzz...4c9d97f54f5e1e https://github.com/AviSynth/AviSynth...61b1174d119ac5 https://github.com/HomeOfAviSynthPlu...3fad11ab6a86f8 https://github.com/mm2/Little-CMS/co...8f76fda766ecc6 https://github.com/madler/zlib/commi...b00968f7c52944 https://github.com/google/brotli/com...70f01f06e0c349 https://github.com/libjxl/libjxl/com...490e0721116657 https://github.com/v-novaltd/LCEVCde...d474c4f84a6f61 https://sourceware.org/pub/valgrind/...3.24.0.tar.bz2 A bit about the RIFE add-on for avisynth. Can it be compiled for ffmpeg? I had a problem. RIFE is only for NCNN_VULKAN. It is a very early add-on written in C. It is being converted to C++ and out of the blue C++20 and boost functions are added. The latest ncnn is difficult without CMAKE. It has complicated config_type functions. https://github.com/Tencent/ncnn IsPlanar function doesn't work for me. Test JPEGXL ffmpeg_avx2.exe -i image.png image.jxl [libjxl @ 000002097ac93b60] Unknown transfer function, assuming IEC61966-2-1/sRGB. Colors may be wrong. [libjxl @ 000002097ac93b60] Unknown primaries, assuming BT.709/sRGB. Colors may be wrong. Test AOM ffmpeg_avx2.exe -v verbose -hwaccel opencl -init_hw_device opencl=gpu:0.0 -filter_hw_device gpu -i "video.mp4" -y -c:v libaom-av1 -vb 3000k -c:a aac -ac 2 -ar 48000 -ab 128k -s 1920x1080 -frames:v 1000 -pix_fmt yuv420p -cpu-used 4 output_aom.mkv Error. Reason unknown, I haven't tested the config function. Maybe it only works in c99. https://www.sendspace.com/file/16t0ja Last edited by Jamaika; 13th February 2025 at 12:02. |
![]() |
![]() |
![]() |
#13 | Link |
Registered User
Join Date: Jul 2015
Posts: 861
|
Testing the new version of AviSynth 27558df.
LWLibavVideoSource("input_bgr24.avi",fpsnum=30000,fpsden=1001) ConvertToPlanarRGB(matrix="PC.RGB") z_ConvertFormat(pixel_type="YUV420P8", colorspace_op="rgb:709:709:f=>709:709:709:l") ... LWLibavVideoSource("input_bgra.avi",fpsnum=30000,fpsden=1001) ConvertToPlanarRGBA(matrix="PC.RGB") z_ConvertFormat(pixel_type="YUV420P8", colorspace_op="rgb:709:709:f=>709:709:709:l") ... LWLibavVideoSource("input_yuv420p.avi",fpsnum=30000,fpsden=1001) z_ConvertFormat(pixel_type="YUV420P8", colorspace_op="709:709:709:l=>709:709:709:l") I changed __inline to inline under GCC. I changed entries: if ("something there" || !vi.IsPlanarRGB() || !vi.IsPlanarRGBA()) to if ("something there" || ((vi.IsRGB24() || vi.IsRGB48()) && !vi.IsPlanarRGB()) || ((vi.IsRGB32() || vi.IsRGB64()) && !vi.IsPlanarRGBA())) And now it works. For YUV420P is planar and for BRG(A) isn't planar because pixel type BRG(A) can be interlaced. https://www.sendspace.com/file/ir5zhh Last edited by Jamaika; 15th February 2025 at 11:03. |
![]() |
![]() |
![]() |
#15 | Link |
Registered User
Join Date: Jul 2015
Posts: 861
|
Test Intel® Library for Video Super Resolution for GCC 14.2.0
https://github.com/OpenVisualCloud/V...553e7c10dce012 Everything is fine but to find free Intel® IPP drivers - Open Source Computer Vision Library you have to be lucky. I found some from 2014. Of course the main doctrine is "don't use gcc crap, use visual studio". So drivers posted are garbage for gcc. https://sourceforge.net/projects/ope...dparty/ippicv/ RAISR [version]: RAISR Native Lib v23.11 LIB Build date: Feb 20 2025, 21:09:49 ------------------------------------------- ASM Type: OpenCL [RAISR ERROR] Unable to open config file: filters_2x/filters_lowres//config [AVFilterGraph @ 000001eb85663b80] Error initializing filters Error opening output file out.yuv. Error opening output files: Cannot allocate memory https://www.sendspace.com/file/ymdoxj Edit: New plugins: https://github.com/AviSynth/AviSynth...17ea061b096a8e https://github.com/HomeOfAviSynthPlu...02a4d1734beba1 https://github.com/OpenVisualCloud/S...5cffcdb29b2db4 https://github.com/PCRE2Project/pcre...cc8ae4e9a90f89 https://gitlab.gnome.org/GNOME/glib/...1ca914aa20dd45 https://gitlab.gnome.org/GNOME/libxm...07d3d8045c0c04 https://gitlab.freedesktop.org/cairo...45987389ddfc0c https://github.com/harfbuzz/harfbuzz...bd90071f6c2967 https://bitbucket.org/multicoreware/...78da84527c3b12 https://github.com/videolan/dav1d/co...a650038dad06e2 https://www.sendspace.com/file/48661i Last edited by Jamaika; 24th February 2025 at 21:11. |
![]() |
![]() |
![]() |
#17 | Link |
Banana User
Join Date: Sep 2008
Posts: 1,116
|
What is special about these builds?
__________________
InpaintDelogo, DoomDelogo, JerkyWEB Fixer, Standalone Faster-Whisper - AI subtitling |
![]() |
![]() |
![]() |
#18 | Link |
Registered User
Join Date: Jul 2015
Posts: 861
|
Hmm... . I understand that you are trying to tell me something. There is no interest in the topic. Hmm.., What can I say? Who is the forum waiting for and is it needed? Or maybe it should be paid? Who knows.
I'm touching on the subject of avisynth a bit. Does it make sense after so many years of downtime? Probably not. I learned how to create programming. Are GUI links interesting? No. That's what Google is for. You can also say what it is for. Does m-ab-s have everything in it? No but let's say there is a simple cmake. What other questions can I ask here? Who needs ffmpeg when everything is in Microsoft Edge. Photo, video, svg, pdf decoder. I have avisynth add-ons. I also have a few questions, why does anyone need avisynth? What other questions can I ask? Is my ffmpeg for the latest AVX10/CUDA/RISEN computers, etc.? It is not. I realize that I am cluttering up the forum. |
![]() |
![]() |
![]() |
#19 | Link |
Banana User
Join Date: Sep 2008
Posts: 1,116
|
I'm not trying to tell you anything. Why people would want to use your build? Instead of this for example :https://www.gyan.dev/ffmpeg/builds
__________________
InpaintDelogo, DoomDelogo, JerkyWEB Fixer, Standalone Faster-Whisper - AI subtitling |
![]() |
![]() |
![]() |
#20 | Link | |
Registered User
Join Date: Jul 2015
Posts: 861
|
Quote:
libraries in essentials build avisynth(needs avisynth dll installed)+ libaom libass libfreetype libfribidi libharfbuzz libgme libgsm libmp3lame libopencore-amrnb libopencore-amrwb libopenjpeg libopenmpt libopus librubberband libspeex libsrt libssh libtheora libvidstab libvmaf libvo-amrwbenc libvorbis libvpx libwebp libx264 libx265 libxvid libzimg libzmq mediafoundation sdl2 additional libraries in full build chromaprint frei0r ladspa lcms2 libaribb24 libaribcaption libbluray libbs2b libcaca libcdio libcodec2 libdav1d libdavs2 libdvdnav libdvdread libflite libilbc libjxl liblc3 liblensfun libmodplug libmysofa libplacebo libqrencode libquirc librav1e librist libshaderc libshine libsnappy libsoxr libsvtav1 libtwolame libuavs3d libvvenc libxavs2 libxevd libxeve libzvbi opencl vulkan hardware-support libraries in all builds amf cuda cuvid d3d11va d3d12va dxva2 libvpl nvdec nvenc vaapi My avisynth is compiled differently. It is built in static and includes latest add-ons. Avisynth plugins: L-SMASH ,AddGrainC, AudioBoost, avsresize, descratch, FastBlur, KNLMeansCL, Avisynth plugins: RemoveDirt, RgTools, TIVTC, Waveform, vsCnr2, vsDeblockPP7, vsDeGrainMedian, Avisynth plugins: vsLGhost, vsMSmooth, vsTBilateral, vsTCanny, vsTEdgeMask, vsTMM, vsTTempSmooth My avisynth has librsvg 2.41(c). librsvg is recommended to use rust, but is only compiled library for Visual Studio. I think it has quite a few extras. avisynth libaom libass libfreetype libfribidi libharfbuzz libxml2 libgsm libmp3lame libopenjpeg libopus libspeex libtheora libvmaf libvorbis libvpx libwebp libx264(no l-smash) libx265 libxvid libzimg sdl2 fdk-aac svt-jxs dav1d libkvazaar libopenh264 lcms2 libcodec2 libdav1d libjxl liblc3 libqrencode libquirc libshine libsnappy libsoxr libtwolame libvvenc libxevd libxeve opencl d3d11va d3d12va dxva2 |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|