[Libav-user] MPEG-2 NTSC video shows horizontal lines on the red color

Carl Lindqvist lulebo at gmail.com
Mon May 6 16:12:28 CEST 2013

Here is an article describing what is probably happening in your app,
and will hopefully give you some idea what you need to correct:

2013/5/6 Carl Lindqvist <lulebo at gmail.com>:
> I suspect your issue is with resampling the 4:2:0 mpeg video to 4:2:2
> feeding the decklink card.
> As 4:2:0 in interlaced is often poorly done or misunderstood, this is
> often an issue. And since we are pretty bad at noticing errors in
> color, it will only be obvious in very saturated colors.
> How do you handle the conversion now? Make sure you really specify
> that you are handling an interlaced source, since 4:2:0 is very
> different in interlaced vs progressive.
> 2013/4/28 nuo yang <yangnuo0408 at yahoo.com.cn>:
>> Hi everyone,
>> Recently I use ffmpeg sdk to develop my own player, my video source is
>> MPEG-2 NTSC video, and I use ffmpeg sdk to decode the video, then use
>> BlackMagic DeckLink sdk to receive the video frame and display the video to
>> my CRT monitor through a DeckLink PCI card. Everything is okay but a little
>> defect, when the video contains some red color objects (like red clothes),
>> and if the red color objects moving fast, there are some horizontal lines on
>> red color. My video is interlaced, and I tried some methods, including
>> change the video field order, but I didn't make it. BTW, if I use ffdshow to
>> decode the video, it does not have the issue.
>> Is there someone has the same issue like me, or can someone give me some
>> advice? Many thanks in advance!
>> - Nuo
>> _______________________________________________
>> Libav-user mailing list
>> Libav-user at ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/libav-user

More information about the Libav-user mailing list