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

Problem in ffmpegcsp0 #53

Open
Crisliu7 opened this issue Dec 5, 2018 · 0 comments
Open

Problem in ffmpegcsp0 #53

Crisliu7 opened this issue Dec 5, 2018 · 0 comments

Comments

@Crisliu7
Copy link

Crisliu7 commented Dec 5, 2018

I worked with DMM 42BUC03-ML and tried to launch the camera in ROS.
Every time when I launch it, it's fine, when I put some image or objects in front of the camera, the exception will be thrown. It gives me:

** (gscam:11048): WARNING **: ffmpegcsp0: size 1212416 is not a multiple of unit size 1228800.

Here is my launch file:

<launch>

  <arg name="cam_name" value="creative_cam" />

  <env name="GSCAM_CONFIG" value="v4l2src device=/dev/video3 ! video/x-raw-gray,framerate=30/1,width=1280,height=960 ! ffmpegcolorspace " />
  <node pkg="gscam" type="gscam" name="$(arg cam_name)">
    <param name="camera_name" value="$(arg cam_name)" />
    <!-- <param name="camera_info_url" value="package://localcam/calibrations/${NAME}.yaml" /> -->
    <remap from="camera/image_raw" to="/sensors/scanner/camera/image_raw" />
  </node> 

</launch>```

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