Support Forum

PlayBlast

  • Pieter van Stee
  • Pieter van Stee's Avatar Topic Author
  • Online
More
4 months 1 week ago #288 by Pieter van Stee
Pieter van Stee created the topic: PlayBlast
Hi,

At the moment I'm looking into playblast to generate previews of my animations.
Therefore I have the following questions about the tool:
- Can it be scripted, or used in a maxscript to trigger this function? Where can I find the documentation about this?
- Is there a possibility to output a mp4 animation directly by clicking the animation button?
- How do I set the output folder because this seems to be the previews folder from the project folder at the moment.

If there is no option to generate an mp4 output, could you assist me to setup a script where the jpg frames are cached on the c:\ somewhere because the previews folders are on our networkdrives and will be synced between offices which isn't necessary, so a c:\ location would be best.
And when the sequence is finised convert this via ffmpeg for ex. which I have working with this command line:

so with this location previewsLocationProjectFolderPath on the C drive somewhere:
ffmpeg -r 30 -f image2 -s 1280x720 -start_number 0 -i "previewsLocationProjectFolderPath\file_%04d.jpg" -vframes 1000 -vcodec libx264 -crf 25 -b:v 8M -pix_fmt yuv420p "P:\WORK\2019\19005 SNIP\03 MAX\previews\CAM01.mp4"

And then removing the jpg sequence.

Thank you

Please Log in or Create an account to join the conversation.

More
4 months 4 days ago #289 by SiNi_Josh
SiNi_Josh replied the topic: PlayBlast
Hi Pieter,
At the moment, it cannot not be scripted, but it is something we will be working on in the near future.
Yep, if you hit the Animation Button, it will create a .mp4 file.
Currently there is no way to change the location, but you bring up a very good point and we will looking into adding a way to change preview location. Sorry for any issues that may cause in the meantime.
Thanks
Josh

Please Log in or Create an account to join the conversation.

  • Pieter van Stee
  • Pieter van Stee's Avatar Topic Author
  • Online
More
4 months 4 days ago #290 by Pieter van Stee
Pieter van Stee replied the topic: PlayBlast
Hi and thanks for your reply.

My max here won't export an mp4, which is why I'm using the workaround with ffmpeg.
But you are saying that the animation button would export an mp4.
This isn't the case, at least on all of our workstations...
Can you please let me know how this can be fixed?
At the moment all the frames are exported as jpg's.

Thanks

Please Log in or Create an account to join the conversation.