<div dir="ltr"><div style>Hi,</div><div style><br></div><div style>The first patch adds a new encoder for h264 and mpeg2 based on Intel 'QuickSync Video' technology. This allows for hardware acceleration of encoding for these two formats. Use of this new feature of intel's processors requires to use their 'Media SDK'. An opensource 'dispatcher' is provided by Intel to select between software and hardware mode, and to avoid linking with their proprietary library. An autotooled/cmaked version can be found here : <a href="https://github.com/lu-zero/mfx_dispatch">https://github.com/lu-zero/mfx_dispatch</a>. The Cmake version is required as for now, since the configure code the patch adds uses the pkg-config file, which is only generated by cmake.<br>
</div><div style><br></div><div style>I gotta warn you, there's a small spinlock in the encode loop which cannot be removed unless you wanna loose frames (and maybe create a passage to another dimension full of ponies), but it's only triggered once every 2-5s.</div>
<div style><br></div><div style>This encoder requires NV12 as its input, this is why i also provide a second patch including a naive i420 to nv12 video_chroma filter, in order to avoid to use swscale for a simple chroma conversion.</div>
<div style>I'm pretty sure there are many folks out there who can turn this naive C implementation into a fast & furious MMX/SSE4/WTF implementation, and i hope at some point, one of them will bravely rise and patch it.</div>
<div style><br></div><div style><br></div><div style>Many thanks in advance to the lovely one who'll take the time to review the patches.</div><div style><br></div><div style>Regards,</div><div style>Julien 'Lta' BALLET.</div>
<div style><br></div><div style>PS: I'll offer a beer to the guy who commits the patches, whenever they pass the review.</div><div style><br></div><div style><br></div><div style> </div></div>