Skip to content

Mismatch in audio frames returned by pyav and video reader #3986

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

Open
3 tasks
prabhat00155 opened this issue Jun 7, 2021 · 3 comments
Open
3 tasks

Mismatch in audio frames returned by pyav and video reader #3986

prabhat00155 opened this issue Jun 7, 2021 · 3 comments

Comments

@prabhat00155
Copy link
Contributor

prabhat00155 commented Jun 7, 2021

audio-video sync test was failing in #3934. However, it turns out that the audio frames returned by our video reader doesn't match with pyav results(both output shapes and values are different).
Here is the notebook with details.

Tasks:

cc @bjuncek

@mthrok
Copy link
Contributor

mthrok commented Jun 7, 2021

[Off-topic, yet remotely related] Does the video reader handle stereo sound as well?
When testing something with audio, I recommend to use stereo audio just to be sure.

@prabhat00155
Copy link
Contributor Author

[Off-topic, yet remotely related] Does the video reader handle stereo sound as well?
When testing something with audio, I recommend to use stereo audio just to be sure.

read_video and write_video support audio frames with multiple channels, so I would think yes. @bjuncek can confirm this.

@bjuncek
Copy link
Contributor

bjuncek commented Jun 11, 2021

Yes, we do handle it in normal circumstances. I've learned over the course of debugging this one that there might be more than one way of encoding stereo audio, so I have to double check if we're good for all the edge cases.

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

No branches or pull requests

3 participants