[FFmpeg-devel] PNG output horrible...

Peter Tap ptrtap at yahoo.com
Mon Sep 10 22:23:03 CEST 2012

Hi Pb,

Thank you for your help.

I just replied to Tomas' message. The attachments contain the original png and the new png files. Please take a look at that reply.


----- Original Message -----
From: Peter B. <pb at das-werkstatt.com>
To: ffmpeg-devel at ffmpeg.org
Sent: Monday, September 10, 2012 12:46 AM
Subject: Re: [FFmpeg-devel] PNG output horrible...

Quoting Peter Tap <ptrtap at yahoo.com>:

> ok. I did some more experiment. Looks like the problem is not necessarily with the png encoder. I tried to write raw frame data as .ppm file (without the need for any encoder). However, even this image has quality issues.
> Could it be the problem with sws_getContext/sws_scale? Perhaps I am not setting some parameter correctly.

I didn't see any link to any PNG you've generated, but just in case, here's a short description of a YUV422-to-RGB "quality issue" I've been having a while ago:


Anyway, it would be great if you could post example images somewhere...


ffmpeg-devel mailing list
ffmpeg-devel at ffmpeg.org

More information about the ffmpeg-devel mailing list