Hi,
thanks to Alexandre for the fix with SWS_ACCURATE_RND flag.
The original post dated back to 2012, I use the lib of a version close to
the end of 2014, but this issue still existed, videos might show similar
artifacts when converted without scaling and the width (or height) is not
evenly divid
On Mon, Jul 16, 2012 at 10:15 AM, Alexandre Millette
wrote:
> On a somewhat related note, can the sws_scale behavior that I was seeing be
> considered a bug?
Yes. It's either a bug in your code or in sws_scale. The fact that
ffmpeg doesn't reproduce it makes me lean towards it being a bug in
your
Hi again.
TL;DR: use the SWS_ACCURATE_RND flag.
I have solve my issue (or rather found a workaround) and thought it
might help some people:
> Also I am not sure what would be the proper way to handle this
situation.
> Sure I can round the width of the frame to the nearest greater
multiple o
来信收到,谢谢!
-- 原始邮件 --
From:"Alex Cohn";
Date:2012年7月13日(星期五) 凌晨2:18
To:"This list is about using libavcodec, libavformat, libavutil,libavdevice and
libavfilter.";
Subject:Re: [Libav-user] sws_scale has weird behavior when not resizing
On Jul 12, 2012 6:30 PM, "A
> I also have encountered this "right band" issue when converting from
> YUV to RGB. However, I noticed that issue doesn't appear when your
> frame width is a multiple of 8. I assumed you mentioned HeightxWidth,
> not widthxheight and, thus frame width is 240, which is a multiple of
> 8. In that
On 07/12/2012 08:59 PM, Alexandre Millette wrote:
Upon testing with various video formats and files, I've encountered a
problem with a small MPEG4/mp4v file (190x240).
The issue is that a small green band (6 px in width) will appear on
the right side of the frames.
I also have encountered th
Thanks for replying.
> I believe your problem could be rooted in bicubic transform.
> It makes n9 sense when source and target sizes are the same.
> Try to set linear.
I tried both SWS_FAST_BILINEAR and SWS_BILINEAR (as well as a few
others) and there is no change.
From what I understand of the
On Jul 12, 2012 6:30 PM, "Alexandre Millette" wrote:
>
> Hello all.
>
> I'm working on a C++ video player using libav.
> Upon testing with various video formats and files, I've encountered a
problem with a small MPEG4/mp4v file (190x240).
> The issue is that a small green band (6 px in width) will
Alexandre Millette writes:
> Upon testing with various video formats and files, I've encountered a
> problem with a small MPEG4/mp4v file (190x240).
> The issue is that a small green band (6 px in width) will appear on the
> right side of the frames.
Can you reproduce this with ffmpeg (the com
Hello all.
I'm working on a C++ video player using libav.
Upon testing with various video formats and files, I've encountered a
problem with a small MPEG4/mp4v file (190x240).
The issue is that a small green band (6 px in width) will appear on the
right side of the frames.
This is what I've g
10 matches
Mail list logo