[MPlayer-users] Problem encoding multiple files

Sycotic Smith sycotic at linuxmail.org
Thu Oct 10 22:22:02 CEST 2002


> Here is what I'm getting:
> 
> mencoder \*.jpg -mf on:w=352:h=288:fps=1 -ovc copy -o testing.avi -vop scale=352:288
[snip]
> [V] filefmt:16  fourcc:0x47504A49  size:352x288  fps: 1.00  ftime:=1.0000
> videocodec: framecopy (352x288 24bpp fourcc=47504a49)
-ovc copy is used for copying a STREAM, which the jpgs haven't been turned into yet.

Try this one:
mencoder \*.jpg -mf on:w=352:h=288:fps=1 -ovc lavc -lavcopts vcodec=mjpeg -vop scale=352:288 -o testing.avi

> Writing AVI header...
> Pos:  36.0s     36f ( 0%)   0fps Trem:   0min   0mb  A-V:0.000 [196:0]
> Writing AVI index...
> Fixup AVI header...
> testing.avi: error writing file.
> Exiting...
> ---
> 
> It says error writing file, but writes an 800k .avi anyway, which doesn't
> play. I have tried libavcodec as well as uncompressed (copy), and I always
> get the same error. I have tried using jpgtopnm->pnmtopng with the source
> files, but I understand that encoding movies from PNG is sticky to begin
> with because of the colorspace. Anyway, I stuck -vop scale= on the end after
> reading the thread on a segfault with multiple jpegs, but I never have a
> segfault problem. I'm sure this isn't a bug, I'm just not doing something
> right, but I've exhausted my resources, tried every example in the docs and
> read every archived post here, what is the matter!?
> 
> Thanks a lot!
> 
> -Aaron

/S. Smith
-- 
Get your free email from www.linuxmail.org 


Powered by Outblaze




More information about the MPlayer-users mailing list