[Libav-user] possible AVFilterGraph bug: code, work around, and video triggering issue

Blake Senftner bsenftner at earthlink.net
Wed Jan 25 03:44:26 EET 2017


I apologize, I have a number of these problem videos and because the video I linked has the same “2 extra pixels per image row” issue, I thought it was also YUV. Sorry I wasted your time, Carl. 

https://www.dropbox.com/s/nzwvdoi17am62cp/DoubleLiveEnroll.wmv?dl=0

This video linked above is a 3 second WMV (WMV3) format video with yuv420p pixels and a resolution of 854x480. After conversion to RGBA each image row has an additional 2 pixels of unnecessary data.

The AVFilterGraph linked in my previous email exhibits this issue; additionally, direct use of a sws_context to convert the pixel format also causes the issue. (I did not try with a scale in image dimensions.)

-Blake Senftner


2017-01-24 2:16 GMT+01:00 Blake Senftner <bsenftner at earthlink.net>:

> I believe there may be a bug in the conversion from YUV to RGBA for some
> cases of WMV and AVI format videos.

Please correct me if I misunderstand:
You report here that you see an issue converting from yuv (which is not an
FFmpeg pix_fmt) to RGBA (which is).

[...]

> First a test video: https://www.dropbox.com/s/x1etodcsg55o0gc/M001.avi

But this video is BGRA rawvideo, how can it allow to reproduce the issue
above?

Carl Eugen





More information about the Libav-user mailing list