Closed Bug 1845781 Opened 1 year ago Closed 8 months ago

3D video playback renders a black video on gopro.com

Categories

(Core :: Graphics: CanvasWebGL, defect)

All
Android
defect

Tracking

()

RESOLVED DUPLICATE of bug 1655101

People

(Reporter: denschub, Assigned: jgilbert)

References

()

Details

Attachments

(2 files)

Attempting to play the video at https://gopro.com/v/XN2Ez2R4X1Lrr in Fenix (or GeckoViewExample) results in a black video and no audio being played, while it works fine in Chrome on the same device.

There is a lot going on here, including a bunch of Three.js warnings. However, looking at the logcat output, I've noticed

System.err: java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.Integer.intValue()' on a null object reference
System.err: 	at android.media.MediaFormat.getInteger(MediaFormat.java:1283)
System.err: 	at org.mozilla.gecko.media.CodecProxy$NativeCallbacks.onOutputFormatChanged(Native Method)
System.err: 	at org.mozilla.gecko.media.CodecProxy$CallbacksForwarder.onOutputFormatChanged(CodecProxy.java:96)
System.err: 	at org.mozilla.gecko.media.ICodecCallbacks$Stub.onTransact(ICodecCallbacks.java:91)
System.err: 	at android.os.Binder.execTransactInternal(Binder.java:1159)
System.err: 	at android.os.Binder.execTransact(Binder.java:1123)

every time I attempt to start a playback. I've attached the full output, but this might be an indication of what's going on here.

The original reporter in the web bug was able to reproduce this on a Pixel 5 Android 13 Build/TQ2A.230505.002.A1, and I can reproduce on a Moto g7 power and the arm64 emulator, so this doesn't look like it's device-specific.

Component: Media → Audio/Video
Product: GeckoView → Core
See Also: → 1841948, 1842735
Assignee: nobody → sotaro.ikeda.g
Component: Audio/Video → Graphics: CanvasWebGL
See Also: → 1655101

The severity field is not set for this bug.
:jgilbert, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(jgilbert)
Assignee: sotaro.ikeda.g → jgilbert
Flags: needinfo?(jgilbert)

Kelsey, just making sure you've seen the patch in bug 1655101 too. I think it may be closer to what you have in mind, though probably not quite right. I accidentally un-needinfoed you while you were away and then couldn't re-needinfo, then I forgot about it. It hits a GL error on angle, which hopefully you know how to avoid with your fix.

Severity: -- → S2

I believe this is fixed by bug 1655101. Can you retest?

Flags: needinfo?(dschubert)

@jgilbert I was the original reporter. I can verify that the video is working in Nightly v124 and Beta v123 and not V122.0 as expected with that fix.

Thanks!

Status: NEW → RESOLVED
Closed: 8 months ago
Duplicate of bug: 1655101
Resolution: --- → DUPLICATE
See Also: 1841948
Flags: needinfo?(dschubert)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: