Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to generate a thumbnail? #1670

Closed
Kisty opened this issue Jul 11, 2016 · 1 comment
Closed

How to generate a thumbnail? #1670

Kisty opened this issue Jul 11, 2016 · 1 comment
Labels

Comments

@Kisty
Copy link

Kisty commented Jul 11, 2016

ExoPlayer: 1.5.9

Am trying to make a video thumbnail from Android framewoork's ThumbnailUtils.createVideoThumbnail() but it doesn't support mp4v-es2 format. Am using ExoPlayer to show the video so is there an API to generate one? If not how would I go about doing it? I'd like to show multiple clips and I did notice the multiple ExoPlayer instances limitation (4 currently). Could I use one ExoPlayer instance to render all the clip thumbnails?

Thanks!

@andrewlewis
Copy link
Collaborator

For capturing the current frame, see #418.

You can reuse the player by calling stop, seekTo and prepare, passing renderers reading the new source. Note that there are some caveats to using more than one platform video decoder at a time; see #1286.

@google google locked and limited conversation to collaborators Jun 28, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants