0

Maya + RV

Cruised the forum and couldn't find this.  What is the format setting in order to use rv for maya's playblast viewer.  Under applications you usually do something like this:

%f %s-%e

in the optional flags for the Application path for view sequences, but that doesn't do anything.  The rv process starts but no UI ever opens.  Has anybody had luck with his or is everyone just using their own custom mel scripts?

Update from Tweak Software:  There are several tricky aspects to this depending on the platform, so we've released a standard integration package (comes with RV from version 3.12.15),  Documentation for that is here.  Enjoy!

댓글 5개

  • 0
    Avatar
    Kevinf

    I'm still hoping to find an integrate solution, but for those of you one windows, you can use the following to launch an rv playblast.  You'll need to update your temp location and resolution, but the trick is the system start command so it kicks off another thread.

     

    playblast  -format image -filename "F:/temp/playblast" -clearCache 0 -viewer 0 -showOrnaments 1 -fp 4 -percent 100 -widthHeight 640 480;
    system("start \"C:/Program Files (x86)/Tweak/RV-3.10.13-32/bin/rv.exe\" F:/temp/playblast.#.iff");
  • 0
    Avatar
    Kevinf

    Just keeping everything in one place here.  Another possible issue I have found is there does not seem to be a way on the command line to specify an Audio offset......so imagine this scenario.

    100 frame shot

    working in some program (maya for example) and you are using audio.   Now the cut needs the audio offset by 2 frames OR you only view the last half

    you need to be able to launch RV with the either an audio offset of 2 or if you are only looking at the last 50 frames you would want to offset the audio by -48....

    I've checked the docs for the command line and don't see any audio offset options.  Anyone else seeing this?

  • 0
    Avatar
    Kevinf

    can't edit last post, looks like I found a -ao flag....

    once I have the code for Maya I'll post the full playblast script

  • 0
    Avatar
    Alan Trombla
    Hi everyone.  Just wanted to add a couple things:
    1. Yes, the -ao command line flag lets you set the audio offset, but note that the units of the following number are in seconds not frames, and also this is a per-source option (different sources can have different audio offsets) so you want to enclose it in "[]" on the command line, like so:
      C:/Program Files (x86)/Tweak/RV-3.10.13-32/bin/rv.exe [ F:/temp/playblast.#.iff -ao 0.83333 ]
    2. For all applications like this, you should now consider using the "rvpush.exe" executable in place of "rv.exe".  The difference is that rvpush will find the latest started RV and hand it the media for display, rather than starting a new rv.  So the display is effectively instantaneous.  Furthermore, if you don't overwrite your playblasts, you can use the "merge" command to rvpush which will merge the media in instead of replacing what's there.  So you can maintain some history and easily compare successive playblasts.  Details here.
    Kevin if you've finished this up since the original post, it'd be great to see it in a comment here.
    Cheers,
    Alan
  • 0
    Avatar
    Kevinf

    Oopss, didn't realize you were looking for the final.  In mel it ended up being:

    system("start \"C:/Program Files (x86)/Tweak/RV-3.12.12-32/rv-win32-x86-3.12.12/bin/rv.exe\" [ " + $result + " -ao " + $soundOffset + " " + $sound + " ]");

    where you just ahve to make sure you calc your $soundOffset based on frames vs seconds as Alan said above.  Working on Python versions now

댓글을 남기려면 로그인하세요.