ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Setting output file name for the ROS video recorder

asked 2019-01-23 05:43:19 -0500

Drkstr gravatar image

updated 2019-01-23 05:43:55 -0500

I am using the video recorder to save a video stream to a file using ros, but I am having trouble setting the filename parameter.

This is the command I am using

rosrun image_view video_recorder filename:="test" image:=/camera/color/image_raw

These are the messages in the terminal

[ INFO] [1548243269.519044136]: Waiting for topic /camera/color/image_raw...
[ INFO] [1548243269.722238288]: Starting to record MJPG video at [640 x 480]@15fps. Press Ctrl+C to stop recording.
[ INFO] [1548243271.470604124]: Recording frame 52
 Video saved as output.avi

The video is saved successfully, but it names the file "output" instead of "test" like I specified.

How do I set the filename parameter?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-01-23 05:55:38 -0500

Hamid Didari gravatar image

try

rosrun image_view video_recorder _filename:="/home/(usr name)/test.avi" image:=/camera/color/image_raw

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2019-01-23 05:43:19 -0500

Seen: 1,926 times

Last updated: Jan 23 '19