Skip to content

Conversation

@Dan-Flores
Copy link
Contributor

@Dan-Flores Dan-Flores commented Jan 29, 2026

This PR updates get_ffmpeg_major_version to get the major version from load_torchcodec_shared_libraries to resolve #100.

This function is used many times throughout our testing (code search), so we can verify that the skips are still occuring by checking conditionally skipped tests. For example, this encoder test is still skipped on FFmpeg 4.

Ideally, we would also migrate get_ffmpeg_minor_version, but since it only has 3 uses (code search) it can be lower priority.

@pytorch-bot
Copy link

pytorch-bot bot commented Jan 29, 2026

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/meta-pytorch/torchcodec/1211

Note: Links to docs will display an error until the docs builds have been completed.

❗ 1 Active SEVs

There are 1 currently active SEVs. If your PR is affected, please view them below:

✅ No Failures

As of commit 70a9ed7 with merge base 85d1dad (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Jan 29, 2026


with expose_ffmpeg_dlls():
ffmpeg_major_version, core_library_path = load_torchcodec_shared_libraries()
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is where ffmpeg_major_version is defined.

@Dan-Flores Dan-Flores marked this pull request as ready for review January 30, 2026 19:37
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.

More robust FFmpeg version getter

1 participant