[ros-users] cvCreateVideoWriter always fails in ROS

Top Pagina
Bijlagen:
Bericht als e-mail
+ (text/plain)
Delete this message
Reply to this message
Auteur: brentus
Datum:  
Aan: ros-users
Onderwerp: [ros-users] cvCreateVideoWriter always fails in ROS

Hi,

When I try to create a video writing object, the function always returns 0,
meaning it failed. My call looks like this:

CvVideoWriter* writer = cvCreateVideoWriter("/homes/brentus/video/test.avi",
CV_FOURCC('M', 'J', 'P', 'G'), 30, cvSize(640, 480), 1);

When just using OpenCV with a standalone c++ program, this call works fine.
But using ROS, it does not. However, all the other ROS functions I have
tried do work in ROS. This is the only one that has not worked for me.

This is all in Ubuntu 10.04 64 bit. Does anyone know how to make
cvCreateVideoWriter work?

Thanks!
--
View this message in context: http://ros-users.122217.n3.nabble.com/cvCreateVideoWriter-always-fails-in-ROS-tp1401805p1401805.html
Sent from the ROS-Users mailing list archive at Nabble.com.