Can't connect SmartDashboard to Camera

Hello all,
We’re having trouble connecting our SmartDashboard to our camera. We’re using the WPICameraExtension and we’re getting the following error:

Stream #0.0: Video: mjpeg, yuvj420p, 320x240, 25 fps, 25 tbr, 1200k tbn, 25 tbc

[swscaler @ 0473CE60] No accelerated colorspace conversion found from yuv420p to bgr24.

[mjpeg @ 04787920] max_analyze_duration reached

[mjpeg @ 04787920] Estimating duration from bitrate, this may be inaccurate

Input #0, mjpeg, from ‘’:

Duration: N/A, bitrate: N/A

We have our camera setup for Anonymous viewing, and the weird thing is that if we wait long enough, it will sometimes connect. We have scoured ChiefDelphi and we have tried nearly everything.

We believe that the problem is with our copy of ffmpeg. Any suggestions? We can’t display the raw image on the SmartDashboard but we can see it fine from the Axis Camera browser tool. Any help would be great, thank you!

We have the same problem. It appears to be that ffmpeg was compiled without x264 support (which contains the yuv420p to bgr24 conversion), or for some reason isn’t loading it.

This confuses me, as others are able to use the camera with the SmartDashboard.

Replacing ffmpeg usually requires a recompile of dependent programs (usually not binary compatible), which in this case means OpenCV. I’d feel comfortable doing this on a real operating system, but am unsure of what I need to do on Windows.

I have verified that is a valid video stream, and that it is ffmpeg/OpenCV that is having problems reading it.

We are using the 2012 image for the E09 netbook.

When logged in as Developer, we are sometimes able to fix this by opening a command prompt and running

cd \MinGW\bin

Why this works, and why it only works sometimes; I have no idea, but it’s a step.

Has anyone found a solution to this problem, yet?

We would really like to be able to do our image tracking via SmartDashboard and send commands to the robot, but it seems to randomly work very rarely.

Has anyone opted for another dashboard system in place of SmartDashboard?