[FFmpeg-devel] a64 encoder
Wed Jan 21 14:43:28 CET 2009
On Wed, Jan 21, 2009 at 11:36:16AM +0100, Bitbreaker/METALVOTZE wrote:
> > It looks like this encoder really need GRAY8 input, so I think it is
> > better to let ffmpeg do the conversion.
> I did so, but it turned out that when compiling with libswscale the
> GRAY8 input i get is not stretched over the whole 8 bit, thus i get the
> usual valuerange of 16..235 for luma. Whereas when i forgo on libswscale
> i get luma stretched over the whole 8 bit range of 0..255. Would be nice
> if i get the same data with both methods (no matter if stretched or
> not), but how to achieve that?
what swscale does should be controlled by handle_jpeg(), should be trivial
to change to make it return full range gray.
Though i dont know which way is more correct or if we maybe should add
another grayscale pixfmt.
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Republics decline into democracies and democracies degenerate into
despotisms. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
More information about the ffmpeg-devel