media icon indicating copy to clipboard operation
media copied to clipboard

Testcontent video track not playable

Open MrBoe opened this issue 1 year ago • 1 comments

Version

Media3 1.3.1

More version details

No response

Devices that reproduce the issue

Pixel 4 running Android 13

Devices that do not reproduce the issue

If playing the test content video in android stock media player it is playing fine. Regardless of device.

Reproducible in the demo app?

Yes

Reproduction steps

Play the attached video in the exoplayer demo app (I tried version 1.3.1 and also 1.4.1)

Expected result

Video is playing fine.

Actual result

Exoplayer is only recognizing and playing the containing audio Track. Video track will not be recognized:

tracks [eventTime=0.03, mediaPos=0.00, window=0, period=0 group [ [X] Track:0, id=101, mimeType=audio/mp4a-latm, bitrate=31424, codecs=mp4a.40.2, channels=2, sample_rate=22050, language=und, supported=YES ] Metadata [ TSSE: description=null: values=[SUPER © v2022.Build.80+3D+Recorder (December 12, 2022) by eRightSoft] TDRC: description=null: values=[2023-02-23_22-10-48] TPE1: description=null: values=[-.--.--.--.--.--.--.--.--.--.--.--.--.--.--.--.--.--.--.--.--.--.--.--.-] TALB: description=null: values=[MP4[H.263, HE-AAC] - Stereo, 28 kbps, 44100 Hz] TCON: description=null: values=[-.--.--.--.--.--.--.--.--.--.--.--.--.--.--.--.--.--.--.--.--.--.--.--.-] USLT: description=null: values=[-.--.--.--.--.--.--.--.--.--.--.--.--.--.--.--.--.--.--.--.--.--.--.--.-] TCOM: description=null: values=[encoded by ] Mp4Timestamp: creation time=3760031469, modification time=3760031469, timescale=600 ] ]

Media

https://github.com/user-attachments/assets/066dd64b-b605-406f-a038-d19959efe9af

Bug Report

  • [ ] You will email the zip file produced by adb bugreport to [email protected] after filing this issue.

MrBoe avatar Oct 21 '24 11:10 MrBoe

Thanks for your report!

Yeah, looks like the extractor is only reporting an audio track.

In BoxParser.parseStsd we check the childAtomType which in case of the skipped track has a value of 0x68323633 while Mp4Box.TYPE_H263 is 0x48323633. So the extractor doesn't recognize the H.263 video track.

When I add the following in BoxParser.parseStsd I can see the presentation of a design brand intro.

          || childAtomType == Mp4Box.TYPE_s263
          || childAtomType == 0x68323633
          || childAtomType == Mp4Box.TYPE_H263

I'm adding extractor experts who know platform and Media3 extractor code.

marcbaechinger avatar Oct 21 '24 19:10 marcbaechinger

Hi @MrBoe,

Thanks for flagging this! We’ve added a fix that’ll be in our next rc release.

rohitjoins avatar Oct 22 '24 16:10 rohitjoins