Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define custom saving behavior #80

Open
BigRoy opened this issue Jun 7, 2017 · 1 comment
Open

Define custom saving behavior #80

BigRoy opened this issue Jun 7, 2017 · 1 comment
Labels

Comments

@BigRoy
Copy link
Collaborator

BigRoy commented Jun 7, 2017

Problem

The maya.cmds.playblast saving behavior does not seem very reliable. For example I'd assume in the following code to have the second one failing because the file already exists, but it does not error out.

import maya.cmds
maya.cmds.playblast(filename="C:/my_playblast", forceOverwrite=False, startTime=1, endTime=2)
maya.cmds.playblast(filename="C:/my_playblast", forceOverwrite=False, startTime=1, endTime=2)

Though only this one actually works:

import maya.cmds
maya.cmds.playblast(filename="C:/my_playblast.avi", forceOverwrite=False, startTime=1, endTime=2)
maya.cmds.playblast(filename="C:/my_playblast.avi", forceOverwrite=False, startTime=1, endTime=2)

Now the second fails. The problem there is that we don't know upfront what the resulting file extension will be, also see: #51.


These problems are just as much present in capture at the moment.

Any ideas?

@BigRoy BigRoy added the bug label Jun 7, 2017
@mottosso
Copy link
Member

I think we should talk about biting the bullet and manage files and encoding ourselves via ffmpeg.

For those without ffmpeg, revert to the current set-up, which is flawed. And if it's available, enable the more advanced and improved usage.

That way we could start tacking #6 and other in-image decorations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants