[MPlayer-users] can't concatenate two raw AVI files

Steve Kleene skmpl at syrano.acb.uc.edu
Sat Sep 12 23:12:06 CEST 2009

I am trying to prepend a title to a short video but can't concatenate the
two.  I ripped the main file from a DVD as follows:

  mencoder dvd://4 -nosound -ovc raw \
    -vf eq2=1.8:2.0:-0.15:1.0,crop=704:480:8:0 \
    -ss 6 -endpos 16 -o 1.avi

The title was created from many copies of a 704x480 JPG as follows:

    mencoder mf://*.jpg -mf w=704:h=480:fps=29.97:type=jpg \
      -nosound -ovc raw -o title.avi

To concatenate them, I tried this:

    mencoder -ovc copy -oac copy -o out.avi title.avi 1.avi

This failed, apparently because of differences in depth (bpp) and/or color

  1.avi:      VIDEO:  [YV12]  704x480  12bpp  29.970 fps  121529.7 kbps (14835.2 kbyte/s)
  title.avi:  VIDEO:  [444P]  704x480  24bpp  29.970 fps  243059.1 kbps (29670.3 kbyte/s)

Is there any way to change the depth or color space with either of the
commands shown that use "-ovc raw"?  (Actually, I could even live with
grayscale.)  I would rather stick with a straight stream copy (-ovc raw) for
the 1.avi video but could mess with encoding the title if necessary.


More information about the MPlayer-users mailing list