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.
On Tue, May 4, 2010 at 9:26 AM, Jack O'Quin <
jack.oquin@gmail.com> wrote:
> On Tue, May 4, 2010 at 11:16 AM, Radu Bogdan Rusu <rusu@willowgarage.com>
> wrote:
> >
> >
> > Jack O'Quin wrote:
> >> No, but a question for the ROS community: are there tools to convert
> >> ROS Image bags to and from AVI format?
> >
> > There's no tools right now, but it shouldn't be hard to write some. The
> former (to avi) could be done using
> > bag_to_images and then mencoder. The latter (from avi) would require you
> to write something new based on rosbag's record
> > C++ API.
>
> Thanks, Radu.
>
> We recently needed to convert some bags to AVI for one of the
> students. I believe we ended up doing a fast-and-dirty screen capture
> of some sort. Using bags_to_images and mencoder should work much
> better.
>
> If we get the chance, maybe we'll write some generally usable scripts
> for this. If someone else does it first, please let us know. :-)
> --
> joq
> _______________________________________________
> ros-users mailing list
> ros-users@code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>