Skip to content

Conversation

@NicolasHug
Copy link
Contributor

Attempt to fix #1047

I can't reproduce the issue locally even after running the test thousands of times.

We now use crf=0 and pixel_format="yuv444p so that no compression happens, which I hope may reduce randomness of the encoding process (if there is any, which I don't know).

Let's merge that and see if we still observe the failures. If that still doesn't work the next attempt will be to enforce no multi-threading (probably need the codec_params parameter for that)

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Nov 13, 2025
@NicolasHug NicolasHug merged commit af6a008 into meta-pytorch:main Nov 13, 2025
63 of 70 checks passed
@NicolasHug NicolasHug deleted the lajenflajnef branch November 13, 2025 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Video Encoder test_contiguity sometimes fails to produce identical tensors

2 participants