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

getFrameAtTime: videoFrame is a NULL Pointer #848

Open
tallmanBS opened this issue Feb 10, 2022 · 0 comments
Open

getFrameAtTime: videoFrame is a NULL Pointer #848

tallmanBS opened this issue Feb 10, 2022 · 0 comments

Comments

@tallmanBS
Copy link

tallmanBS commented Feb 10, 2022

I'm using in forms with

var mediaItem = await CrossMediaManager.Current.Extractor.CreateMediaItem(inURL); 
var image = await CrossMediaManager.Current.Extractor.GetVideoFrame(mediaItem, TimeSpan.FromSeconds(0));

and getting in the Device log

Time	Device Name	Type	PID	Tag	Message
02-09 17:17:45.848	pixel_5_-_api_30	Error	4044	MediaMetadataRetrieverJNI	getFrameAtTime: videoFrame is a NULL pointer
02-09 17:17:45.848	pixel_5_-_api_30	Error	437	MetadataRetrieverClient	failed to capture a video frame

and image comes back null. Some videos work and I get an image, and some I get this null. IN all cases the videos actually play, it just doesn't get a frame. I've tried different timespans, and not sure what else to do.

Any help appreciated! Thanks for this tool!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant