[Libav-user] Help with sws_scale

salsaman salsaman at gmail.com
Mon Feb 1 17:44:44 CET 2016

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



On Mon, Feb 1, 2016 at 1:39 PM, Arthur Muller <muller at vki.com> wrote:

> Ø  Are you encoding to h264 ? You might want to use YUV444P, as it will
> avoid downsampling the u,v channels.
> Actually, I’m optionally encoding to either h264 or mpeg4. In one case I
> call
> avformat_alloc_output_context2 (&oc,NULL,”mp4”,NULL);
> and in the other case I call
> avformat_alloc_output_context2(&oc,NULL,”h264”,NULL);
> 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.
> 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.
> -Arthur
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20160201/23360c51/attachment.html>

More information about the Libav-user mailing list