-
Notifications
You must be signed in to change notification settings - Fork 332
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
demo-transformer crashes with some videos #1506
Comments
video source is from kdenlive (current-ish version) using h265 software export (ffmpeg). |
Hey @steelbytes Thanks for reporting the issue. We have identified the root cause and will prepare the fix soon. |
it also upsets exoplayer without transformer running in my own app. plays slow and stuttery and then dies with other error types (not out of ram). eg client doesn't own buffer and also nosuchelementdexceptioon note: my app uses overlays |
@steelbytes Can you please share the stack track? |
|
|
ie, it varies a bit. |
and in my app which uses android:largeHeap="true" in the manifest I get things like
and
|
and also
|
The default value is 50 seconds. Changed it to 5 seconds. This prevents the player from buffering too much data and causing the app to crash due to OOM. This was reported in #1506 PiperOrigin-RevId: 649054885
@steelbytes Your initial stack traces suggests OOM issue so can you first try adding load control on Exoplayer? We have done it in the demo app and the issue does not reproduce after this fix. |
yes those changes to the buffering made it player in your demo app. but ... with the same video (but not seemingly others) when I add video effects it starts to stutter and often (but not always) freeze. I'm still working on a proof of this but loosely adding about 10 TextOverlay.createStaticTextOverlay to your inputPlayer (and using your buffer size change) sometimes produces this stutter and/or freezing. think it's something about the frame drop stuff ... |
extra comments: my pixel 4a5g is perfect, never fails. it's only the 8pro that stutters and sometimes dies (typically a NoSuchElementException callstack as I gave in an earlier comment). also the 8pro is not always giving me a STATE_ENDED in onPlaybackStateChanged (I use ExoPlayer.REPEAT_MODE_OFF) |
Version
Media3 pre-release (alpha, beta or RC not in this list)
More version details
1.4.0-beta01
also any other branch I tried eg main
Devices that reproduce the issue
Pixel 8 Pro with 14 (ie, current)
Devices that do not reproduce the issue
No response
Reproducible in the demo app?
Yes
Reproduction steps
download http://steelbytes.com/temp/bawbaw.mp4
install demo-transformer
select above file
click export
wait a few seconds
Expected result
no crash
Actual result
crash every time after a few seconds.
Media
http://steelbytes.com/temp/bawbaw.mp4
Bug Report
adb bugreport
to [email protected] after filing this issue.The text was updated successfully, but these errors were encountered: