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

Testcontent video track not playable #1821

Closed
1 task
MrBoe opened this issue Oct 21, 2024 · 2 comments
Closed
1 task

Testcontent video track not playable #1821

MrBoe opened this issue Oct 21, 2024 · 2 comments
Assignees
Labels

Comments

@MrBoe
Copy link

MrBoe commented Oct 21, 2024

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

Testcontent.MP4

Bug Report

@marcbaechinger
Copy link
Contributor

marcbaechinger commented Oct 21, 2024

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.

copybara-service bot pushed a commit that referenced this issue Oct 22, 2024
Issue: #1821

#cherrypick

PiperOrigin-RevId: 688570141
@rohitjoins
Copy link
Contributor

Hi @MrBoe,

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

ivanbuper pushed a commit that referenced this issue Nov 1, 2024
Issue: #1821

#cherrypick

PiperOrigin-RevId: 688570141
(cherry picked from commit 7545a89)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants