GStreamer VA-API not displaying from cameras when they are set to H264 "Baseline" profile

Daniel Vernon daniel.vernon at synx.com
Tue Aug 27 07:53:53 UTC 2019


Hello,

Does anyone know if it's possible to get GStreamer VA-API decoding working with H264 Baseline profile?

Here is the problem we have:-

We are using GStreamer with VA-API elements under Ubuntu 18.04.2 LTS to display H264 from a selection of IP cameras.  When the cameras are set to H264 Main Profile, GStreamer displays fine.  But when we change the cameras to H264 Baseline Profile, we get no display.

We have tested with three different makes of camera so far (an Axis, DynaColor and Sunell) and all with the same result.

This gst-launch example shows the pipeline we are using:-

                gst-launch-1.0 rtspsrc location=rtsp://192.168.80.217/h264 ! rtph264depay ! vaapidecodebin ! ximagesink


Note that if we replace "vaapidecodebin" with "avdec_h264" in the above, this works fine with H264 Baseline.  But we'd much rather use VA-API (to take advantage of hardware decode and thus reduce the system's CPU load).

By running command 'vainfo', we see that it lists H264 profiles "ConstrainedBaseline", "Main" and "High".  Does this mean that VA-API is deliberately not supporting H264 Baseline, or could it have a fault?


If anyone can help with this problem or has more information this would be much appreciated.

Thanks,

Daniel Vernon




Daniel Vernon


Development Engineer







________________________________

[cid:synectics_GSX_600x250_2ae6dd0d-8157-4e11-b3b2-eb59c250dd27.png]<https://www.mcisemi.com/asis2019/links.cfm?link=register&promo=EV407>

Registered Office:


3 - 4 Broadfield Close
Sheffield
South Yorkshire
S8 0XN UK


T +44 114 255 2509


F +44 114 258 2050


E contact at synecticsglobal.com


W synecticsglobal.com


Would you like to keep up-to-date with the latest news and white papers from Synectics?
Subscribe to our news updates here<https://www.synecticsglobal.com/en/contact-en/contact-synectics/subscribe>
Connect with us
[Twitter]<https://twitter.com/synecticsglobal>[Facebook]<https://www.facebook.com/synecticsglobal>[LinkedIn]<https://www.linkedin.com/company/synectic-systems-group-ltd>

Registered in England and Wales No. 5815524

Trading as Synectic Systems Group Limited

This email is confidential and may also be legally privileged or exempt from disclosure under applicable law. It is intended solely for the use of the individual to whom it is addressed. If you are not the intended recipient, please destroy it immediately without reading the contents of the e-mail or opening attachments. Any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. If you have received this e-mail in error please notify the sender by e-mail, telephone or fax. Replies to this e-mail may be monitored by Synectic Systems Group Limited for operational or business reasons, within the scope of the law. Any opinions or information presented in this e-mail or any attachments that do not relate to the business of Synectic Systems Group Limited are solely those of the author and do not represent or are endorsed by Synectic Systems Group Limited. No contract or intention to create a binding contract may be construed by this e-mail or any attachments, unless specifically expressed therein. Security Warning: Internet communications are not guaranteed to be secure or virus-free. Except to the extent Synectic Systems Group Limited may not exclude its liability under law Synectic Systems Group Limited does not accept responsibility for any loss whatsoever arising from unauthorised access to, or interference with, any communications over the internet by any third party, or from the transmission of any viruses.

Please consider the environment - do you really need to print this email?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190827/7e17f226/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: synectics_GSX_600x250_2ae6dd0d-8157-4e11-b3b2-eb59c250dd27.png
Type: image/png
Size: 74506 bytes
Desc: synectics_GSX_600x250_2ae6dd0d-8157-4e11-b3b2-eb59c250dd27.png
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190827/7e17f226/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: twitter-icon_e986cdf3-24c4-40f0-a1af-1860fff04dd4.jpg
Type: image/jpeg
Size: 4275 bytes
Desc: twitter-icon_e986cdf3-24c4-40f0-a1af-1860fff04dd4.jpg
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190827/7e17f226/attachment-0003.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: transparent_4dbbf2ba-01fc-4d13-a518-4de9251b8fb7.gif
Type: image/gif
Size: 42 bytes
Desc: transparent_4dbbf2ba-01fc-4d13-a518-4de9251b8fb7.gif
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190827/7e17f226/attachment-0002.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: facebook-icon_202bb877-95b3-43f2-8a78-ae05983bb657.jpg
Type: image/jpeg
Size: 4264 bytes
Desc: facebook-icon_202bb877-95b3-43f2-8a78-ae05983bb657.jpg
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190827/7e17f226/attachment-0004.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: transparent2_f0bec857-b18c-487d-a313-402ec0657469.gif
Type: image/gif
Size: 42 bytes
Desc: transparent2_f0bec857-b18c-487d-a313-402ec0657469.gif
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190827/7e17f226/attachment-0003.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: linkedin-icon_5a41239f-b19e-45ff-a669-194751b19c12.jpg
Type: image/jpeg
Size: 4376 bytes
Desc: linkedin-icon_5a41239f-b19e-45ff-a669-194751b19c12.jpg
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190827/7e17f226/attachment-0005.jpg>


More information about the gstreamer-devel mailing list