Voukoder is Nvenc rendering done right!

Deata wrote on 5/13/2020, 4:31 AM

Holy moly, cant believe i havent stumbled on this piece of software/plugin before.

I seriously recommend downloading voukoder 5 along with its vegas pro plugin, it works just like any other render preset.

The thing is, due to vegas pro nvenc rendering stopping every other second (because the buffer limit is in vegas somehow extremely small) the speed of voukoder 5 is ridiculously fast compared to vegas pro native gpu rendering...

15 minutes of h265 footage took a whopping 3 minutes to re encode!

Also the best thing.. its free.

So yeah, if anyone else is getting frustrated with native gpu rendering stopping every second and then rendering 50 frames and doing the same thing again, i suggest trying this one out!

Comments

fifonik wrote on 5/13/2020, 5:14 AM

For x264 it may introduce audio shift. I wish it will be fixed so I could use it for final render as well.

Not sure about x265 and NVEnc, but you should check your results.

Camcorder: Panasonic X1500 + Panasonic X920 + GoPro Hero 11 Black

Desktop: MB: MSI B450M MORTAR TITANIUM, CPU: AMD Ryzen 5700X, RAM: G'Skill 32 GB DDR4@3200, Graphics card: MSI RX6600 8GB, SSD: Samsung 970 Evo+ 1TB (NVMe, OS), HDD WD 4TB, HDD Toshiba 4TB, OS: Windows 10 Pro 22H2

NLE: Vegas Pro [Edit] 11, 12, 13, 15, 17, 18, 19, 22

Author of FFMetrics and FFBitrateViewer

RogerS wrote on 5/13/2020, 7:31 AM

I've had good experience with it too. If you like it, donate to the developer (I did) so he continues to update and fix it.

Deata wrote on 5/13/2020, 8:23 AM

For x264 it may introduce audio shift. I wish it will be fixed so I could use it for final render as well.

Not sure about x265 and NVEnc, but you should check your results.

Didn't notice any audio shifting when rendering to x265

john_dennis wrote on 5/13/2020, 9:52 AM

Perhaps, you should test audio sync? Here's a tool.

https://www.vegascreativesoftware.info/us/forum/audio-sync-comparison-for-various-render-methods--111194/#ca687240

Former user wrote on 5/14/2020, 9:51 PM

I tried Voukoder Nvenc AVC with a sync testing video and there is no audio shift.

Do you get audio shift with Voukoder but not with Magix AVC Nvenc, is it with all videos?

Actually that is out of sync isn't it. the file vegas created from voukoder has audio 3frames early then the vegascreative re-encoder extends that out to 5-6 frames early

This is original file I used for test and it's sync is correct http://twitch-event-engineering-public.s3.amazonaws.com/sync-footage/Sync-Footage-V1-H264.mp4

michael-harrison wrote on 5/15/2020, 4:25 AM

Be nice to developers and give links to their products... https://www.voukoder.org/

System 1:

Windows 10
i9-10850K 10 Core
128.0G RAM
Nvidia RTX 3060 Studio driver [most likely latest]
Resolution        3840 x 2160 x 60 hertz
Video Memory 12G GDDR5

 

System 2:

Lenovo Yoga 720
Core i7-7700 2.8Ghz quad core, 8 logical
16G ram
Intel HD 630 gpu 1G vram
Nvidia GTX 1050 gpu 2G vram

 

michael-harrison wrote on 5/15/2020, 4:37 AM

@Deata what GPU do you have? With my GTX 1050 I'm not seeing any real difference between vegas and voukoder

System 1:

Windows 10
i9-10850K 10 Core
128.0G RAM
Nvidia RTX 3060 Studio driver [most likely latest]
Resolution        3840 x 2160 x 60 hertz
Video Memory 12G GDDR5

 

System 2:

Lenovo Yoga 720
Core i7-7700 2.8Ghz quad core, 8 logical
16G ram
Intel HD 630 gpu 1G vram
Nvidia GTX 1050 gpu 2G vram

 

Deata wrote on 5/15/2020, 5:20 AM

Be nice to developers and give links to their products... https://www.voukoder.org/

Wasnt sure about the rules to linking to outside of this site.

Deata wrote on 5/15/2020, 5:20 AM

@Deata what GPU do you have? With my GTX 1050 I'm not seeing any real difference between vegas and voukoder

