Happy Otter Scripts for Vegas Pro

Comments

wwaag wrote on 9/13/2023, 11:03 AM

@Phil_P Thanks for the feedback.

Just added checks to make sure the file contains one of the following extensions. If not, it can't be dropped.

{"SRT", "TEXT", "3GP", "AVC", "AVI", "FLV", "H264", "M2T", "M2TS", "M2V", "MKV", "MOV", "MP4", "MPG", "MTS", "MXF", "TS", "VOB", "WEBM", "WMV", "AAC", "AC3", "AIFF", "ALAC", "DTS", "FLAC", "M2A", "M4A", "MP3", "OGG", "OPUS", "WAV", "W64", "WMA" };

There is also a check for presence of an Nvidia card and if found, it also checks for the required libraries and if not found, throws a warning.

Build 1.0.3.28 has now been updated. Alternatively, you can download just the new "BatchWhisperAI.exe" file at https://www.dropbox.com/scl/fi/iast095lg5mvz7wc6z60c/BatchWhisperAI.exe?rlkey=mdn95apokuj6o0pv0980e8216&dl=0

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.

Phil_P wrote on 9/13/2023, 12:51 PM

Great stuff Wayne. I have installed but not tested this new version. The only thing that concerned me was that whether by mistake or not was possible to lose a file completely without warning. Thanks again.

wwaag wrote on 11/2/2023, 1:59 PM

New build 1.0.3.29 is now available.

Change log may be found here. https://tools4vegas.com/wp-content/uploads/HappyOtter-Change-Log.pdf

New versions of Avisynth+,MediaInfo, Nvencc64, Qsvencc64, MPC_HC

New Features--Event Ducker

  • Audio event control of video composite (opacity) envelope
  • Set initial opacity of video composite envelope
  • Join and render remaining audio after silence portions have been removed
  • Here's a demo


Bug Fixes

  • KwikProxy—removing vegas-style proxies would crash Vegas—fixed
  • RenderPlus—incorrect command line when vbr rate option selected—fixed
  • ImportAssist—use of Trimmer crashed for very long video files--fixed

Here is the direct download link. https://tools4vegas.com/ru4f7l9rxql9ykg/

Last changed by wwaag on 11/2/2023, 2:01 PM, changed a total of 1 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.

mark-y wrote on 11/3/2023, 5:55 AM

Thanks, Wayne!

Always a fan. Do you know how they train Whisper AI to learn a new language? I have six hours of audio containing a lot of Lakota (native Sioux) passages. There is an online spoken dictionary with text that seems pretty good.

gabgilson wrote on 11/3/2023, 8:40 AM

Thanks for the new version. Trying to make Vegas style proxies and vegas won't recognise them. This is with sony a7siii 10 bit HEVC 59.59 fps files (I know, always a problem!). I also had a problem creating proxies within vegas where proxies made with 'legacy avc' ticked where not recognised when I unticked legacy AVC, and vice versa. So I'm guessing it's a similar issue. I can see the files and they have the right name, but no joy even with multiple closes and restarts of vegas. I've gone back to making HO native proxies and using the switch - not really a problem, but might be useful for bug fixing. Thank you.

wwaag wrote on 11/3/2023, 10:47 AM

@mark-y

I think it's something called magic. I haven't a clue how it's done but obviously there must be a way. Interesting problem.

As an aside, back in the 90's we had a log cabin in the mountains of Eastern Arizona. In 1992 during the NBA finals, the only radio reception while enroute was a Navajo station which only broadcast in their native language. We listened anyway, not understanding anything except the occasional "Charles Barkley" or "Kevin Johnson" plus the score. Memorable times.

@gabgilson

I suspect that the problem with proxy creation will remain until the decoding issue in Vegas is solved or at least becomes stable. I've noticed the same thing--it really seems to be hit or miss. E.g. using an RTX 4070 for proxy creation, it works in V20 but not V21. Use of QSV, however, which wouldn't work in earlier versions, now works in V20 and V21. I could create proxies using an Intel A770 card as well as the onboard UHD 630. My solution and the one I think best is to not use Vegas proxies at all. Just create swap-style proxies using a resolution which works reliably on your system (E.g. mine seems to work OK at 1080) and just swap back and forth when necessary.

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.

IAM4UK wrote on 11/12/2023, 12:51 PM

