-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Labels
a: videoVideo playbackVideo playbackc: regressionIt was better in the past than it is nowIt was better in the past than it is nowdependency: skiaSkia team may need to help usSkia team may need to help uswaiting for PR to land (fixed)A fix is in flightA fix is in flight
Description
After the last update of flutter I have begun to have problems in some android devices with the video plugin.
It would seem like a codec problem.
To rule out a problem in my project, create a new one with the base example of the video plugin.
I attach a screenshot.

The device I use testing is a one plus one with android 8, I could also try an apk on a Samsung Galaxy S8 and an iphone s6 without problems.
Flutter doctor:
[flutter] flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, v0.11.3, on Mac OS X 10.13.6 17G3025, locale en-AR)
[✓] Android toolchain - develop for Android devices (Android SDK 28.0.3)
[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
[✓] Android Studio (version 3.2)
[✓] VS Code (version 1.29.0)
[✓] Connected device (2 available)
• No issues found!
exit code 0
Debug Console:
Launching lib/main.dart on A0001 in debug mode...
Built build/app/outputs/apk/debug/app-debug.apk.
I/ExoPlayerImpl(14246): Init 676cb13 [ExoPlayerLib/2.8.0] [bacon, A0001, OnePlus, 27]
I/ExoPlayerImpl(14246): Init 8c4cf49 [ExoPlayerLib/2.8.0] [bacon, A0001, OnePlus, 27]
D/NetworkSecurityConfig(14246): No Network Security Config specified, using platform default
W/VideoCapabilities(14246): Unrecognized profile/level 0/3 for video/mpeg2
W/VideoCapabilities(14246): Unrecognized profile/level 0/3 for video/mpeg2
W/VideoCapabilities(14246): Unrecognized profile 2130706433 for video/avc
I/VideoCapabilities(14246): Unsupported profile 4 for video/mp4v-es
D/SurfaceUtils(14246): connecting to surface 0x8edda008, reason connectToSurface
I/MediaCodec(14246): [OMX.qcom.video.decoder.avc] setting surface generation to 14587905
D/SurfaceUtils(14246): disconnecting from surface 0x8edda008, reason connectToSurface(reconnect)
D/SurfaceUtils(14246): connecting to surface 0x8edda008, reason connectToSurface(reconnect)
D/SurfaceUtils(14246): set up nativeWindow 0x8edda008 for 560x320, color 0x7fa30c04, rotation 0, usage 0x42002900
D/vndksupport(14246): Loading /vendor/lib/hw/[email protected] from current namespace instead of sphal namespace.
D/vndksupport(14246): Loading /vendor/lib/hw/gralloc.msm8974.so from current namespace instead of sphal namespace.
W/GrallocMapperPassthrough(14246): buffer descriptor with invalid usage bits 0x2002000
I/chatty (14246): uid=10092(com.example.videotest) CodecLooper identical 4 lines
W/GrallocMapperPassthrough(14246): buffer descriptor with invalid usage bits 0x2002000
I/ACodec (14246): codec does not support config priority (err -2147483648)
D/SurfaceUtils(14246): set up nativeWindow 0x8edda008 for 560x320, color 0x7fa30c04, rotation 0, usage 0x42002900
D/AudioTrack(14246): Client defaulted notificationFrames to 2362 for frameCount 7088
D/vndksupport(14246): Loading /vendor/lib/hw/gralloc.msm8974.so from current namespace instead of sphal namespace.
D/vndksupport(14246): Loading /vendor/lib/hw/gralloc.msm8974.so from current namespace instead of sphal namespace.
I/zygote (14246): Do partial code cache collection, code=29KB, data=29KB
I/zygote (14246): After code cache collection, code=29KB, data=29KB
I/zygote (14246): Increasing code cache capacity to 128KB
D/vndksupport(14246): Loading /vendor/lib/hw/gralloc.msm8974.so from current namespace instead of sphal namespace.
I/chatty (14246): uid=10092(com.example.videotest) Thread-2 identical 2 lines
D/vndksupport(14246): Loading /vendor/lib/hw/gralloc.msm8974.so from current namespace instead of sphal namespace.
W/OkHttpClient(14246): A connection to http://www.sample-videos.com/ was leaked. Did you forget to close a response body?
I/zygote (14246): Do partial code cache collection, code=61KB, data=53KB
I/zygote (14246): After code cache collection, code=61KB, data=53KB
I/zygote (14246): Increasing code cache capacity to 256KB
W/OkHttpClient(14246): A connection to https://www.sample-videos.com/ was leaked. Did you forget to close a response body?
W/OkHttpClient(14246): A connection to http://www.sample-videos.com/ was leaked. Did you forget to close a response body?
W/OkHttpClient(14246): A connection to http://www.sample-videos.com/ was leaked. Did you forget to close a response body?
I/zygote (14246): Do full code cache collection, code=123KB, data=88KB
I/zygote (14246): After code cache collection, code=114KB, data=70KB
E/ExoPlayerImplInternal(14246): Source error.
E/ExoPlayerImplInternal(14246): com.google.android.exoplayer2.upstream.HttpDataSource$InvalidResponseCodeException: Response code: 404
E/ExoPlayerImplInternal(14246): at com.google.android.exoplayer2.upstream.DefaultHttpDataSource.open(DefaultHttpDataSource.java:211)
E/ExoPlayerImplInternal(14246): at com.google.android.exoplayer2.source.ExtractorMediaPeriod$ExtractingLoadable.load(ExtractorMediaPeriod.java:848)
E/ExoPlayerImplInternal(14246): at com.google.android.exoplayer2.upstream.Loader$LoadTask.run(Loader.java:317)
E/ExoPlayerImplInternal(14246): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
E/ExoPlayerImplInternal(14246): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
E/ExoPlayerImplInternal(14246): at java.lang.Thread.run(Thread.java:764)
I/flutter (14246): Video player had error com.google.android.exoplayer2.ExoPlaybackException
W/OkHttpClient(14246): A connection to https://www.sample-videos.com/ was leaked. Did you forget to close a response body?
W/OkHttpClient(14246): A connection to http://www.sample-videos.com/ was leaked. Did you forget to close a response body?
W/OkHttpClient(14246): A connection to https://www.sample-videos.com/ was leaked. Did you forget to close a response body?
I/zygote (14246): Do partial code cache collection, code=125KB, data=82KB
I/zygote (14246): After code cache collection, code=125KB, data=82KB
I/zygote (14246): Increasing code cache capacity to 512KB
I/zygote (14246): Background concurrent copying GC freed 11255(4MB) AllocSpace objects, 7(476KB) LOS objects, 60% free, 3MB/9MB, paused 5.033ms total 71.098ms
kunit1, recastrodiaz and lishuhao
Metadata
Metadata
Assignees
Labels
a: videoVideo playbackVideo playbackc: regressionIt was better in the past than it is nowIt was better in the past than it is nowdependency: skiaSkia team may need to help usSkia team may need to help uswaiting for PR to land (fixed)A fix is in flightA fix is in flight