Rolling with a 1080ti currently

Former user wrote on 5/15/2020, 5:41 AM

@Deata what GPU do you have? With my GTX 1050 I'm not seeing any real difference between vegas and voukoder

If you download that 60fps audio sync video file encode with voukoder and then bring that encoded file back into vegas. You should see the audio has advanced 3 frames and equivalent to approx 45ms, and then a strange thing happens with the video encoder this website uses. It increases the desync by another 2-3 frames.

The voukoder guy doesn't seem very interested in fixing it as it's a vegas only problem and he works with multiple editors. The sloppy obvious fix is to finish edit and then delay audio by 3frames on the timeline, but surely there's a more elegant fix

If you were to financially support the voukoder project please let him know you're using VegasPro. Now that HappyOtterscripts are charging US$86 for renderplus, the equivalent of voukoder, you can now see how blessed we are to have this free plugin, which will remain free forever. Consider giving to aid in development of the VegasPro plugin, it's a great cause. https://www.voukoder.org/contribute/

fifonik wrote on 5/15/2020, 7:02 AM

It is strange that just a few people discussing this "bug" in voukoder's forum.

Developer might prioritize the issue if others join the discussion there.

Last changed by fifonik on 5/15/2020, 7:02 AM, changed a total of 1 times.

Camcorder: Panasonic X1500 + Panasonic X920 + GoPro Hero 11 Black

Desktop: MB: MSI B450M MORTAR TITANIUM, CPU: AMD Ryzen 5700X, RAM: G'Skill 32 GB DDR4@3200, Graphics card: MSI RX6600 8GB, SSD: Samsung 970 Evo+ 1TB (NVMe, OS), HDD WD 4TB, HDD Toshiba 4TB, OS: Windows 10 Pro 22H2

NLE: Vegas Pro [Edit] 11, 12, 13, 15, 17, 18, 19, 22

Author of FFMetrics and FFBitrateViewer

Former user wrote on 5/15/2020, 7:48 AM

The adobe people are so much more active now, to be expected I guess given their numbers, He doesn't have many patreons, we could easily make our VegasPro presence and appreciation known if we were the majority of his patreons

3POINT wrote on 5/15/2020, 8:32 AM

I'm using Voukoder since end of last year, never discovered a sync problem probably because I'm overwhelmed by the great picture quality of the renders.

wwaag wrote on 5/15/2020, 11:26 AM

The 44 msec delay (actually audio is early) is common to all apps that use FFmpeg "under the hood". The same problem exists in Handbrake and despite requests for a "fix" over the years, the issue still remains. The problem "can" be fixed. Since HOS is command line driven, it is very easy to maintain audio sync with the original. There is a "built-in" 44msec adjustment so that renders are correct most of the time. The need for adjusting delay becomes even more pronounced when using hevc sources which can really vary all over the place. For that reason, an audio delay option seemed absolutely necessary and is included in other rendering tools included within HOS.

As an aside, HOS does not use FFmpeg for nvenc renders, but rather an app developed by Rigaya https://github.com/rigaya/NVEnc who at my request, has included an option for adjustment of audio delay. Since he is using pretty much the same FFmpeg libraries, it is apparent that the audio delay issue "can" be addressed internally.

 

AKA the HappyOtter at https://tools4vegas.com/. System 1: Intel i7-8700k with HD 630 graphics plus an Nvidia RTX4070 graphics card. System 2: Intel i7-3770k with HD 4000 graphics plus an AMD RX550 graphics card. System 3: Laptop. Dell Inspiron Plus 16. Intel i7-11800H, Intel Graphics. Current cameras include Panasonic FZ2500, GoPro Hero11 and Hero8 Black plus a myriad of smartPhone, pocket cameras, video cameras and film cameras going back to the original Nikon S.

Deata wrote on 5/15/2020, 11:32 AM

The adobe people are so much more active now, to be expected I guess given their numbers, He doesn't have many patreons, we could easily make our VegasPro presence and appreciation known if we were the majority of his patreons

Though the plugin is in a bit of a trouble when it comes to adobe.

As adobe released their own nvenc renderer with the latest iteration of premiere and its faster then voukoder

john_dennis wrote on 5/15/2020, 11:58 AM

The Voukoder encoded audio leads the video. That's a period.

wwaag wrote on 5/15/2020, 1:47 PM

Just to confirm what John just posted, here's a screen grab showing the original, HOS, Voukoder, and Voukoder-corrected.

Here's the very simple command line to do the correction as shown.above.

ffmpeg -y -i <inFile> -itsoffset 0.0444 -i <inFile> -map 0:0 -map 1:1 -c:v copy -c:a copy <outFile>

If there's any interest, I'd be willing to throw together a very simple UI and make it available as a Happy Otter Free Tool.

AKA the HappyOtter at https://tools4vegas.com/. System 1: Intel i7-8700k with HD 630 graphics plus an Nvidia RTX4070 graphics card. System 2: Intel i7-3770k with HD 4000 graphics plus an AMD RX550 graphics card. System 3: Laptop. Dell Inspiron Plus 16. Intel i7-11800H, Intel Graphics. Current cameras include Panasonic FZ2500, GoPro Hero11 and Hero8 Black plus a myriad of smartPhone, pocket cameras, video cameras and film cameras going back to the original Nikon S.

j-v wrote on 5/15/2020, 2:07 PM

I don't see any problems at my renders with Voukoder with unsyncing video and audio.
Maybe it is due to the strange framerates a lot of people are using, but with my 25 and 50p I never saw it.
Look what I even did with the 2 rendered files and the result (untitled)


And the latest Voukoder update helps me a lot to be able to get faster rendering with NVENC, a little with AVC and a lot with 4K HEVC

Last changed by j-v on 5/15/2020, 2:09 PM, changed a total of 1 times.

met vriendelijke groet
Marten

Camera : Pan X900, GoPro Hero7 Hero Black, DJI Osmo Pocket, Samsung Galaxy A8
Desktop :MB Gigabyte Z390M, W11 home version 24H2, i7 9700 4.7Ghz,16 DDR4 GB RAM, Gef. GTX 1660 Ti with driver
566.14 Studiodriver and Intel HD graphics 630 with driver 31.0.101.2130
Laptop  :Asus ROG Str G712L, W11 home version 23H2, CPU i7-10875H, 16 GB RAM, NVIDIA GeForce RTX 2070 with Studiodriver 576.02 and Intel UHD Graphics 630 with driver 31.0.101.2130
Vegas software: VP 10 to 22 and VMS(pl) 10,12 to 17.
TV      :LG 4K 55EG960V

My slogan is: BE OR BECOME A STEM CELL DONOR!!! (because it saved my life in 2016)

 

joelsonforte.br wrote on 5/15/2020, 6:09 PM

I made a video comparing the rendering of HOS and Voukoder.  

In the rendering of Voukoder there is an audio delay of about 3-5 frames, which corresponds to about 44ms when compared to the original audio.  

In the rendering of HOS, the audio is perfectly synchronized when compared to the original audio. @wwaag you are right again! Great job with HOS!

I hope the Voukoder developer @Vouk will see this post and find a solution to this problem, as Voukoder is also a great coder.

wwaag wrote on 5/15/2020, 6:34 PM

Here's a workaround for the problem which is fairly "user-friendly" and doesn't require knowledge of command lines.

The only requirement is that you have ffmpeg installed and that the executable "ffmpeg.exe" is contained in the user path variable of Environment Variables. It will also work if HOS is installed. There is now a completely Free version of HOS that includes all of the open-source apps such as ffmpeg, avisynth, etc plus the toolbars and a limited set of scripts.

You can download the free standalone app at https://tools4vegas.com/library/

It still might be a bit buggy, so let me know if you have any problems or suggestions for improvement.

Last changed by wwaag on 5/15/2020, 9:17 PM, changed a total of 2 times.

AKA the HappyOtter at https://tools4vegas.com/. System 1: Intel i7-8700k with HD 630 graphics plus an Nvidia RTX4070 graphics card. System 2: Intel i7-3770k with HD 4000 graphics plus an AMD RX550 graphics card. System 3: Laptop. Dell Inspiron Plus 16. Intel i7-11800H, Intel Graphics. Current cameras include Panasonic FZ2500, GoPro Hero11 and Hero8 Black plus a myriad of smartPhone, pocket cameras, video cameras and film cameras going back to the original Nikon S.

wwaag wrote on 5/16/2020, 11:34 AM

Thanks to @joelsonforte.br I discovered a major error in coding, entering 444 ms rather than 44 ms as the default offset correction. You can download the corrected version.

