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

Customize TsDurationReader's behavior #5802

Closed
dushicai opened this issue Apr 25, 2019 · 3 comments
Closed

Customize TsDurationReader's behavior #5802

dushicai opened this issue Apr 25, 2019 · 3 comments

Comments

@dushicai
Copy link

playback normal but can't get the duration

exo version 2.9.0

the ts url:https://drive.google.com/file/d/1gjsd8qPEd41M3TpUBjGuL-3ZstfZaDZR/view?usp=sharing

Duration: 00:04:44.95, start: 1.466667, bitrate: 3587 kb/s
Program 1
Metadata:
service_name : LIVE
service_provider: KSYUN
Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(progressive), 720x480 [SAR 8:9 DAR 4:3], 30 fps, 30 tbr, 90k tbn, 60 tbc
Stream #0:1[0x101]: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, fltp, 384 kb/s
Stream #0:2[0x102]: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, fltp, 384 kb/s

@AquilesCanta
Copy link
Contributor

The issue can be solved by increasing the number of sniffed packets here, but I don't think we want to end up with an ever increasing number here. I'll use this issue to track customization of the TsDurationReader behavior.

@AquilesCanta AquilesCanta self-assigned this Apr 25, 2019
@AquilesCanta AquilesCanta changed the title Ts format can't get duration Customize TsDurationReader's behavior Apr 25, 2019
@ojw28
Copy link
Contributor

ojw28 commented Apr 25, 2019

Note: This is also part of what #5097 is tracking, so it might make sense to duplicate to that issue and add any extra ideas that you have to that one?

@AquilesCanta
Copy link
Contributor

Ok, let's mark this as a duplicate then.

@google google locked and limited conversation to collaborators Aug 29, 2019
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