media: This commit will cause H265 ts to fail

Version

Media3 main branch

More version details

https://github.com/androidx/media/commit/029b8bad86f6ba3d734f1202e8d115b622c267c2 If I revert the modification of H265Reader, it won’t get stuck.

Before revert problem.zip

After revert no problem.zip

Devices that reproduce the issue

Image

Devices that do not reproduce the issue

None

Reproducible in the demo app?

Not tested

Reproduction steps

I don’t have the actual video URL I asked users to test Tested from media3 1.3.1 ~ 1.4.1 The problem was found to occur from 1.4.0-alpha02 And I compare 1.4.0-alpha01 and 1.4.0-alpha02 I just found a commit about H265 https://github.com/androidx/media/commit/029b8bad86f6ba3d734f1202e8d115b622c267c2

Expected result

Don’t get stuck

no problem.zip

Actual result

get stuck

problem.zip

Media

Sample 1 https://drive.google.com/file/d/1k5sfTgYWf2r1fdnFlknkfoZ0Gr9PL0i5/view?usp=sharing

Sample 2 http://otttv.bj.chinamobile.com/PLTV/88888888/224/3221226893/1.m3u8?GuardEncType=2&accountinfo=~~V2.0~cnoJZd_sZxCC6bZYZh4R6g~tP4-l0lmSfjwLWEfK_el1vH_mv-s1zo4AQJwdedaVwG9xkuFTDg8J26cwOrNJzn20BErrHdLhuZ9EzLUCD3PMW-OMx4MGteHV2vLeW6BqoY%2CEND

Bug Report

  • You will email the zip file produced by adb bugreport to android-media-github@google.com after filing this issue.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 27 (10 by maintainers)

Most upvoted comments

@FongMi Great, thanks for your time, will open a PR.