Has anyone ever successfully used ImportAssist to import an MKV file into VEGAS? EVERY time I have tried, it has failed, usually telling me that "Length cannot be less than zero."
I've tried Rewrap into MP4; I've tried transcode into MP4 with ffmpeg or VirtualDub. Nothing has ever worked.
VEGAS Pro 21 (Build 187); HOS 1.0.3.29, and every prior version for awhile...

mark-y wrote on 11/12/2023, 1:01 PM

Yes, I routinely import MKV file extensions into Vegas using Happy Otter.

However, MKV is a wrapper, and not a format, and as such can contain as many possible codec combinations as there are colors of jelly beans in a 5 gallon jar.

Post the MediaInfo for your MKV files, so no one here is tempted to guess at what is inside.

wwaag wrote on 11/12/2023, 1:15 PM

@IAM4UK

Maybe it's a bug. I'll check it out.

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 11/12/2023, 1:31 PM

@IAM4UK

Yes, there is a bug. I'll have a fix out later today. Thanks for bringing it to my attention.

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 11/12/2023, 4:26 PM

@IAM4UK

Send you a PM with link for a fix to test.

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.

IAM4UK wrote on 11/13/2023, 4:16 PM

@IAM4UK

Send you a PM with link for a fix to test.

Thank you, Wayne. I cannot verify that the DLL was the key to the solution, because I found that I had to change a setting in File I/O... RAW Processor to i750 graphics, keeping Hardware Decoder as ARC 770. Now, VEGAS can do tasks without LOCKING the computer, and one of those tasks that successfully completed was ImportAssist on an MKV, recoded via ffmpeg.
Thank you again for your help, and for your great scripts.

gabgilson wrote on 11/15/2023, 5:26 AM

Odd thing with kwik proxies. I often 'save as' my project so I can keep versions at a particular stage of the edit to go back to if needed. But if I change the project name, the kwikproxy switch doesn't work, it says 'no proxies found'. If I revert to the project title in use when proxies were created, it finds them. Is there a way round that please? I like to rename and save as a few times for safety. Thanks.

Reyfox wrote on 11/15/2023, 7:37 AM

@gabgilson especially when using incremental saves.

wwaag wrote on 11/15/2023, 10:15 AM

@gabgilson

Here's the way the swap feature works. During proxy creation, HOS also creates a text file that contains a simple list of the original and the new proxy filepaths. You can find them in the following folder: C:\ProgramData\HappyOtterScripts\Magix Vegas Pro\KwikProxy\ProxyLogs

There you will find a text file for each project in which you have created proxies. Since HOS doesn't "know" when you do a SaveAs, you get the message that says "no proxies found". At the moment, the only way is to manually edit the name of the text file so that it corresponds to the new project file name. So long as the new project file is in the same folder, it should be pretty straightforward. Just copy the file, edit, and save. In fact, I recently did this for a project in which I also did a SaveAs to a new drive.

For a long term solution, I think the easiest path forward would be to show a list of previous projects (most recent at the top) if no proxies are found. The user could then select the previous project from the list and a new text file would be created while preserving the original one.

@Reyfox I've not used the incremental saves feature in Vegas, but hopefully the same procedure would work since the list would show only those projects for which proxies had been created.

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 11/15/2023, 3:39 PM

Just uploaded a new ProxySwitch script to DropBox. It can be downloaded here. https://www.dropbox.com/scl/fi/mparwvpapo3f3soaocmwu/ProxySwitch.dll?rlkey=5509lq1j6p5q43rowe086n5yv&dl=0

To install, download and copy to the following folder: C:\ProgramData\HappyOtterScripts\Magix Vegas Pro\Scripts. First, make sure that Windows has not blocked the file. To check, navigate to the file in Explorer, right-click and select properties. If blocked, it will look something like this.

Simply tick unblock, apply, and then OK.

Here's a demo of how the script works. Note that at the moment, it only works for proxies created using KwikProxy.

Let me know how it works.

Note that in the demo, I accidentally hovered over the OtterReset button.

Last changed by wwaag on 11/15/2023, 3:42 PM, changed a total of 1 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.

Phil_P wrote on 11/16/2023, 4:14 AM

Hi Wayne,

Thank you for working on a solution to this. It has been a problem for me many times. My workflow usually involves completing the project and then moving it to another folder (or even drive) when it is complete.

However, occasionally I need to work on the project again. So you can imagine that this solution would work really well for me.

I tried the new dll. Unblocked it etc. and loaded one of my projects that I had moved.

At first it appeared to be working as I got the option to select the original project location.

But unfortunately, I then got the message that no proxy files were found for this project.

