can you try this patch for av1 hw decoding without commented out remap line? I also wonder if anything else (shotcut, openshot, kdenlive) can utilize hw av1 decoding better on your specific setup?
пт, 26 апр. 2024 г., 15:52 Andrea paz <[email protected]>: > I am responding here because the title is more appropriate than in the > other thread. > > > you can simply comment out line "remap_video_decoder > libaom-av1=libdav1d" in > ffmpeg/decode.opts > > Yes, hardware decoding with libaom works. There are no messages on the > terminal. The GPU > is only 8-21% busy but the CPU is only 2-6% busy. > However, if scrolling there are still freezes and artifacts; the > performance seems to me > similar to dav1d and so I don't think it is convenient to use libaom. > > Note: again, until I deleted .bcast5, and started from 0, was left > with working libdav1d > instead of libaom. > > If you have other ideas/tests for me to do, please let me know. >
From 2d252c63ffc602f5d4ea9a888ba3c3784b8e0e18 Mon Sep 17 00:00:00 2001 From: Andrew Randrianasulu <[email protected]> Date: Fri, 26 Apr 2024 17:39:51 +0300 Subject: [PATCH] Do not remap video codec if hw accel --- cinelerra-5.1/cinelerra/ffmpeg.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cinelerra-5.1/cinelerra/ffmpeg.C b/cinelerra-5.1/cinelerra/ffmpeg.C index 8d9a762a..ed764dae 100644 --- a/cinelerra-5.1/cinelerra/ffmpeg.C +++ b/cinelerra-5.1/cinelerra/ffmpeg.C @@ -434,7 +434,7 @@ int FFStream::decode_activate() AVCodec *decoder = 0; #endif if( is_video() ) { - if( ffmpeg->opt_video_decoder ) + if( ffmpeg->opt_video_decoder && hw_type == AV_HWDEVICE_TYPE_NONE ) decoder = avcodec_find_decoder_by_name(ffmpeg->opt_video_decoder); else ffmpeg->video_codec_remaps.update(codec_id, decoder); -- 2.44.0
-- Cin mailing list [email protected] https://lists.cinelerra-gg.org/mailman/listinfo/cin

