darwinvtomy / drm_wv_fp_player Goto Github PK
View Code? Open in Web Editor NEWFew of the resources from flutter plugin video_player
Home Page: https://github.com/flutter/plugins/tree/master/packages/video_player
License: Other
Few of the resources from flutter plugin video_player
Home Page: https://github.com/flutter/plugins/tree/master/packages/video_player
License: Other
Hi, is this package able to play DRM secured video outside the emulator on Android? I've tested this package with Pixel 3 and some modern Samsung Tablet and it does not play the video.
How is this package avoid this Flutter issue?
Can we use clear key cenc by providing a json file path in drm_license_url?
since it is not part of main project it is unnecessarily using at least 75MB of resources while cloning the project.
What do you thing about integrating ffmpeg to this library
i think you already opened issue here
https://github.com/USBhost/MX_FFmpeg/tree/master/ffmpeg
This will improve audio compatibility to library
Hello,
Just using the main example on the git, and when compiling it's throwing this error:
I/ExoPlayerImpl(25633): Release 5627267 [ExoPlayerLib/2.9.6] [generic_x86_arm, AOSP on IA Emulator, Google, 28] [goog.exo.core] I/ExoPlayerImpl(25633): Init 10403fe [ExoPlayerLib/2.9.6] [generic_x86_arm, AOSP on IA Emulator, Google, 28] W/VideoCapabilities(25633): Unrecognized profile 4 for video/hevc I/VideoCapabilities(25633): Unsupported profile 4 for video/mp4v-es I/flutter (25633): ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════ I/flutter (25633): The following assertion was thrown building _BodyBuilder: I/flutter (25633): 'package:flutter/src/rendering/proxy_box.dart': Failed assertion: line 403 pos 15: 'aspectRatio > I/flutter (25633): 0.0': is not true. I/flutter (25633): I/flutter (25633): Either the assertion indicates an error in the framework itself, or we should provide substantially I/flutter (25633): more information in this error message to help you determine and fix the underlying cause. I/flutter (25633): In either case, please report this assertion by filing a bug on GitHub: I/flutter (25633): https://github.com/flutter/flutter/issues/new?template=BUG.md
First of all, thank you for all the effort you've put into this project.
I am trying to play a live channel without success, but in a web player the content plays correctly. I was wondering if the player could have issues with live content.
Hello,
I am trying to use this library but i am not able to find where to put the video url and also is the license key file a txt?
Hi, I want to know, is there any way to play offline drm secured video? if so then can you please provide an example?
Hello, thanks for the amazing plugin.
But Im getting this error with a Widevine/HDCP content:
I/OMXClient(21178): IOmx service obtained
I/ACodec (21178): In onAllocateComponent create compenent, codec name: OMX.hisi.video.decoder.avc.secure
D/SurfaceUtils(21178): connecting to surface 0x76de46c010, reason connectToSurface
I/MediaCodec(21178): [OMX.hisi.video.decoder.avc.secure] setting surface generation to 21686284
D/SurfaceUtils(21178): disconnecting from surface 0x76de46c010, reason connectToSurface(reconnect)
D/SurfaceUtils(21178): connecting to surface 0x76de46c010, reason connectToSurface(reconnect)
E/ACodec (21178): [OMX.hisi.video.decoder.avc.secure] setPortMode on output to DynamicANWBuffer failed w/ err -2147483648
I/HwExtendedCodec(21178): mime is [video/avc] at setVideoFormat
I/ACodec (21178): codec does not support config priority (err -22)
I/ACodec (21178): [OMX.hisi.video.decoder.avc.secure] got color aspects (R:2(Limited), P:1(BT709_5), M:1(BT709_5), T:3(SMPTE170M)) err=0(NO_ERROR)
I/ACodec (21178): [OMX.hisi.video.decoder.avc.secure] got color aspects (R:2(Limited), P:1(BT709_5), M:1(BT709_5), T:3(SMPTE170M)) err=0(NO_ERROR)
I/ACodec (21178): [OMX.hisi.video.decoder.avc.secure] using color aspects (R:2(Limited), P:1(BT709_5), M:1(BT709_5), T:3(SMPTE170M)) and dataspace 0x104
I/ACodec (21178): onStart
D/SurfaceUtils(21178): disconnecting from surface 0x76de46c010, reason setNativeWindowSizeFormatAndUsage
D/SurfaceUtils(21178): connecting to surface 0x76de46c010, reason setNativeWindowSizeFormatAndUsage
E/SurfaceUtils(21178): native window cannot handle protected buffers: the consumer should either be a hardware composer or support hardware protection
E/ACodec (21178): Failed to allocate buffers after transitioning to IDLE state (error 0xffffffff)
E/ACodec (21178): signalError(omxError 0x80001001, internalError -1)
E/MediaCodec(21178): Codec reported err 0xffffffff, actionCode 0, while in state 5
D/SurfaceUtils(21178): disconnecting from surface 0x76de46c010, reason disconnectFromSurface
E/ACodec (21178): [OMX.hisi.video.decoder.avc.secure] ERROR(0x80001012)
E/ACodec (21178): signalError(omxError 0x80001012, internalError -2147483648)
E/ACodec (21178): [OMX.hisi.video.decoder.avc.secure] ERROR(0x80001012)
E/ACodec (21178): signalError(omxError 0x80001012, internalError -2147483648)
E/MediaCodec(21178): Codec reported err 0x80001012, actionCode 0, while in state 10
E/MediaCodec(21178): Codec reported err 0x80001012, actionCode 0, while in state 10
W/MediaCodecRenderer(21178): Failed to initialize decoder: OMX.hisi.video.decoder.avc.secure
W/MediaCodecRenderer(21178): android.media.MediaCodec$CodecException: start failed
W/MediaCodecRenderer(21178): at android.media.MediaCodec.native_start(Native Method)
W/MediaCodecRenderer(21178): at android.media.MediaCodec.start(MediaCodec.java:2075)
W/MediaCodecRenderer(21178): at com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.initCodec(MediaCodecRenderer.java:814)
W/MediaCodecRenderer(21178): at com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.initCodecWithFallback(MediaCodecRenderer.java:745)
W/MediaCodecRenderer(21178): at com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.maybeInitCodec(MediaCodecRenderer.java:474)
W/MediaCodecRenderer(21178): at com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.reinitializeCodec(MediaCodecRenderer.java:1261)
W/MediaCodecRenderer(21178): at com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.onInputFormatChanged(MediaCodecRenderer.java:1111)
W/MediaCodecRenderer(21178): at com.google.android.exoplayer2.video.MediaCodecVideoRenderer.onInputFormatChanged(MediaCodecVideoRenderer.java:552)
W/MediaCodecRenderer(21178): at com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.render(MediaCodecRenderer.java:647)
W/MediaCodecRenderer(21178): at com.google.android.exoplayer2.ExoPlayerImplInternal.doSomeWork(ExoPlayerImplInternal.java:529)
W/MediaCodecRenderer(21178): at com.google.android.exoplayer2.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:300)
W/MediaCodecRenderer(21178): at android.os.Handler.dispatchMessage(Handler.java:108)
W/MediaCodecRenderer(21178): at android.os.Looper.loop(Looper.java:216)
W/MediaCodecRenderer(21178): at android.os.HandlerThread.run(HandlerThread.java:65)
E/ExoPlayerImplInternal(21178): Playback error.
E/ExoPlayerImplInternal(21178): com.google.android.exoplayer2.ExoPlaybackException: com.google.android.exoplayer2.mediacodec.MediaCodecRenderer$DecoderInitializationException: Decoder init failed: OMX.hisi.video.decoder.avc.secure, Format(stream_4, null, null, video/avc, avc1.64001f, 3000000, null, [1280, 720, 29.97003], [-1, -1])
E/ExoPlayerImplInternal(21178): at com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.maybeInitCodec(MediaCodecRenderer.java:479)
E/ExoPlayerImplInternal(21178): at com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.reinitializeCodec(MediaCodecRenderer.java:1261)
E/ExoPlayerImplInternal(21178): at com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.onInputFormatChanged(MediaCodecRenderer.java:1111)
E/ExoPlayerImplInternal(21178): at com.google.android.exoplayer2.video.MediaCodecVideoRenderer.onInputFormatChanged(MediaCodecVideoRenderer.java:552)
E/ExoPlayerImplInternal(21178): at com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.render(MediaCodecRenderer.java:647)
E/ExoPlayerImplInternal(21178): at com.google.android.exoplayer2.ExoPlayerImplInternal.doSomeWork(ExoPlayerImplInternal.java:529)
E/ExoPlayerImplInternal(21178): at com.google.android.exoplayer2.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:300)
E/ExoPlayerImplInternal(21178): at android.os.Handler.dispatchMessage(Handler.java:108)
E/ExoPlayerImplInternal(21178): at android.os.Looper.loop(Looper.java:216)
E/ExoPlayerImplInternal(21178): at android.os.HandlerThread.run(HandlerThread.java:65)
E/ExoPlayerImplInternal(21178): Caused by: com.google.android.exoplayer2.mediacodec.MediaCodecRenderer$DecoderInitializationException: Decoder init failed: OMX.hisi.video.decoder.avc.secure, Format(stream_4, null, null, video/avc, avc1.64001f, 3000000, null, [1280, 720, 29.97003], [-1, -1])
E/ExoPlayerImplInternal(21178): at com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.initCodecWithFallback(MediaCodecRenderer.java:753)
E/ExoPlayerImplInternal(21178): at com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.maybeInitCodec(MediaCodecRenderer.java:474)
E/ExoPlayerImplInternal(21178): ... 9 more
E/ExoPlayerImplInternal(21178): Caused by: android.media.MediaCodec$CodecException: start failed
E/ExoPlayerImplInternal(21178): at android.media.MediaCodec.native_start(Native Method)
E/ExoPlayerImplInternal(21178): at android.media.MediaCodec.start(MediaCodec.java:2075)
E/ExoPlayerImplInternal(21178): at com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.initCodec(MediaCodecRenderer.java:814)
E/ExoPlayerImplInternal(21178): at com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.initCodecWithFallback(MediaCodecRenderer.java:745)
E/ExoPlayerImplInternal(21178): ... 10 more
W/InputMethodManager(21178): startInputReason = 8
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.