On Thursday 28 October 2004 23:00, Dik Takken wrote:
> In order to combine all of this into one MPEG2 stream, I start with
> converting all three components to MJPEG files. All three MJPEG files need
> to have the same resolution, interlacing and so on, or else lavtrans won't
> be able to merge them into a single MJPEG file.

A better strategy, albeit more space consuming, would be to convert them into 
YUV4MPEG2 (if it still is called that nowadays; the raw YUV files produced by 
lav2yuv) instead. If you have more CPU than disk, you could 
convert-stream-and-feed-the-encoder via pipes instead. The YUV4MPEG2 header 
is not that hard to filter away in such a setup. This would give you better 
source material to work with, as it hasn't been MJPEG compressed.

The YUV file is very simple and straightforward; with some scripting, you 
could even create it with a tool like convert from ImageMagick.

> The most important question would probably be: Can I expect the resulting
> video to look good on a TV screen? I can't try this at home because I
> don't own a DVD burner myself, so I ask what you expect based on your
> experience. I am a bit worried about this, because I lied to the ppmtoy4m
> program about the ppm image being interlaced, while it's not. The top and
> bottom fields of the image are very different, especially when the image
> contains lots of thin horizontal lines. Could this mean that the TV image
> starts flickering at 50 fps?

Yes. At least antialias it a bit, or rethink the graphics. Make sure no lines 
are one pixel high, and make sure that any two-pixel lines occupy 
approximately the same place in the viewed image. Otherwise you will get 
those "bad weather map effects" the news programs has learned to avoid.

/Sam



-------------------------------------------------------
This Newsletter Sponsored by: Macrovision
For reliable Linux application installations, use the industry's leading
setup authoring tool, InstallShield X. Learn more and evaluate
today. http://clk.atdmt.com/MSI/go/ins0030000001msi/direct/01/
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to