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

Nicolas Dufresne nicolas at ndufresne.ca
Wed Aug 28 14:21:21 UTC 2019


Le mardi 27 août 2019 à 07:53 +0000, Daniel Vernon a écrit :
> Hello,
>  
> Does anyone know if it's possible to get GStreamer VA-API decoding working with H264 Baseline profile?

VA-API only support constrained-baseline. If your stream was
accidentally marked as baseline while being constrained, I made a patch
to allow this, but we haven't decided if we are to upstream it.

https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/merge_requests/118


>  
> 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
>  
> 
>  
> 
> 
> 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
> Connect with us
> 
> 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?
> 
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190828/61c61745/attachment.sig>


More information about the gstreamer-devel mailing list