You need to go inside nuke, set those prefs how you want them in the
advanced apple window that pops up.  Then copy that write node into a text
editor and grab that big fat string in there and use it.

IE:

w1['settings'].setValue(pasteThatBigFatStringFromWriteNodeInHere) in your
python script.

set cut_paste_input [stack 0]
version 6.3 v7
push $cut_paste_input
Write {
 channels rgba
 file_type mov
 codec avc1
 settings
0000000000000000000000000000019a7365616e0000000100000001000000000000018676696465000000010000000e00000000000000227370746c00000001000000000000000061766331000000000018000003ff000000207470726c000000010000000000000000000003ff0018000000000001000000246472617400000001000000000000000000016800000000530000010000000100000000156d70736f00000001000000000000000000000000186d66726100000001000000000000000000000000000000187073667200000001000000000000000000000000000000156266726100000001000000000000000001000000166d70657300000001000000000000000001000000002868617264000000010000000000000000000000000000000000000000000000000000000000000016656e647300000001000000000000000000000000001663666c67000000010000000000000000004400000018636d66720000000100000000000000006170706c00000014636c75740000000100000000000000000000001c766572730000000100000000000000000003001c00010000
 checkHashOnRead false
 name Write1
 selected true
 xpos 110
 ypos -177
}



-deke

On Mon, Mar 5, 2012 at 16:56, Manley <[email protected]>wrote:

> **
> Was this problem ever resolved?
>
>
>
> *Christian Kaestner wrote:*  Hi there,
>
> is there a way I can access the "advanced" knob of the H.264 Quicktime
> codec settings from within python?
>
> I only need to define a high quality setting and a low quality setting,
> which means technically I can hard code the number/settings in, if I knew
> how to define them.
>
> something along the line of:
>
> w1 = nuke.nodes.Write()
> w1['file_type'].setValue(7) #setting to .mov
> w1['codec'].setValue(10) #setting to H.264
> w1['advanced'].setValue(**Can I access these settings somehow?**)
>
> Thanks
> Christian
>
> _______________________________________________
> Nuke-python mailing list
> [email protected], http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
>
>
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to