2

I'm really rookie in manipulating with video files and I have question.

I have one MPEG-2 file with two video streams synchronized by time (first from RGB camera and second from thermal camera). I would like to separate this streams into two files (to any format). Is it possible ? Can I use MATLAB or another software ?

Thank you.

Martej
  • 55
  • 1
  • 6
  • 1
    have you looked at `ffmpeg`? – Shai Jul 10 '14 at 15:02
  • What happens when you play the video file using a normal video player? Are the frames interleaved? If that's the case, you can load the file in MATLAB as you wish, then simply pick out the odd and even frames. – rayryeng Jul 10 '14 at 15:28
  • @Shai Not yet deeply, but on first view it has many parameters. Thanks for idea. – Martej Jul 10 '14 at 18:14
  • @rayryeng If I play file in VLC player, he opens two separate windows, where the 'main' window is with RGB video. I can control playback of both windows together from main window. – Martej Jul 10 '14 at 18:16

1 Answers1

1

ffmpeg will do the job ! It might look like a kludge because it has indeed a lot of options but it is very powerful for video stream manipulation.

Have a look here.

Community
  • 1
  • 1
n0p
  • 3,399
  • 2
  • 29
  • 50