VideoHelp Forum




+ Reply to Thread
Results 1 to 2 of 2
  1. Hi,

    I'm having a problem joining AVI files together using mencoder, running from a batch file.

    The bat reads (something like) as follows:
    mencoder -oac copy -ovc copy -o "output1178500.avi" "1.avi" "2.avi" "3.avi"
    ... only with around 27 files needing joined together...

    The problem I'm getting is pretty much:
    All video files must have identical fps, resolution, and codec for -ovc copy.

    The full blurb is:
    Code:
    MEncoder 1.0rc1-3.4.2 (C) 2000-2006 MPlayer Team
    CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (Family: 15, Model: 2, Stepping: 9)
    CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
    Compiled with runtime CPU detection.
    success: format: 0  data: 0x0 - 0x5ba74
    AVI file format detected.
    VIDEO:  [DIV3]  640x480  24bpp  25.000 fps  233.8 kbps (28.5 kbyte/s)
    [V] filefmt:3  fourcc:0x33564944  size:640x480  fps:25.00  ftime:=0.0400
    videocodec: framecopy (640x480 24bpp fourcc=33564944)
    audiocodec: framecopy (format=2 chans=2 rate=44100 bits=4 B/s=44359 sample-2048)
    
    Writing header...
    ODML: Aspect information not (yet?) available or unspecified, not writing vprp h
    eader.
    Writing header...
    ODML: Aspect information not (yet?) available or unspecified, not writing vprp h
    eader.
    success: format: 0  data: 0x0 - 0x1f9b6m:   0min   0mb  A-V:0.040 [233:354]
    AVI file format detected.
    AVI_NI: No video stream found.
    libavformat file format detected.
    [avi @ 00B634D4]Could not find codec parameters (Video: msmpeg4, 640x480)
    VIDEO:  [DIV3]  640x480  24bpp  1000.000 fps    0.0 kbps ( 0.0 kbyte/s)
    [V] filefmt:35  fourcc:0x33564944  size:640x480  fps:1000.00  ftime:=0.0010
    videocodec: framecopy (640x480 24bpp fourcc=33564944)
    videocodec: framecopy (640x480 24bpp fourcc=33564944)
    
    All video files must have identical fps, resolution, and codec for -ovc copy.

    Anyway! The video files I am encoding stem from a java class called Cut.java, which has cut up a series of videos that were all encoded using the same cameras at the same resolution with the same codec and same FPS.

    Can anyone offer any advice as to how to join this files together better?
    Quote Quote  
  2. Member Soopafresh's Avatar
    Join Date
    Jan 2004
    Location
    United States
    Search Comp PM
    It is probably merely complaining about variable bitrate audio, hopefully. You can download Avi_Gain, which will batch normalize your audio and re-encode it into Constant Bitrate MP3. Afterwards, try joining the normalized pieces.

    https://forum.videohelp.com/viewtopic.php?t=314909
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!