Here are some results using the excellent audio sync footage posted by @Former userIt works a lot better than my old hummer footage.

AKA the HappyOtter at https://tools4vegas.com/. System 1: Intel i7-8700k with HD 630 graphics plus an Nvidia RTX4070 graphics card. System 2: Intel i7-3770k with HD 4000 graphics plus an AMD RX550 graphics card. System 3: Laptop. Dell Inspiron Plus 16. Intel i7-11800H, Intel Graphics. Current cameras include Panasonic FZ2500, GoPro Hero11 and Hero8 Black plus a myriad of smartPhone, pocket cameras, video cameras and film cameras going back to the original Nikon S.

fifonik wrote on 5/24/2020, 11:38 PM

@wwaag Have you checked how the rendered file behaves when so4 enabled/disabled in VP internal preferences?

I've played with the itsoffset ffmpeg option and found that when so4 enabled (default in VP15+), the audio stream with the start_time added by itsoffset is a bit ahead when the so4 is disabled (default up to VP14).

If I understand correctly, this is another "issue" of the so4 decoder. It does not recognize the audio stream offset correctly.

 

How to check:

- Put source on timeline (I'm using m2ts from camcorder)

- Render mp4 using ffmpeg with option -itsoffset 0.044 (HOS?) to have start_time != 0

- Open VP, put source and rendered files on timeline and check if audios are in sync.

- Change so4, restart VP and repeat previous step. You should notice slight off-sync.

Last changed by fifonik on 5/25/2020, 1:06 AM, changed a total of 5 times.

Camcorder: Panasonic X1500 + Panasonic X920 + GoPro Hero 11 Black

Desktop: MB: MSI B450M MORTAR TITANIUM, CPU: AMD Ryzen 5700X, RAM: G'Skill 32 GB DDR4@3200, Graphics card: MSI RX6600 8GB, SSD: Samsung 970 Evo+ 1TB (NVMe, OS), HDD WD 4TB, HDD Toshiba 4TB, OS: Windows 10 Pro 22H2

NLE: Vegas Pro [Edit] 11, 12, 13, 15, 17, 18, 19, 22

Author of FFMetrics and FFBitrateViewer

alifftudm95 wrote on 5/25/2020, 2:15 AM

Holy moly, cant believe i havent stumbled on this piece of software/plugin before.

I seriously recommend downloading voukoder 5 along with its vegas pro plugin, it works just like any other render preset.

The thing is, due to vegas pro nvenc rendering stopping every other second (because the buffer limit is in vegas somehow extremely small) the speed of voukoder 5 is ridiculously fast compared to vegas pro native gpu rendering...

15 minutes of h265 footage took a whopping 3 minutes to re encode!

Also the best thing.. its free.

So yeah, if anyone else is getting frustrated with native gpu rendering stopping every second and then rendering 50 frames and doing the same thing again, i suggest trying this one out!

Voukeder Render is way sharper compared to Magix AAC template. Why Magix render template is horrible? I mean its okey just that the artifacts introduced make it look like a compressed video.

Last changed by alifftudm95 on 5/25/2020, 2:18 AM, changed a total of 1 times.

Editor and Colorist (Kinda) from Malaysia

MYPOST Member

Laptop

MacBook Pro M4 Max

16 Core CPU and 40 Core GPU

64GB Memory

2TB Internal SSD Storage

Anti-Glare 4K HDR Screen

 

PC DEKSTOP

CPU: Ryzen 9 5900x

GPU: RTX3090 24GB

RAM: 64GB 3200MHZ

MOBO: X570-E

Storage:

C DRIVE NVME M.2 1TB SSD GEN 4

D DRIVE NVME M.2 2TB SSD GEN 4

E DRIVE SATA SSD 2TB

F DRIVE SATA SSD 2TB

G DRIVE HDD 1TB

Monitor: Asus ProArt PA279CV 4K HDR (Bought on 30 August 2023)

Monitor: BenQ PD2700U 4K HDR (RIP on 30 August 2023)

 

 

 

RogerS wrote on 5/25/2020, 2:40 AM

Voukoder appears to be fixed with a new connector for those using So4Compound:
https://www.voukoder.org/forum/thread/635-audio-drift-when-using-the-voukoder-encoder-in-vegas-pro/?pageNo=1