[MPlayer-users] About files generated by a videocamera

Rich Felker dalias at aerifal.cx
Thu Sep 15 00:16:37 CEST 2005

On Wed, Sep 14, 2005 at 06:34:45PM +0200, Fabio S. wrote:
> >>cat 1.avi 2.avi 3.avi > a.avi
> >>mencoder -oac copy -ovc copy -forceidx -o b.avi a.avi
> >
> >This is NOT suggested by the documentation. It was documented in OLD
> >versions of mplayer as a VERY BAD HACK that would _sometimes_ work,
> >and it's long since been removed (if I'm wrong and it's still in the
> >docs somewhere, please tell us so we can remove it).
> It is still the faq, section 4.8:
> http://mplayerhq.hu/DOCS/HTML/en/faq.html#id2889353

I just loaded that, and it says:

   Q: How can I join two video files?
   A: MPEG files can be concatenated into a single file with luck. For
      AVI files, you can use MEncoder's multiple file support like this:

      mencoder -ovc copy -oac copy -o out.avi file1.avi file2.avi

I don't see any mention of "cat" except for the comment that it works
(with luck ;) for mpeg files.

> >Simply encode all the files at once with mencoder:
> >
> >mencoder -oac copy -ovc lavc -lavcopts 
> >vcodec=mpeg4:vbitrate=3000:vpass=1:mbd=2:trell:v4mv -ffourcc DIVX 
> >file1.mp4 file2.mp4 file3.mp4 ...
> Oh, well, this is much simpler! I will try it.

OK. And remember. For mplayer/mencoder, order of options matters.
Options before any filenames are global; options after a filename
apply to that particular file only. So the filenames should probably
all be at the end like I wrote them unless you want special filtering

> Any hint about how to extract the registration date from the file?

Hm? Not sure what you mean.


More information about the MPlayer-users mailing list