<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Nov 15, 2024 at 11:02 PM Terje J. Hanssen <<a href="mailto:terjejhanssen@gmail.com">terjejhanssen@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"><br>
Den 15.11.2024 17:24, skrev Andrew Randrianasulu via Cin:<br>
> Hopefully you can just put "cin_pix_fmt=p010le" in profile and it will <br>
> be respected<br>
><br>
> Terje, you only need to apply second patch on top of that you already <br>
> have.<br>
><br>
><br>
I applied the second patch and recompiled.<br>
<br>
I started Cingg the usual way without enviroment variable<br>
<br>
bin/cin<br>
<br>
Which "profile" and how do you mean?<br>
<br>
I tried the generic hevc_vaapi.mp4 compression/preset<br>
and added<br>
<br>
cin_pix_fmt=p010le<br>
<br>
It rendered yuv420p<br></blockquote><div><br></div><div>strange, it worked for me:</div><div><br></div><div> bash-5.1$ bin/cin<br>Cinelerra Infinity - built: Nov 15 2024 10:55:42<br>git://<a href="http://git.cinelerra-gg.org/goodguy/cinelerra.git">git.cinelerra-gg.org/goodguy/cinelerra.git</a><br>(c) 2006-2019 Heroine Virtual Ltd. by Adam Williams<br>2007-2020 mods for Cinelerra-GG by W.P.Morrow aka goodguy<br>2003-2017 mods for Cinelerra-CV by CinelerraCV team<br>2015-2024 mods for Cinelerra-GG by Cinelerra-GG team<br><br>Libav version: Lavc61.3.100<br><br>Cinelerra is free software, covered by the GNU General Public License,<br>and you are welcome to change it and/or distribute copies of it under<br>certain conditions. There is absolutely no warranty for Cinelerra.<br><br>RenderFarmClient::main_loop: client started<br>[AVHWDeviceContext @ 0xee693980] Trying to use DRM render node for device 0.<br>[AVHWDeviceContext @ 0xee693980] libva: VA-API version 1.19.0<br>[AVHWDeviceContext @ 0xee693980] libva: Trying to open /usr/lib/dri/nouveau_drv_video.so<br>[AVHWDeviceContext @ 0xee693980] libva: Found init function __vaDriverInit_1_19<br>[AVHWDeviceContext @ 0xee693980] libva: va_openDriver() returns 0<br>[AVHWDeviceContext @ 0xee693980] Initialised VAAPI connection: version 1.19<br>[AVHWDeviceContext @ 0xee693980] Format 0x3231564e -> nv12.<br>[AVHWDeviceContext @ 0xee693980] Format 0x30313050 -> p010le.<br>[AVHWDeviceContext @ 0xee693980] Format 0x36313050 -> unknown.<br>[AVHWDeviceContext @ 0xee693980] Format 0x30323449 -> yuv420p.<br>[AVHWDeviceContext @ 0xee693980] Format 0x32315659 -> yuv420p.<br>[AVHWDeviceContext @ 0xee693980] Format 0x56595559 -> unknown.<br>[AVHWDeviceContext @ 0xee693980] Format 0x32595559 -> yuyv422.<br>[AVHWDeviceContext @ 0xee693980] Format 0x59565955 -> uyvy422.<br>[AVHWDeviceContext @ 0xee693980] Format 0x41524742 -> bgra.<br>[AVHWDeviceContext @ 0xee693980] Format 0x41424752 -> rgba.<br>[AVHWDeviceContext @ 0xee693980] Format 0x58524742 -> bgr0.<br>[AVHWDeviceContext @ 0xee693980] Format 0x58424752 -> rgb0.<br>[AVHWDeviceContext @ 0xee693980] VAAPI driver: Mesa Gallium driver 22.1.7 for NV106.<br>[AVHWDeviceContext @ 0xee693980] Driver not found in known nonstandard list, using standard behaviour.<br>[AVHWFramesContext @ 0xd99c30c0] Created surface 0x1.<br>[AVHWFramesContext @ 0xd99c30c0] Direct mapping possible.<br>[hevc_vaapi @ 0xee6c6080] Input surface format is p010le.<br>[hevc_vaapi @ 0xee6c6080] Compatible profile VAProfileHEVCMain10 (18) is not supported by driver.<br>[hevc_vaapi @ 0xee6c6080] Compatible profile VAProfileHEVCMain10 (18) is not supported by driver.<br>[hevc_vaapi @ 0xee6c6080] No usable encoding profile found.<br>FFMPEG::open_encoder err: Function not implemented<br>int FFMPEG::open_encoder(const char*, const char*):<br>open failed hevc_vaapi:/dev/shm/vaapi-test.mp4<br>Render::render_single: Session finished.<br>Total excess of backups: -50<br>[AVIOContext @ 0xd577ae80] Statistics: 196608 bytes read, 0 seeks<br>[AVIOContext @ 0xef844580] Statistics: 196608 bytes read, 0 seeks<br>[AVIOContext @ 0xd327f180] Statistics: 294912 bytes read, 0 seeks<br>[AVIOContext @ 0xd547f980] Statistics: 196608 bytes read, 0 seeks<br>[AVIOContext @ 0xd59ffec0] Statistics: 18991217 bytes read, 18 seeks<br>[AVIOContext @ 0xe4e09640] Statistics: 196608 bytes read, 0 seeks<br>Session time: 0:00:46<br>Cpu time: user: 0:00:37.109 sys: 0:00:02.595</div><div><br></div><div>you changed preset to something else and back to hevc_vaapi.mp4 ?<br></div><div><br></div><div>btw my file bin/ffmpeg/video/hevc_vaapi.mp4 looks like this:</div><div><br></div><div>mp4 hevc_vaapi<br>cin_hw_dev=vaapi<br>cin_pix_fmt=p010le<br><br><br></div></div></div>