<div dir="auto"><div><br><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">вс, 18 мая 2025 г., 02:56 Phyllis Smith <<a href="mailto:phylsmith2017@gmail.com">phylsmith2017@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-size:small">Checked into GIT the updated ffmpeg.git.patches for future potential upgrade to ffmpeg version 8.0.  And deleted ffmpeg.git.patch8 after attempting to determine what it was actually for and could find no information on that when included sometime in 2019 as patch7.  It is possible that it is no longer needed though - it may have been intended as a speed improvement; but if some relevant error resurfaces, it can then be revisited.<br></div></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">Thanks. I suspect patch8 was aimed at mpeg4 (old, ala xvid, not h265) playback via some hw accelerated method? I'll try some files I have from those old times ...</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote gmail_quote_container"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-size:small"></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Andrea, the failure in your last attached cin5.log as shown below appears to be due to commenting out libpostproc.a in <a href="http://configure.ac" target="_blank" rel="noreferrer">configure.ac</a> because that is needed by cinelerra-5.1/mpeg2enc build.<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail_default" style="font-size:small">make[2]: *** [Makefile:75: x86_64/hveg2enc] Error 1<br>make[2]: uscita dalla directory «/home/paz/cinelerra5/cinelerra-5.1/mpeg2enc»</div></blockquote></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">For me deleting libpostproc.a from <a href="http://configure.ac">configure.ac</a> worked for compiling with ffmpeg.git</div><div dir="auto"><br></div><div dir="auto">But I completely re-run make clean,  ./<a href="http://autogen.sh/configure/make">autogen.sh/configure/make</a> dance</div><div dir="auto"><br></div><div dir="auto">not sure why it did not work for you ....</div><div dir="auto">make sure your user can rewrite global_config in the root of cinelerra's main src tree? (if you tried building from root and then from ordinary user)</div><div dir="auto"><div class="gmail_quote gmail_quote_container"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-size:small"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, May 14, 2025 at 7:49 AM Andrew Randrianasulu <<a href="mailto:randrianasulu@gmail.com" target="_blank" rel="noreferrer">randrianasulu@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Wed, May 14, 2025 at 1:31 PM Andrew Randrianasulu<br>
<<a href="mailto:randrianasulu@gmail.com" target="_blank" rel="noreferrer">randrianasulu@gmail.com</a>> wrote:<br>
><br>
> So I was experimenting  with Vulkan decoding in cinelerra-gg.<br>
><br>
> After some fight I get build using ffmpeg git<br>
><br>
> commit 038314bc6be2f35a82e9fba2228bcac2e4fee648 for ffmpeg<br>
><br>
> here is bunch of errors like this:<br>
><br>
> [hevc @ 0x6f7465c0] Could not find ref with POC 296<br>
> [hevc @ 0x6f7465c0] Error constructing the frame RPS.<br>
> [hevc @ 0x6f7465c0] Skipping invalid undecodable NALU: 9<br>
> [hevc @ 0x6f72ad00] Could not find ref with POC 296<br>
> [hevc @ 0x6f72ad00] Error constructing the frame RPS.<br>
> [hevc @ 0x6f72ad00] Skipping invalid undecodable NALU: 8<br>
> [hevc @ 0x6f77b3c0] Could not find ref with POC 298<br>
> [hevc @ 0x6f77b3c0] Error constructing the frame RPS.<br>
> [hevc @ 0x6f77b3c0] Skipping invalid undecodable NALU: 8<br>
> [hevc @ 0x6f789480] Could not find ref with POC 300<br>
> [hevc @ 0x6f789480] Error constructing the frame RPS.<br>
> [hevc @ 0x6f789480] Skipping invalid undecodable NALU: 1<br>
> [hevc @ 0x6f7465c0] Could not find ref with POC 300<br>
> [hevc @ 0x6f7465c0] Error constructing the frame RPS.<br>
> [hevc @ 0x6f7465c0] Skipping invalid undecodable NALU: 3<br>
> [hevc @ 0x6f72ad00] Could not find ref with POC 300<br>
> [hevc @ 0x6f72ad00] Error constructing the frame RPS.<br>
> [hevc @ 0x6f72ad00] Skipping invalid undecodable NALU: 2<br>
> [hevc @ 0x6f77b3c0] Could not find ref with POC 302<br>
> [hevc @ 0x6f77b3c0] Error constructing the frame RPS.<br>
> [hevc @ 0x6f77b3c0] Skipping invalid undecodable NALU: 2<br>
> [hevc @ 0x6f789480] Could not find ref with POC 304<br>
> [hevc @ 0x6f789480] Error constructing the frame RPS.<br>
> [hevc @ 0x6f789480] Skipping invalid undecodable NALU: 1<br>
> [hevc @ 0x6f7465c0] Could not find ref with POC 304<br>
> [hevc @ 0x6f7465c0] Error constructing the frame RPS.<br>
> [hevc @ 0x6f7465c0] Skipping invalid undecodable NALU: 3<br>
> [hevc @ 0x6f72ad00] Could not find ref with POC 304<br>
> [hevc @ 0x6f72ad00] Error constructing the frame RPS.<br>
> [hevc @ 0x6f72ad00] Skipping invalid undecodable NALU: 2<br>
> [hevc @ 0x6f77b3c0] Could not find ref with POC 306<br>
> [hevc @ 0x6f77b3c0] Error constructing the frame RPS.<br>
> [hevc @ 0x6f77b3c0] Skipping invalid undecodable NALU: 2<br>
> [hevc @ 0x6f789480] Could not find ref with POC 308<br>
> [hevc @ 0x6f789480] Error constructing the frame RPS.<br>
> [hevc @ 0x6f789480] Skipping invalid undecodable NALU: 1<br>
> [hevc @ 0x6f7465c0] Could not find ref with POC 308<br>
> [hevc @ 0x6f7465c0] Error constructing the frame RPS.<br>
> [hevc @ 0x6f7465c0] Skipping invalid undecodable NALU: 3<br>
> [hevc @ 0x6f72ad00] Could not find ref with POC 308<br>
> [hevc @ 0x6f72ad00] Error constructing the frame RPS.<br>
> [hevc @ 0x6f72ad00] Skipping invalid undecodable NALU: 2<br>
> [hevc @ 0x6f77b3c0] Could not find ref with POC 310<br>
> [hevc @ 0x6f77b3c0] Error constructing the frame RPS.<br>
> [hevc @ 0x6f77b3c0] Skipping invalid undecodable NALU: 2<br>
> [hevc @ 0x6f789480] Could not find ref with POC 312<br>
> [hevc @ 0x6f789480] Error constructing the frame RPS.<br>
> [hevc @ 0x6f789480] Skipping invalid undecodable NALU: 1<br>
> [hevc @ 0x6f7465c0] Could not find ref with POC 312<br>
> [hevc @ 0x6f7465c0] Error constructing the frame RPS.<br>
> [hevc @ 0x6f7465c0] Skipping invalid undecodable NALU: 3<br>
> [hevc @ 0x6f72ad00] Could not find ref with POC 312<br>
> [hevc @ 0x6f72ad00] Error constructing the frame RPS.<br>
> [hevc @ 0x6f72ad00] Skipping invalid undecodable NALU: 2<br>
> [hevc @ 0x6f77b3c0] Could not find ref with POC 314<br>
> [hevc @ 0x6f77b3c0] Error constructing the frame RPS.<br>
> [hevc @ 0x6f77b3c0] Skipping invalid undecodable NALU: 2<br>
> [hevc @ 0x6f789480] Could not find ref with POC 316<br>
> [hevc @ 0x6f789480] Error constructing the frame RPS.<br>
> [hevc @ 0x6f789480] Skipping invalid undecodable NALU: 1<br>
> [hevc @ 0x6f7465c0] Could not find ref with POC 316<br>
> [hevc @ 0x6f7465c0] Error constructing the frame RPS.<br>
> [hevc @ 0x6f7465c0] Skipping invalid undecodable NALU: 3<br>
> [hevc @ 0x6f72ad00] Could not find ref with POC 316<br>
> [hevc @ 0x6f72ad00] Error constructing the frame RPS.<br>
> [hevc @ 0x6f72ad00] Skipping invalid undecodable NALU: 2<br>
> [hevc @ 0x6f77b3c0] Could not find ref with POC 318<br>
> [hevc @ 0x6f77b3c0] Error constructing the frame RPS.<br>
> [hevc @ 0x6f77b3c0] Skipping invalid undecodable NALU: 2<br>
> [hevc @ 0x6f789480] Could not find ref with POC 320<br>
> [hevc @ 0x6f789480] Error constructing the frame RPS.<br>
> [hevc @ 0x6f789480] Skipping invalid undecodable NALU: 1<br>
> [hevc @ 0x6f7465c0] Could not find ref with POC 320<br>
> [hevc @ 0x6f7465c0] Error constructing the frame RPS.<br>
> [hevc @ 0x6f7465c0] Skipping invalid undecodable NALU: 3<br>
> [hevc @ 0x6f72ad00] Could not find ref with POC 320<br>
> [hevc @ 0x6f72ad00] Error constructing the frame RPS.<br>
> [hevc @ 0x6f72ad00] Skipping invalid undecodable NALU: 2<br>
> [hevc @ 0x6f77b3c0] Could not find ref with POC 322<br>
> [hevc @ 0x6f77b3c0] Error constructing the frame RPS.<br>
> [hevc @ 0x6f77b3c0] Skipping invalid undecodable NALU: 2<br>
> [hevc @ 0x6f789480] Could not find ref with POC 324<br>
> [hevc @ 0x6f789480] Error constructing the frame RPS.<br>
> [hevc @ 0x6f789480] Skipping invalid undecodable NALU: 1<br>
> [hevc @ 0x6f7465c0] Could not find ref with POC 324<br>
> [hevc @ 0x6f7465c0] Error constructing the frame RPS.<br>
> [hevc @ 0x6f7465c0] Skipping invalid undecodable NALU: 3<br>
> [hevc @ 0x6f72ad00] Could not find ref with POC 324<br>
> [hevc @ 0x6f72ad00] Error constructing the frame RPS.<br>
> [hevc @ 0x6f72ad00] Skipping invalid undecodable NALU: 2<br>
> [hevc @ 0x6f77b3c0] Could not find ref with POC 326<br>
> [hevc @ 0x6f77b3c0] Error constructing the frame RPS.<br>
> [hevc @ 0x6f77b3c0] Skipping invalid undecodable NALU: 2<br>
> [hevc @ 0x6f789480] Could not find ref with POC 328<br>
> [hevc @ 0x6f789480] Error constructing the frame RPS.<br>
> [hevc @ 0x6f789480] Skipping invalid undecodable NALU: 1<br>
> [hevc @ 0x6f7465c0] Could not find ref with POC 328<br>
> [hevc @ 0x6f7465c0] Error constructing the frame RPS.<br>
> [hevc @ 0x6f7465c0] Skipping invalid undecodable NALU: 3<br>
> [hevc @ 0x6f72ad00] Could not find ref with POC 328<br>
> [hevc @ 0x6f72ad00] Error constructing the frame RPS.<br>
> [hevc @ 0x6f72ad00] Skipping invalid undecodable NALU: 2<br>
> [hevc @ 0x6f77b3c0] Could not find ref with POC 330<br>
> [hevc @ 0x6f77b3c0] Error constructing the frame RPS.<br>
> [hevc @ 0x6f77b3c0] Skipping invalid undecodable NALU: 2<br>
> [hevc @ 0x6f789480] Could not find ref with POC 332<br>
> [hevc @ 0x6f789480] Error constructing the frame RPS.<br>
> [hevc @ 0x6f789480] Skipping invalid undecodable NALU: 1<br>
> [hevc @ 0x6f7465c0] Could not find ref with POC 332<br>
> [hevc @ 0x6f7465c0] Error constructing the frame RPS.<br>
> [hevc @ 0x6f7465c0] Skipping invalid undecodable NALU: 3<br>
><br>
> file itself:<br>
> <a href="https://drive.google.com/file/d/1Ic9DZXMSo07EJMqCFaQRKSSrSw6y1mYv/view" rel="noreferrer noreferrer" target="_blank">https://drive.google.com/file/d/1Ic9DZXMSo07EJMqCFaQRKSSrSw6y1mYv/view</a><br>
><br>
> But I see some kind of first frame corruption I never saw on 7.0 build<br>
><br>
> <a href="https://paste.pics/860707666060d195485e07ea7b057ce8" rel="noreferrer noreferrer" target="_blank">https://paste.pics/860707666060d195485e07ea7b057ce8</a><br>
><br>
> and speed kinda down from 58 fps to just 50-51  relative to ffmpeg libs 7.0?<br>
><br>
> hw:<br>
> 01:00.0 VGA compatible controller: Advanced Micro Devices, Inc.<br>
> [AMD/ATI] Lexa PRO [Radeon 540/540X/550/550X / RX 540X/550/550X] (rev<br>
> c7)<br>
><br>
> mesa:<br>
><br>
> OpenGL renderer string: AMD Radeon RX 550 / 550 Series (radeonsi,<br>
> polaris12, ACO, DRM 3.61, 6.12.26-x64)<br>
> OpenGL core profile version string: 4.6 (Core Profile) Mesa<br>
> 25.2.0-devel (git-ef63e3e4d2)<br>
><br>
> cingg home git:<br>
> git://<a href="http://git.cinelerra-gg.org/goodguy/cinelerra.git" rel="noreferrer noreferrer" target="_blank">git.cinelerra-gg.org/goodguy/cinelerra.git</a><br>
><br>
> I set two evn. variables specific to my system, but mostly I wanted to<br>
> get libplacebo and libzimg for HDR->SDR conversion<br>
><br>
> EXTRA_LIBS :=  -lOpenCL -lSvtAv1Enc -lvpl -ldav1d -lxvidcore -lass<br>
> -lbluray -lsnappy -lzimg -lplacebo -lshaderc_shared -lnuma -lva<br>
> -lva-x11 `pkg-config --libs x11` -lva-drm -ldl<br>
> FFMPEG_EXTRA_CFG :=  --enable-libvpl --disable-doc --enable-opencl<br>
> --enable-libsvtav1 --enable-frei0r --enable-libdav1d --enable-libzimg<br>
> --enable-libxvid --enable-libass --enable-libbluray --enable-libsnappy<br>
> --enable-libshaderc --enable-libplacebo --enable-vulkan<br>
> --disable-debug --extra-cflags=-I/usr/local/include/vpl<br>
> --extra-cflags=-I/usr/include/svt-av1 --extra-ldflags=" -lva<br>
> `pkg-config --libs libva` -lva-x11 -lva-drm -ldl"<br>
><br>
><br>
> cingg configure:<br>
><br>
> ./configure --with-git-ffmpeg=<a href="https://git.ffmpeg.org/ffmpeg.git" rel="noreferrer noreferrer" target="_blank">https://git.ffmpeg.org/ffmpeg.git</a><br>
> --with-single-user --enable-libsvtav1 --disable-dav1d<br>
><br>
> I used bunch of patches (attached, done by Phyllis and me) and<br>
> manually removed posprocess.a ref. from our <a href="http://configure.ac" rel="noreferrer noreferrer" target="_blank">configure.ac</a> for now<br>
<br>
<br>
One more patch/hack just for making building easier attached (on top<br>
of 0001-3 patches for cingg)<br>
<br>
ffmpeg.git patches  go into thirdparty/src, and you probably want to<br>
move away ffmpeg.git.patch8 out of  this directory so it will not fail<br>
patching<br>
<br>
<br>
<br>
><br>
> there is still some problem with attaching ffmpeg filters<br>
> per-input-file, but main Vulkan decode problem still visible without<br>
> any filters<br>
><br>
> I run just-compiled cin binary like this:<br>
><br>
> RADV_PERFTEST=video_decode bin/cin<br>
> ~/K38_sdcard1/Documents/iPhone11_4K-recorder_59.940HDR10.mov<br>
><br>
> and got corruption as visible on screenshot  at the start of this email<br>
><br>
> Playing image forward cleans up  this corruption, but returning to<br>
> timeline beginning bring it back.<br>
</blockquote></div>
</blockquote></div></div></div>