On 1/8/2012 4:28 PM, Ronald S. Bultje wrote:
Hi,
On Sun, Jan 8, 2012 at 4:25 PM, Mike Melanson<[email protected]> wrote:
On 1/8/2012 4:03 PM, Ronald S. Bultje wrote:
For PPC, the pixfmt conversion may hurt. Can you test whether these
are off-by-one errors introduced by swscale (I can fix that)?
When I decode the files to a series of PNG or BMP files and inspect them,
they look fine. Is there a quick way to output BMP files from x86_32 and PPC
and then compare them for off-by-1?
-vcodec rawvideo -f rawvideo, and then compare the x86/ppc output
files using hexdiff (or tiny_psnr, look at MAXDIFF).
Testing with (make sure this looks right):
avconv -i kgv1.avi -an -f framecrc -pix_fmt rgb555le -vcodec rawvideo -f
rawvideo x86.raw
avconv -i kgv1.avi -an -f framecrc -pix_fmt rgb555le -vcodec rawvideo -f
rawvideo ppc.raw
tiny_psnr x86.raw ppc.raw:
stddev: 22.26 PSNR: 21.18 MAXDIFF: 234 bytes:192307200/192307200
Note that if I don't specify '-pix_fmt rgb555le', MAXDIFF is 255.
--
-Mike Melanson
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel