[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mecoder deal with two files



Thank you for reply. 

here is what i do 

mencoder -ss 5:00 -endpos 2:00 source.avi  -oac  copy  -ovc copy -o 1.avi
mencoder -ss 10:00 -endpos 2:00 source.avi  -oac  copy  -ovc copy -o 2.avi 

cat 1.avi 2.avi| mencoder -ovc copy -oac copy -o 0.avi -noidx -
mencoder -o ok.avi -ovc copy  -oac copy 0.avi

still, I can not get the merged file 
here is waht I got

-rw-r--r--  1 tar users  44M May 13 16:53 0.avi
-rwxr-xr-x  1 tar users  44M May 13 16:37 1.avi
-rwxr-xr-x  1 tar users  38M May 13 16:37 2.avi
-rw-r--r--  1 tar users  44M May 13 16:47 ok.avi


apperantly, the output file 0.avi and ok.avi is the same as file 1.avi 

Can anybody tell why and what I can do.

Thank you all 


On Thu, May 12, 2005 at 06:09:18PM +0200, Sven Arvidsson wrote:
> MEncoder used to have an example for this in the documentation, but it
> seems to be gone now, anyway, I found an old copy:
> 
>       As a side-effect, the broken AVI fixer function enables MEncoder to
>       append 2 (or more) AVI files:
> 
>       Command: cat 1.avi 2.avi | mencoder -noidx -ovc copy -oac copy -o
>       output.avi -
> 
>       Note: This expects 1.avi and 2.avi to use the same codecs, resolution,
>       stream rate etc, and at least 1.avi must not be broken. You may need
>       to fix your input AVI files first, as described above.
> 
> http://web.njit.edu/all_topics/Prog_Lang_Docs/html/mplayer/encoding.html
> 
> -- 
> Cheers,
> Sven Arvidsson
> http://www.whiz.se
> PGP Key ID 760BDD22



-- 
Today is National Existential Ennui Awareness Day.



Reply to: