<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span style="font-family: 'times new roman', 'new york', times, serif;">Thank you, <span>Carl </span>!</span></div><div style="background-color: transparent;"><span style="font-family: 'times new roman', 'new york', times, serif;"><br></span></div><div style="background-color: transparent;"><span style="font-family: 'times new roman', 'new york', times, serif;">I will read the <span id="misspell-0" class="">article </span><span>and have a try, will update you later.</span></span></div><div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif;"><br></div><div class="yui_3_7_2_4_1367921404409_52" style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif;"><div class="yui_3_7_2_4_1367921404409_56" style="font-size: 12pt;"><div dir="ltr"><hr size="1"><font
size="2" face="Arial"><b><span>From:</span></b> Carl <span id="misspell-0" class="mark">Lindqvist</span> <lulebo@gmail.com><br><b>To:</b> "This list is about using libavcodec, libavformat, libavutil, libavdevice and libavfilter." <libav-user@ffmpeg.org> <br><b>Sent: </b>2013-5-6</font></div><div dir="ltr"><font size="2" face="Arial"><b>Subject: </b>Re: [Libav-user] <span id="misspell-7" class="mark">MPEG</span>-2 <span id="misspell-8" class="mark">NTSC</span> video shows horizontal lines on the red <span id="misspell-9" class="mark">color</span></font></div></div></div><div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif;"><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"><div dir="ltr"> </div> <div class="y_msg_container"><br>Here is an article describing what is probably happening in your app,<br>and will hopefully give you some idea what you
need to correct:<br><a href="http://web.archive.org/web/20060719025947/http://www.hometheaterhifi.com/volume_8_2/dvd-benchmark-special-report-chroma-bug-4-2001.html" target="_blank">http://web.archive.org/web/20060719025947/http://www.hometheaterhifi.com/volume_8_2/dvd-benchmark-special-report-chroma-bug-4-2001.html</a><br><br>2013/5/6 Carl <span id="misspell-10" class="mark">Lindqvist</span> <<a ymailto="mailto:lulebo@gmail.com" href="mailto:lulebo@gmail.com">lulebo@gmail.com</a>>:<br>> I suspect your issue is with <span id="misspell-11" class="mark">resampling</span> the 4:2:0 <span id="misspell-12" class="mark">mpeg</span> video to 4:2:2<br>> feeding the <span id="misspell-13" class="mark">decklink</span> card.<br>><br>> As 4:2:0 in interlaced is often poorly done or misunderstood, this is<br>> often an issue. And since we are pretty bad at noticing errors in<br>> <span id="misspell-14" class="mark">color</span>, it will only
be obvious in very saturated <span id="misspell-15" class="mark">colors</span>.<br>><br>> How do you handle the conversion now? Make sure you really specify<br>> that you are handling an interlaced source, since 4:2:0 is very<br>> different in interlaced vs progressive.<br>><br>> 2013/4/28 nuo yang <<a ymailto="mailto:yangnuo0408@yahoo.com.cn" href="mailto:yangnuo0408@yahoo.com.cn">yangnuo0408@yahoo.com.cn</a>>:<br>>> Hi everyone,<br>>><br>>> Recently I use ffmpeg <span id="misspell-18" class="mark">sdk</span> to develop my own player, my video source is<br>>> <span id="misspell-19" class="mark">MPEG</span>-2 <span id="misspell-20" class="mark">NTSC</span> video, and I use ffmpeg <span id="misspell-22" class="mark">sdk</span> to decode the video, then use<br>>> <span id="misspell-23" class="mark">BlackMagic</span> <span id="misspell-24" class="mark">DeckLink</span> <span id="misspell-25"
class="mark">sdk</span> to receive the video frame and display the video to<br>>> my CRT monitor through a <span id="misspell-26" class="mark">DeckLink</span> <span id="misspell-27" class="mark">PCI</span> card. Everything is okay but a little<br>>> defect, when the video contains some red <span id="misspell-28" class="mark">color</span> objects (like red clothes),<br>>> and if the red <span id="misspell-29" class="mark">color</span> objects moving fast, there are some horizontal lines on<br>>> red <span id="misspell-30" class="mark">color</span>. My video is interlaced, and I tried some methods, including<br>>> change the video field order, but I didn't make it. BTW, if I use <span id="misspell-31" class="mark">ffdshow</span> to<br>>> decode the video, it does not have the issue.<br>>><br>>> Is there someone has the same issue like me, or can someone give me some<br>>> advice? Many thanks in
advance!<br>>><br>>><br>>> - Nuo<br>>><br>>> _______________________________________________<br>>> Libav-user mailing list<br>>> <a ymailto="mailto:Libav-user@ffmpeg.org" href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br>>> <a href="http://ffmpeg.org/mailman/listinfo/libav-user" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br>>><br>_______________________________________________<br>Libav-user mailing list<br><a ymailto="mailto:Libav-user@ffmpeg.org" href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br><a href="http://ffmpeg.org/mailman/listinfo/libav-user" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br><br><br></div> </div> </div> </div></body></html>