AWS Thinkbox Discussion Forums

RV strech my render

No problem. Thanks for the help :wink:

Here another log with a new error

[code]=======================================================
Error Message

Exception during render: An error occurred in RenderTasks(): Error in CheckExitCode(): Renderer returned non-zero error code, 1. Check the log for more information.
à Deadline.Plugins.ScriptPlugin.RenderTasks(String taskId, Int32 startFrame, Int32 endFrame, String& outMessage)

=======================================================
Slave Log

0: Task timeout is disabled.
0: Loaded job: IA_005_0006_shl_tracking.nk [DRAFT] (999_075_999_78b22009)
0: INFO: StartJob: initializing script plugin Draft
0: INFO: Found Draft python module at: ‘C:\Users\renderfx\AppData\Local\Thinkbox\Deadline\slave\Draft_node\Draft\Draft.pyd’
0: INFO: About: Draft Plugin for Deadline
0: Plugin rendering frame(s): 0
0: INFO: Draft job starting…
0: INFO: Stdout Handling Enabled: False
0: INFO: Popup Handling Enabled: False
0: INFO: Using Process Tree: True
0: INFO: Hiding DOS Window: True
0: INFO: Creating New Console: False
0: INFO: Looking for bundled python at: ‘C:\Program Files\Thinkbox\Deadline\python\2.6.7\x64\python.exe’
0: INFO: Render Executable: “C:\Program Files\Thinkbox\Deadline\python\2.6.7\x64\python.exe”
0: INFO: Render Argument: -u “R:/simple_slate_h264_MJPEG_burnins.py” username=“Janick Belley” entity=“IA_005_0006_shl_tracking.nk” version="" inFile=“R:\IA\SHOTS\005\0006\shl\outputs\IA_005_0006_shl_Tracking.%v.####.exr” outFile=“R:\IA\SHOTS\005\0006\shl\outputs\Draft\IA_005_0006_shl_Tracking.%v…mov” startFrame=“43” endFrame=“294” frameList=“43-294” deadlineJobID=999_050_999_226345c4
0: INFO: Startup Directory: “C:\Users\renderfx\AppData\Local\Thinkbox\Deadline\slave\Draft_node\Draft”
0: INFO: Process Priority: BelowNormal
0: INFO: Process is now running
0: STDOUT: Checking for license at @ProdFlexMR
0: STDOUT: Command line args:
0: STDOUT: username=Janick Belley
0: STDOUT: entity=IA_005_0006_shl_tracking.nk
0: STDOUT: version=
0: STDOUT: inFile=R:\IA\SHOTS\005\0006\shl\outputs\IA_005_0006_shl_Tracking.%v.####.exr
0: STDOUT: outFile=R:\IA\SHOTS\005\0006\shl\outputs\Draft\IA_005_0006_shl_Tracking.%v…mov
0: STDOUT: startFrame=43
0: STDOUT: endFrame=294
0: STDOUT: frameList=43-294
0: STDOUT: deadlineJobID=999_050_999_226345c4
0: STDOUT: Encoding Slate Frames…
0: STDOUT: Processing Frame: 43…-1
0: STDOUT: Traceback (most recent call last):
0: STDOUT: File “R:/simple_slate_h264_MJPEG_burnins.py”, line 202, in
0: STDOUT: bgFrame.ResizeWithLetterbox( outWidth, outHeight )
0: STDOUT: File “R:/simple_slate_h264_MJPEG_burnins.py”, line 27, in ResizeWithLetterbox
0: STDOUT: self.CompositeWithPositionAndGravity(image, 0.5, 0.5, PositionalGravity.CenterGravity, CompositeOperator.CopyCompositeOp)
0: STDOUT: NameError: global name ‘PositionalGravity’ is not defined
0: STDOUT: Output #0, mov, to ‘R:\IA\SHOTS\005\0006\shl\outputs\Draft\IA_005_0006_shl_Tracking.l…mov’:
0: STDOUT: Stream #0:0: Video: mjpeg, yuvj420p, 1920x1080, q=2-31, 75000 kb/s, 90k tbn, 24 tbc
0: STDOUT: Output #0, mov, to ‘R:\IA\SHOTS\005\0006\shl\outputs\Draft\IA_005_0006_shl_Tracking.l.-h264.mov’:
0: STDOUT: Stream #0:0: Video: h264, yuvj420p, 1920x1080, q=4-51, 16000 kb/s, 90k tbn, 24 tbc
0: STDOUT: [libx264 @ 00000000005EC280] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
0: STDOUT: [libx264 @ 00000000005EC280] profile High, level 4.1
0: STDOUT: [libx264 @ 00000000005EC280] 264 - core 119 - H.264/MPEG-4 AVC codec - Copyright 2003-2011 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=0 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=3 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=2 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=3 keyint_min=1 scenecut=40 intra_refresh=0 rc_lookahead=3 rc=abr mbtree=1 bitrate=16000 ratetol=1.0 qcomp=0.60 qpmin=4 qpmax=51 qpstep=4 ip_ratio=1.40 aq=1:1.00
0: INFO: Process exit code: 1

=======================================================
Error Type

RenderPluginException

=======================================================
Error Stack Trace

à Deadline.Plugins.Plugin.RenderTask(String taskId, Int32 startFrame, Int32 endFrame)
à Deadline.Slaves.SlaveRenderThread.RenderCurrentTask(TaskLogWriter tlw)
[/code]

You’ll need to change line 27 to:

self.CompositeWithPositionAndGravity(image, 0.5, 0.5, Draft.PositionalGravity.CenterGravity, Draft.CompositeOperator.CopyCompositeOp)

+1 on adding it directly to Draft

It’s now working thks, this is a great feature.

Cheers,

Fred

Privacy | Site terms | Cookie preferences