Tweak RVIO Plug-in problems...

Heya,
I’m trying to create a RVIO job plugin in order to generate quicktime movies from sequences of frames. RVIO is a command line version of the RV image viewer, made by Tweak Software. I cant quite tell if this is a deadline issue or a RVIO issue, but maybe someone here can help. I will attach the script, its based on the quicktime plug-in that ships with deadline. I changed a few argument names and application paths, but the rest is fairly vanilla.

When I first tried it, I ran it on a windows machine, and it immediately crashed. Here is a snip of the log:

0: INFO: Startup Directory: "c:\Program Files (x86)\Tweak\RV-3.8\bin"
0: INFO: Process Priority: BelowNormal
0: INFO: Process is now running
0: STDOUT: c:\Program Files (x86)\Tweak\RV-3.8\bin\rvio.exe
0: STDOUT: Version 3.8.7, built on Jun 17 2010 at 18:29:47 (32bit). (L)
0: STDOUT: Copyright (c) 2008-2009 Tweak Software. All rights reserved.
0: STDOUT: This application has requested the Runtime to terminate it in an unusual way.
0: STDOUT: Please contact the application's support team for more information.
0: WARNING: Detected popup dialog "rvio.exe".
0: WARNING: ---- dump of dialog ----
0: WARNING: Button: &Don't Send
0: WARNING: Static: rvio.exe has encountered a problem and needs to close.  We are sorry for the inconvenience.
0: WARNING: RichEdit20W: 
0: WARNING: Static: If you were in the middle of something, the information you were working on might be lost.
0: WARNING: RichEdit20W: 
0: WARNING: Static: We have created an error report that you can send to us.  We will treat this report as confidential and anonymous.
0: WARNING: Static: To see what data this error report contains,
0: WARNING: Button: Details
0: WARNING: Button: &Send Error Report
0: WARNING: ---- end dump of dialog ----
 Scheduler Thread - Render Thread 0 threw an error: 
 Scheduler Thread - Exception during render: An error occurred in RenderTasks(): Dialog popup detected: Title "rvio.exe", Message "We have created an error report that you can send to us.  We will treat this report as confidential and anonymous."

   at Deadline.Plugins.ScriptPlugin.RenderTasks(Int32 startFrame, Int32 endFrame, String& outMessage)

Then I decided to try it on our mac farm, to see if the results gave me a clue, and they might have. On the mac, it does not crash but it complains that it has no output file specified.

0: STDOUT: /Applications/RV.app/Contents/MacOS/rvio
0: STDOUT: Version 3.8.7, built on Jun 17 2010 at 18:19:47 (32bit). (L)
0: STDOUT: Copyright (c) 2009 Tweak Software. All rights reserved.
0: STDOUT: ERROR: no output file/sequence specified
0: INFO: Process exit code: 255

This is the same message I get if I do forget to specify the output path with the -o flag, when running it manually on the command line. So something tells me the arguments are not being passed completely or correctly. Some arguments are getting to it, because if it did not receive any arguments, the error would report that no input files were specified.

If I look in the deadline logs, the path to the executable and arguments look correct.

0: INFO: Render Executable: "/Applications/RV.app/Contents/MacOS/rvio"
0: INFO: Render Argument:<I can not post this here as it contains production related info - I can send it directly to deadline / tweak after getting a nda>

I tried wrapping the entire argument string in quotes, but I got the same result. I am guessing that the error is the same on both platforms, they are just reporting it differently, but I could be wrong.

What is interesting, is that on both platforms, if I copy and paste the command and arguments from the deadline log, directly into the shell / dos window, the command runs successfully without issue.

Please let me know if there is any more information I can provide to help debug this, or if you think I should contact Tweak about this.

Thank you for any help,

Seth
RVIO.zip (3.34 KB)

Hey Seth,

We are actually shipping an RVIO plugin with Deadline 4.1, which is scheduled for release at the beginning of August. I can’t post it here because it won’t work with 4.0 (we needed to add some new script API functions and the RVIO plugin uses). We haven’t had any problems like this with it when running tests.

I checked the script, and noticed that you’re not placing quotes around any of the paths, so if any of them ever contain spaces, you’ll run into problems. So instead of this:

renderArguments = ' %s -v -outres %s -o %s' % (inputImages, outputResolution, outputFile)

Try this:

renderArguments = ' "%s" -v -outres %s -o "%s"' % (inputImages, outputResolution, outputFile)

Also, it would really help to see the arguments in the log being passed to rvio. Can you just create simple test input/output with non-production names?

Cheers,

  • Ryan

InputImages=//Thesun/projects/dev/deadlineTest/New_Project/images/bounce_v1.#.exr
OutputFile=//Thesun/projects/dev/deadlineTest/New_Project/images/bounce_v1.mov

0: INFO: Render Executable: “/Applications/RV.app/Contents/MacOS/rvio”
0: INFO: Render Argument: “//Thesun/projects/dev/deadlineTest/New_Project/images/bounce_v1.#.exr” -v -outres 1024 778 -o “//Thesun/projects/dev/deadlineTest/New_Project/images/bounce_v1.mov”

Funny enough, this works on the macs, and not the windows boxes. The only changes I made were to put the quotes around the paths as you suggested, tho in my previous tests there were no spaces. So the good news is, the movies are being generated successfully via deadline now, on our mac farm. Its still crashing on the windows farm. Think its a tweak issue? Windows codec issue maybe?

Thanks for your help Ryan.

From the original post, it looks like you’re using the 32 bit version of RVIO. Is that still the case? The reason I ask is that you can’t create Quicktime movie files using 64 bit software because there isn’t a 64 bit version of Quicktime.

Also, have you tried other output formats (ie: jpg) to see if the problem is just QT specific?

Cheers,

  • Ryan