mediapipe icon indicating copy to clipboard operation
mediapipe copied to clipboard

"Fail to read any frames from the video file"

Open yanxky opened this issue 3 years ago • 2 comments

I have read the question https://github.com/google/mediapipe/issues/2626 and I found that I‘m faced with the same situation with Victoria-1, but it seems that there isn't a solution in https://github.com/google/mediapipe/issues/2626 . I can run the program with the input from my camera or single images, but when I run it with a video, it just return "[ WARN:0] Failed to set mediaType (stream 0, (0x0 @ 1) MFVideoFormat_RGB32(unsupported media type) E20220322 14:06:07.629348 22252 simple_run_graph_main.cc:149] Failed to run the graph: CalculatorGraph::Run() failed in Run: Calculator::Open() for node "OpenCvVideoDecoderCalculator" failed: ; Fail to read any frames from the video file at video/input.mp4".

yanxky avatar Mar 22 '22 06:03 yanxky

Environment: win10+opencv3.4.10+vs2019 I also run iris_depth_from_image_desktop successfully and get the output, and the input video and input images are from the same phone. As to using single image, I found that it is related to whether the image contains exif info or not. Does video have more requirements? I have tried to record videos with my computer, several phones and one professional camera, but all of these videos get the same result: "Fail to read any frames from the video file at video/input.mp4".

yanxky avatar Mar 22 '22 06:03 yanxky

Experiencing same issue on a windows machine with AutoFlip

peternaf avatar Apr 13 '22 07:04 peternaf

any luck perter?

Kelach avatar Dec 18 '22 04:12 Kelach

Unfortunately no

peternaf avatar Dec 18 '22 17:12 peternaf

Hello @yanxky, We are upgrading the MediaPipe Legacy Solutions to new MediaPipe solutions However, the libraries, documentation, and source code for all the MediapPipe Legacy Solutions will continue to be available in our GitHub repository and through library distribution services, such as Maven and NPM.

You can continue to use those legacy solutions in your applications if you choose. Though, we would request you to check new MediaPipe solutions which can help you more easily build and customize ML solutions for your applications. These new solutions will provide a superset of capabilities available in the legacy solutions. Thank you

kuaashish avatar May 04 '23 09:05 kuaashish

This issue has been marked stale because it has no recent activity since 7 days. It will be closed if no further activity occurs. Thank you.

github-actions[bot] avatar May 12 '23 01:05 github-actions[bot]

This issue was closed due to lack of activity after being marked stale for past 7 days.

github-actions[bot] avatar May 19 '23 01:05 github-actions[bot]

Are you satisfied with the resolution of your issue? Yes No

google-ml-butler[bot] avatar May 19 '23 01:05 google-ml-butler[bot]