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

IVF writer writing invalid timestamp value into frame headers? #2384

Open
radekg opened this issue Jan 10, 2023 · 1 comment
Open

IVF writer writing invalid timestamp value into frame headers? #2384

radekg opened this issue Jan 10, 2023 · 1 comment

Comments

@radekg
Copy link

radekg commented Jan 10, 2023

Hey maintainers, thank you for this awesome work.

While working a little bit with some VP8-based streams, I have noticed something interesting related to IVF writers. Is it possible that the value written for the IVF frame timestamp is incorrect?

And, of course, Duck IVF says that 8 bytes at offset 4 are 64-bit presentation timestamp: https://wiki.multimedia.cx/index.php/Duck_IVF.

Shouldn't the writer write the RTP header timestamp value into the IVF frame header?

I would propose the following:

with the following call-site changes:

With these changes, I can handle variable stream framerate when reading frames.

I can provide a PR, if this change is acceptable.

Your environment.

  • Version: Release or SHA
  • Browser: include version
  • Other Information - stacktraces, related issues, suggestions how to fix, links for us to have context

What did you do?

What did you expect?

What happened?

@radekg radekg changed the title IVF writer writing invalid value into frame header? IVF writer writing invalid timestamp value into frame headers? Jan 10, 2023
@Sean-Der
Copy link
Member

Sean-Der commented May 9, 2024

Hi @radekg

Are you still interested in doing this! Anything we can do to improve the timing handling with IVF would be greatly appreciated. I haven't looked into it lately, but is a common complaint.

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

2 participants