<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">вт, 16 июл. 2024 г., 17:07 Terje J. Hanssen <<a href="mailto:terjejhanssen@gmail.com" target="_blank" rel="noreferrer">terjejhanssen@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div>
<br>
<br>
<div>Den 16.07.2024 13:19, skrev Andrew
Randrianasulu:<br>
</div>
<blockquote type="cite">
<div dir="auto">
<div><br>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">вт, 16 июл. 2024 г., 13:30
Terje J. Hanssen <<a href="mailto:terjejhanssen@gmail.com" rel="noreferrer noreferrer" target="_blank">terjejhanssen@gmail.com</a>>:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div> <br>
<br>
<div>Den 16.07.2024 11:46, skrev Andrew Randrianasulu:<br>
</div>
<blockquote type="cite">
<div dir="auto">
<div><br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">вт, 16 июл.
2024 г., 12:34 Terje J. Hanssen <<a href="mailto:terjejhanssen@gmail.com" rel="noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">terjejhanssen@gmail.com</a>>:<br>
</div>
</div>
</div>
<br>
<div dir="auto">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div> <br>
Does this also mean that it is not possible
to make a "smart", common CinGG version that
has multibit capability for all encoding,
x264 and x265 included?<br>
</div>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">this should be current *-multibit
version, but as Andrea noticed it might be slower
at regular x265 8bit encodes.</div>
<div dir="auto"><br>
</div>
<br>
<div dir="auto">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div> I wonder why I didn't get the following
encoding formats to work<br>
<blockquote type="cite"><br>
<font face="Courier New, Courier, monospace">0
av1_svt_yuv420p_cfhd01.webm</font><br>
<font face="Courier New, Courier, monospace">0
av1_vaapi_yuv420p_cfhd01.webm</font><br>
<font face="Courier New, Courier, monospace">0
av1_yuv422p10le_cfhd01.webm</font></blockquote>
<br>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
<br>
There should also be more 10-bit pixel formats available
as extracted from my previous post:<br>
<a href="https://lists.cinelerra-gg.org/pipermail/cin/2024-July/008407.html" rel="noreferrer noreferrer noreferrer" target="_blank">https://lists.cinelerra-gg.org/pipermail/cin/2024-July/008407.html</a><br>
<br>
<blockquote><font face="Courier New, Courier, monospace">cfhd:
yuv422p10le gbrp12le gbrap12le</font><br>
<font face="Courier New, Courier, monospace">libx265:
yuv420p10le yuv422p10le yuv444p10le gbrp10le
yuv420p12le yuv422p12le yuv444p12le gbrp12le gray
gray10le gray12le</font><br>
<font face="Courier New, Courier, monospace">libsvtav1:
yuv420p10le</font><br>
<font face="Courier New, Courier, monospace">av1_qsv:
nv12 p010le qsv</font></blockquote>
</div>
</blockquote>
</div>
</div>
<div dir="auto">you tried to set pixel format dropdown menu
after choosing preset?</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
</div>
</blockquote>
Probably I missed that some preset steps (Compression?) on the
Render menu.<br>
I found now 10bit more yuv422p10le for x265 and svt, but still not
yet for av1_vaapi.<br>
<br>
<blockquote type="cite">
<div dir="auto">
<div dir="auto">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div> <br>
<blockquote type="cite">
<div dir="auto">
<div dir="auto">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div> And won't it be possible to enable Intel
qsv etc. hwaccel support with CinGG's
"internal ffmpeg", when it is available for
my system ffmpeg? </div>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">in theory yes, just figure out that
switch you need to pass to ffmpeg for that (ffmpeg
should print it in its banner ) and add it
to FFMPEG_EXTRA_CFG=" --your-switch
--your-second-switch" environmental variable set
via export command before you run <a href="http://autogen.sh/configure/make" rel="noreferrer noreferrer noreferrer" target="_blank">autogen.sh/configure/make</a></div>
</div>
</blockquote>
<br>
I meant pre-build with CinGG.<br>
</div>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">well, problem is, if we compile cingg for
whatever new libs for ffmpeg exist - running it on system
where such libs are at wrong version may result in weird
crashes etc? Appimage helps with some of them, but sadly not
with hw-assisted de/encoding .....</div>
<div dir="auto"><br>
</div>
<div dir="auto">Why you are so reluctant to compiling cingg
yourself? You have enough cou/memory/hdd space ....</div>
</div>
</blockquote>
<br>
Well, actually I had begun to think about it, and might do a second
attempt later on (winter work), so this was possibly a kick on the
way ;)<br>
<a href="https://lists.cinelerra-cv.org/pipermail/cinelerra/2016q1/003834.html" rel="noreferrer noreferrer" target="_blank">https://lists.cinelerra-cv.org/pipermail/cinelerra/2016q1/003834.html</a><br>
<br>
In the meantime, is there differences between a "System Built" and a
"Single User built" with regards to updated procedures and utilizing
the system ffmpeg, libs and gpu performance?<br></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">"single user" means you can (and should) run it from directory 'bin' that appear in your cinelerra-5.1 directory after successful build.</div><div dir="auto"><br></div><div dir="auto">System (dynamic) build mean you disable thirdparty components (including ffmpeg) and resulting binary and plugins should be installed system-wide (for example in /usr/local )</div><div dir="auto"><br></div><div dir="auto">You can make "single user build" with "system components" by adding both switches:</div><div dir="auto"><br></div><div dir="auto">./configure --with-single-user --without-thirdparty<br></div><div dir="auto"><br></div><div dir="auto">but system-wide installed ffmpeg should be at compatible version (just in case you install some either new or too old ffmpeg/libavcodec).</div><div dir="auto"><br></div><div dir="auto">On systems where few ffmpegs installed you may need to figure out where exactly relevant libav* libs installed, and then add some CFLAGS/LDFLAGS before compilation. You can look at blds/bsd.bld and bld/netbsd.bld for some examples.</div><div dir="auto"><br></div><div dir="auto">not sure how suse handles this. you probably can look at ldd /usr/bin/ffmpeg to see where libs installed. Or query rpm database about specific packages</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
<a href="https://cinelerra-gg.org/download/CinelerraGG_Manual/How_Build_CINELERRA_GG_from.html" rel="noreferrer noreferrer" target="_blank">https://cinelerra-gg.org/download/CinelerraGG_Manual/How_Build_CINELERRA_GG_from.html</a><br>
<br>
I remember a fun anecdote from my first Unix (the) book, 1982
(translated 1985), in the chapter about 'ed' and 'vi'. They referred
to inner circle Unix programmers who used to say: "Real hackers do
it with ed" 😎<br></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">well, I do not think you can use vi with teletype :) but of course I never tried ed ....</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
<br>
<br>
<blockquote type="cite">
<div dir="auto"><br>
<div dir="auto">Some 20+ years ago I was distrohopping a bit
because nearly every single distro was compiling mplayer just
slightly wrong. Then I just stopped worrying about distro
versions and embrace gcc .... </div>
<div dir="auto"><br>
</div>
<div dir="auto">with whole set of deps being that long I think
having source copy and poke it from time to time is
reasonable? </div>
<div dir="auto"><br>
</div>
<div dir="auto">I can't stop whole world from doing this style
of development, even if personally I dislike being in focal
point of breaking changes from all sides!</div>
<div dir="auto"><br>
</div>
<div dir="auto">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div> <br>
<font face="Courier New, Courier, monospace">A hwaccel
listing from my system ffmpeg:<br>
</font>
<blockquote><font face="Courier New, Courier, monospace">ffmpeg
-hide_banner -encoders | grep qsv</font><br>
<font face="Courier New, Courier, monospace"> V.....
av1_qsv AV1 (Intel Quick Sync Video
acceleration) (codec av1)</font><br>
<font face="Courier New, Courier, monospace"> V.....
h264_qsv H.264 / AVC / MPEG-4 AVC /
MPEG-4 part 10 (Intel Quick Sync Video acceleration)
(codec h264)</font><br>
<font face="Courier New, Courier, monospace"> V.....
hevc_qsv HEVC (Intel Quick Sync Video
acceleration) (codec hevc)</font><br>
<font face="Courier New, Courier, monospace"> V.....
mjpeg_qsv MJPEG (Intel Quick Sync Video
acceleration) (codec mjpeg)</font><br>
<font face="Courier New, Courier, monospace"> V.....
mpeg2_qsv MPEG-2 video (Intel Quick Sync
Video acceleration) (codec mpeg2video)</font><br>
<font face="Courier New, Courier, monospace"> V.....
vp9_qsv VP9 video (Intel Quick Sync
Video acceleration) (codec vp9)</font><br>
<br>
<font face="Courier New, Courier, monospace">ffmpeg
-hide_banner -encoders | grep amf</font><br>
<font face="Courier New, Courier, monospace"> V....D
av1_amf AMD AMF AV1 encoder (codec av1)</font><br>
<font face="Courier New, Courier, monospace"> V....D
h264_amf AMD AMF H.264 Encoder (codec
h264)</font><br>
<font face="Courier New, Courier, monospace"> V....D
hevc_amf AMD AMF HEVC encoder (codec
hevc)</font><br>
<br>
<font face="Courier New, Courier, monospace">ffmpeg
-hide_banner -encoders | grep nvenc</font><br>
<font face="Courier New, Courier, monospace"> V....D
av1_nvenc NVIDIA NVENC av1 encoder (codec
av1)</font><br>
<font face="Courier New, Courier, monospace"> V....D
h264_nvenc NVIDIA NVENC H.264 encoder
(codec h264)</font><br>
<font face="Courier New, Courier, monospace"> V....D
hevc_nvenc NVIDIA NVENC hevc encoder
(codec hevc)<br>
<br>
</font></blockquote>
<font face="Courier New, Courier, monospace">And the
ffmpeg banner:<br>
</font>
<blockquote><font face="Courier New, Courier, monospace">ffmpeg
version 7.0 Copyright (c) 2000-2024 the FFmpeg
developers</font><br>
<font face="Courier New, Courier, monospace"> built
with gcc 13 (SUSE Linux)</font><br>
<font face="Courier New, Courier, monospace">
configuration: --prefix=/usr --libdir=/usr/lib64
--shlibdir=/usr/lib64 --incdir=/usr/include/ffmpeg
--extra-cflags='-O2 -Wall -U_FORTIFY_SOURCE
-D_FORTIFY_SOURCE=3 -fstack-protector-strong
-funwind-tables -fasynchronous-unwind-tables
-fstack-clash-protection -Werror=return-type
-flto=auto -ffat-lto-objects -g' --optflags='-O2
-Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3
-fstack-protector-strong -funwind-tables
-fasynchronous-unwind-tables
-fstack-clash-protection -Werror=return-type
-flto=auto -ffat-lto-objects -g' --disable-htmlpages
--enable-pic --disable-stripping --enable-shared
--disable-static --enable-gpl --enable-version3
--enable-libsmbclient --disable-openssl
--enable-gnutls --enable-ladspa --enable-libshaderc
--enable-vulkan --enable-libplacebo --enable-libaom
--enable-libass --enable-libbluray --enable-libbs2b
--enable-libcdio --enable-libcodec2
--enable-libdav1d --enable-libdc1394 --enable-libdrm
--enable-libfontconfig --enable-libfreetype
--enable-libfribidi --enable-libgsm --enable-libjack
--enable-libjxl --enable-librist --enable-libmp3lame
--enable-libmysofa --enable-libopenjpeg
--enable-libopenmpt --enable-libopenh264-dlopen
--enable-libopus --enable-libpulse --enable-librav1e
--enable-librubberband --enable-libsvtav1
--enable-libsoxr --enable-libspeex --enable-libssh
--enable-libsrt --enable-libtheora
--enable-libtwolame --enable-libvidstab
--enable-libvmaf --enable-libvorbis --enable-libvpx
--enable-libwebp --enable-libxml2 --enable-libzimg
--enable-libzmq --enable-libzvbi --enable-lto
--enable-lv2 --enable-libvpl --enable-vaapi
--enable-vdpau --enable-version3
--enable-libfdk-aac-dlopen --enable-nonfree
--enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-libvo-amrwbenc
--enable-libx264 --enable-libx265 --enable-libxvid</font><br>
</blockquote>
<font face="Courier New, Courier, monospace"><br>
<br>
</font><br>
<br>
<br>
<br>
<br>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
<br>
</div>
</blockquote></div></div></div>