Skip to content

Conversation

scotts
Copy link
Contributor

@scotts scotts commented Mar 3, 2025

I confirmed this locally with https://download.pytorch.org/torchaudio/tutorial-assets/stream-api/NASAs_Most_Scientifically_Complex_Space_Observatory_Requires_Precision-MP4.mp4.

In principle, I want to test this functionality in our tests. But I'm not sure how to test it without actually going to the network. The actual handling of the URL is done in avformat_open_input(), and I'm not aware of how to mock stuff at the Python level such that avformat_open_input() would work. And I don't want our unit tests going to the network, both for speed and reliability reasons.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label Mar 3, 2025
@scotts scotts marked this pull request as ready for review March 3, 2025 14:42
@NicolasHug NicolasHug merged commit 82224c4 into meta-pytorch:main Mar 3, 2025
30 checks passed
@scotts scotts deleted the doc_url branch June 23, 2025 15:40
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.

3 participants