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.72k stars 413 forks source link

can't play this ts file #1894

Closed alexfansz closed 4 days ago

alexfansz commented 5 days ago

Version

Media3 main branch

More version details

No response

Devices that reproduce the issue

Android 12

Devices that do not reproduce the issue

No response

Reproducible in the demo app?

Yes

Reproduction steps

Play the attached media in the demo app gl.

Expected result

The media play successfully

Actual result

6294-6294 ExoPlayerImpl androidx.media3.demo.gl I Init 8970c4e [AndroidXMedia3/1.4.1] [P875A02, ZTE A2022, ZTE, 31] 2024-11-17 15:51:36.263 6294-6294 .media3.demo.g androidx.media3.demo.gl W Accessing hidden method Landroid/media/AudioTrack;->getLatency()I (unsupported, reflection, allowed) 2024-11-17 15:51:36.278 6294-6294 ActivityThread androidx.media3.demo.gl D ***** performResumeActivity ActivityRecord{ecb0f91 token=android.os.BinderProxy@1acca1e {androidx.media3.demo.gl/androidx.media3.demo.gl.MainActivity}} mFinished= false 2024-11-17 15:51:36.283 6294-6294 WindowClient androidx.media3.demo.gl D Add to mViews: DecorView@6ea545f[MainActivity], this = android.view.WindowManagerGlobal@7f50eacmViews.size()=1 2024-11-17 15:51:36.283 6294-6294 WindowClient androidx.media3.demo.gl D Add to mViews packageName:androidx.media3.demo.gl 2024-11-17 15:51:36.286 6294-6294 ViewRootImpl androidx.media3.demo.gl I startAppTraversalsAccelerate mBasePackageName = androidx.media3.demo.gl ,isEnableAppTraversalsAccelerate = false 2024-11-17 15:51:36.293 6294-6331 AudioCapabilities androidx.media3.demo.gl W Unsupported mime audio/dts 2024-11-17 15:51:36.293 6294-6331 AudioCapabilities androidx.media3.demo.gl W Unsupported mime audio/vnd.dts 2024-11-17 15:51:36.293 6294-6331 AudioCapabilities androidx.media3.demo.gl W Unsupported mime audio/vnd.dts.hd 2024-11-17 15:51:36.293 6294-6331 AudioCapabilities androidx.media3.demo.gl W Unsupported mime audio/vnd.dts.hd;profile=lbr 2024-11-17 15:51:36.293 6294-6331 AudioCapabilities androidx.media3.demo.gl W Unsupported mime audio/dts 2024-11-17 15:51:36.293 6294-6331 AudioCapabilities androidx.media3.demo.gl W Unsupported mime audio/vnd.dts 2024-11-17 15:51:36.293 6294-6331 AudioCapabilities androidx.media3.demo.gl W Unsupported mime audio/vnd.dts.hd 2024-11-17 15:51:36.294 6294-6331 AudioCapabilities androidx.media3.demo.gl W Unsupported mime audio/vnd.dts.hd;profile=lbr 2024-11-17 15:51:36.302 6294-6294 EventLogger androidx.media3.demo.gl D loading [eventTime=0.03, mediaPos=0.00, window=0, period=0, true] 2024-11-17 15:51:36.304 6294-6294 EventLogger androidx.media3.demo.gl D timeline [eventTime=0.03, mediaPos=0.00, window=0, period=0, periodCount=1, windowCount=1, reason=SOURCE_UPDATE 2024-11-17 15:51:36.304 6294-6294 EventLogger androidx.media3.demo.gl D period [?] 2024-11-17 15:51:36.304 6294-6294 EventLogger androidx.media3.demo.gl D window [?, seekable=false, dynamic=false] 2024-11-17 15:51:36.304 6294-6294 EventLogger androidx.media3.demo.gl D ] 2024-11-17 15:51:36.305 6294-6294 EventLogger androidx.media3.demo.gl D timeline [eventTime=0.03, mediaPos=0.00, window=0, period=0, periodCount=1, windowCount=1, reason=SOURCE_UPDATE 2024-11-17 15:51:36.305 6294-6294 EventLogger androidx.media3.demo.gl D period [40.08] 2024-11-17 15:51:36.305 6294-6294 EventLogger androidx.media3.demo.gl D window [40.08, seekable=true, dynamic=false] 2024-11-17 15:51:36.305 6294-6294 EventLogger androidx.media3.demo.gl D ] 2024-11-17 15:51:36.310 6294-6331 VideoCapabilities androidx.media3.demo.gl W Unrecognized profile/level 0/3 for video/mpeg2 2024-11-17 15:51:36.311 6294-6331 VideoCapabilities androidx.media3.demo.gl W Unrecognized profile/level 0/3 for video/mpeg2 2024-11-17 15:51:36.314 6294-6331 VideoCapabilities androidx.media3.demo.gl W Unsupported mime image/vnd.android.heic 2024-11-17 15:51:36.315 6294-6331 VideoCapabilities androidx.media3.demo.gl W Unsupported mime image/vnd.android.heic 2024-11-17 15:51:36.320 6294-6323 AdrenoGLES-0 androidx.media3.demo.gl I QUALCOMM build : f3aa497c33, I7c31881d50 Build Date : 12/16/21 OpenGL ES Shader Compiler Version: EV031.35.01.11 Local Branch : Remote Branch : Remote Branch : Reconstruct Branch : 2024-11-17 15:51:36.320 6294-6323 AdrenoGLES-0 androidx.media3.demo.gl I Build Config : S P 10.0.7 AArch64 2024-11-17 15:51:36.320 6294-6323 AdrenoGLES-0 androidx.media3.demo.gl I Driver Path : /vendor/lib64/egl/libGLESv2_adreno.so 2024-11-17 15:51:36.322 6294-6323 AdrenoGLES-0 androidx.media3.demo.gl I PFP: 0x016dc094, ME: 0x00000000 2024-11-17 15:51:36.330 6294-6327 hw-ProcessState androidx.media3.demo.gl D Binder ioctl to enable oneway spam detection failed: Invalid argument 2024-11-17 15:51:36.330 6294-6327 GameFpsMonitor androidx.media3.demo.gl D notifySurfaceStatus tid :6327, pid :6294 2024-11-17 15:51:36.330 6294-6327 GameFpsMonitor androidx.media3.demo.gl D notifySurfaceStatus !system app ,thread name GLThread 34 2024-11-17 15:51:36.330 6294-6327 GameFpsMonitor androidx.media3.demo.gl D GameFpsMonitor,create GameFpsMonitor. 2024-11-17 15:51:36.331 6294-6331 DMCodecAdapterFactory androidx.media3.demo.gl I Creating an asynchronous MediaCodec adapter for track type video 2024-11-17 15:51:36.332 6294-6341 CCodec androidx.media3.demo.gl D allocate(c2.qti.avc.decoder) 2024-11-17 15:51:36.333 6294-6341 Codec2Client androidx.media3.demo.gl I Available Codec2 services: "default" "software" 2024-11-17 15:51:36.333 6294-6341 CCodec androidx.media3.demo.gl I setting up 'default' as default (vendor) store 2024-11-17 15:51:36.337 6294-6323 GameFpsMonitor androidx.media3.demo.gl D notifySurfaceStatus tid :6323, pid :6294 2024-11-17 15:51:36.337 6294-6323 GameFpsMonitor androidx.media3.demo.gl D notifySurfaceStatus !system app ,thread name RenderThread 2024-11-17 15:51:36.338 6294-6339 GameFpsMonitor androidx.media3.demo.gl D triggerZPerfScene 107 2024-11-17 15:51:36.339 6294-6341 CCodec androidx.media3.demo.gl I Created component [c2.qti.avc.decoder] 2024-11-17 15:51:36.339 6294-6341 CCodecConfig androidx.media3.demo.gl D read media type: video/avc 2024-11-17 15:51:36.339 6294-6341 ReflectedParamUpdater androidx.media3.demo.gl D extent() != 1 for single value type: vendor.qti-ext-dec-info-misr.misr_info_top_field.misr_dpb_luma 2024-11-17 15:51:36.339 6294-6341 ReflectedParamUpdater androidx.media3.demo.gl D extent() != 1 for single value type: vendor.qti-ext-dec-info-misr.misr_info_top_field.misr_dpb_chroma 2024-11-17 15:51:36.339 6294-6341 ReflectedParamUpdater androidx.media3.demo.gl D extent() != 1 for single value type: vendor.qti-ext-dec-info-misr.misr_info_top_field.misr_opb_luma 2024-11-17 15:51:36.339 6294-6341 ReflectedParamUpdater androidx.media3.demo.gl D extent() != 1 for single value type: vendor.qti-ext-dec-info-misr.misr_info_top_field.misr_opb_chroma 2024-11-17 15:51:36.339 6294-6341 ReflectedParamUpdater androidx.media3.demo.gl D extent() != 1 for single value type: vendor.qti-ext-dec-info-misr.misr_info_bottom_field.misr_dpb_luma 2024-11-17 15:51:36.339 6294-6341 ReflectedParamUpdater androidx.media3.demo.gl D extent() != 1 for single value type: vendor.qti-ext-dec-info-misr.misr_info_bottom_field.misr_dpb_chroma 2024-11-17 15:51:36.339 6294-6341 ReflectedParamUpdater androidx.media3.demo.gl D extent() != 1 for single value type: vendor.qti-ext-dec-info-misr.misr_info_bottom_field.misr_opb_luma 2024-11-17 15:51:36.339 6294-6341 ReflectedParamUpdater androidx.media3.demo.gl D extent() != 1 for single value type: vendor.qti-ext-dec-info-misr.misr_info_bottom_field.misr_opb_chroma 2024-11-17 15:51:36.340 6294-6341 ReflectedParamUpdater androidx.media3.demo.gl D ignored struct field vendor.qti-ext-dec-panscan.window 2024-11-17 15:51:36.340 6294-6341 ReflectedParamUpdater androidx.media3.demo.gl D extent() != 1 for single value type: output.buffers.pool-ids.values 2024-11-17 15:51:36.341 6294-6341 CCodecConfig androidx.media3.demo.gl D ignoring local param raw.size (0xd2001800) as it is already supported 2024-11-17 15:51:36.341 6294-6341 CCodecConfig androidx.media3.demo.gl D ignoring local param default.color (0x5200180b) as it is already supported 2024-11-17 15:51:36.341 6294-6341 CCodecConfig androidx.media3.demo.gl D ignoring local param raw.hdr-static-info (0xd200180a) as it is already supported 2024-11-17 15:51:36.342 6294-6341 CCodecConfig androidx.media3.demo.gl I query failed after returning 17 values (BAD_INDEX) 2024-11-17 15:51:36.342 6294-6341 CCodecConfig androidx.media3.demo.gl D c2 config diff is Dict { c2::i32 algo.priority.value = 0 c2::float algo.rate.value = 30 c2::u32 algo.secure-mode.value = 0 c2::float coded.frame-rate.value = 30 c2::u32 coded.pl.level = 0 c2::u32 coded.pl.profile = 20484 c2::u32 coded.vui.color.matrix = 255 c2::u32 coded.vui.color.primaries = 0 c2::u32 coded.vui.color.range = 0 c2::u32 coded.vui.color.transfer = 255 c2::u32 default.color.matrix = 0 c2::u32 default.color.primaries = 0 c2::u32 default.color.range = 0 c2::u32 default.color.transfer = 0 c2::u32 input.buffers.max-size.value = 7077888 c2::u32 input.delay.value = 0 string input.media-type.value = "video/avc" c2::u32 output.delay.value = 1 string output.media-type.value = "video/raw" c2::u32 raw.color.matrix = 255 c2::u32 raw.color.primaries = 0 c2::u32 raw.color.range = 0 c2::u32 raw.color.transfer = 255 c2::float raw.hdr-static-info.mastering.blue.x = 0 c2::float raw.hdr-static-info.mastering.blue.y = 0 c2::float raw.hdr-static-info.mastering.gre 2024-11-17 15:51:36.342 6294-6341 ColorUtils androidx.media3.demo.gl W expected specified color aspects (0:0:255:255) 2024-11-17 15:51:36.344 6294-6340 MediaCodec androidx.media3.demo.gl I MediaCodec will operate in async mode 2024-11-17 15:51:36.345 6294-6340 SurfaceUtils androidx.media3.demo.gl D connecting to surface 0xb4000077bea21330, reason connectToSurface 2024-11-17 15:51:36.345 6294-6340 GameFpsMonitor androidx.media3.demo.gl D notifySurfaceStatus tid :6340, pid :6294 2024-11-17 15:51:36.345 6294-6340 GameFpsMonitor androidx.media3.demo.gl D notifySurfaceStatus !system app ,thread name MediaCodec_loop 2024-11-17 15:51:36.345 6294-6340 GameFpsMonitor androidx.media3.demo.gl D GameFpsMonitor,create GameFpsMonitor. 2024-11-17 15:51:36.345 6294-6340 MediaCodec androidx.media3.demo.gl I [c2.qti.avc.decoder] setting surface generation to 6445057 2024-11-17 15:51:36.345 6294-6340 SurfaceUtils androidx.media3.demo.gl D disconnecting from surface 0xb4000077bea21330, reason connectToSurface(reconnect) 2024-11-17 15:51:36.345 6294-6340 SurfaceUtils androidx.media3.demo.gl D connecting to surface 0xb4000077bea21330, reason connectToSurface(reconnect) 2024-11-17 15:51:36.345 6294-6340 GameFpsMonitor androidx.media3.demo.gl D notifySurfaceStatus tid :6340, pid :6294 2024-11-17 15:51:36.345 6294-6340 GameFpsMonitor androidx.media3.demo.gl D notifySurfaceStatus !system app ,thread name MediaCodec_loop 2024-11-17 15:51:36.346 6294-6327 GameFpsMonitor androidx.media3.demo.gl D clearRenderList for long time no frame 2024-11-17 15:51:36.348 6294-6341 CCodec androidx.media3.demo.gl D [c2.qti.avc.decoder] buffers are bound to CCodec for this session 2024-11-17 15:51:36.349 6294-6341 CCodecConfig androidx.media3.demo.gl D no c2 equivalents for log-session-id 2024-11-17 15:51:36.349 6294-6341 CCodecConfig androidx.media3.demo.gl D no c2 equivalents for color-standard 2024-11-17 15:51:36.349 6294-6341 CCodecConfig androidx.media3.demo.gl D no c2 equivalents for csd-1 2024-11-17 15:51:36.349 6294-6341 CCodecConfig androidx.media3.demo.gl D no c2 equivalents for native-window 2024-11-17 15:51:36.349 6294-6341 CCodecConfig androidx.media3.demo.gl D no c2 equivalents for flags 2024-11-17 15:51:36.349 6294-6341 CCodecConfig androidx.media3.demo.gl D c2 config diff is c2::u32 default.color.matrix = 1 c2::u32 default.color.primaries = 1 c2::u32 default.color.range = 1 c2::u32 default.color.transfer = 2 c2::u32 input.buffers.max-size.value = 3133440 c2::u32 raw.max-size.height = 1080 c2::u32 raw.max-size.width = 500 c2::u32 raw.size.height = 1080 c2::u32 raw.size.width = 500 2024-11-17 15:51:36.350 6294-6341 Codec2Client androidx.media3.demo.gl W query -- param skipped: index = 1107298332. 2024-11-17 15:51:36.350 6294-6341 CCodec androidx.media3.demo.gl D client requested max input size 417792, which is smaller than what component recommended (3133440); overriding with component recommendation. 2024-11-17 15:51:36.350 6294-6341 CCodec androidx.media3.demo.gl W This behavior is subject to change. It is recommended that app developers double check whether the requested max input size is in reasonable range. 2024-11-17 15:51:36.350 6294-6341 CCodec androidx.media3.demo.gl D setup formats input: AMessage(what = 0x00000000) = { int32_t feature-secure-playback = 0 int32_t frame-rate = 30 int32_t height = 1080 int32_t max-input-size = 3133440 string mime = "video/avc" int32_t priority = 0 int32_t profile = 8 int32_t width = 500 Rect crop(0, 0, 499, 1079) } 2024-11-17 15:51:36.350 6294-6341 CCodec androidx.media3.demo.gl D setup formats output: AMessage(what = 0x00000000) = { int32_t android._color-format = 0 int32_t android._video-scaling = 1 int32_t android._dataspace = 260 int32_t color-standard = 130817 int32_t color-range = 2 int32_t color-transfer = 65791 int32_t sar-height = 1 int32_t rotation-degrees = 0 Buffer hdr-static-info = { 00000000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000010: 00 00 00 00 00 00 00 00 00 ......... } int32_t sar-width = 1 Rect crop(0, 0, 499, 1079) int32_t width = 500 int32_t feature-secure-playback = 0 int32_t frame-rate = 30 int32_t height = 1080 int32_t max-height = 1080 int32_t max-width = 500 string mime = "video/raw" int32_t priority = 0 int32_t color-format = 2130708361 } 2024-11-17 15:51:36.350 6294-6341 CCodecConfig androidx.media3.demo.gl I query failed after returning 17 values (BAD_INDEX) 2024-11-17 15:51:36.351 6294-6331 MediaCodec androidx.media3.demo.gl D keep callback message for reclaim 2024-11-17 15:51:36.356 6294-6294 EventLogger androidx.media3.demo.gl D videoEnabled [eventTime=0.08, mediaPos=0.00, window=0, period=0] 2024-11-17 15:51:36.357 6294-6294 EventLogger androidx.media3.demo.gl D tracks [eventTime=0.08, mediaPos=0.00, window=0, period=0 2024-11-17 15:51:36.357 6294-6294 EventLogger androidx.media3.demo.gl D group [ 2024-11-17 15:51:36.357 6294-6294 EventLogger androidx.media3.demo.gl D [X] Track:0, id=1/256, mimeType=video/avc, codecs=avc1.640020, res=500x1080, color=BT709/Full range/sRGB/8/8, supported=YES 2024-11-17 15:51:36.357 6294-6294 EventLogger androidx.media3.demo.gl D ] 2024-11-17 15:51:36.357 6294-6294 EventLogger androidx.media3.demo.gl D ] 2024-11-17 15:51:36.358 6294-6341 Codec2Client androidx.media3.demo.gl W query -- param skipped: index = 1342179345. 2024-11-17 15:51:36.358 6294-6341 Codec2Client androidx.media3.demo.gl W query -- param skipped: index = 2415921170. 2024-11-17 15:51:36.358 6294-6341 Codec2Client androidx.media3.demo.gl W query -- param skipped: index = 1610614798. 2024-11-17 15:51:36.358 6294-6341 CCodecBufferChannel androidx.media3.demo.gl D [c2.qti.avc.decoder#891] Query input allocators returned 0 params => BAD_INDEX (6) 2024-11-17 15:51:36.358 6294-6341 C2Store androidx.media3.demo.gl D Using ION 2024-11-17 15:51:36.358 6294-6341 CCodecBufferChannel androidx.media3.demo.gl D [c2.qti.avc.decoder#891] Created input block pool with allocatorID 16 => poolID 17 - OK (0) 2024-11-17 15:51:36.358 6294-6341 CCodecBufferChannel androidx.media3.demo.gl D [c2.qti.avc.decoder#891] start: max output delay 12 2024-11-17 15:51:36.358 6294-6294 EventLogger androidx.media3.demo.gl D downstreamFormat [eventTime=0.08, mediaPos=0.00, window=0, period=0, id=1/256, mimeType=video/avc, codecs=avc1.640020, res=500x1080, color=BT709/Full range/sRGB/8/8] 2024-11-17 15:51:36.358 6294-6341 CCodecBufferChannel androidx.media3.demo.gl D [c2.qti.avc.decoder#891] Query output allocators returned 0 params => BAD_INDEX (6) 2024-11-17 15:51:36.358 6294-6341 CCodecBufferChannel androidx.media3.demo.gl D [c2.qti.avc.decoder#891] Query output surface allocator returned 0 params => BAD_INDEX (6) 2024-11-17 15:51:36.359 6294-6294 EventLogger androidx.media3.demo.gl D surfaceSize [eventTime=0.08, mediaPos=0.00, window=0, period=0, -1, -1] 2024-11-17 15:51:36.360 6294-6341 CCodecBufferChannel androidx.media3.demo.gl I [c2.qti.avc.decoder#891] Created output block pool with allocatorID 18 => poolID 889 - OK 2024-11-17 15:51:36.360 6294-6341 CCodecBufferChannel androidx.media3.demo.gl D [c2.qti.avc.decoder#891] Configured output block pool ids 889 => OK 2024-11-17 15:51:36.360 6294-6341 Codec2-Out...ufferQueue androidx.media3.demo.gl D remote graphic buffer migration 0/0 2024-11-17 15:51:36.360 6294-6341 Codec2Client androidx.media3.demo.gl D setOutputSurface -- failed to set consumer usage (6/BAD_INDEX) 2024-11-17 15:51:36.360 6294-6341 Codec2Client androidx.media3.demo.gl D setOutputSurface -- generation=6445057 consumer usage=0x900 2024-11-17 15:51:36.361 6294-6341 Codec2Client androidx.media3.demo.gl D Surface configure completed 2024-11-17 15:51:36.361 6294-6341 CCodecBufferChannel androidx.media3.demo.gl D [c2.qti.avc.decoder#891] start: updating output delay 1 2024-11-17 15:51:36.361 6294-6341 ion androidx.media3.demo.gl E ioctl c0044901 failed with code -1: Inappropriate ioctl for device 2024-11-17 15:51:36.369 6294-6294 EventLogger androidx.media3.demo.gl D videoDecoderInitialized [eventTime=0.09, mediaPos=0.00, window=0, period=0, c2.qti.avc.decoder] 2024-11-17 15:51:36.369 6294-6294 EventLogger androidx.media3.demo.gl D videoInputFormat [eventTime=0.09, mediaPos=0.00, window=0, period=0, id=1/256, mimeType=video/avc, codecs=avc1.640020, res=500x1080, color=BT709/Full range/sRGB/8/8] 2024-11-17 15:51:36.372 6294-6331 Surface androidx.media3.demo.gl D setFrameRate frameRate : 0.0, compatibility : 0, changeFrameRateStrategy : 0, error : 0 2024-11-17 15:51:36.372 6294-6340 SurfaceUtils androidx.media3.demo.gl D connecting to surface 0xb4000077bea323b0, reason connectToSurface 2024-11-17 15:51:36.372 6294-6340 GameFpsMonitor androidx.media3.demo.gl D notifySurfaceStatus tid :6340, pid :6294 2024-11-17 15:51:36.372 6294-6340 GameFpsMonitor androidx.media3.demo.gl D notifySurfaceStatus !system app ,thread name MediaCodec_loop 2024-11-17 15:51:36.372 6294-6340 GameFpsMonitor androidx.media3.demo.gl D GameFpsMonitor,create GameFpsMonitor. 2024-11-17 15:51:36.374 6294-6341 CCodecConfig androidx.media3.demo.gl D c2 config diff is c2::u32 output.delay.value = 10 2024-11-17 15:51:36.374 6294-6341 CCodecBufferChannel androidx.media3.demo.gl D [c2.qti.avc.decoder#891] onWorkDone: updating output delay 10 2024-11-17 15:51:36.374 6294-6341 CCodecBufferChannel androidx.media3.demo.gl I [c2.qti.avc.decoder#891] onWorkDone: updating max output delay 17 2024-11-17 15:51:36.374 6294-6340 MediaCodec androidx.media3.demo.gl I [c2.qti.avc.decoder] setting surface generation to 6445058 2024-11-17 15:51:36.374 6294-6340 SurfaceUtils androidx.media3.demo.gl D disconnecting from surface 0xb4000077bea323b0, reason connectToSurface(reconnect) 2024-11-17 15:51:36.374 6294-6340 SurfaceUtils androidx.media3.demo.gl D connecting to surface 0xb4000077bea323b0, reason connectToSurface(reconnect) 2024-11-17 15:51:36.374 6294-6340 GameFpsMonitor androidx.media3.demo.gl D notifySurfaceStatus tid :6340, pid :6294 2024-11-17 15:51:36.374 6294-6340 GameFpsMonitor androidx.media3.demo.gl D notifySurfaceStatus !system app ,thread name MediaCodec_loop 2024-11-17 15:51:36.374 6294-6341 Codec2-Out...ufferQueue androidx.media3.demo.gl D set max dequeue count 17 from update 2024-11-17 15:51:36.374 6294-6340 Codec2-Out...ufferQueue androidx.media3.demo.gl D remote graphic buffer migration 0/0 2024-11-17 15:51:36.375 6294-6340 Codec2Client androidx.media3.demo.gl D setOutputSurface -- failed to set consumer usage (6/BAD_INDEX) 2024-11-17 15:51:36.375 6294-6340 Codec2Client androidx.media3.demo.gl D setOutputSurface -- generation=6445058 consumer usage=0x900 2024-11-17 15:51:36.377 6294-6340 BufferQueueProducer androidx.media3.demo.gl E SurfaceTexture-1-6294-0 detachBuffer: slot 6 is not owned by the producer (state = FREE) 2024-11-17 15:51:36.377 6294-6340 BufferQueueProducer androidx.media3.demo.gl E SurfaceTexture-1-6294-0 detachBuffer: slot 7 is not owned by the producer (state = FREE) 2024-11-17 15:51:36.377 6294-6340 BufferQueueProducer androidx.media3.demo.gl E SurfaceTexture-1-6294-0 detachBuffer: slot 8 is not owned by the producer (state = FREE) 2024-11-17 15:51:36.377 6294-6340 BufferQueueProducer androidx.media3.demo.gl E SurfaceTexture-1-6294-0 detachBuffer: slot 9 is not owned by the producer (state = FREE) 2024-11-17 15:51:36.377 6294-6340 BufferQueueProducer androidx.media3.demo.gl E SurfaceTexture-1-6294-0 detachBuffer: slot 10 is not owned by the producer (state = FREE) 2024-11-17 15:51:36.377 6294-6340 BufferQueueProducer androidx.media3.demo.gl E SurfaceTexture-1-6294-0 detachBuffer: slot 11 is not owned by the producer (state = FREE) 2024-11-17 15:51:36.377 6294-6340 BufferQueueProducer androidx.media3.demo.gl E SurfaceTexture-1-6294-0 detachBuffer: slot 12 is not owned by the producer (state = FREE) 2024-11-17 15:51:36.377 6294-6340 BufferQueueProducer androidx.media3.demo.gl E SurfaceTexture-1-6294-0 detachBuffer: slot 13 is not owned by the producer (state = FREE) 2024-11-17 15:51:36.377 6294-6340 BufferQueueProducer androidx.media3.demo.gl E SurfaceTexture-1-6294-0 detachBuffer: slot 14 is not owned by the producer (state = FREE) 2024-11-17 15:51:36.377 6294-6340 BufferQueueProducer androidx.media3.demo.gl E SurfaceTexture-1-6294-0 detachBuffer: slot 15 is not owned by the producer (state = FREE) 2024-11-17 15:51:36.378 6294-6340 BufferQueueProducer androidx.media3.demo.gl E SurfaceTexture-1-6294-0 detachBuffer: slot 16 is not owned by the producer (state = FREE) 2024-11-17 15:51:36.378 6294-6340 BufferQueueProducer androidx.media3.demo.gl E SurfaceTexture-1-6294-0 detachBuffer: slot 17 is not owned by the producer (state = FREE) 2024-11-17 15:51:36.378 6294-6340 BufferQueueProducer androidx.media3.demo.gl E SurfaceTexture-1-6294-0 detachBuffer: slot 18 is not owned by the producer (state = FREE) 2024-11-17 15:51:36.378 6294-6340 BufferQueueProducer androidx.media3.demo.gl E SurfaceTexture-1-6294-0 detachBuffer: slot 19 is not owned by the producer (state = FREE) 2024-11-17 15:51:36.378 6294-6340 BufferQueueProducer androidx.media3.demo.gl E SurfaceTexture-1-6294-0 detachBuffer: slot 20 is not owned by the producer (state = FREE) 2024-11-17 15:51:36.378 6294-6340 BufferQueueProducer androidx.media3.demo.gl E SurfaceTexture-1-6294-0 detachBuffer: slot 21 is not owned by the producer (state = FREE) 2024-11-17 15:51:36.378 6294-6340 BufferQueueProducer androidx.media3.demo.gl E SurfaceTexture-1-6294-0 detachBuffer: slot 22 is not owned by the producer (state = FREE) 2024-11-17 15:51:36.378 6294-6340 BufferQueueProducer androidx.media3.demo.gl E SurfaceTexture-1-6294-0 detachBuffer: slot 23 is not owned by the producer (state = FREE) 2024-11-17 15:51:36.378 6294-6340 BufferQueueProducer androidx.media3.demo.gl E SurfaceTexture-1-6294-0 detachBuffer: slot 24 is not owned by the producer (state = FREE) 2024-11-17 15:51:36.378 6294-6340 BufferQueueProducer androidx.media3.demo.gl E SurfaceTexture-1-6294-0 detachBuffer: slot 25 is not owned by the producer (state = FREE) 2024-11-17 15:51:36.378 6294-6340 BufferQueueProducer androidx.media3.demo.gl E SurfaceTexture-1-6294-0 detachBuffer: slot 26 is not owned by the producer (state = FREE) 2024-11-17 15:51:36.378 6294-6340 BufferQueueProducer androidx.media3.demo.gl E SurfaceTexture-1-6294-0 detachBuffer: slot 27 is not owned by the producer (state = FREE) 2024-11-17 15:51:36.378 6294-6340 BufferQueueProducer androidx.media3.demo.gl E SurfaceTexture-1-6294-0 detachBuffer: slot 28 is not owned by the producer (state = FREE) 2024-11-17 15:51:36.378 6294-6340 BufferQueueProducer androidx.media3.demo.gl E SurfaceTexture-1-6294-0 detachBuffer: slot 29 is not owned by the producer (state = FREE) 2024-11-17 15:51:36.378 6294-6340 BufferQueueProducer androidx.media3.demo.gl E SurfaceTexture-1-6294-0 detachBuffer: slot 30 is not owned by the producer (state = FREE) 2024-11-17 15:51:36.378 6294-6340 BufferQueueProducer androidx.media3.demo.gl E SurfaceTexture-1-6294-0 detachBuffer: slot 31 is not owned by the producer (state = FREE) 2024-11-17 15:51:36.379 6294-6340 BufferQueueProducer androidx.media3.demo.gl E SurfaceTexture-1-6294-0 detachBuffer: slot 32 is not owned by the producer (state = FREE) 2024-11-17 15:51:36.379 6294-6340 BufferQueueProducer androidx.media3.demo.gl E SurfaceTexture-1-6294-0 detachBuffer: slot 33 is not owned by the producer (state = FREE) 2024-11-17 15:51:36.379 6294-6340 BufferQueueProducer androidx.media3.demo.gl E SurfaceTexture-1-6294-0 detachBuffer: slot 34 is not owned by the producer (state = FREE) 2024-11-17 15:51:36.379 6294-6340 BufferQueueProducer androidx.media3.demo.gl E SurfaceTexture-1-6294-0 detachBuffer: slot 35 is not owned by the producer (state = FREE) 2024-11-17 15:51:36.379 6294-6340 BufferQueueProducer androidx.media3.demo.gl E SurfaceTexture-1-6294-0 detachBuffer: slot 36 is not owned by the producer (state = FREE) 2024-11-17 15:51:36.379 6294-6340 BufferQueueProducer androidx.media3.demo.gl E SurfaceTexture-1-6294-0 detachBuffer: slot 37 is not owned by the producer (state = FREE) 2024-11-17 15:51:36.379 6294-6340 BufferQueueProducer androidx.media3.demo.gl E SurfaceTexture-1-6294-0 detachBuffer: slot 38 is not owned by the producer (state = FREE) 2024-11-17 15:51:36.379 6294-6340 BufferQueueProducer androidx.media3.demo.gl E SurfaceTexture-1-6294-0 detachBuffer: slot 39 is not owned by the producer (state = FREE) 2024-11-17 15:51:36.379 6294-6340 BufferQueueProducer androidx.media3.demo.gl E SurfaceTexture-1-6294-0 detachBuffer: slot 40 is not owned by the producer (state = FREE) 2024-11-17 15:51:36.379 6294-6340 BufferQueueProducer androidx.media3.demo.gl E SurfaceTexture-1-6294-0 detachBuffer: slot 41 is not owned by the producer (state = FREE) 2024-11-17 15:51:36.380 6294-6340 BufferQueueProducer androidx.media3.demo.gl E SurfaceTexture-1-6294-0 detachBuffer: slot 42 is not owned by the producer (state = FREE) 2024-11-17 15:51:36.380 6294-6340 BufferQueueProducer androidx.media3.demo.gl E SurfaceTexture-1-6294-0 detachBuffer: slot 43 is not owned by the producer (state = FREE) 2024-11-17 15:51:36.380 6294-6340 BufferQueueProducer androidx.media3.demo.gl E SurfaceTexture-1-6294-0 detachBuffer: slot 44 is not owned by the producer (state = FREE) 2024-11-17 15:51:36.380 6294-6340 BufferQueueProducer androidx.media3.demo.gl E SurfaceTexture-1-6294-0 detachBuffer: slot 45 is not owned by the producer (state = FREE) 2024-11-17 15:51:36.380 6294-6340 BufferQueueProducer androidx.media3.demo.gl E SurfaceTexture-1-6294-0 detachBuffer: slot 46 is not owned by the producer (state = FREE) 2024-11-17 15:51:36.380 6294-6340 BufferQueueProducer androidx.media3.demo.gl E SurfaceTexture-1-6294-0 detachBuffer: slot 47 is not owned by the producer (state = FREE) 2024-11-17 15:51:36.380 6294-6340 BufferQueueProducer androidx.media3.demo.gl E SurfaceTexture-1-6294-0 detachBuffer: slot 48 is not owned by the producer (state = FREE) 2024-11-17 15:51:36.380 6294-6340 BufferQueueProducer androidx.media3.demo.gl E SurfaceTexture-1-6294-0 detachBuffer: slot 49 is not owned by the producer (state = FREE) 2024-11-17 15:51:36.380 6294-6340 BufferQueueProducer androidx.media3.demo.gl E SurfaceTexture-1-6294-0 detachBuffer: slot 50 is not owned by the producer (state = FREE) 2024-11-17 15:51:36.381 6294-6340 BufferQueueProducer androidx.media3.demo.gl E SurfaceTexture-1-6294-0 detachBuffer: slot 51 is not owned by the producer (state = FREE) 2024-11-17 15:51:36.381 6294-6340 BufferQueueProducer androidx.media3.demo.gl E SurfaceTexture-1-6294-0 detachBuffer: slot 52 is not owned by the producer (state = FREE) 2024-11-17 15:51:36.381 6294-6340 BufferQueueProducer androidx.media3.demo.gl E SurfaceTexture-1-6294-0 detachBuffer: slot 53 is not owned by the producer (state = FREE) 2024-11-17 15:51:36.381 6294-6340 BufferQueueProducer androidx.media3.demo.gl E SurfaceTexture-1-6294-0 detachBuffer: slot 54 is not owned by the producer (state = FREE) 2024-11-17 15:51:36.381 6294-6340 BufferQueueProducer androidx.media3.demo.gl E SurfaceTexture-1-6294-0 detachBuffer: slot 55 is not owned by the producer (state = FREE) 2024-11-17 15:51:36.381 6294-6340 BufferQueueProducer androidx.media3.demo.gl E SurfaceTexture-1-6294-0 detachBuffer: slot 56 is not owned by the producer (state = FREE) 2024-11-17 15:51:36.381 6294-6340 BufferQueueProducer androidx.media3.demo.gl E SurfaceTexture-1-6294-0 detachBuffer: slot 57 is not owned by the producer (state = FREE) 2024-11-17 15:51:36.381 6294-6340 BufferQueueProducer androidx.media3.demo.gl E SurfaceTexture-1-6294-0 detachBuffer: slot 58 is not owned by the producer (state = FREE) 2024-11-17 15:51:36.381 6294-6340 BufferQueueProducer androidx.media3.demo.gl E SurfaceTexture-1-6294-0 detachBuffer: slot 59 is not owned by the producer (state = FREE) 2024-11-17 15:51:36.381 6294-6340 BufferQueueProducer androidx.media3.demo.gl E SurfaceTexture-1-6294-0 detachBuffer: slot 60 is not owned by the producer (state = FREE) 2024-11-17 15:51:36.381 6294-6340 BufferQueueProducer androidx.media3.demo.gl E SurfaceTexture-1-6294-0 detachBuffer: slot 61 is not owned by the producer (state = FREE) 2024-11-17 15:51:36.382 6294-6340 BufferQueueProducer androidx.media3.demo.gl E SurfaceTexture-1-6294-0 detachBuffer: slot 62 is not owned by the producer (state = FREE) 2024-11-17 15:51:36.382 6294-6340 BufferQueueProducer androidx.media3.demo.gl E SurfaceTexture-1-6294-0 detachBuffer: slot 63 is not owned by the producer (state = FREE) 2024-11-17 15:51:36.382 6294-6340 Codec2Client androidx.media3.demo.gl D Surface configure completed 2024-11-17 15:51:36.382 6294-6294 ImeFocusController androidx.media3.demo.gl D checkFocus: view=null next=DecorView@6ea545f[MainActivity] force=true package= 2024-11-17 15:51:36.382 6294-6340 SurfaceUtils androidx.media3.demo.gl D disconnecting from surface 0xb4000077bea21330, reason disconnectFromSurface 2024-11-17 15:51:36.383 6294-6294 InputMethodManager androidx.media3.demo.gl D START INPUT: view=DecorView@6ea545f[MainActivity],focus=false,windowFocus=true,autofillUiShowing=false,window=android.view.ViewRootImpl$W@7bb956b,displayId=0,temporaryDetach=false,hasImeFocus=true ic=null tba=android.view.inputmethod.EditorInfo@e2768c8 startInputFlags=VIEW_HAS_FOCUS|INITIAL_CONNECTION 2024-11-17 15:51:36.450 6294-6294 EventLogger androidx.media3.demo.gl D loading [eventTime=0.17, mediaPos=0.00, window=0, period=0, false] 2024-11-17 15:51:36.455 6294-6294 EventLogger androidx.media3.demo.gl D loading [eventTime=0.18, mediaPos=0.00, window=0, period=0, true] 2024-11-17 15:51:36.455 6294-6294 EventLogger androidx.media3.demo.gl D state [eventTime=0.18, mediaPos=0.00, window=0, period=0, READY] 2024-11-17 15:51:36.456 6294-6294 EventLogger androidx.media3.demo.gl D isPlaying [eventTime=0.18, mediaPos=0.00, window=0, period=0, true] 2024-11-17 15:51:36.463 6294-6294 EventLogger androidx.media3.demo.gl D downstreamFormat [eventTime=0.19, mediaPos=0.01, window=0, period=0, id=1/256, mimeType=video/avc, codecs=avc1.640020, res=500x1080, color=BT709/Full range/sRGB/8/8] 2024-11-17 15:51:36.464 6294-6294 EventLogger androidx.media3.demo.gl D videoInputFormat [eventTime=0.19, mediaPos=0.01, window=0, period=0, id=1/256, mimeType=video/avc, codecs=avc1.640020, res=500x1080, color=BT709/Full range/sRGB/8/8] 2024-11-17 15:51:36.506 6294-6294 EventLogger androidx.media3.demo.gl D loading [eventTime=0.23, mediaPos=0.05, window=0, period=0, false] 2024-11-17 15:51:36.515 6294-6294 EventLogger androidx.media3.demo.gl D loading [eventTime=0.24, mediaPos=0.06, window=0, period=0, true] 2024-11-17 15:51:36.522 6294-6294 EventLogger androidx.media3.demo.gl D loading [eventTime=0.24, mediaPos=0.06, window=0, period=0, false] 2024-11-17 15:51:36.523 6294-6294 EventLogger androidx.media3.demo.gl D downstreamFormat [eventTime=0.25, mediaPos=0.07, window=0, period=0, id=1/256, mimeType=video/avc, codecs=avc1.640020, res=500x1080, color=BT709/Full range/sRGB/8/8] 2024-11-17 15:51:36.524 6294-6294 EventLogger androidx.media3.demo.gl D videoInputFormat [eventTime=0.25, mediaPos=0.07, window=0, period=0, id=1/256, mimeType=video/avc, codecs=avc1.640020, res=500x1080, color=BT709/Full range/sRGB/8/8] 2024-11-17 15:51:38.140 6294-6306 System androidx.media3.demo.gl W A resource failed to call close.

Media

http://www.basicgo.net/download/mediax/test.ts

Bug Report

alexfansz commented 4 days ago

DefaultExtractorsFactory extractorsFactory = new DefaultExtractorsFactory() .setTsExtractorFlags(DefaultTsPayloadReaderFactory.FLAG_DETECT_ACCESS_UNITS | DefaultTsPayloadReaderFactory.FLAG_ALLOW_NON_IDR_KEYFRAMES);

ok