<div dir="ltr"><div><div>Well I am not sure about that, but I think in either case it would be better to use 444 than 420. I would try it and see if you can notice any difference.<br><br><br></div>Regards,<br></div>Gabriel.<br><br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><br><a href="http://lives-video.com" target="_blank">http://lives-video.com</a><br><a href="https://www.openhub.net/accounts/salsaman" target="_blank">https://www.openhub.net/accounts/salsaman</a><br></div></div></div></div></div>
<br><div class="gmail_quote">On Mon, Feb 1, 2016 at 1:39 PM, Arthur Muller <span dir="ltr"><<a href="mailto:muller@vki.com" target="_blank">muller@vki.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div link="blue" vlink="purple" lang="EN-US"><div><p class="MsoNormal"><u></u> <u></u></p><div><div><div><p style="margin-bottom:12.0pt"><u></u><span style="font-family:Wingdings;color:#1f497d"><span>Ø<span style="font:7.0pt "Times New Roman"">  </span></span></span><u></u>Are you encoding to h264 ? You might want to use YUV444P, as it will avoid downsampling the u,v channels.<u></u><u></u></p><p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Actually, I’m optionally encoding to either h264 or mpeg4. In one case I call<u></u><u></u></span></p><p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">avformat_alloc_output_context2 (&oc,NULL,”mp4”,NULL);<u></u><u></u></span></p><p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">and in the other case I call<u></u><u></u></span></p><p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">avformat_alloc_output_context2(&oc,NULL,”h264”,NULL);<u></u><u></u></span></p><p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">I assume that these are correct calls. When I use “mp4” I can open the file with Windows Media with no problem. When I open with “h264” Windows Media does not work. But our customers have asked for this, but so far I have no way of verifying the resulting mp4 file as none of my players can play it.<u></u><u></u></span></p><p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">In fact, I have another thread where I’ve asked about how to use openh264 instead of the built-in h264. I’m waiting to hear on that.<span class="HOEnZb"><font color="#888888"><u></u><u></u></font></span></span></p><span class="HOEnZb"><font color="#888888"><p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">-Arthur<u></u><u></u></span></p></font></span></div></div></div></div></div><br>_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br>
<a href="http://ffmpeg.org/mailman/listinfo/libav-user" rel="noreferrer" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br>
<br></blockquote></div><br></div>