[Libav-user] Encoding YUV420SP (PIX_FMT_NV12) with MPEG4
h.leppkes at gmail.com
Thu Jul 23 11:00:10 CEST 2015
On Thu, Jul 23, 2015 at 10:56 AM, Oscar Hou <oscarhou at gmail.com> wrote:
> On 23 July 2015 at 00:40, Paul B Mahol <onemda at gmail.com> wrote:
>> Dana 23. 7. 2015. 08:29 osoba "Oscar Hou" <oscarhou at gmail.com> napisala
>> > Hello,
>> > I was wondering if there was a way to encode directly from YUV420SP
>> > (PIX_FMT_NV12) to MPEG4 without first converting the format to YUV420P?
>> > Currently the conversion takes a too long to convert 1080p (~150ms per
>> > frame) for me to stream at 30fps. I am attempting to stream the output to
>> > VLC at 30fps but the frames are being dropped.
>> Do you have yasm disabled in your build?
Thats your reason then, the conversion is only optimized for x86.
And no, there is no way to avoid the conversion, most encoders only
accept YUV420P, and not NV12.
More information about the Libav-user