So, I then tested it with another project and immediately got the same message, without any choice to select the original project location.

Following this, loading first the project that failed, I now get the message that no proxy files are found, without any selection dialog.



As an example, I attach the contents of the before and after move proxy log, the contents appear the same even though the title of the log file has changed:

D__Twitch_New UAD_UADVST3_veg_ProxyFiles

D:\Twitch\New UAD\2023-10-18 13-35-51.mp4|D:\Twitch\New UAD\KwikProxy\2023-10-18 13-35-51-Proxy.mp4

D__Twitch_DONE_New UAD_UADVST3_veg_ProxyFiles

D:\Twitch\New UAD\2023-10-18 13-35-51.mp4|D:\Twitch\New UAD\KwikProxy\2023-10-18 13-35-51-Proxy.mp4

I will try some more tests...

wwaag wrote on 11/16/2023, 9:53 AM

@Phil_P

Thanks for the feedback. I only tested when the new project was in the same folder. I'll test when saved to a new folder and also a new drive completely.

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.

Phil_P wrote on 11/16/2023, 3:10 PM

@Phil_P

Thanks for the feedback. I only tested when the new project was in the same folder. I'll test when saved to a new folder and also a new drive completely.

Ahh, I see. I misunderstood the intention. It is my fault; I skipped through the info and missed the point.

Having said that, yes indeed this would be a hugely useful feature for me. I hope maybe for others too.

Phil_P wrote on 11/20/2023, 5:33 AM

I had a bit of free time last couple of days, so I built this as an interim solution for my own use.

  • You select your proxy log file created by HOS and it will show you the location that HOS is expecting to find the Proxy Files
  • You can then select a new location and make a new HOS Proxy definition file that will direct HOS to the new location.
  • It will check if the old and new project files are the same and warn you if they are not, (but you can still make a new definition file, for example if you have changed the project name but it is still in the same folder)
  • You can also open the original HOS proxy definition file to view it or edit it.

I am just putting some finishing touches to it. This was a personal thing that will be useful for me but if anyone wants to try it, please do let me know. I will probably put it up on my GumRoad Freebies when done.

 

 

 

Reyfox wrote on 11/20/2023, 7:49 AM

@Phil_P, very interesting! I rarely make proxies, but I do a lot of incremental saving. This might come in handy when I am forced to use proxies while editing.

Newbie😁

Vegas Pro 22 (VP18-21 also installed)

Win 11 Pro always updated

AMD Ryzen 9 5950X 16 cores / 32 threads

32GB DDR4 3200

Sapphire RX6700XT 12GB Driver: 25.3.1

Gigabyte X570 Elite Motherboard

Panasonic G9, G7, FZ300

wwaag wrote on 11/20/2023, 9:05 AM

@Phil_P

That looks pretty neat. I look forward to trying it.

I just uploaded another build of proxy switch that hopefully will now work OK. If not, please let me know.

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.

Phil_P wrote on 11/20/2023, 1:57 PM

@Phil_P

That looks pretty neat. I look forward to trying it.

I just uploaded another build of proxy switch that hopefully will now work OK. If not, please let me know.

Hi Wayne. OK so tested the new version and it works I think as intended. But does not, if the project file is moved or project name is changed. So, I was able to pick the original project file but then got the same message that no proxies could be found.

Meanwhile I have finished work on my little application: https://everythingcreative.gumroad.com/l/dftahm

Please bear in mind that this has been tested only for a few hours. So, there may be holes, but I think I have covered all possible error options.

I enjoy doing these little coding projects so I will not consider it any time wasted and will still be very happy if this functionality is eventually built into Proxy Switch.

wwaag wrote on 12/5/2023, 10:43 AM

I've written a new tool, HOS SpeechToText, which enables the user to create subtitles directly from the Vegas timeline using WhisperAI. SRT files can be created for events, loop region, regions, or the entire project for the selected audio track. There is an option to create a "joined" file when selecting multiple events or regions. It also enables the direct import of subtitles to regions which is quicker than importing from a file. Here is the dialog.

And a link to a demo. https://vimeo.com/891488277/9324d86704?share=copy

If you are interested in trying it before I release the next HOS build, probably in January, you can download the necessary files here. https://www.dropbox.com/scl/fi/f8rf2gh1jgxpsmye348rn/HOS-SpeechToText.zip?rlkey=zk19rpm5cmu6atfynvqhqc89l&dl=0

Any feedback would be appreciated.

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.