пт, 25 апр. 2025 г., 22:38 Андрей Спицын via Cin <cin@lists.cinelerra-gg.org>:
>and h264->hevc at 90 fps

Oh, that's amazing!

I should definitely try it on my rx6600.


And this line scales from FHD to 4k on gpu and encodes at nearly 40 fps!

./ffmpeg -hwaccel_output_format vaapi  -hwaccel vaapi  -i ~/botva/vid/MMC_14_may_2011_four_pilot_whales.mp4 -vf scale_vaapi=-2:2160  -c:a copy -c:s copy -c:v hevc_vaapi -f mp4 /dev/null

exact vaapi_scale line from

https://stackoverflow.com/questions/69243696/ffmpeg-vaapi-scale-a-video-keeping-the-aspect-ratio-and-padding-with-black-lin

h264 encodes in this scenario at 10 fps.

And vaapi_tonemap asserts in mesa:

./ffmpeg -hwaccel_output_format vaapi  -hwaccel vaapi  -i ~/K38_sdcard1/Documents/iPhone11_4K-recorder_59.940HDR10.mov  -vf tonemap_vaapi  -c:a copy -c:s copy -c:v h264_vaapi -f mp4 /dev/null                                                                        

ffmpeg: ../src/gallium/frontends/va/surface.c:1394: vlVaQueryVideoProcFilterCaps: Assertion `0' failed.                                                                                               Aborted                                                                                            


Regards,
Andrey

пт, 25 апр. 2025 г., 22:34 Andrew Randrianasulu via Cin <cin@lists.cinelerra-gg.org>:
./ffmpeg -hwaccel_output_format vaapi -hwaccel vaapi -i ~/New_hdd/Swimming\ with\ orca\ in\ New\ Zealand-JQ3mDXF3bcE.mkv -c:a copy -c:s copy -c:v h264_vaapi -f mp4   /dev/null -loglevel verbose


main detail missing was "-hwaccel_output_format vaapi".

with it I can transcode h264->h264 FHD at 42 fps and h264->hevc at 90 fps (know feature of Polaris based encoder at least under Linux).
--
Cin mailing list
Cin@lists.cinelerra-gg.org
https://lists.cinelerra-gg.org/mailman/listinfo/cin
--
Cin mailing list
Cin@lists.cinelerra-gg.org
https://lists.cinelerra-gg.org/mailman/listinfo/cin