Skip to content

Instantly share code, notes, and snippets.

View tackgeun's full-sized avatar

Tackgeun You tackgeun

View GitHub Profile
@tackgeun
tackgeun / bag2video.py
Created October 14, 2025 07:45 — forked from munzz11/bag2video.py
Simple ROS .bag to .mp4 conversion
import rosbag
import cv2
from cv_bridge import CvBridge
import argparse
import glob
def create_video(bag_file, image_topic, output_video):
bridge = CvBridge()
bag = rosbag.Bag(bag_file, 'r')