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

Incorrect duration reported when playing an MPEG-DASH Widevine content #4131

Closed
moacir69 opened this issue Apr 16, 2018 · 2 comments
Closed
Assignees

Comments

@moacir69
Copy link

moacir69 commented Apr 16, 2018

When playing a Widevine MPEG-DASH content in ExoPlayer 2.7.2 demo application, the calculated duration is incorrect. Instead of using the duration in:

<Period duration="PT12M14.250S">

it seems to use the SegmentTimeline of one of the content subtitles:

<AdaptationSet codecs="stpp" contentType="text" group="3" lang="en" maxBandwidth="1000" mimeType="application/mp4" minBandwidth="1000"> <SegmentTemplate initialization="tears-of-steel-dash-widevine-$RepresentationID$.dash" media="tears-of-steel-dash-widevine-$RepresentationID$-$Time$.dash" timescale="1000"> <SegmentTimeline> <S d="60000" r="8" t="0"/> <S d="27000"/> </SegmentTimeline> </SegmentTemplate> <Representation bandwidth="1000" id="textstream_eng=1000"> </Representation> </AdaptationSet>

This way, instead of reporting 12m14s (734 seconds), it is reporting 9m27s (567 seconds) which is:

((60000 x 9) + 27000) / 1000

In order to reproduce the issue, you just need to add a the related content to the demo app samples,
I can provide a sample content url by email.
Can you please investigate this issue?
Please, let me know if any further information is needed.
Kind regards,

Moacir

@ojw28
Copy link
Contributor

ojw28 commented Apr 16, 2018

Dupe of #4029. Note that content with "short" representations, as is probably the case for your content, is likely to be forbidden by DASH IOP going forward.

@ojw28 ojw28 closed this as completed Apr 16, 2018
@ojw28 ojw28 self-assigned this Apr 16, 2018
@moacir69
Copy link
Author

Thank you for the quick reply. Will check issue #4029.
Warm regards,

Moacir

@google google locked and limited conversation to collaborators Sep 11, 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

2 participants