-
Notifications
You must be signed in to change notification settings - Fork 6k
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
DASH - Clip playback at period end times (i.e. once period duration is reached) #4185
Comments
…ods do not advance whilst media renderer has more data A static MPD with multiple Periods can play out differently between Shaka (e.g. PC/Chromecast) vs Android and AndroidTV devices. Looking further it seems that the logic in library/core/src/main/java/com/google/android/exoplayer2/ExoPlayerImplInternal.java::updatePeriods() is the reason for this because Periods will not advance to the next Period when there might still be some audio/video data remaining to be rendered.
…iods do not advance whilst media renderer has more data A static MPD with multiple Periods can play out differently between Shaka (e.g. PC/Chromecast) vs Android and AndroidTV devices. Looking further it seems that the logic in updatePeriods() is the reason for this because Periods will not advance to the next Period when there might still be some audio/video data remaining to be rendered.
I think this needs fixing somewhere in the DASH module, rather than in
|
Let me know if I can help further, happy to try/test |
Any further thoughts on this/things I might try out? |
You could have a stab at fixing it in the DASH module, if you feel sufficiently motivated! As above, any solution should also avoid request segments that will not be played due to clipping as a result of the specified period duration. |
Issue: #4185 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=212619419
Thanks Olly
…________________________________
From: ojw28 <[email protected]>
Sent: Wednesday, September 12, 2018 5:03 pm
To: google/ExoPlayer
Cc: Kevin Staunton-Lambert; Author
Subject: Re: [google/ExoPlayer] DASH - Clip playback at period end times (i.e. once period duration is reached) (#4185)
Closed #4185<#4185>.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#4185 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/ABD0n0WgzH2Mc0xds6QydRG_Bk0iUlp7ks5uaSIvgaJpZM4TkksQ>.
|
Issue description
A static MPD with multiple Periods can play out differently between Shaka (e.g. PC/Chromecast) vs Android and AndroidTV devices.
Looking further it seems that the logic in library/core/src/main/java/com/google/android/exoplayer2/ExoPlayerImplInternal.java::updatePeriods() is the reason for this because Periods will not advance to the next Period when there might still be some audio/video data remaining to be rendered.
Example work-around...
Reproduction steps
Posted privately is an example MPD that has correct Periods
However the segments between the audio and video adaptation do not quite align, that is they do not all finish exactly at the point of the end of the Period
The second Period then does not play out until all renderers have finished.
In contrast, Shaka (v2.3.0) and DASH.IF (v2.6.8) advance correctly based on Period duration/start of next period.
Link to test content
(private post)
Version of ExoPlayer being used
2.7.3 (release-v2 branch)
Device(s) and version(s) of Android being used
Google Pixel 2 'phone: Oreo
Emulator: Android P
A full bug report captured from the device
(private post)
The text was updated successfully, but these errors were encountered: