Happy Otter Scripts for Vegas Pro

Comments

eikira wrote on 11/9/2019, 8:44 PM

@wwaag

just a general question. is there a way to make HOS render only the marked sections or even the non marked sections in Render+? and with marked i mean the parts when you press R for REGION.

 

and i wonder if there are made thoughts in which price range HOS will be in the end?

wwaag wrote on 11/9/2019, 8:54 PM

@eikira

Sure. In the What to Render box, just tick Regions. In your screengrab above, it would render the 3 regions. Or you can define a loop region. Or you can even render only regions inside a loop. For example, if you define a loop region around say regions 2 and 3, it would only render those 2 regions.

Final price not decided, but it will definitely be under $100 US.

eikira wrote on 11/9/2019, 9:09 PM

@eikira

Sure. In the What to Render box, just tick Regions. In your screengrab above, it would render the 3 regions. Or you can define a loop region. Or you can even render only regions inside a loop. For example, if you define a loop region around say regions 2 and 3, it would only render those 2 regions.

Final price not decided, but it will definitely be under $100 US.

thanks. any chance to make that inverted? meaning specifically to render everything else BUT the regions? that would be really fantastic if there would be an inverted checkbox too =)

wwaag wrote on 11/9/2019, 10:10 PM

@eikira

Rather than include "inverted" as an option in the dialog which would entail quite a few changes, it would be far easier just to write a simple script to invert the regions. I looked at Vegasaur thinking they might already have this capability--unfortunately, not. The workflow would be: First run the script to invert the regions. Then do the render selecting regions. You could even join them if you wanted. And finally, run the script again to revert back to the original regions.

If that seems reasonable, I'll take a further look.

eikira wrote on 11/9/2019, 11:15 PM

@wwaag

i of course would not mind clicking on a script beforehand at all. i would even write it my own if i would know how to write such stuff. i have vegasaur but i also found nothing that would do that. it would be a neat feature to have.

wwaag wrote on 11/10/2019, 8:36 PM

For anyone interested in a script to create inverse regions as requested by @eikira it can be freely download on the HappyOtterScripts Tools Library page at https://tools4vegas.com/library/.

Here is the simple GUI

and a short demo of what it does.

At the moment, only the Magix version is available. Comments and/or suggestions are welcome.

frankp wrote on 11/18/2019, 2:46 PM

@wwaag

Was working on trying to rewrap and change a clip from VFR to CFR using ImportAssist. The video was shot with an iPhone 11 Pro Max (60fps HEVC).

Duplicate Frames Finder didn't find any duplicated frames.

Under ImportAssist: 
1. selected "generic mov/mp4" as type of media to be imported,
2. Add files placed the media under "Selected Files to Import",
3. On Processing Options, ticked Rewrap (to mov container) and clicked on VFR to CFR,
4. On Video Options, it then asked me to "Set Frame rate" which is greyed out and unable to specify or change.

Tried changing to MP4 container, same result.  Tried highlighting the file and clicking "VFR to CFR", same result.
It asks to "Set Frame Rate" but box is greyed out.

Am I missing a step? Would appreciate some help. Thank you.

HOF Build 1.0.2.65/Magix Vegas Pro 15.0

Last changed by frankp on 11/18/2019, 2:46 PM, changed a total of 1 times.

Magix Vegas Pro 15 (build 416)

OS: Windows 10 Pro 64

CPU: Intel Core i7-9700K Coffee Lake 8-Core 3.6 GHz LGA 1151 

Cooler: Noctua NH-L9x65

Motherboard: Gigabyte Z390 Designare

RAM: Ballistix Sport LT 32GB DDR4 2400 MT/s

GPU: Sapphire Radeon RX Vega 64 8GB

Capture Card: Blackmagic Intensity Pro 4K

PSU: Corsair RMx Series 850W

Boot Drive: Samsung 970 EVO NVMe 2TB

Data Drives: Toshiba X300 5TB 7200 RPM (x4)

RAID: G-Technology G-RAID with Thunderbolt 3 and Blackjet VX-2SSD USB 3.1 10Gbps USB Type-C

Case: iStarUSA D400 Black

Monitor: LG 32UD59-B 32" 3840x2160 Ultra HD 4K

wwaag wrote on 11/18/2019, 2:54 PM

@frankp

That's a bug which has been fixed in the next build--hopefully, it will be out later this week.

Would it be possible for you to upload a sample clip for me to test before release since I don't have any of the latest iPhone footage?

frankp wrote on 11/18/2019, 3:06 PM

@wwaag

i'll upload the clip on my dropbox and send you a link. Thank you.

Magix Vegas Pro 15 (build 416)

OS: Windows 10 Pro 64

CPU: Intel Core i7-9700K Coffee Lake 8-Core 3.6 GHz LGA 1151 

Cooler: Noctua NH-L9x65

Motherboard: Gigabyte Z390 Designare

RAM: Ballistix Sport LT 32GB DDR4 2400 MT/s

GPU: Sapphire Radeon RX Vega 64 8GB

Capture Card: Blackmagic Intensity Pro 4K

PSU: Corsair RMx Series 850W

Boot Drive: Samsung 970 EVO NVMe 2TB

Data Drives: Toshiba X300 5TB 7200 RPM (x4)

RAID: G-Technology G-RAID with Thunderbolt 3 and Blackjet VX-2SSD USB 3.1 10Gbps USB Type-C

Case: iStarUSA D400 Black

Monitor: LG 32UD59-B 32" 3840x2160 Ultra HD 4K

wwaag wrote on 11/18/2019, 10:07 PM

@frankp

Thanks for the footage. The conversion of iPhone11 HEVC UHD 60P footage from VFR to CFR for use in Vegas 15 seemed to work OK. For anyone interested, here's a demo.

 

eikira wrote on 11/24/2019, 5:09 PM

@wwaag is their a chance that HOS will do HEIF (animated) or GIF export? Or is HOS already capable of that and i missed it?

wwaag wrote on 11/24/2019, 7:12 PM

@eikira

At the moment, the answer is no. GIF export has been on the "back burner" of my "to do" list for awhile. In fact, I've already written the code, but have not incorporated into HOS.

Regarding HEIF, I did a bit of searching and it doesn't appear promising for future inclusion of HOS since the underlying codecs are apparently proprietary and as such have not been included within FFmpeg. I did find a couple URL's albeit a couple of years old now which illustrate some of the pitfalls. https://www.imore.com/converting-jpeg-heif-bad-idea

eikira wrote on 11/24/2019, 7:29 PM

@wwaag yes you are right, i completely forgot that HEIF is a patent hell. hopefully it can be overcome like with x265 regarding h265.

i just asked because a friend of mine i convinced to do his cooking videos in vegas pro, he is happy and i most likely could convince him to purchase later HOS alone for the feature exporting segments to GIF for his social media nonsense.

wwaag wrote on 12/9/2019, 9:16 PM

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

New Features

o    RenderPlus

  • Use of Vegas render templates to create intermediate for 10bit Avisynth filtering and x264 renders
  • Image sequence with alpha and choice of bit depth (including 16bit/channel) for png, tif, and dpx
  • Gif Animation encoding
  • Joined file from regions now CFR—support for playback and import to timeline added

o    ImportAssist

  • Enhanced MKV and MP4 import including choice of audio streams, chapters, and subtitles
  • Gif animation import

o    GoToFile –single app that combines the previous GoToEvent and GoToMedia

o    FileInfo—new tool that provides detailed media info for selected project media or timeline events

o    Simplified Vegas Template Selection dialog for RenderPlus, RenderEvents, and ProxyAssist

o    Quicker loading and simplified dialogs for RenderEvents and ProxyAssist

o    AviDub – improved dialog logic

Bug Fixes

o    Import Assist—import folder dialog not working for still images—fixed

o    Audio Trim – erroneous error message after track renders—fixed

o    RenderPlus—x264 render of interlaced footage crash—fixed

o    AviDub—use of VFW direct renders not working--fixed

Comments are welcome

Nick Hope wrote on 12/9/2019, 11:06 PM

Thanks for the update wwaag. The addition of animated GIF is great, but the files are large. 1 second of 1920x1080-30p is coming out at 32MB. MediaInfo reports the compression mode as "lossless". Is there any way to render smaller, lossy files?

wwaag wrote on 12/10/2019, 12:39 AM

Animated Gif's are not intended for large HD frame sizes. The result, as you've discovered, is a very large file size. It's primary use is for fairly small animations that are a relatively small part of a web page--not the entire page. To reduce the size, you can do two things--reduce frame size and/or reduce frame rate. These can both be done inside HOS using the Avisynth options dialog or one could simply change the Vegas project size and frame rate. Either approach would work. The HOS implementation is two-pass--the first to create the png palette based on the color content of the video and second to do the actual encoding. A default color palette could have been used which is quicker, but the results were not as good.

Grazie wrote on 12/10/2019, 3:45 AM

@wwaag - Some great tweaks and beeks! OK, Using KW I don't get the Preview after FS has done its thing? Must be a Button I can Click on? Ah, yes, the File Rename crashed my VP17.

Great to have File Info! - any chance for that to be COPIED or outputted? It would be usful for ERROR Catchers to post here?

Nick Hope wrote on 12/10/2019, 8:02 AM

@wwaag Thanks for the reply, and advice noted.

While checking that the GIF format doesn't support spatial compression, I came across this lossy GIF compressor (via this page). No idea if it, or something similar, could be incorporated into HOS.

Musicvid wrote on 12/10/2019, 4:28 PM

"Compression" in GIF animation is traditionally accomplished by:

  • Confining the pallete to actual source colors, often <256.
  • Reducing to 15 or 8 fps.
  • Keeping resolution <= 800x600 or so.

It is arcane, but no good substitute sans player has come about tmk.

wwaag wrote on 12/11/2019, 6:17 PM

For anyone having problems with Nvenc renders using the latest build of HOS, the Nvenc encoding app that is being used was updated and requires a driver version of 436.15 or later. This was due to the update to NVENC SDK 9.1 by the developer earlier this Fall.

Grazie wrote on 12/11/2019, 11:33 PM

Just installed. Well, there's a thing?!? - Just did a HOS KP and a challenging 4 minute Selection Rendered-Up through FS in less than a minute!

Thanks Wayne. 😎

 

eikira wrote on 12/12/2019, 10:59 AM

nice, need to test GIF Export. now i will convince my partner to buy HOS when it is avaible =)

just to inform, windows blocks installation of HappyOtterSetup-1.0.2.66.exe

Joelson_Forte wrote on 12/12/2019, 1:51 PM

This short video show how to properly export to .GIF format using Render Plus. It really was a good idea to add the import and export of animated GIFS to HOS. It has been very useful here.

vkmast wrote on 12/12/2019, 5:08 PM

Thanks @Joelson_Forte for the video. Hope it'll stay here for future reference.