<html><head></head><body><div style="color:#000; background-color:#fff; font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px"><div id="yui_3_16_0_ym19_1_1495186642485_13010"><br>Carl, I think you have given me something to go on.</div><div id="yui_3_16_0_ym19_1_1495186642485_13010"><br></div><div id="yui_3_16_0_ym19_1_1495186642485_13010">I tried both:<br>ffmpeg -i file.mxf -vcodec libx264 -b:v 1200k ./output.ts</div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1495186642485_13043" dir="ltr">ffmpeg -i file.mxf -vcodec mpeg2ideo -b:v 1200k ./output.ts</div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1495186642485_13043" dir="ltr"><br></div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1495186642485_13043" dir="ltr"><br></div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1495186642485_13043" dir="ltr">...and the transcoded clip was fine. I didn't need to lower the default quantizer. I'll try write a sample application to try uncover my problem.<br></div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1495186642485_13043" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1495186642485_14047"><br></div><div id="yui_3_16_0_ym19_1_1495186642485_14046">Gavin.</div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1495186642485_13043" dir="ltr"><br></div><div class="yahoo_quoted" id="yui_3_16_0_ym19_1_1495186642485_13018" style="display: block;"> <div style="font-family: Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 13px;" id="yui_3_16_0_ym19_1_1495186642485_13017"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif; font-size: 16px;" id="yui_3_16_0_ym19_1_1495186642485_13016"> <div dir="ltr" id="yui_3_16_0_ym19_1_1495186642485_13041"> <font size="2" face="Arial" id="yui_3_16_0_ym19_1_1495186642485_13042"> <hr size="1" id="yui_3_16_0_ym19_1_1495186642485_13044"> <b><span style="font-weight:bold;">From:</span></b> Gavin Smith <gcs584-at-yahoo.com@ffmpeg.org><br> <b><span style="font-weight: bold;">To:</span></b> "This list is about using libavcodec, libavformat, libavutil, libavdevice and libavfilter." <libav-user@ffmpeg.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Friday, 19 May 2017, 9:33<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [Libav-user] DV50 to M2V Artefacts (Color Ranges)<br> </font> </div> <div class="y_msg_container" id="yui_3_16_0_ym19_1_1495186642485_13015"><br><div id="yiv0995222783"><div id="yui_3_16_0_ym19_1_1495186642485_13020"><div style="color:#000;background-color:#fff;font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px;" id="yui_3_16_0_ym19_1_1495186642485_13019"><div id="yiv0995222783yui_3_16_0_ym19_1_1495181759410_7307"><span>Hi Carl,</span></div><div id="yiv0995222783yui_3_16_0_ym19_1_1495181759410_7307"><span><br clear="none"></span></div><div id="yiv0995222783yui_3_16_0_ym19_1_1495181759410_7307"><span id="yiv0995222783yui_3_16_0_ym19_1_1495181759410_7462">Thanks for your assistance! Just to ensure we are on the same page, I had (naively?) assumed that everyone in this mailing list was using the libav* filters via the C API. Apologies if that is not the case.</span></div><div id="yiv0995222783yui_3_16_0_ym19_1_1495181759410_7307"><span><br clear="none"></span></div><div id="yiv0995222783yui_3_16_0_ym19_1_1495181759410_7307"><span id="yiv0995222783yui_3_16_0_ym19_1_1495181759410_8150">Nonetheless, do you suggest I attempt to reproduce the problem using the command line?</span></div><div id="yiv0995222783yui_3_16_0_ym19_1_1495181759410_7307"><span><br clear="none"></span></div><div id="yiv0995222783yui_3_16_0_ym19_1_1495181759410_7307"><span><br clear="none"></span></div><div id="yiv0995222783yui_3_16_0_ym19_1_1495181759410_7307"><span>Best Regards,</span></div><div id="yiv0995222783yui_3_16_0_ym19_1_1495181759410_7307"><span><br clear="none"></span></div><div id="yiv0995222783yui_3_16_0_ym19_1_1495181759410_7307"><span>Gavin.</span></div><div class="yiv0995222783qtdSeparateBR" id="yiv0995222783yui_3_16_0_ym19_1_1495181759410_7333"><br clear="none"><br clear="none"></div><div class="yiv0995222783yqt5068347889" id="yiv0995222783yqt93173"><div class="yiv0995222783yahoo_quoted" id="yiv0995222783yui_3_16_0_ym19_1_1495181759410_7349" style="display:block;"> <div id="yiv0995222783yui_3_16_0_ym19_1_1495181759410_7348" style="font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px;"> <div id="yiv0995222783yui_3_16_0_ym19_1_1495181759410_7347" style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;font-size:16px;"> <div dir="ltr" id="yiv0995222783yui_3_16_0_ym19_1_1495181759410_7346"> <font id="yiv0995222783yui_3_16_0_ym19_1_1495181759410_7345" size="2" face="Arial"> </font><hr id="yiv0995222783yui_3_16_0_ym19_1_1495181759410_7344" size="1"> <b><span style="font-weight:bold;">From:</span></b> Carl Eugen Hoyos <ceffmpeg@gmail.com><br clear="none"> <b><span style="font-weight:bold;">To:</span></b> "This list is about using libavcodec, libavformat, libavutil, libavdevice and libavfilter." <libav-user@ffmpeg.org> <br clear="none"> <b><span style="font-weight:bold;">Sent:</span></b> Friday, 19 May 2017, 0:42<br clear="none"> <b><span style="font-weight:bold;">Subject:</span></b> Re: [Libav-user] DV50 to M2V Artefacts (Color Ranges)<br clear="none"> </div> <div class="yiv0995222783y_msg_container" id="yiv0995222783yui_3_16_0_ym19_1_1495181759410_7350"><br clear="none"><div dir="ltr" id="yiv0995222783yui_3_16_0_ym19_1_1495181759410_7351">2017-05-18 22:45 GMT+02:00 Gavin Smith <<a rel="nofollow" shape="rect" id="yiv0995222783yui_3_16_0_ym19_1_1495181759410_7363" ymailto="mailto:gcs584-at-yahoo.com@ffmpeg.org" target="_blank" href="mailto:gcs584-at-yahoo.com@ffmpeg.org">gcs584-at-yahoo.com@ffmpeg.org</a>>:<br clear="none"><br clear="none">> I am decoding the first frame of a DV video (PAL) and then encoding it<br clear="none">> repeatedly back again into M2V wrapped in MpegTS (ignoring audio).<br clear="none">> I notice that the encoded frame has some interesting artefacts which I<br clear="none">> had originally put down to difference in color primaries, but I'm not so<br clear="none">> sure anymore.<br clear="none">><br clear="none">> The original clip is available online:<br clear="none">> <a rel="nofollow" shape="rect" id="yiv0995222783yui_3_16_0_ym19_1_1495181759410_7636" target="_blank" href="http://www.gvgdevelopers.com/K2DevGuide/Clips2/PAL_SD_DV50_colorbar.mxf">http://www.gvgdevelopers.com/K2DevGuide/Clips2/PAL_SD_DV50_colorbar.mxf</a><br clear="none"><br clear="none">Sample is (very!) useful, please also provide the command line<br clear="none">that allows you to reproduce the issue together with the<br clear="none">complete, uncut console output.<br clear="none"><br clear="none">If the issue is reproducible without using network (ie with an<br clear="none">output file), please use files instead of a network as this will<br clear="none">make reproduce the issue infinitely simpler,<br clear="none"><br clear="none">And please simplify the command line as much as possible<br clear="none">(but with setting a small quantizer).<br clear="none"><br clear="none">Carl Eugen<div class="yiv0995222783yqt5196361492" id="yiv0995222783yqtfd53441"><br clear="none">_______________________________________________<br clear="none">Libav-user mailing list<br clear="none"><a rel="nofollow" shape="rect" id="yiv0995222783yui_3_16_0_ym19_1_1495181759410_7529" ymailto="mailto:Libav-user@ffmpeg.org" target="_blank" href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br clear="none"><a rel="nofollow" shape="rect" id="yiv0995222783yui_3_16_0_ym19_1_1495181759410_7478" target="_blank" href="http://ffmpeg.org/mailman/listinfo/libav-user">http://ffmpeg.org/mailman/listinfo/libav-user</a><br clear="none"></div></div><br clear="none"><br clear="none"></div> </div> </div> </div></div></div></div></div><div class="yqt5068347889" id="yqt59152">_______________________________________________<br clear="none">Libav-user mailing list<br clear="none"><a shape="rect" ymailto="mailto:Libav-user@ffmpeg.org" href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br clear="none"><a shape="rect" href="http://ffmpeg.org/mailman/listinfo/libav-user" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br clear="none"></div><br><br></div> </div> </div> </div></div></body></html>