View Single Post
  #1   Spotlight this post!  
Unread 26-01-2013, 14:51
jarruda jarruda is offline
Software Engineer
AKA: Justin Arruda
FRC #1350 (Rambots)
Team Role: Mentor
 
Join Date: Apr 2012
Rookie Year: 2004
Location: United States
Posts: 16
jarruda is an unknown quantity at this point
SmartDashboard can't connect to Axis Camera

My team has been trying unsuccessfully for the last two years to get the Axis camera to work with the WPICamera extension in SmartDashboard.

I started the dashboard from the command line in order to see error output, and I have been consistently seeing this error for some unknown reason:

Code:
edu.wpi.first.wpijavacv.WPICamera$BadConnectionException
        at edu.wpi.first.wpijavacv.WPICamera.getNewImage(WPICamera.java:128)
        at edu.wpi.first.smartdashboard.camera.WPICameraExtension$BGThread.run(WPICameraExtension.java:68
[mjpeg @ 04BE2D70] max_analyze_duration reached
[mjpeg @ 04BE2D70] Estimating duration from bitrate, this may be inaccurate
Input #0, mjpeg, from 'http://10.13.50.11/mjpg/video.mjpg':
  Duration: N/A, bitrate: N/A
    Stream #0.0: Video: mjpeg, yuvj420p, 320x240 [PAR 1:1 DAR 4:3], 25 fps, 25 tbr, 1200k tbn, 25 tbc
[swscaler @ 0A16C470] No accelerated colorspace conversion found from yuv420p to bgr24.
This repeats over and over. It clearly gets a valid stream from the referenced link, as that resolution is correct. I'm hoping that Brad Miller or someone familiar with the source might be able to lend some insight here.

Time is running short to actually start testing algorithms and our shooting platform, so a fast response would be very much appreciated.
Reply With Quote