On 1/10/12, Ronald S. Bultje <[email protected]> wrote:
> Hi,
>
> On Sun, Jan 8, 2012 at 5:34 PM, Ronald S. Bultje <[email protected]> wrote:
>> On Sun, Jan 8, 2012 at 4:52 PM, Mike Melanson <[email protected]> wrote:
>>> On 1/8/2012 4:46 PM, Ronald S. Bultje wrote:
>>>>
>>>> I'm afraid we'll have to convert the output files to rgb24 before
>>>> using tiny_psnr.
>>>
>>>
>>> That doesn't frighten me at all-- this was my typical M.O. in the
>>> original
>>> FATE system when dealing with 16-bit RGB formats. But it doesn't work in
>>> this case.
>>>
>>> (BTW, removed the superfluous '-f framecrc' option):
>>>
>>> avconv -i kgv1.avi -an -vcodec rawvideo -pix_fmt rgb24 -f rawvideo -y
>>> x86.raw
>>>
>>> avconv -i kgv1.avi -an -vcodec rawvideo -pix_fmt rgb24 -f rawvideo -y
>>> ppc.raw
>>>
>>> $ tiny_psnr ppc.raw x86.raw
>>> stddev:   14.00 PSNR: 25.20 MAXDIFF:  248 bytes:288460800/288460800
>>
>> That can't be right, PSNR = 25 means major artifacts. I don't really
>> have any ideas what's going on here. Maybe -sws_flags +bitexact will
>> do something?
>
> Compare:
> ./avplay -vf format=rgb555be  ~/Movies/fate-suite/kega/kgv1.avi
> ./avplay -vf format=rgb24  ~/Movies/fate-suite/kega/kgv1.avi
> ./avplay -vf format=rgb555be,format=rgb24  ~/Movies/fate-suite/kega/kgv1.avi
>
> Looks to me like rgb555be-to-rgb24 conversion is broken.

Also this: format=rgb555le,format=bgr555be
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to