non-GPL H.264 video encoder element for Raspberry Pi 3 or 3B+?

Nicolas Dufresne nicolas at ndufresne.ca
Tue Jun 5 13:39:57 UTC 2018


Hi Matthew,

Le lun. 4 juin 2018 23:13, Matthew Thyer <matthew.thyer at adelaide.edu.au> a
écrit :

> 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.
>
>
>
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.

In the following 19-Nov-2017 post, Nicolas Dufresne summarises use cases
> for some H.264 encoders:
>
>
> https://lists.freedesktop.org/archives/gstreamer-devel/2017-November/066181.html
>
> 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+).
>
>
>
> Of these, it would seem that omxh264enc & v4l2h264enc would be of interest.
>
>
>
> 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.
>
> I see that the v4l2h264enc functionality was added to gst-plugins-good via
> Bug 728438
>
> https://bugzilla.gnome.org/show_bug.cgi?id=728438 but I clearly don't
> understand how to gain access to it.
>
> Is it possible to use this on a Raspberry Pi 3 or 3B+ and would it be NEON
> accelerated?
>
>
>
> 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.
>
>
>
> 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.
>
> Does someone know of a contact method that works?
>
>
>
> Please help!
>
>
>
> ---
>
> Matthew Thyer
>
> (08) 8313 9283
>
> 4.38 Ingkarni Wardli
>
> Adelaide University
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20180605/f30ab8e1/attachment.html>


More information about the gstreamer-devel mailing list