How do gstreamer interfaces with H264 hardware encoders and creates videos ?
Nicolas Dufresne
nicolas at ndufresne.ca
Thu Apr 26 00:31:46 UTC 2018
Le mer. 25 avr. 2018 17:42, Rand Graham <rand.graham at zenith.com> a écrit :
> Hello,
>
>
>
> It might help if you mention which embedded board you are using.
>
>
>
> In order to use custom hardware from a vendor such as nVidia, you would
> compile gstreamer plugins provided by the vendor and then specify them in
> your pipeline.
>
>
>
> Regards,
>
> Rand
>
>
>
> *From:* gstreamer-devel [mailto:
> gstreamer-devel-bounces at lists.freedesktop.org] *On Behalf Of *
> simon.zz at yahoo.com
> *Sent:* Wednesday, April 25, 2018 1:01 PM
> *To:* gstreamer-devel at lists.freedesktop.org
> *Subject:* How do gstreamer interfaces with H264 hardware encoders and
> creates videos ?
>
>
>
> Hello,
>
>
>
> I am using an embedded board which has an hardware H264 encoder and I am
> testing video generation both with gst-launch and with a C++ code wrote by
> my self.
>
>
>
> Comparing my code results to the gst-launch results, it is clear and
> obvious that gstreamer applies additional processing compared to what I get
> from the hardware encoder buffer.
>
> The first obvious processing is that it generates an mp4 video, while I
> can only generate an h264 video, but I am not using additional mp4 demux in
> my code.
>
>
>
> For example, the gst-launch resulting video image's quality it's quiet
> better, the video has the correct framerate rather than the video I obtain
> which results slightly "accelerated", and in addtition, the time-stap
> (minutes - seconds) is present while in the video I obtain from my C++ code
> it's not.
>
>
>
> So I suspect that gstreamer doesn't use the hardware encoder.
>
> How can I be sure that gstreamer uses the hardware encoder instead of a
> h264 software library and how can I know in real time what are the V4L2
> settings that gstreamer applies to the encoder ?
>
As you mention v4l2 settings, I suppose you have a hardware with v4l2 M2M
codecs or are you referring to your camera setting ?
>
> Thanks.
>
> Regards,
>
> Simon
>
>
>
>
> _______________________________________________
> 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/20180426/c0dbdd18/attachment.html>
More information about the gstreamer-devel
mailing list