<div dir="auto"><div>Hi Matthew,<br><br><div class="gmail_quote"><div dir="ltr">Le lun. 4 juin 2018 23:13, Matthew Thyer <<a href="mailto:matthew.thyer@adelaide.edu.au" target="_blank" rel="noreferrer">matthew.thyer@adelaide.edu.au</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-AU" link="#0563C1" vlink="#954F72">
<div class="m_-8867467306328662531m_3941057885372773380WordSection1">
<p class="MsoNormal">I'm looking for a non-GPL licenced x264 video encoder that I can use on the Raspberry Pi v3 (or 3 B+) hardware running some Linux variant. Ideally this encoder should support the NEON video acceleration block that is part of the Raspberry
 Pi v3 or 3B+ SoC.<u></u><u></u></p>
<p class="MsoNormal"><u></u> </p></div></div></blockquote></div></div><div dir="auto">For now, on RPi, the only available solution is to do a custom build of gst-omx (build target RPi), which I believe is shipped with raspbian. This will provide you with an hardware accelerated H264 encoder. It's quite capable, a bit tricky to configure.</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-AU" link="#0563C1" vlink="#954F72"><div class="m_-8867467306328662531m_3941057885372773380WordSection1"><p class="MsoNormal"><u></u></p>
<p class="MsoNormal">In the following 19-Nov-2017 post, Nicolas Dufresne summarises use cases for some H.264 encoders:<u></u><u></u></p>
<p class="MsoNormal"><a href="https://lists.freedesktop.org/archives/gstreamer-devel/2017-November/066181.html" rel="noreferrer noreferrer" target="_blank">https://lists.freedesktop.org/archives/gstreamer-devel/2017-November/066181.html</a><u></u><u></u></p>
<p class="MsoNormal">The encoders Nicolas lists are: x264enc (GPL), vaapih264enc (Intel H/W), nvh264enc (nvidia H/W), openh264enc (Cisco free codec for PCs), omxh264enc (Raspberry Pi) & v4l2h264enc (with GStreamer 1.14+).<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Of these, it would seem that omxh264enc & v4l2h264enc would be of interest.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I've not been able to get the video4linux2 plugin (from gst-plugins-good) to provide more than the three elements: v4l2src, v4l2sink & v4l2radio even when I compile v4l-utils v1.14.2 and gstreamer v1.14.1 from source.<u></u><u></u></p>
<p class="MsoNormal">I see that the v4l2h264enc functionality was added to gst-plugins-good via Bug 728438<u></u><u></u></p>
<p class="MsoNormal"><a href="https://bugzilla.gnome.org/show_bug.cgi?id=728438" rel="noreferrer noreferrer" target="_blank">https://bugzilla.gnome.org/show_bug.cgi?id=728438</a> but I clearly don't understand how to gain access to it.<u></u><u></u></p>
<p class="MsoNormal">Is it possible to use this on a Raspberry Pi 3 or 3B+ and would it be NEON accelerated?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I have tried an earlier version of omxh264enc but it’s didn’t like the stream from my camera and I’m yet to try again with GStreamer release 1.14.1.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I'm aware of the very good x264enc element which is nominally GPL licenced but is supposed to be available under alternate licencing if you contact them but all three attempts I have made to do so have gone unanswered.<u></u><u></u></p>
<p class="MsoNormal">Does someone know of a contact method that works?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Please help!<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:gray">---</span><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black"><u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:gray">Matthew Thyer</span><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black"><u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:gray">(08) 8313 9283</span><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black"><u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:gray">4.38 Ingkarni Wardli</span><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black"><u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:gray">Adelaide University</span><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black"><u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>

_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" rel="noreferrer noreferrer" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer noreferrer noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div></div></div>