[MPlayer-users] mjpeg and mencoder
Michael Niedermayer
michaelni at gmx.at
Thu Jan 9 02:00:23 CET 2003
Hi
On Wednesday 08 January 2003 18:35, Brad Barnett wrote:
[...]
> > > > > Cool. I'm trying to basically get as close to lossless
> > > > > compression as I can. I can't do rawrgb, it's just too large.
> > > > > However, why does something like:
> > > >
> > > > While translating the man page I've noticed that libavcodec now
> > > > supports huffyuv (lossless compressionin YUV colorspace) - perhaps
> > > > you could use that? I've used it under Windows for capturing TV and
> > > > was quite happy with it. But I don't know how good it works in this
> > > > incarnation.
> > >
> > > From my experience it's way too slow for realtime capture. I imagine
> > > the yv12->422p conversion is partly responsible... Perhaps lavc should
> > > at some point implement its own fast lossless 4:2:0 compression for
> > > live capture rather than using a bad existing format.
> >
> > -lavcopts vcodec=huffyuv:vstrict=-1
> > but only libavcodec will be able to decode it later (use -vc ffhuffyuv)
>
> The recording works, but I can't seem to play it back, even with the
> command above.
great bugreport
> Anyhow, the file looked massive ;) I think it was 200
> megs for 2 minutes, which is a bit much.
u could try to generate better huffman tables for it (just use 2pass encoding,
first pass generates the tables, 2nd one uses them, u can do this with
totally different videos for the 1st & 2nd pass too with huffyuv) it should
save a few %, and a different prediction mode might allso save a tiny bit
lower resolution will allso significantly reduce the size of huffyuv files,
but i guess thats not acceptable
[...]
Michael
More information about the MPlayer-users
mailing list