it does look like I can get the frame 0 to go -1 by dropping [timecode] in
the addTimeCode node.
that does seem to work for input/time_code and then I can switch out of it
and back into the native timecode stream after that frame 0.
bit of a hack but I'll take it!

hopefully the editing systems don't use that other dpx/time_code tag - that
seems erratic and hard to control in my limited testing.

thanks deke



On Mon, Oct 21, 2013 at 4:18 PM, Deke Kincaid <d...@thefoundry.co.uk> wrote:

> Can you just use the addTimeCode node to override it?
>
> -deke
>
>
> On Monday, October 21, 2013, J Bills wrote:
>
>> Hi all - just looking for a clean way to pipe timecode through to my
>> slate.
>>
>> the dpx timecode starts on frame 1, so when doing a slate on frame 0 the
>> post house is expecting the timecode to decrease by 1 but at the moment
>> it's just passing through the same code from frame 1.  they aren't liking
>> that too much.
>>
>> looking at the metadata, it appears that dpx/time_code is the frame
>> number version of the timecode -- as in 86400
>>
>> and then input/timecode is the time display. as in 01:00:00:00
>>
>> I can get the dpx/time_code to drop by one easily in modifyMetaData -
>> [python \{nuke.thisNode().metadata()\['dpx/time_code']-1\}]
>>
>> but the input/timecode is harder because it's a string.
>>
>> we're going down the path of splitting that string out and decreasing the
>> frames display by 1 and accounting for the rollover from 23 to 00.
>>
>> I guess ideally I'd just convert the dpx/time_code frames display that
>> I've already decreased back into timecode - anyone know the formula for
>> that or have a cleaner way to do this?
>>
>> much thanks
>> -J
>>
>
>
> --
> -----
> Deke Kincaid
> Creative Specialist
> The Foundry
> Mobile: (310) 883 4313
> Tel: (310) 399 4555 - Fax: (310) 450 4516
>
> The Foundry Visionmongers Ltd.
> Registered in England and Wales No: 4642027
>
> _______________________________________________
> Nuke-python mailing list
> Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
>
>
_______________________________________________
Nuke-python mailing list
Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to