[Top][All Lists]

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

Re: [Swftools-common] New info -- Was: Problems with avi2swf

From: Amartyo Banerjee
Subject: Re: [Swftools-common] New info -- Was: Problems with avi2swf
Date: Sun, 23 Nov 2003 10:56:00 -0800 (PST)

--- Matthias Kramm <address@hidden> wrote:
> On Sun, Nov 23, 2003 at 02:17:10AM -0800, Amartyo Banerjee wrote:
> > Here is the output:
> >
> > ...
> > <CImage> : Cannot convert non-YUV image to BGR24
> > Can't handle Bpp 1, shutting down...
> One bit per pixel? Are you converting greyscale video?

I don't see how that is possible. I'm pretty sure the webcam does colour. If I 
use aviplay or
mplayer to view the avi created by ffmpeg from the webcam, it is in colour. 
Similarly, if I
convert the frames to ppm images using transcode, they are in colour.
When I turn the ppms into jpegs and use jpeg2swf, the result is in colour.

> If you are, maybe ffmpeg is able to encode it to a different
> color format, in order to make it work.
> Did you try giving ffmpeg some other encoding options with
> -vodec <vodec>? I believe -formats gives you a short list with
> some codecs which might be worth trying.

I'll try this.

> If this doesn't work I'll have to enhance avi2swf so that it's able
> to deal with grayscale images in video streams, too. *sigh* :)

If it is too much trouble, don't bother. I'll just use the workaround I have 
mentioned before (avi
-> ppm -> jpeg -> swf)

PS: Suppose I have an avi with audio in it. I convert the video portion as 
listed above, and
separate out the audio and turn it into a wav file or an mp3 file. How would I 
combine it with the
swf file so that audio and video are in sync in the final swf file ?

Do you Yahoo!?
Free Pop-Up Blocker - Get it now

reply via email to

[Prev in Thread] Current Thread [Next in Thread]