Testing the scene from Designer has always worked. But the scene doesn't work in Vegas.
Scene Designer test video appears to be YUV. Output from Vegas is YUVA.
Testing the scene from Designer has always worked. But the scene doesn't work in Vegas.
Scene Designer test video appears to be YUV. Output from Vegas is YUVA.
Both encoder nodes are set to CUDA, as you can see in the following exported scene. Tried it both ways (CUDA / YUV 420).
When working with h.264/h.265 input in FFmpeg command line, I found I had to use h264_cuvid/hevc_cuvid instead of hwupload_cuda to avoid a similar auto_scale_0 error.
On the other hand, when working with uncompressed AVI input, I'd have to use hwupload_cuda and be very careful to feed it a supported pixel format (YUY2 in that particular case). See my command-line options in post #4 above for working examples.
Not sure what format the Vegas -> VoukoderPro link uses. If h.264, then h264_cuvid might work instead of hwupload_cuda?
In any case, something seems unhappy about the YUVA pixel format.
Hmm, can't get it to work. Rendering fails immediately with message: "Unable to start VoukoderPro: FFmpeg error."
Excerpt from the log file:
2023-08-22 22:28:55 (trace) [FFmpeg:0] auto-inserting filter 'auto_scale_0' between the filter 'buffer@9309cf357e4c40e3b1334754fe21a3f3' and the filter 'Parsed_hwupload_cuda_1'
2023-08-22 22:28:55 (trace) [FFmpeg:0] query_formats: 9 queried, 7 merged, 1 already done, 0 delayed
2023-08-22 22:28:55 (trace) [FFmpeg:0] picking yuva420p out of 9 ref:yuva444p16le alpha:1
2023-08-22 22:28:55 (trace) [FFmpeg:0] w:1920 h:1080 fmt:yuva444p16le sar:1/1 -> w:1920 h:1080 fmt:yuva420p sar:1/1 flags:0x00000004
2023-08-22 22:28:55 (trace) [FFmpeg:0] Calling cu->cuDeviceGetAttribute(&priv->tex_alignment, 14 , hwctx->internal->cuda_device)
2023-08-22 22:28:55 (trace) [FFmpeg:0] CUDA texture alignment: 512
2023-08-22 22:28:55 (trace) [FFmpeg:0] Unsupported input format: yuva420p
2023-08-22 22:28:55 (trace) [FFmpeg:0] Failed to configure output pad on Parsed_scale_cuda_3
2023-08-22 22:28:55 (error) [InputNode.cpp:110] Unable to configure filter graph.
2023-08-22 22:28:55 (error) [Router.cpp:202] Init phase of track #0 (video) failed!
2023-08-22 22:28:55 (error) [Router.cpp:242] Initialization failed: -11
2023-08-22 22:28:55 (info) [VoukoderPro.cpp:502] Unable to start VoukoderPro: FFmpeg error.
Alles anzeigen
Awesome news, thank you! I'm out of town on business ATM, but will try this out when I get back.
Make sure your Render As list isn't set to display Favorites Only.
The 'Scale' filter that is currently available does seem to use the GPU, but it's shuffling data back and forth to the CPU, very inefficient. Running 1 dual-output render in VoPro 0.7 is currently slower than running 2 simultaneous renders with Voukoder 13.
'ZScale' is even worse, as it doesn't seem to use the GPU at all.
On the other hand, the speed advantage of 'scale_cuda' should be substantial when it becomes available.
For reference, here are some FFmpeg command lines I've used for scale_cuda with AVI/h.264/h.265 file sources:
Properly fed, all 3 variants will max out the GPU encoder with minimal CPU usage.
An even more powerful feature of FFmpeg is the ability to use multiple graphics cards. Hopefully both GPU filtering (e.g., scale_cuda) and the ability to assign a job to a particular GPU will be added in the future.
NVENC VBR bitrate now confirmed working in v0.7.1.7, both with h.264 and h.265. Thanks.
Clearing the error can also be achieved by deleting the broken h.264 encoder node in Scene Designer and creating a replacement node.
Deleted scene.json. Realized this action had just wiped all my saved scenes. Downloaded and imported the file from my previous post. Will rebuild the other lost scenes from memory at a future time.
Scene Designer behavior unchanged, even in a fresh layout with a new encoder node. Render behavior also unchanged.
Update: This info is from the most recent VoPro log file.
(from C:\Users\[username]\AppData\Local\VoukoderPro\logs\)
2023-08-05 15:08:30 (info) [EncoderNode.cpp:200] Opening video encoder plugin: h264_nvenc
2023-08-05 15:08:30 (trace) [FFmpeg:0] Unable to parse option value "-2013260544" as boolean
2023-08-05 15:08:30 (trace) [FFmpeg:0] Error setting option bluray-compat to value -2013260544.
2023-08-05 15:08:30 (error) [EncoderNode.cpp:207] Opening the encoder plugin failed with error code: -22
2023-08-05 15:08:30 (error) [Router.cpp:274] Open phase failed: -22
2023-08-05 15:08:30 (info) [VoukoderPro.cpp:589] Unable to start VoukoderPro: Undefined error!
Now it won't render at all (v0.7.1.6). When trying to render, immediately throws an error window that says "Unable to start VoukoderPro: Undefined error!"
Also, in Scene Designer, double-clicking on the top NVENC h.264 node (the VBR one, see preset below) will now cause Designer to crash. If you delete the node and create a new one, it will initially allow you to set the parameters, but if you try to access the node properties for a second time, it will crash Designer.
One other (unrelated) minor issue is that in the installer options, the Vegas Pro 20 plugin is deselected by default.
NVENC bitrate
Audio confirmed working with VoukoderPro v0.7.1.4 and Vegas Pro 20.0 build 411.
A few issues noticed while experimenting with Vegas Pro 20.0 and VoukoderPro v0.7.1.4:
Maybe you need to uninstall the VoukoderPro completely first.
Correct, v0.7.1.3 was still installed. Uninstalled both versions, reinstalled v0.7.1.4.
v0.7.1.4 is confirmed working here, alongside Voukoder connector v1.6.0.
Thanks!
Still broken here. But there's a workaround now.
So there is a conflict with both plugins installed?
Seems that way. Vegas Pro 20.0 won't load VoukoderPro if the Voukoder connector (v1.6.0) is installed. Haven't tried other connector versions. See my previous post for log file.
No it does not. Here's fileio_x64.log with both Voukoder and VoukoderPro installed:
In any case, uninstalling the Voukoder connector fixes things, and reinstalling it breaks everything again.
The string "VoukoderPro" does not appear in the log file.
EDIT: FIGURED IT OUT! Uninstalling the Voukoder connector v1.6.0 fixes the problem. Looks like you can have either Voukoder or VoukoderPro installed in Vegas Pro 20, but not both.
No.
voukoderproplug.dll appears in Vegas' Component list. Cleared cache and preferences using Ctrl+Shift. No change.
File size of voukoderproplug.dll is 175 KB, is this the expected size and version (0.1.0.0)?
Is there a way to log what's (not) going on?