Convert or Merge dat and mpg (VCD) files
Have you ever seen file.avi, file.avi.001 , file.avi.002 and so on? You can play the first file but not the others. What can
you do?
I had downloaded 2 videos broken into files and I wanted to burn them to a DVD. The first video consisted of dat files that my DVD player could not recognise so I had to convert them to vcd files and merge them. This was very easy because all you have to do is use the ffmpeg and cat. First of all, install or make sure you have ffmpeg installe. Type:
sudo apt-get nstall ffmpeg
I suppose you are using a debian-based distro like Ubuntu Linux. After that type the following:
ffmpeg -i datfile.dat -target
ntsc-vcd vcdfile.mpg
When you have all the avi files ready you can type:
cat avifile1.avi avifile2.avi > totalfile.avi
For avi files you can do the same with the broken avi files like
cat file.avi file.avi.001 file.avi.002 > totalavi.avi
Finally... you can burn the files and watch them
The Academic Site of Velonis I. Petros


Comments