Hi
Is there a way to have Ripbot load an Avisynth line for every conversion?
Each time I convert from Vegas to Ripbot the following line is required to correct the colorspace:
Ripbot already has the line "ConvertToYV12()" loaded by defaut but it's not visible in any of the .avs files found in the Ripbot folder. So the easy "find&replace" method is not an option.ConvertToYV12(matrix="PC.709")
I also tried with x264 commands as an alternative but they don't seem to work:
OR--colormatrix bt709
Your thoughts?--colorprim bt709 --transfer bt709 --colormatrix bt709
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 24 of 24
Thread
-
Last edited by lonrot; 2nd Jul 2014 at 12:55.
-
Thanks for the input manono, Ripbot is returning this:
Script error: Invalid arguments to function "ConvertToYV12"
(C:\Temp\RipBot264temp\job5\getinfo.avs, line 2)
video=DirectShowSource("Z:\Zoomin Games\renders\fs.avi").ConvertToYV12(matrix="PC.70 9")
video=Spline36Resize(video,1920,1080).Sharpen(0.2)Last edited by lonrot; 2nd Jul 2014 at 16:20.
-
Are you exporting RGB or YUV from dmfs? It should be RGB, because it is processed as RGB in Vegas.
in ripbot gui try TV to PC color conversion, or edit avs script directly in its gui (properties, show script) and use this for YUV video (which you perhaps should not do that ):
.ColorYUV(levels="TV->PC")
instead of :
.ConvertToYV12() -
-
it works here alright, I load RGB 24 signpost.avi to ripbot, and that script works, meaning this line:
Code:video=DirectShowSource("C:\....path...\Untitled.avi",audio=false).ConvertToYV12(matrix="PC.709")
it looks like that script should be presented here in code tags, otherwise there can be space added etc... -
I copied replaced your code and simplified the address to no avail:
Code:video=DirectShowSource("Z:\fs.avi",audio=false).ConvertToYV12(matrix="PC.709") video=Spline36Resize(video,1920,1080).Sharpen(0.2)
Code:video=DirectShowSource("Z:\fs.avi",audio=false).ConvertToYV12(matrix="PC.709").Spline36Resize(video,1920,1080).Sharpen(0.2)
I don't know what "video" means
(Z:\Zoomin Games\renders\frameserver.avs, line 1)
(C:\Temp\RipBot264temp\job5\getinfo.avs, line 2)
frameserver.avs -
That avs script is incomplete , you need something like "return video"
Did you understand what manono suggested ? Make an avs script to load into ripbot, not loading the "fake" AVI from debugmode into ripbot, then editing the ripbot job files
e.g
All you would do is edit the 1st line for a different frameserve, save the .avs file
Code:AVISource("Z:\fs.avi") ConvertToYV12(matrix="PC.709")
Did you really want to sharpen and resize ? i think those things are added by ripbot -
I posted only one line that was in dispute, because you posted error with wrong argument for ConverttoYUV(), .., so as was just said you need one more line that says: return video is needed, but I think you need to clear everything you got there, clean ripbot, and start again
definitely to load Avisynth script alone to ripbot is much better, but it could be overwhelming at the begging, meaning writing and understanding that script, ...,first line is usually line that loads clip, lines that do something to video follows ... -
Thank you for clearing that up.
It works the same as copy-pasting the color code inside the "ConvertToYV12()" command for each new job.
I thought it could be done better by running a proxy avs file directly. Sorry for the confusion.
Did you really want to sharpen and resize ? i think those things are added by ripbot -
Hehe, I do the opposite - use a softer resizer (Bilinear) and no sharpening when something's for YouTube. The reason is that YouTube's bitrate is so low that using a sharper resizer and sharpening on top of that makes it more likely to artifact, especially for fast-paced gameplay (if I understand correctly what you're up to).
-
Last edited by lonrot; 2nd Jul 2014 at 19:41.
-
Forget that 'video=xxx' stuff. Do it simply:
AVISource("Z:\fs.avi",audio=false)#better than DirectShowSource, if it can be used
ConvertToYV12(matrix="PC.709")
Spline36Resize(1920,1080)
Sharpen(0.2) -
Thanks alot!
It's now working
A funny thing to note: Ripbot doesn't show the custom avs script settings in the properties panel. So whenever I didn't get the error message I still though something was wrong because it didn't appear up in the "Show script" panel. Thanks to you guys and Virtualdub for previewing the actual changes I was able to take courage and render the video. -
Do you have audio frameserving from vegas? If so, you should leave the audio=false out in your own avs script
When ripbot makes it's own avs script, it divides up the audio & video tasks, that why you get the video=xxx, stuff , and DirectShowSource with audio=false (because the audio is in another part of the script processing). If your .avs script that you load into ripbot doesn't contain audio, the final video won't have audio either -
manono for scaling gameplay footage from 1024 to 1920 what Bilinear setting would you use?
-
Last edited by lonrot; 2nd Jul 2014 at 20:56.
-
I am still not sure where it failed for you, because exporting RGB 24 and write audio as PCM (without this checked ripbot has trouble understanding audio and offers only video track, no audio) I got this from ripbot (disregarding whatever line starts with#):
Code:video=DirectShowSource("C:\...path...\Untitled.avi",audio=false).ConvertToYV12() LoadPlugin("C:\..path where ripbot is stored...\ripbot264\RipBot264 1.17.4\tools\AviSynth plugins\NicAudio\NicAudio.dll") audio=RaWavSource("E:\..path for temp ...\RipBot264temp\job1\audio.wav",1) audio=ResampleAudio(audio,48000) audio=DelayAudio(audio,0) audio=ConvertAudioTo16bit(audio) AudioDub(video,audio) Trim(0,68)
-
Last edited by lonrot; 3rd Jul 2014 at 00:27.
-
It will if, as I do, you load the audio separately. But I don't use Vegas for anything either.
Settings?
BilinearResize(Width,Height)
But for upscaling as much as you're doing (why?), I'd use NNEDI3_RPOW2. You can still use BilinearResize within it if you like, but I didn't know you were upscaling by so much.Last edited by manono; 3rd Jul 2014 at 00:30.
-
But for upscaling as much as you're doing (why?), I'd use NNEDI3_RPOW2. You can still use BilinearResize within it if you like, but I didn't know you were upscaling by so much.
What NNEDI3_RPOW2 parameters do you suggest for this type of upscaling?Last edited by lonrot; 3rd Jul 2014 at 01:30.
-
NNEDI3_RPOW2(rfactor=2,cshift="BilinearResize",fwi dth=1920,fheight=1080)
will work. You can substitute any resizer you like. You'll need the NNEDI3.dll. And it'll be slow. Make sure there's no space between the 'd' and 't' as in 'fwidth' above. Don't just copy and paste. Remove the space.