I frequently convert bags to AVIs using bag_to_images and mencoder. It's quick and easy and lets you control the quality and size of the final video.<br><br><div class="gmail_quote">On Tue, May 4, 2010 at 9:26 AM, Jack O'Quin <span dir="ltr"><<a href="mailto:jack.oquin@gmail.com">jack.oquin@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On Tue, May 4, 2010 at 11:16 AM, Radu Bogdan Rusu <<a href="mailto:rusu@willowgarage.com">rusu@willowgarage.com</a>> wrote:<br>
><br>
><br>
> Jack O'Quin wrote:<br>
>> No, but a question for the ROS community: are there tools to convert<br>
>> ROS Image bags to and from AVI format?<br>
><br>
> There's no tools right now, but it shouldn't be hard to write some. The former (to avi) could be done using<br>
> bag_to_images and then mencoder. The latter (from avi) would require you to write something new based on rosbag's record<br>
> C++ API.<br>
<br>
</div>Thanks, Radu.<br>
<br>
We recently needed to convert some bags to AVI for one of the<br>
students. I believe we ended up doing a fast-and-dirty screen capture<br>
of some sort. Using bags_to_images and mencoder should work much<br>
better.<br>
<br>
If we get the chance, maybe we'll write some generally usable scripts<br>
for this. If someone else does it first, please let us know. :-)<br>
--<br>
<font color="#888888"> joq<br>
</font><div><div></div><div class="h5">_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
</div></div></blockquote></div><br>