<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<br>
<br>
<br>
<div class="moz-cite-prefix">Den 12.12.2024 20:13, skrev Terje J.
Hanssen:<br>
</div>
<blockquote type="cite"
cite="mid:52d95825-8609-4a0d-ba67-c1157f3246e8@gmail.com">
<br>
Den 12.12.2024 11:07, skrev Andrea paz:
<br>
<blockquote type="cite">Try using a h264.mp4 video instead of hdv,
to see if there is any difference.
<br>
</blockquote>
<br>
Well, I have tried several input formats, h64 included. While the
decoding benchmarks works ok in the range 25-30 fps, encoding
still not work for me.
<br>
It may be my faults, immature/buggy vulkan/ffmpeg video encoding
and not at least insufficient or lack of documentation to do this.
<br>
<br>
But hopefully, as also av1 and ffv1 will be available next, more
working command examples will come out.
<br>
<a class="moz-txt-link-freetext" href="https://www.phoronix.com/news/FFmpeg-November-Vulkan-Video">https://www.phoronix.com/news/FFmpeg-November-Vulkan-Video</a>
<br>
</blockquote>
<br>
<br>
In reply to my corresponding request on the ffmpeg-user mailiing
list:<br>
<a class="moz-txt-link-freetext" href="https://ffmpeg.org/pipermail/ffmpeg-user/2024-December/058931.html">https://ffmpeg.org/pipermail/ffmpeg-user/2024-December/058931.html</a><br>
<blockquote><i>My tests even with the NVIDIA drivers are pretty much
the same as Intel's.</i><br>
<i>Perhaps AMD's RADV performs better in this front?</i><br>
<i>Will retest as soon as I get my hands on one of these AMD GPUs.<br>
<br>
</i></blockquote>
<blockquote type="cite"
cite="mid:52d95825-8609-4a0d-ba67-c1157f3246e8@gmail.com">
<br>
ffmpeg -hide_banner -init_hw_device vulkan=vkdev:0
-filter_hw_device vkdev -i h264_8bit_yuv420p.mp4 -filter:v
"format=nv12,hwupload" -c:v hevc_vulkan hevc_vulkan_8b420.mp4
<br>
............
<br>
Stream mapping:
<br>
Stream #0:0 -> #0:0 (h264 (native) -> hevc (hevc_vulkan))
<br>
..............
<br>
Stream #0:0(und): Video: hevc (Main) (hev1 / 0x31766568),
vulkan(pc, smpte170m/unknown/unknown, top coded first (swapped)),
1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 25 fps, 12800 tbn (default)
<br>
Metadata:
<br>
handler_name : VideoHandler
<br>
vendor_id : [0][0][0][0]
<br>
encoder : Lavc61.19.100 hevc_vulkan
<br>
[hevc_vulkan @ 0x556581f59b80] Encode failed: -1409282976.
<br>
[vost#0:0/hevc_vulkan @ 0x556581f6a080] Error submitting video
frame to the encoder
<br>
[vost#0:0/hevc_vulkan @ 0x556581f6a080] Error encoding a frame:
Error number -1409282976 occurred
<br>
[vost#0:0/hevc_vulkan @ 0x556581f6a080] Task finished with error
code: -1409282976 (Error number -1409282976 occurred)
<br>
[vost#0:0/hevc_vulkan @ 0x556581f6a080] Terminating thread with
return code -1409282976 (Error number -1409282976 occurred)
<br>
[out#0/mp4 @ 0x556581f7ec80] video:0KiB audio:0KiB subtitle:0KiB
other streams:0KiB global headers:0KiB muxing overhead: unknown
<br>
[out#0/mp4 @ 0x556581f7ec80] Output file is empty, nothing was
encoded(check -ss / -t / -frames parameters if used)
<br>
frame= 0 fps=0.0 q=0.0 Lsize= 0KiB time=N/A bitrate=N/A
speed=N/A
<br>
Conversion failed!
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</blockquote>
<br>
</body>
</html>