-
Notifications
You must be signed in to change notification settings - Fork 169
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
Windows10, Resource temporarily unavailable #133
Comments
I have tested your example right now and everything works fine. May be it's a codec issue. Check what encoders your library supported and try different ones. |
Sorry I don't know how to change the codec. I follow the ReadMe and copy the all the dll files to example directory. After run video-to-image, it will report Resource temporarily unavailable. I search the issues, change Decode()=>Decode2() frame, ret = ist.CodecCtx().Decode2(pkt)
if ret < 0 {
fmt.Printf("Unexpected error - %s\n", gmf.AvError(ret))
break
}
frames, err = gmf.DefaultRescaler(swsctx, []*gmf.Frame{frame})
if err != nil {
fmt.Printf("Error scaling - %s\n", err)
break
} I tested it in Windows7, it take error. |
Well, possible issue might be the wrong destination path (in terms of Windows), default output path is |
thanks your reply. |
I now found the potential issue, see here. |
Hi,
I tested the video-to-image.go example in Windows 10,
https://github.com/flutter/plugins/blob/master/packages/video_player/video_player/example/assets/Butterfly-209.mp4
this video will report Resource temporarily unavailable error.
the tests-sample.mp4 will work ok.
The text was updated successfully, but these errors were encountered: