AWS Thinkbox Discussion Forums

Found some interesting things with Deadline Draft (latest version)

Hi,

I got complaints about the quality setting in Draft after the last update. Even with 100% quality, we have lots of compression.

I ended up changing this:

# YOUREPO\events\DraftEventPlugin\DraftQuickSubmission\DraftCreateMovie.py
#old:
#encoder = Draft.VideoEncoder( outFile, frameRate, newWidth, newHeight, codec = codec, quality = quality )

#fix
encoder = Draft.VideoEncoder( outFile, frameRate, newWidth, newHeight, codec = codec, kbitRate = int((int(quality)/100)*15000 ))

We also were using custom scripts to color transform from Aces to sRGB.
Because by default Aces isnā€™t available in the dropdown.
I now updated

#YOUREPO\submission\Draft\Main\luts.txt

# added:
ACES - ACEScg,      OCIOConfigFile YOUREPO\draft3\ocio-configs\aces_1.3\config.ocio ACES-ACEScg
Output - sRGB,      OCIOConfigFile YOUREPO\draft3\ocio-configs\aces_1.3\config.ocio Output-sRGB

And I needed to change:

# YOUREPO\events\DraftEventPlugin\DraftQuickSubmission\DraftCreateLuts.py
# old:
# lut = Draft.LUT.CreateOCIOProcessor( colorInInfo[2], colorOutInfo[2])
# fix (added a simple replace...) else the right color transform couldn't be found
lut = Draft.LUT.CreateOCIOProcessor( colorInInfo[2].replace('-',' - '), colorOutInfo[2].replace('-',' - ') )

Wanted to share my efforts but would like to know if these are the best solutions or if I over complicated thingsā€¦

Cheers

3 Likes

The ā€œqualityā€ fix

encoder = Draft.VideoEncoder( outFile, frameRate, newWidth, newHeight, codec = codec, kbitRate = int((int(quality)/100)*15000 ))

Unfortunately produces inaccurate FrameRatesā€¦
Not sure how to fix this.

Also tried:

encoder = Draft.VideoEncoder( outFile, frameRate, newWidth, newHeight, codec = codec, quality = int((int(quality)/100)*15000 ))

But this gives high compression again.

Moving back to

encoder = Draft.VideoEncoder( outFile, frameRate, newWidth, newHeight, codec = codec, quality = int(quality))

@support please help.

btw, the issue above is with codec h264,
With mpeg4, mjpeg it does work like expected.

Thanks for posting this @marcuzzz! I hope you donā€™t mind but Iā€™d like to hijack this for general ā€œquality is bad for H.264ā€ issues.

Iā€™m raising this internally, but from a previous conversation with engineering they expect that there are a number of tunables we may need to adjust to make a difference here. I personally expect because this library is maintained by Cisco itā€™s tuned for latency/performance instead of quality, but thatā€™s just my wild guess.

Something that would help if folks have it are some example videos and input frames/scripts. We have one set where a large number of small points are moving around but that may not be everyoneā€™s problem.

@eamsler
Yeah Draft Quality is really poor with the new version (it hopefully fix the Framerate version, but quality is really horrible in H264).

Problem is not really the bitrate of the video, but really the quality of the compression from the H264 codec.

With H264 we have high compression (even with quality set to 100) , no need of a scirpt, quick draft have the problemā€¦

Using draft with exr sequence, It could also gneerate some ā€œflickeringā€ spots / smudgesā€¦big ones.

When using with pure particles rendered (as point), the final file is completly unwatchableā€¦

