You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
val imageLoader = ImageLoader.Builder(view.context)
.components {
add(VideoFrameDecoder.Factory())
}
.build()
// the example url: https://www.learningcontainer.com/wp-content/uploads/2020/05/sample-mp4-file.mp4
view.load(url,imageLoader) {
decoderFactory { result, options, _ -> VideoFrameDecoder(result.source, options) }
videoFrameMillis(1000)
}
the view shows white background, but haven't shown the video frame.
Also, I found that the log error shows that getFrameAtTime: videoFrame is a NULL pointer
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
the view shows white background, but haven't shown the video frame.
Also, I found that the log error shows that getFrameAtTime: videoFrame is a NULL pointer
Is the code anything wrong?
Beta Was this translation helpful? Give feedback.
All reactions