Script button for frameserving?

relaxvideo wrote on 7/11/2015, 1:45 PM
Can somebody write me a script, so i can frameserve the timeline to a specific folder and filename with only one mouseclick on the toolbar?

It would be a great help :)

Is it also possible to render say mpeg2 with some saved template to a folder/filename? Also a button for this, so i don't have to always browse the folder, give a name, etc.

thanks

Comments

wwaag wrote on 7/11/2015, 2:28 PM
It's your lucky day. Do you use the 1-click Send 2 Handbrake for rendering? If so, I can simply tell you what changes to make. Otherwise, I'll upload the changed script to Dropbox.

wwaag

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.

relaxvideo wrote on 7/11/2015, 3:14 PM
i like to use, but i use vegas11, and something doesn't work, handbrake just don't start encoding.

Anyway i like ripbot264 better, so i like to use that.

Thanks wwaag

#1 Ryzen 5-1600, 16GB DDR4, Nvidia 1660 Super, M2-SSD, Acer freesync monitor

#2 i7-2600, 32GB, Nvidia 1660Ti, SSD for system, M2-SSD for work, 2x4TB hdd, LG 3D monitor +3DTV +3D projectors

Win10 x64, Vegas22 latest

wwaag wrote on 7/11/2015, 3:30 PM
In that case, here is the link for the files you need. Rather than V13, install in script folder for V11.

https://www.dropbox.com/sh/oy3cchtg2otwd8g/AAA7kdY4t439U8A50f-MSvDwa?dl=0

It should work. Let me know if there are problems.

wwaag

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.

relaxvideo wrote on 7/12/2015, 1:15 AM
Great, it works perfecty!
Now i can set another render format and template too? :)

#1 Ryzen 5-1600, 16GB DDR4, Nvidia 1660 Super, M2-SSD, Acer freesync monitor

#2 i7-2600, 32GB, Nvidia 1660Ti, SSD for system, M2-SSD for work, 2x4TB hdd, LG 3D monitor +3DTV +3D projectors

Win10 x64, Vegas22 latest

wwaag wrote on 7/12/2015, 10:14 AM
Now i can set another render format and template too?

Yes, you should be able to by changing the video renderer and template names in lines 12 and 13 and also the output filename and extension in line 41. If it works, change the name and add a new icon and you should be in business. I must admit that this script is actually pretty useful since I use frameserver a lot and one click is a lot easier than going through the dropdown menu process. One caveat that I forgot to mention. It will render only that portion of the timeline that has been selected as a loop region, so to render the entire timeline you need an in and out points at the beginning and end. In other words, it always defaults to "render loop region only" so you will need to define the region. Again, this is not my original script, but only a modified script that was part of the Send to Handbrake software written by Marco.

wwaag

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.

relaxvideo wrote on 7/12/2015, 1:13 PM
Yes, thank you again!
Now finally ripbot264 mp4 rendering is also very good with interlaced hd material. At 15mbps the quality is fantastic vs. internal encoders. With avisynth script i can also correct the frameserver audio click bug at the end. So everything seems fine - at last.

#1 Ryzen 5-1600, 16GB DDR4, Nvidia 1660 Super, M2-SSD, Acer freesync monitor

#2 i7-2600, 32GB, Nvidia 1660Ti, SSD for system, M2-SSD for work, 2x4TB hdd, LG 3D monitor +3DTV +3D projectors

Win10 x64, Vegas22 latest

wwaag wrote on 7/12/2015, 2:47 PM
Glad it's working for you. I'm sure that you're aware of the other audio problem. When frameserving, 48Khz audio is rendered out at 44Khz and then re-converted back to 48Khz in Handbrake or whatever encoder you are using. I'm not sure how much of a problem this really is, but I always render the audio separately and then remux. It's an extra step, but at least I know the two conversions were avoided. In any case, I'd be interested in seeing your avisynth script and how you deal with the click at the end.

wwaag

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.

relaxvideo wrote on 7/13/2015, 2:27 AM
OT:

I don't think for average person this conversion 48->44->48 will be a problem. I cannot hear. I don't make music discs, or concerts and don't use high quality music tracks (sacd, 96khz, etc :)

My script is this:

AviSource("frameserved.avi")
Trim (0, FrameCount-1-Floor(FrameRate))
ConvertToYV12(interlaced=true,matrix="PC.709")

SeparateFields()
E = SelectEven().Sharpen(0.3)
O = SelectOdd().Sharpen(0.3)
Interleave(E, O)
Weave()

this will cut 1 seconds from the end (the audio bug)
also sharpen interlaced material correctly!

#1 Ryzen 5-1600, 16GB DDR4, Nvidia 1660 Super, M2-SSD, Acer freesync monitor

#2 i7-2600, 32GB, Nvidia 1660Ti, SSD for system, M2-SSD for work, 2x4TB hdd, LG 3D monitor +3DTV +3D projectors

Win10 x64, Vegas22 latest

wwaag wrote on 7/13/2015, 10:12 AM
Thanks for the script info.

wwaag

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.

NormanPCN wrote on 7/13/2015, 5:50 PM
I have not seen the audio problem at the end when frameserving but I use Avisynth+ instead of Avisynth. Avisynth+ also supports frameserving audio so no need to have audio samples placed in the AVI signpost file. Maybe this later part is why I don't see the audio thing. For reference I frameserve to ffmpeg.
relaxvideo wrote on 7/14/2015, 12:56 AM
What's your method exactly for frameserving audio?
I don't have to render audio to debugmode avi file? Sounds good, because on a 1+ hour timeline its a few minutes. Without audio its 3 seconds.

thanks

#1 Ryzen 5-1600, 16GB DDR4, Nvidia 1660 Super, M2-SSD, Acer freesync monitor

#2 i7-2600, 32GB, Nvidia 1660Ti, SSD for system, M2-SSD for work, 2x4TB hdd, LG 3D monitor +3DTV +3D projectors

Win10 x64, Vegas22 latest

wwaag wrote on 7/14/2015, 9:54 AM
What's your method exactly for frameserving audio?

Simply uncheck the box "Write audio as PCM......" and audio will be served along with video frames, not as a separate file.

wwaag

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.

NormanPCN wrote on 7/14/2015, 12:13 PM
Simply uncheck the box "Write audio as PCM......"

That.

When I first tried the frameserve thing I used Avisynth and it needed the PCM option checked for audio. I tried Avisynth+ and it worked with serving the audio and I have stayed with that.
relaxvideo wrote on 7/14/2015, 12:39 PM
oh, i thinked when not checked only the video will be served :)

yes, i tried it now, audio is here.
but unfortunately as i load the file to ripbot264, it starts with demuxing audio, so the same time is needed, what debugmode does with write audio as pcm option..

#1 Ryzen 5-1600, 16GB DDR4, Nvidia 1660 Super, M2-SSD, Acer freesync monitor

#2 i7-2600, 32GB, Nvidia 1660Ti, SSD for system, M2-SSD for work, 2x4TB hdd, LG 3D monitor +3DTV +3D projectors

Win10 x64, Vegas22 latest