Checking Video File With MediasInfo reveal new Draft is encoding with 1 ref Frame, old one as 3 ref Frames (temporal reference for compression) wich could really explain the poor quality of the video comparing old/new draft ( 1 ref frame always produce bigger file with poor quality compression, since it got no other frame to check to keep previous info (but still compress)ā€¦
If you got access to Ref Frames, putting it back to 3, should resolve the quality issue :slight_smile:

Quick update here. My team is experimenting and weā€™ve taken a Krakatoa rainbow particle confetti render and run it through old and new Draft. The older video file is about 2x the size on disk at the same bitrate but neither myself nor the support engineer working on this can tell much of a difference.

Weā€™re going to try and find an expert internally here who can school us on how to do a visual difference with Nuke. Iā€™ve passed along the reference frames theory to engineering as well.

encoder = Draft.VideoEncoder( outFile, frameRate, newWidth, newHeight, codec = codec, kbitRate = int((quality /100)*25000 ))
instead of encoder = Draft.VideoEncoder( outFile, frameRate, newWidth, newHeight, codec = codec, quality = quality )

This fix work ā€¦compare to ā€œoldā€ draft file it will produce slightly bigger file (not too much), but quality is backā€¦and framerate still workā€¦

Look like the target bitrate inside the H264 encoder is not good for quality settings.

1 Like

Just a small notice that itā€™s better to divide with float

int((q / 100.0) * 25000)

On some occasions, we got the wrong values for the bitrate. And the errors like iContinualSkipFrames is large appeared again

2 Likes

Still having this issue on the latest version of deadline (10.2.0.10). Do we need to still make manual adjustments and submission scripts for draft or will this be solved anytime soon?

This is still a know issue and our devs is working on fixing the quality issue with Draft 1.8., unfortunately we do not have an ETA yet. Look forward the release notes for feature releases and big fixtures.

well i still got sometime
ā€œ0: STDOUT: [libopenh264 @ 00000202F7148440] [OpenH264] this = 0x00000202F77F7580, Warning:[Rc] iDid = 0,iContinualSkipFrames(3) is largeā€
Even using the /100.0.
Someone found how to resolve this?

Yeah. When I added a callback to catch dropped frames I realized, that this solution was not working. We had to switch to MPEG4 to avoid these errors.

I also found out that increasing bitrate decreases the number of dropped frames, and after a specific value, the dropping of frames disappears. And itā€™s possible to create a callback recursive function to get a proper bitrate and the correct video. But this is too ugly.

So, letā€™s wait for the updates

What disturb me, is i do not have the issue when using quickdraft so far (but i use it only for HD1080 video, 30Fps), but each time i use a draft template, now i got this (resizing to 2.5K ish, keeping ratio, 25fps)ā€¦
Thatā€™s weird, I will probably need to rewrite my template for quickdraft one, and try to see if 25 vs 30 fps, change somethingā€¦

Edit : nope, Quick Draft does it tooā€¦

@karpreet Could we hope for a fix soon about the skipping frame issue, this is by far the most annoying issue with Draft (i need to use X264, i could no use mpeg4)ā€¦
This is as annoying as making Draft unusable if we need H264 encodingā€¦

Which version of Deadline are you running at the moment? It looks like all the fixes for skipped frames while using H264 have shipped as of the latest version of Deadline.

If youā€™re running the latest Deadline client and repository and still having issues then thereā€™s something else going on here.

Deadline Client Version: 10.2.1.0 Release (b4f15d06d)
FranticX Client Version: 2.4.0.0 Release (2613b98a2)

Repository Version: 10.2.1.0 (b4f15d06d)
Integration Version: 10.2.1.0 (b4f15d06d)
3PL Settings Version: 03/03/2023

Iā€™d just test to sure, with Quickdraft (exr to .mov H264) => this is still happening) (got a 18.46 fps, instead of 30)

Here is thee logs for encoding

2023-03-28 15:39:13: 0: STDOUT: taskStartFrame=1
2023-03-28 15:39:13: 0: STDOUT: taskEndFrame=720
2023-03-28 15:39:14: 0: STDOUT: Draft 1.8.0.2
2023-03-28 15:39:14: 0: STDOUT: Output #0, mov, to ā€˜T:\2023.02_Bonrepos-Riquet-Ch\NUKE\Renders\OUT\Bonrepos-Riquet -Ch_Out_Axx-ClothFX01\Draft\Bonrepos-Riquet -Ch_Out_Axx-ClothFX01.movā€™:
2023-03-28 15:39:14: 0: STDOUT: Metadata:
2023-03-28 15:39:14: 0: STDOUT: encoder : Lavf59.16.100
2023-03-28 15:39:14: 0: STDOUT: Stream #0:0: Video: h264 (avc1 / 0x31637661), yuv420p(pc, bt709), 1920x1052, q=2-31, 30 fps, 15360 tbn
2023-03-28 15:39:14: 0: STDOUT: Encoding Progress: 0%
2023-03-28 15:39:14: 0: STDOUT: Encoding Progress: 1%
2023-03-28 15:39:14: 0: STDOUT: Encoding Progress: 2%
2023-03-28 15:39:14: 0: STDOUT: Encoding Progress: 3%
2023-03-28 15:39:15: 0: STDOUT: Encoding Progress: 4%
2023-03-28 15:39:15: 0: STDOUT: Encoding Progress: 5%
2023-03-28 15:39:15: 0: STDOUT: Encoding Progress: 6%
2023-03-28 15:39:15: 0: STDOUT: [libopenh264 @ 00000251FDE690C0] [OpenH264] this = 0x00000251FB69A750, Warning:[Rc] iDid = 0,iContinualSkipFrames(3) is large
2023-03-28 15:39:15: 0: STDOUT: Encoding Progress: 7%
2023-03-28 15:39:16: 0: STDOUT: [libopenh264 @ 00000251FDE690C0] [OpenH264] this = 0x00000251FB69A750, Warning:[Rc] iDid = 0,iContinualSkipFrames(3) is large
2023-03-28 15:39:16: 0: STDOUT: Encoding Progress: 8%
2023-03-28 15:39:16: 0: STDOUT: [libopenh264 @ 00000251FDE690C0] [OpenH264] this = 0x00000251FB69A750, Warning:[Rc] iDid = 0,iContinualSkipFrames(3) is large
2023-03-28 15:39:16: 0: STDOUT: Encoding Progress: 9%
2023-03-28 15:39:16: 0: STDOUT: [libopenh264 @ 00000251FDE690C0] [OpenH264] this = 0x00000251FB69A750, Warning:[Rc] iDid = 0,iContinualSkipFrames(3) is large
2023-03-28 15:39:16: 0: STDOUT: Encoding Progress: 10%
2023-03-28 15:39:16: 0: STDOUT: [libopenh264 @ 00000251FDE690C0] [OpenH264] this = 0x00000251FB69A750, Warning:[Rc] iDid = 0,iContinualSkipFrames(3) is large
2023-03-28 15:39:16: 0: STDOUT: Encoding Progress: 11%
2023-03-28 15:39:17: 0: STDOUT: [libopenh264 @ 00000251FDE690C0] [OpenH264] this = 0x00000251FB69A750, Warning:[Rc] iDid = 0,iContinualSkipFrames(3) is large
2023-03-28 15:39:17: 0: STDOUT: Encoding Progress: 12%
2023-03-28 15:39:17: 0: STDOUT: [libopenh264 @ 00000251FDE690C0] [OpenH264] this = 0x00000251FB69A750, Warning:[Rc] iDid = 0,iContinualSkipFrames(3) is large
2023-03-28 15:39:17: 0: STDOUT: Encoding Progress: 13%
2023-03-28 15:39:17: 0: STDOUT: [libopenh264 @ 00000251FDE690C0] [OpenH264] this = 0x00000251FB69A750, Warning:[Rc] iDid = 0,iContinualSkipFrames(3) is large
2023-03-28 15:39:17: 0: STDOUT: Encoding Progress: 14%
2023-03-28 15:39:17: 0: STDOUT: [libopenh264 @ 00000251FDE690C0] [OpenH264] this = 0x00000251FB69A750, Warning:[Rc] iDid = 0,iContinualSkipFrames(3) is large
2023-03-28 15:39:17: 0: STDOUT: [libopenh264 @ 00000251FDE690C0] [OpenH264] this = 0x00000251FB69A750, Warning:[Rc] iDid = 0,iContinualSkipFrames(3) is large
2023-03-28 15:39:17: 0: STDOUT: Encoding Progress: 15%
2023-03-28 15:39:17: 0: STDOUT: [libopenh264 @ 00000251FDE690C0] [OpenH264] this = 0x00000251FB69A750, Warning:[Rc] iDid = 0,iContinualSkipFrames(3) is large
2023-03-28 15:39:17: 0: STDOUT: Encoding Progress: 16%
2023-03-28 15:39:18: 0: STDOUT: [libopenh264 @ 00000251FDE690C0] [OpenH264] this = 0x00000251FB69A750, Warning:[Rc] iDid = 0,iContinualSkipFrames(3) is large
2023-03-28 15:39:18: 0: STDOUT: Encoding Progress: 17%
2023-03-28 15:39:18: 0: STDOUT: [libopenh264 @ 00000251FDE690C0] [OpenH264] this = 0x00000251FB69A750, Warning:[Rc] iDid = 0,iContinualSkipFrames(3) is large
2023-03-28 15:39:18: 0: STDOUT: Encoding Progress: 18%
2023-03-28 15:39:18: 0: STDOUT: [libopenh264 @ 00000251FDE690C0] [OpenH264] this = 0x00000251FB69A750, Warning:[Rc] iDid = 0,iContinualSkipFrames(3) is large
2023-03-28 15:39:18: 0: STDOUT: Encoding Progress: 19%
2023-03-28 15:39:18: 0: STDOUT: [libopenh264 @ 00000251FDE690C0] [OpenH264] this = 0x00000251FB69A750, Warning:[Rc] iDid = 0,iContinualSkipFrames(3) is large
2023-03-28 15:39:18: 0: STDOUT: Encoding Progress: 20%
2023-03-28 15:39:19: 0: STDOUT: [libopenh264 @ 00000251FDE690C0] [OpenH264] this = 0x00000251FB69A750, Warning:[Rc] iDid = 0,iContinualSkipFrames(3) is large
2023-03-28 15:39:19: 0: STDOUT: Encoding Progress: 21%
2023-03-28 15:39:19: 0: STDOUT: [libopenh264 @ 00000251FDE690C0] [OpenH264] this = 0x00000251FB69A750, Warning:[Rc] iDid = 0,iContinualSkipFrames(3) is large
2023-03-28 15:39:19: 0: STDOUT: Encoding Progress: 22%
2023-03-28 15:39:19: 0: STDOUT: [libopenh264 @ 00000251FDE690C0] [OpenH264] this = 0x00000251FB69A750, Warning:[Rc] iDid = 0,iContinualSkipFrames(3) is large
2023-03-28 15:39:19: 0: STDOUT: Encoding Progress: 23%
2023-03-28 15:39:19: 0: STDOUT: [libopenh264 @ 00000251FDE690C0] [OpenH264] this = 0x00000251FB69A750, Warning:[Rc] iDid = 0,iContinualSkipFrames(3) is large
2023-03-28 15:39:19: 0: STDOUT: Encoding Progress: 24%
2023-03-28 15:39:19: 0: STDOUT: [libopenh264 @ 00000251FDE690C0] [OpenH264] this = 0x00000251FB69A750, Warning:[Rc] iDid = 0,iContinualSkipFrames(3) is large
2023-03-28 15:39:19: 0: STDOUT: Encoding Progress: 25%
2023-03-28 15:39:20: 0: STDOUT: [libopenh264 @ 00000251FDE690C0] [OpenH264] this = 0x00000251FB69A750, Warning:[Rc] iDid = 0,iContinualSkipFrames(3) is large
2023-03-28 15:39:20: 0: STDOUT: Encoding Progress: 26%
2023-03-28 15:39:20: 0: STDOUT: [libopenh264 @ 00000251FDE690C0] [OpenH264] this = 0x00000251FB69A750, Warning:[Rc] iDid = 0,iContinualSkipFrames(3) is large
2023-03-28 15:39:20: 0: STDOUT: [libopenh264 @ 00000251FDE690C0] [OpenH264] this = 0x00000251FB69A750, Warning:[Rc] iDid = 0,iContinualSkipFrames(3) is large
2023-03-28 15:39:20: 0: STDOUT: Encoding Progress: 27%
2023-03-28 15:39:20: 0: STDOUT: [libopenh264 @ 00000251FDE690C0] [OpenH264] this = 0x00000251FB69A750, Warning:[Rc] iDid = 0,iContinualSkipFrames(3) is large
2023-03-28 15:39:20: 0: STDOUT: Encoding Progress: 28%
2023-03-28 15:39:20: 0: STDOUT: [libopenh264 @ 00000251FDE690C0] [OpenH264] this = 0x00000251FB69A750, Warning:[Rc] iDid = 0,iContinualSkipFrames(3) is large
2023-03-28 15:39:20: 0: STDOUT: Encoding Progress: 29%
2023-03-28 15:39:21: 0: STDOUT: [libopenh264 @ 00000251FDE690C0] [OpenH264] this = 0x00000251FB69A750, Warning:[Rc] iDid = 0,iContinualSkipFrames(3) is large
2023-03-28 15:39:21: 0: STDOUT: Encoding Progress: 30%
2023-03-28 15:39:21: 0: STDOUT: [libopenh264 @ 00000251FDE690C0] [OpenH264] this = 0x00000251FB69A750, Warning:[Rc] iDid = 0,iContinualSkipFrames(3) is large
2023-03-28 15:39:21: 0: STDOUT: Encoding Progress: 31%
2023-03-28 15:39:21: 0: STDOUT: [libopenh264 @ 00000251FDE690C0] [OpenH264] this = 0x00000251FB69A750, Warning:[Rc] iDid = 0,iContinualSkipFrames(3) is large
2023-03-28 15:39:21: 0: STDOUT: [libopenh264 @ 00000251FDE690C0] [OpenH264] this = 0x00000251FB69A750, Warning:[Rc] iDid = 0,iContinualSkipFrames(3) is large
2023-03-28 15:39:21: 0: STDOUT: Encoding Progress: 32%
2023-03-28 15:39:21: 0: STDOUT: [libopenh264 @ 00000251FDE690C0] [OpenH264] this = 0x00000251FB69A750, Warning:[Rc] iDid = 0,iContinualSkipFrames(3) is large
2023-03-28 15:39:21: 0: STDOUT: Encoding Progress: 33%
2023-03-28 15:39:21: 0: STDOUT: [libopenh264 @ 00000251FDE690C0] [OpenH264] this = 0x00000251FB69A750, Warning:[Rc] iDid = 0,iContinualSkipFrames(3) is large
2023-03-28 15:39:21: 0: STDOUT: Encoding Progress: 34%
2023-03-28 15:39:22: 0: STDOUT: [libopenh264 @ 00000251FDE690C0] [OpenH264] this = 0x00000251FB69A750, Warning:[Rc] iDid = 0,iContinualSkipFrames(3) is large
2023-03-28 15:39:22: 0: STDOUT: Encoding Progress: 35%
2023-03-28 15:39:22: 0: STDOUT: [libopenh264 @ 00000251FDE690C0] [OpenH264] this = 0x00000251FB69A750, Warning:[Rc] iDid = 0,iContinualSkipFrames(3) is large
2023-03-28 15:39:22: 0: STDOUT: Encoding Progress: 36%
2023-03-28 15:39:22: 0: STDOUT: [libopenh264 @ 00000251FDE690C0] [OpenH264] this = 0x00000251FB69A750, Warning:[Rc] iDid = 0,iContinualSkipFrames(3) is large
2023-03-28 15:39:22: 0: STDOUT: Encoding Progress: 37%
2023-03-28 15:39:22: 0: STDOUT: [libopenh264 @ 00000251FDE690C0] [OpenH264] this = 0x00000251FB69A750, Warning:[Rc] iDid = 0,iContinualSkipFrames(3) is large
2023-03-28 15:39:22: 0: STDOUT: Encoding Progress: 38%
2023-03-28 15:39:22: 0: STDOUT: [libopenh264 @ 00000251FDE690C0] [OpenH264] this = 0x00000251FB69A750, Warning:[Rc] iDid = 0,iContinualSkipFrames(3) is large
2023-03-28 15:39:23: 0: STDOUT: Encoding Progress: 39%
2023-03-28 15:39:23: 0: STDOUT: [libopenh264 @ 00000251FDE690C0] [OpenH264] this = 0x00000251FB69A750, Warning:[Rc] iDid = 0,iContinualSkipFrames(3) is large
2023-03-28 15:39:23: 0: STDOUT: [libopenh264 @ 00000251FDE690C0] [OpenH264] this = 0x00000251FB69A750, Warning:[Rc] iDid = 0,iContinualSkipFrames(3) is large
2023-03-28 15:39:23: 0: STDOUT: Encoding Progress: 40%
2023-03-28 15:39:23: 0: STDOUT: [libopenh264 @ 00000251FDE690C0] [OpenH264] this = 0x00000251FB69A750, Warning:[Rc] iDid = 0,iContinualSkipFrames(3) is large
2023-03-28 15:39:23: 0: STDOUT: Encoding Progress: 41%
2023-03-28 15:39:23: 0: STDOUT: [libopenh264 @ 00000251FDE690C0] [OpenH264] this = 0x00000251FB69A750, Warning:[Rc] iDid = 0,iContinualSkipFrames(3) is large
2023-03-28 15:39:23: 0: STDOUT: Encoding Progress: 42%
2023-03-28 15:39:23: 0: STDOUT: [libopenh264 @ 00000251FDE690C0] [OpenH264] this = 0x00000251FB69A750, Warning:[Rc] iDid = 0,iContinualSkipFrames(3) is large
2023-03-28 15:39:23: 0: STDOUT: Encoding Progress: 43%
2023-03-28 15:39:24: 0: STDOUT: [libopenh264 @ 00000251FDE690C0] [OpenH264] this = 0x00000251FB69A750, Warning:[Rc] iDid = 0,iContinualSkipFrames(3) is large
2023-03-28 15:39:24: 0: STDOUT: Encoding Progress: 44%
2023-03-28 15:39:24: 0: STDOUT: [libopenh264 @ 00000251FDE690C0] [OpenH264] this = 0x00000251FB69A750, Warning:[Rc] iDid = 0,iContinualSkipFrames(3) is large
2023-03-28 15:39:24: 0: STDOUT: Encoding Progress: 45%
2023-03-28 15:39:24: 0: STDOUT: [libopenh264 @ 00000251FDE690C0] [OpenH264] this = 0x00000251FB69A750, Warning:[Rc] iDid = 0,iContinualSkipFrames(3) is large
2023-03-28 15:39:24: 0: STDOUT: Encoding Progress: 46%
2023-03-28 15:39:24: 0: STDOUT: [libopenh264 @ 00000251FDE690C0] [OpenH264] this = 0x00000251FB69A750, Warning:[Rc] iDid = 0,iContinualSkipFrames(3) is large
2023-03-28 15:39:24: 0: STDOUT: [libopenh264 @ 00000251FDE690C0] [OpenH264] this = 0x00000251FB69A750, Warning:[Rc] iDid = 0,iContinualSkipFrames(3) is large
2023-03-28 15:39:24: 0: STDOUT: Encoding Progress: 47%
2023-03-28 15:39:25: 0: STDOUT: [libopenh264 @ 00000251FDE690C0] [OpenH264] this = 0x00000251FB69A750, Warning:[Rc] iDid = 0,iContinualSkipFrames(3) is large
2023-03-28 15:39:25: 0: STDOUT: Encoding Progress: 48%
2023-03-28 15:39:25: 0: STDOUT: [libopenh264 @ 00000251FDE690C0] [OpenH264] this = 0x00000251FB69A750, Warning:[Rc] iDid = 0,iContinualSkipFrames(3) is large
2023-03-28 15:39:25: 0: STDOUT: Encoding Progress: 49%
2023-03-28 15:39:25: 0: STDOUT: [libopenh264 @ 00000251FDE690C0] [OpenH264] this = 0x00000251FB69A750, Warning:[Rc] iDid = 0,iContinualSkipFrames(3) is large
2023-03-28 15:39:25: 0: STDOUT: Encoding Progress: 50%
2023-03-28 15:39:25: 0: STDOUT: [libopenh264 @ 00000251FDE690C0] [OpenH264] this = 0x00000251FB69A750, Warning:[Rc] iDid = 0,iContinualSkipFrames(3) is large
2023-03-28 15:39:25: 0: STDOUT: Encoding Progress: 51%
2023-03-28 15:39:25: 0: STDOUT: [libopenh264 @ 00000251FDE690C0] [OpenH264] this = 0x00000251FB69A750, Warning:[Rc] iDid = 0,iContinualSkipFrames(3) is large
2023-03-28 15:39:25: 0: STDOUT: Encoding Progress: 52%
2023-03-28 15:39:26: 0: STDOUT: [libopenh264 @ 00000251FDE690C0] [OpenH264] this = 0x00000251FB69A750, Warning:[Rc] iDid = 0,iContinualSkipFrames(3) is large
2023-03-28 15:39:26: 0: STDOUT: [libopenh264 @ 00000251FDE690C0] [OpenH264] this = 0x00000251FB69A750, Warning:[Rc] iDid = 0,iContinualSkipFrames(3) is large
2023-03-28 15:39:26: 0: STDOUT: Encoding Progress: 53%
2023-03-28 15:39:26: 0: STDOUT: [libopenh264 @ 00000251FDE690C0] [OpenH264] this = 0x00000251FB69A750, Warning:[Rc] iDid = 0,iContinualSkipFrames(3) is large
2023-03-28 15:39:26: 0: STDOUT: Encoding Progress: 54%
2023-03-28 15:39:26: 0: STDOUT: [libopenh264 @ 00000251FDE690C0] [OpenH264] this = 0x00000251FB69A750, Warning:[Rc] iDid = 0,iContinualSkipFrames(3) is large
2023-03-28 15:39:26: 0: STDOUT: Encoding Progress: 55%
2023-03-28 15:39:26: 0: STDOUT: [libopenh264 @ 00000251FDE690C0] [OpenH264] this = 0x00000251FB69A750, Warning:[Rc] iDid = 0,iContinualSkipFrames(3) is large
2023-03-28 15:39:26: 0: STDOUT: Encoding Progress: 56%
2023-03-28 15:39:26: 0: STDOUT: [libopenh264 @ 00000251FDE690C0] [OpenH264] this = 0x00000251FB69A750, Warning:[Rc] iDid = 0,iContinualSkipFrames(3) is large
2023-03-28 15:39:27: 0: STDOUT: Encoding Progress: 57%
2023-03-28 15:39:27: 0: STDOUT: [libopenh264 @ 00000251FDE690C0] [OpenH264] this = 0x00000251FB69A750, Warning:[Rc] iDid = 0,iContinualSkipFrames(3) is large
2023-03-28 15:39:27: 0: STDOUT: [libopenh264 @ 00000251FDE690C0] [OpenH264] this = 0x00000251FB69A750, Warning:[Rc] iDid = 0,iContinualSkipFrames(3) is large
2023-03-28 15:39:27: 0: STDOUT: Encoding Progress: 58%
2023-03-28 15:39:27: 0: STDOUT: [libopenh264 @ 00000251FDE690C0] [OpenH264] this = 0x00000251FB69A750, Warning:[Rc] iDid = 0,iContinualSkipFrames(3) is large
2023-03-28 15:39:27: 0: STDOUT: Encoding Progress: 59%
2023-03-28 15:39:27: 0: STDOUT: [libopenh264 @ 00000251FDE690C0] [OpenH264] this = 0x00000251FB69A750, Warning:[Rc] iDid = 0,iContinualSkipFrames(3) is large
2023-03-28 15:39:27: 0: STDOUT: Encoding Progress: 60%
2023-03-28 15:39:27: 0: STDOUT: [libopenh264 @ 00000251FDE690C0] [OpenH264] this = 0x00000251FB69A750, Warning:[Rc] iDid = 0,iContinualSkipFrames(3) is large
2023-03-28 15:39:27: 0: STDOUT: Encoding Progress: 61%
2023-03-28 15:39:27: 0: STDOUT: [libopenh264 @ 00000251FDE690C0] [OpenH264] this = 0x00000251FB69A750, Warning:[Rc] iDid = 0,iContinualSkipFrames(3) is large
2023-03-28 15:39:28: 0: STDOUT: Encoding Progress: 62%
2023-03-28 15:39:28: 0: STDOUT: [libopenh264 @ 00000251FDE690C0] [OpenH264] this = 0x00000251FB69A750, Warning:[Rc] iDid = 0,iContinualSkipFrames(3) is large
2023-03-28 15:39:28: 0: STDOUT: [libopenh264 @ 00000251FDE690C0] [OpenH264] this = 0x00000251FB69A750, Warning:[Rc] iDid = 0,iContinualSkipFrames(3) is large
2023-03-28 15:39:28: 0: STDOUT: Encoding Progress: 63%
2023-03-28 15:39:28: 0: STDOUT: [libopenh264 @ 00000251FDE690C0] [OpenH264] this = 0x00000251FB69A750, Warning:[Rc] iDid = 0,iContinualSkipFrames(3) is large
2023-03-28 15:39:28: 0: STDOUT: Encoding Progress: 64%
2023-03-28 15:39:28: 0: STDOUT: [libopenh264 @ 00000251FDE690C0] [OpenH264] this = 0x00000251FB69A750, Warning:[Rc] iDid = 0,iContinualSkipFrames(3) is large
2023-03-28 15:39:28: 0: STDOUT: Encoding Progress: 65%
2023-03-28 15:39:29: 0: STDOUT: Encoding Progress: 66%
2023-03-28 15:39:29: 0: STDOUT: Encoding Progress: 67%
2023-03-28 15:39:29: 0: STDOUT: Encoding Progress: 68%
2023-03-28 15:39:29: 0: STDOUT: Encoding Progress: 69%
2023-03-28 15:39:29: 0: STDOUT: Encoding Progress: 70%
2023-03-28 15:39:30: 0: STDOUT: Encoding Progress: 71%
2023-03-28 15:39:30: 0: STDOUT: Encoding Progress: 72%
2023-03-28 15:39:30: 0: STDOUT: Encoding Progress: 73%
2023-03-28 15:39:30: 0: STDOUT: Encoding Progress: 74%
2023-03-28 15:39:30: 0: STDOUT: Encoding Progress: 75%
2023-03-28 15:39:31: 0: STDOUT: Encoding Progress: 76%
2023-03-28 15:39:31: 0: STDOUT: Encoding Progress: 77%
2023-03-28 15:39:31: 0: STDOUT: Encoding Progress: 78%
2023-03-28 15:39:31: 0: STDOUT: Encoding Progress: 79%
2023-03-28 15:39:31: 0: STDOUT: Encoding Progress: 80%
2023-03-28 15:39:32: 0: STDOUT: Encoding Progress: 81%
2023-03-28 15:39:32: 0: STDOUT: Encoding Progress: 82%
2023-03-28 15:39:32: 0: STDOUT: Encoding Progress: 83%
2023-03-28 15:39:32: 0: STDOUT: Encoding Progress: 84%
2023-03-28 15:39:33: 0: STDOUT: Encoding Progress: 85%
2023-03-28 15:39:33: 0: STDOUT: Encoding Progress: 86%
2023-03-28 15:39:33: 0: STDOUT: Encoding Progress: 87%
2023-03-28 15:39:33: 0: STDOUT: Encoding Progress: 88%
2023-03-28 15:39:33: 0: STDOUT: Encoding Progress: 89%
2023-03-28 15:39:33: 0: STDOUT: Encoding Progress: 90%
2023-03-28 15:39:34: 0: STDOUT: Encoding Progress: 91%
2023-03-28 15:39:34: 0: STDOUT: Encoding Progress: 92%
2023-03-28 15:39:34: 0: STDOUT: Encoding Progress: 93%
2023-03-28 15:39:34: 0: STDOUT: Encoding Progress: 94%
2023-03-28 15:39:34: 0: STDOUT: Encoding Progress: 95%
2023-03-28 15:39:35: 0: STDOUT: Encoding Progress: 96%
2023-03-28 15:39:35: 0: STDOUT: Encoding Progress: 97%
2023-03-28 15:39:35: 0: STDOUT: Encoding Progress: 98%
2023-03-28 15:39:35: 0: STDOUT: Encoding Progress: 99%
2023-03-28 15:39:36: 0: STDOUT: Encoding Progress: 100%
2023-03-28 15:39:36: 0: STDOUT: [libopenh264 @ 00000251FDE690C0] 277 frames skipped
2023-03-28 15:39:36: 0: INFO: Process exit code: 0
2023-03-28 15:39:36: 0: INFO: Draft job complete!

Is this a customized Quickdraft script? In Draft 1.8.0.2 thereā€™s an additional flag available to Draft.VideoEncoder - allowSkipFrames. If thatā€™s set to false, then frames wonā€™t be skipped. If itā€™s not, let me know which script youā€™re running in this case and Iā€™ll see if I can re-create what youā€™re seeing with it.

Thanks!

this happen to me with quickdraft tooā€¦May be i should send you a sequence that does the skip frameā€¦

interresting, how do we use it?
ā€¦
encoder = Draft.VideoEncoder( outFile, frameRate, newWidth, newHeight, codec = codec, quality = quality )
encoder.allowSkipFrames = false
ā€¦
?

ok, implementing the new flag in quickdraft make it work nicely so far
for people interesting for both Fixs in quickdraft, here is the corrected file
It have fix for the quality settings, and for skip frame issue.
juste overwrite the : \events\DraftEventPlugin\DraftQuickSubmission\DraftCreateMovie.py
With this oneā€¦
Thanks you Justin B for the new flagā€¦
DraftCreateMovie.py (5.1 KB)

Edit : it will skip less frame, but the skipping frame issue still remain, sadly, at least this is now less agressive

2 Likes
Privacy | Site terms | Cookie preferences