All Activity

This stream auto-updates     

  1. Yesterday
  2. guiramalho

    thumbnails

    This is the problem ! This changes the frame but they still the same. I don´t want to use the poster frame. I have an sliced reference clip the thumbnail must came from it´s cut´s in or mid point, not the original clip poster frame. Cheers. G.
  3. I'm wondering how to mute this kind of feed from the ftrack session: 2019-07-17 11:37:48,561 DEBUG Checking for entity in cache with key ('Status', ['a0bc2444-15e2-11e1-b21a-0019bb4983d8']) "C:\Users\tmiko\AppData\Roaming\Python\Python27\site-packages\ftrack_api\session.py:967" 2019-07-17 11:37:48,561 DEBUG Retrieved existing entity from cache: <Status(a0bc2444-15e2-11e1-b21a-0019bb4983d8)> at 582088240 "C:\Users\tmiko\AppData\Roaming\Python\Python27\site-packages\ftrack_api\session.py:974" 2019-07-17 11:37:48,561 DEBUG Cache not updated with merged entity as no differences detected. "C:\Users\tmiko\AppData\Roaming\Python\Python27\site-packages\ftrack_api\session.py:998" 2019-07-17 11:37:48,561 DEBUG Merging potential new data into attached entity for attribute task_status. "C:\Users\tmiko\AppData\Roaming\Python\Python27\site-packages\ftrack_api\attribute.py:36" 2019-07-17 11:37:48,561 DEBUG Merging remote value for attribute <ftrack_api.attribute.ReferenceAttribute(task_status) object at 571977800>. "C:\Users\tmiko\AppData\Roaming\Python\Python27\site-packages\ftrack_api\attribute.py:73" 2019-07-17 11:37:48,561 DEBUG Merging entity into session: <Status(a0bc3f24-15e2-11e1-b21a-0019bb4983d8)> at 582088408 "C:\Users\tmiko\AppData\Roaming\Python\Python27\site-packages\ftrack_api\session.py:852" 2019-07-17 11:37:48,561 DEBUG Entity not already processed for key ('Status', ['a0bc3f24-15e2-11e1-b21a-0019bb4983d8']). "C:\Users\tmiko\AppData\Roaming\Python\Python27\site-packages\ftrack_api\session.py:962" What's odd to me is that i don't get it when i just run command line tests. I do get it when i'm running from my custom pyside GUIs. I'm guessing i just set something somewhere that i'm not aware of.
  4. So i've been using an ffmpeg script to create high quality h264 versions of everything before i upload and that works fine every time. I tried a bunch of different things before that. (let me know if you want the script) I'm super interested in the "proper" Prores Workflow though. Soon i'll be creating those for editorial purpose, but i hadn't thought about actually uploading them. I was planning to just make an h264 as well as a ProRes from existing CG frames. Would love to know workflows/strategies people are using. Right now i'm using "encode" simply becaqse it creates the thumbnail for me. But i think i'll likely switch over to just uploading the thumb myself so i avoid all "in server" processing. Is that an option? I found the "encode" example on here and it worked so i used it. But I'd love to just upload something in the correct format for it to play directly, and upload the thumbnail myself as to require 0 actual encoding on the server. Would love to know the "correct" workflow for that.
  5. Last week
  6. So here's some more information just if anybody is interested: This code is searching for a sequence that doesn't exist: seqs = session.query('Sequence where name is "{0}" and project.id is "{1}"'.format('060', project_data['id'])).first() .first() returns None seqs = session.query('Sequence where name is "{0}" and project.id is "{1}"'.format('060', project_data['id'])).one() .one() returns: Traceback (most recent call last): File "C:/Users/tmiko/PycharmProjects/cglumberjack/src/plugins/project_management/ftrack/ftrack_unit_tests/ftrack_tests.py", line 16, in <module> seqs = session.query('Sequence where name is "{0}" and project.id is "{1}"'.format('060', project_data['id'])).one() File "C:\Users\tmiko\AppData\Roaming\Python\Python27\site-packages\ftrack_api\query.py", line 167, in one raise ftrack_api.exception.NoResultFoundError() ftrack_api.exception.NoResultFoundError: Expected result, but no result was found. This is the one that is screwing me up - so i'll avoid using this .all() returns: [] So that's a good option as well. If i don't have anything telling ftrack what to return i get a QueryResult object This at least demystifies why i'm getting different results.
  7. Ok I'm learning more about this already. QueryResult happens when i fail to put .one(), first(), or all() on the end of my query. This is going to make a huge difference moving forward. Going through and fixing some of these right now and tightening up my code. Still curious as to if there's another way other than querying and then creating based off the results. But this is getting cleaner!
  8. I want to create a project (or Sequence, or Shot, or AssetVersion, etc....) but right now i'm using all kinds of different ways of checking to see if something exists before i create it. I'm guessing there's some simple way of doing this that i'm just not aware of. For instance. To Create a Project Currently I'm doing something like this: project_data = session.query('Project where status is active and name is %s' % 'cgl_unittest2').first() print project_data if not project_data: project_data = session.create('Project', { 'name': 'cgl_unittest2', 'full_name': 'cgl_unittest2', 'project_schema': project_schema }) Problem is when unsuccessful these queries return: None, QueryResult, or sometimes they return an error. So i'm creating all kinds of workarounds for the fact that there is often different results returned depending on the type i'm querying. is there some kind of 'safe' flag on the create() function or some other way of checking to see if something exists before creating it?
  9. Lorenzo Angeli

    thumbnails

    Hi @guiramalho, I'm in the process of checking if there's any better way of doing the frame extraction, but what you are seeing are the default settings used by Hiero for the PosterFrame (which is what we are currently using internally) There are various ways you can define which frame to be used for now, either on the source clips: https://learn.foundry.com/nuke/content/timeline_environment/ingest/searching_bins.htm Or on the project settings: https://learn.foundry.com/nuke/content/timeline_environment/conforming/project_settings.html I'll reply to your ticket when I've more news about updates on the code side. Cheers. L.
  10. guiramalho

    thumbnails

    Hi @Lorenzo Angeli, this is not what is happening. It is not getting the mid frame, it is getting the first frame of the clip ignoring the edit. That´s why they are all the same. I did sent you an email thru support. Cheers. G.
  11. @John Su, I've finished off testing now the remote encoding using as example a file (ProRes HQ 422 ) I downloaded from here the encode has been done with the following code: import ftrack_api session = ftrack_api.Session() version = session.query('AssetVersion').all()[-1] version.encode_media('c://path/to/PRORESHQ.mov') The remote encoding task finishes successfully and I can play back the video in the component. Hope it helps. L.
  12. Hi @John Su, please have a look in here, by the end you'll find instructions on how to access the logs. Cheers. L.
  13. Lorenzo Angeli

    thumbnails

    Hi @guiramalho , this seems to be a file from the nuke studio integration . The code for the thumbnail in there is quite simple and pick the mid frame, please feel free to drop an email to support with suggestions on how it should behave and we'll be looking into it. Cheers. L.
  14. guiramalho

    thumbnails

    When I export shots from an sliced clip or a sequence, all the shots gets the same thumbnail.... I just found this comment in the ftrack_base_processor.py about the thumbnail... # TODO: pick frame from mid length clip or cut Having the right thumbnail is crucial ! Any clue how to fix this ?
  15. Oh yes Francois! our setup looks very similar and when staff see that wall of squares all same colour their immediately stop using it, or dont even start. I know this seems like a small issue but for people moving from spreadsheets this is a deal breaker.
  16. Cant wait for the client review tools to be in the web review! Directors and supervisers crying out fro this.
  17. Oh I see. Yes I voted for this back in July last year.
  18. No python api session in browser, the information between the desktop (path) and the server will be transmitted through the event system.
  19. In regards to "The environment variable will tell the session object where to pick up its plugins (the resolve in this case)." does the specific "session object" live in browser? Because it definitely doesn't start locally in any python intepreter as one can browse ftrack web without python installed.
  20. John Su

    Fails to encode media

    Sure. Could you tell me where the log is? Cheers.
  21. Hi @John Su, I'll check this asap. Would you mind sending the logs to support@ftrack.com ? They might contain some sensible information. Cheers. L.
  22. The environment variable will tell the session object where to pick up its plugins (the resolve in this case). The resolve will then submit to the server the information on how to represent the component path through the event I've been linking you previously. Hope it makes more sense this way. L.
  23. Earlier
  24. The environment variables can affect the local python created session object. But isn't the session that generate the web page on server end? So locally setting ftrack variables won't affect the web page. Is it right? Or did I misuse the word "web"? Just to be clear I mean the ftrack web page interface, not through customized python client.
  25. John Su

    Fails to encode media

    I tried movs with size of 232M, 64M. I can provide log if I know where it is. Let me know if you need it.
  26. Hi @John Su, sounds strange should work, but I'll double check. out of curiosity what size were these files ? Cheers. L.
  27. Hi @John Su, you can find some more information about the plugin ftrack environment paths here. Overall though the env does not have to be known by the server as is up to the session object to discover it and put it to the use. The resolve scripts uses the ftrack events to notify the server about the resolved path of the component . ftrack event system is quite powerful and I'd suggest digging deeper looking in here. You can also find more examples on how to use events in our recipes repository. Hope it helps. L.
  28. Sorry I have to bother you again. Because it still doesn't work, nor did I get the logic. Could you talk a little bit more detail about how the component path in ftrack web page get resolved by script under $FTRACK_EVENT_PLUGIN_PATH? I think that's the part confused me most. ftrack web page is displayed in web browser, the browser might know the environment variable but how does the script get involved?( there's even no python interpreter on the machine that's running the web browser).
  1. Load more activity