androidx / media

Jetpack Media3 support libraries for media use cases, including ExoPlayer, an extensible media player for Android
https://developer.android.com/media/media3
Apache License 2.0
1.75k stars 418 forks source link

When playing local test.ts files, the picture will appear blurry and sometimes overlap. #1391

Open jxtx123456 opened 6 months ago

jxtx123456 commented 6 months ago

ExoPlayer version:2.19.1

https://github.com/androidx/media/assets/10148767/aef29d8c-0e98-4939-a08d-1edfdc49e694

It will still appear when using the latest media demo This happens on all test machines

Log file: log.txt

val factory = FileDataSource.Factory()
val extractorsFactory=DefaultExtractorsFactory()
    .setTsExtractorTimestampSearchBytes(TsExtractor.TS_PACKET_SIZE*150000)
    .setTsExtractorMode(TsExtractor.MODE_MULTI_PMT)
    .setAdtsExtractorFlags(AdtsExtractor.FLAG_ENABLE_CONSTANT_BITRATE_SEEKING)

ProgressiveMediaSource.Factory(factory,extractorsFactory)
    .createMediaSource(MediaItem.fromUri(Uri.fromFile(File(currUrl))))
jxtx123456 commented 6 months ago

There is no problem with the built-in player on the phone

marcbaechinger commented 6 months ago

Please provide complete information as requested in the issue template. The issue template can be found here. If you're unable to share bug reports or test content publicly, please send them to android-media-github@google.com using a subject in the format "Issue #1391". Please also update this issue to indicate you’ve done this.

jxtx123456 commented 6 months ago

请按照问题模板的要求提供完整信息。问题模板可在此处找到。如果您无法公开分享错误报告或测试内容,请将其发送至android-media-github@google.com,主题格式为“问题#1391 ”。还请更新此问题以表明您已完成此操作。

An email has been sent, which contains the ts files needed for testing.

jxtx123456 commented 6 months ago

It happened in about 3 minutes and 40 seconds