Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I use PyAV to load a raw .yuv video (with pixel format yuv422p16le)? #733

Open
xxia-kathy opened this issue Jan 12, 2021 · 0 comments
Open
Labels

Comments

@xxia-kathy
Copy link

@xxia-kathy xxia-kathy commented Jan 12, 2021

IMPORTANT: Be sure to replace all template sections {{ like this }} or your issue may be discarded.

Overview

I would like to use PyAV to decode raw .yuv videos with pixel format yuv422p16le. I am able to load yuv420p .mp4 videos but now raw yuv videos.
container = av.open(path_to_vid)

Expected behavior

Be able to load videos and extract frames

Actual behavior

.yuv videos cannot be loaded. With the same method I can load .mp4 videos

Traceback:

[Errno 22] Invalid argument: 'video.yuv' (16: IMGUTILS)

Investigation

Research

I have done the following:

Additional context

{{ Add any other context about the problem here. }}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant