You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.
Configure burn in (any text) for the Prores output.
Publish version from Nuke
Extract burnins fails:
"Executing arguments was not successful: "('"C:\Users\Public\pype_env2/Scripts/python.exe" "Q:\dev\pypesetup\repos\pype\pype\scripts\otio_burnin.py" "c:/users/jiri~1.sin/appdata/local/temp/tmpbw_iyz.json"',)""
Describe the bug
Global publish plugin configured to encode Prores files fails to produce Prores with burn in.
To Reproduce
Steps to reproduce the behavior:
"codec": [ "-codec:v prores_ks", "-profile:v 3", "-pix_fmt yuv422p10le"]
"Executing arguments was not successful: "('"C:\Users\Public\pype_env2/Scripts/python.exe" "Q:\dev\pypesetup\repos\pype\pype\scripts\otio_burnin.py" "c:/users/jiri~1.sin/appdata/local/temp/tmpbw_iyz.json"',)""
RuntimeError: Failed to render '//dps150/zback/_GFX_storage/T009_pypetestAA/shots/trs001/work/compositing/renders/nuke/renderCompositingMain/renderCompositingMain.baked_reviewProresHqburnin.mov': "ffmpeg" -i "//dps150/zback/_GFX_storage/T009_pypetestAA/shots/trs001/work/compositing/renders/nuke/renderCompositingMain/renderCompositingMain.baked_reviewProresHq.mov" -vf "drawtext=fontfile='C:\\Windows\\Fonts\\arial.ttf':text='trs001 v005':x=5:y=h-text_h-5:[email protected]:fontsize=25:box=1:boxborderw=5:[email protected]" -codec:v prores -profile:v hq -b:v 143777771 -pix_fmt yuv422p10le -g 1 -y "//dps150/zback/GFX_storage/T009_pypetestAA/shots/trs001/work/compositing/renders/nuke/renderCompositingMain/renderCompositingMain.baked_reviewProresHqburnin.mov"'
Note that above ffmpeg command works if you replace -codec:v prores with -codec:v prores_ks
Expected behavior
Pype should be able to output Prores with burn in the same as with other codecs.
Desktop (please complete the following information):
Possible Fix
It seems like most codecs in ffmpeg have working default encoders, and the only problem is the Prores encoder. Since otio_burnin script uses ffprobe to re-encode the output with burn in, quick but hacky solution might be to simply replace the prores encoder by custom dictionary.
https://github.com/pypeclub/pype/blob/1d940f8b8bacf1aa2a21f292ccb15275bf04b102/pype/scripts/otio_burnin.py#L547
The text was updated successfully, but these errors were encountered: