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

Support reading stream duration and seeking for MPEG-PS streams. #4476

Closed
botaydotcom opened this issue Jul 5, 2018 · 6 comments
Closed
Assignees

Comments

@botaydotcom
Copy link
Contributor

Split from issue: #4406.

@botaydotcom botaydotcom self-assigned this Jul 5, 2018
ojw28 pushed a commit that referenced this issue Jul 11, 2018
Add supports for reading duration for a PS stream by reading SCR values from
the header of packs at the start and at the end of the stream, calculating the
difference, and converting that into stream duration.

Github: #4476

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=203954752
ojw28 pushed a commit that referenced this issue Aug 1, 2018
This CL adds support for seeking within PS streams by using binary search. For
any seek timestamp, it tries to find the location in the stream where SCR
timestamp is close to the target timestamp, and return this position as the
seek position.

Github: #4476.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=206787691
@botaydotcom
Copy link
Contributor Author

This is done now.

@cncb-gh
Copy link

cncb-gh commented Aug 10, 2018

Can this be extended to MPEG-TS or is it too different? Thanks.

@ojw28
Copy link
Contributor

ojw28 commented Aug 10, 2018

It's already extended to TS.

@cncb-gh
Copy link

cncb-gh commented Aug 10, 2018

So, the newest build now supports seeking in TS? Great!

@ojw28
Copy link
Contributor

ojw28 commented Aug 10, 2018

The latest dev-v2 branch does. This functionality will be in the 2.9.0 release.

@cncb-gh
Copy link

cncb-gh commented Aug 11, 2018

Excellent. Is there a release timeline posted somewhere? Many thanks to you, @botaydotcom, @andrewlewis, and anyone else working on this fantastic project!

@google google locked and limited conversation to collaborators Dec 20, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants