Ask Your Question
0

Setting output file name for the ROS video recorder

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

Drkstr gravatar image

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

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 -0600

hamid 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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

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

Seen: 348 times

Last updated: Jan 23