<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Suggest try "qtdemux ! queue ! vaapidecocdebin" or "qtdemux ! queue ! vaapih264dec" instead of just "vaapidecodebin" an "h264parse" after the "rtph264depay" may help too. Good luck!<div class=""> - David<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Aug 27, 2019, at 12:53 AM, Daniel Vernon <<a href="mailto:daniel.vernon@synx.com" class="">daniel.vernon@synx.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="WordSection1" style="page: WordSection1; caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">Hello,<o:p class=""></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">Does anyone know if it's possible to get GStreamer VA-API decoding working with H264 Baseline profile?<o:p class=""></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">Here is the problem we have:-<o:p class=""></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">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.<o:p class=""></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">We have tested with three different makes of camera so far (an Axis, DynaColor and Sunell) and all with the same result.<o:p class=""></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">This gst-launch example shows the pipeline we are using:-<o:p class=""></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""> gst-launch-1.0 rtspsrc location=<a href="rtsp://192.168.80.217/h264" style="color: rgb(149, 79, 114); text-decoration: underline;" class="">rtsp://192.168.80.217/h264</a><span class="Apple-converted-space"> </span>! rtph264depay ! vaapidecodebin ! ximagesink<o:p class=""></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">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).<o:p class=""></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">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?<o:p class=""></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">If anyone can help with this problem or has more information this would be much appreciated.<o:p class=""></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">Thanks,<o:p class=""></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">Daniel Vernon<o:p class=""></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div></div><p id="c1-id-6" style="caret-color: rgb(0, 0, 0); font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Arial; margin: 0px;" class=""> </p><table id="c1-id-7" cellspacing="0" cellpadding="0" border="0" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; letter-spacing: normal; orphans: auto; text-indent: 0px; text-transform: none; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; height: 0px; width: 300px;" class=""><colgroup id="c1-id-8" class=""><col id="c1-id-9" class=""></colgroup><tbody id="c1-id-10" class=""><tr id="c1-id-11" class=""><td id="c1-id-12" class=""><div style="font-size: 12px; font-family: Arial; color: gray; margin: 0px;" class=""><strong id="c1-id-14" class="">Daniel Vernon</strong></div></td></tr><tr id="c1-id-15" class=""><td id="c1-id-16" class=""><div style="font-size: 12px; font-family: Arial; color: gray; margin: 0px;" class="">Development Engineer</div></td></tr><tr id="c1-id-18" class=""><td id="c1-id-19" class=""><div style="font-size: 12px; font-family: Arial; color: gray;" class=""> <br class="webkit-block-placeholder"></div></td></tr></tbody></table><p id="c1-id-21" style="font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Arial; color: gray; margin: 0px;" class=""></p><p id="c1-id-33" style="font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Arial; color: gray; margin: 0px;" class=""></p><p id="c1-id-45" style="font-size: 9pt; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Arial; color: gray; margin: 0px;" class=""></p><p id="c1-id-57" style="font-size: 9pt; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Arial; color: gray; margin: 0px;" class=""> </p><div id="c1-id-6" style="font-size: 9pt; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Arial, Helvetica, sans-serif; color: gray;" class=""><hr id="c1-id-7" class=""><p id="c1-id-8" style="font-size: 9pt; font-family: Arial;" class=""><a title="Global Security Exchange - Visit us at booth #2088" href="https://www.mcisemi.com/asis2019/links.cfm?link=register&promo=EV407" style="color: rgb(149, 79, 114); text-decoration: underline;" class=""><span id="cid:synectics_GSX_600x250_2ae6dd0d-8157-4e11-b3b2-eb59c250dd27.png"><synectics_GSX_600x250_2ae6dd0d-8157-4e11-b3b2-eb59c250dd27.png></span></a></p><table id="c1-id-10" cellspacing="0" cellpadding="0" style="font-size: 9pt; width: 470px; color: gray;" class=""><colgroup id="c1-id-11" class=""><col id="c1-id-12" class=""><col id="c1-id-13" class=""></colgroup><tbody id="c1-id-14" class=""><tr id="c1-id-15" class=""><td id="c1-id-16" colspan="2" style="height: 5px;" class=""><div style="font-size: 9pt; font-family: Arial, Helvetica, sans-serif; margin: 0px;" class="">Registered Office:</div></td></tr><tr id="c1-id-20" class=""><td id="c1-id-21" height="56" valign="top" rowspan="4" class=""><div style="font-size: 9pt; font-family: Arial, Helvetica, sans-serif; margin: 0px;" class=""><span id="c1-id-23" style="font-size: 9pt; height: 56px; width: 190px; font-weight: normal;" class="">3 - 4 Broadfield Close<br id="c1-id-24" class="">Sheffield<br id="c1-id-25" class="">South Yorkshire<br id="c1-id-26" class="">S8 0XN UK</span></div></td><td id="c1-id-27" class=""><div style="font-size: 9pt; font-family: Arial, Helvetica, sans-serif; margin: 0px;" class=""><span id="c1-id-29" style="font-size: 9pt; height: 14px; width: 280px; font-weight: normal;" class="">T +44 114 255 2509</span></div></td></tr><tr id="c1-id-30" class=""><td id="c1-id-31" class=""><div style="font-size: 9pt; font-family: Arial, Helvetica, sans-serif; margin: 0px;" class=""><span id="c1-id-33" style="font-size: 9pt; height: 14px; width: 280px; font-weight: normal;" class="">F +44 114 258 2050</span></div></td></tr><tr id="c1-id-34" class=""><td id="c1-id-35" class=""><div style="font-size: 9pt; font-family: Arial, Helvetica, sans-serif; margin: 0px;" class=""><span id="c1-id-37" style="font-size: 9pt; height: 14px; width: 280px; font-weight: normal;" class="">E<span class="Apple-converted-space"> </span><a href="mailto:contact@synecticsglobal.com" style="color: rgb(149, 79, 114); text-decoration: underline;" class="">contact@synecticsglobal.com</a></span></div></td></tr><tr id="c1-id-38" class=""><td id="c1-id-39" class=""><div style="font-size: 9pt; font-family: Arial, Helvetica, sans-serif; margin: 0px;" class=""><span id="c1-id-41" style="font-size: 9pt; height: 14px; width: 280px; font-weight: normal;" class="">W<span class="Apple-converted-space"> </span><a href="http://synecticsglobal.com/" style="color: rgb(149, 79, 114); text-decoration: underline;" class="">synecticsglobal.com</a></span></div></td></tr></tbody></table><div id="c1-id-42" style="margin: 10px 0px 2px;" class="">Would you like to keep up-to-date with the latest news and white papers from Synectics?<br id="c1-id-43" class=""><a id="c1-id-44" href="https://www.synecticsglobal.com/en/contact-en/contact-synectics/subscribe" style="color: rgb(149, 79, 114); text-decoration: underline;" class="">Subscribe to our news updates here</a></div><div id="c1-id-45" style="margin: 10px 0px 2px;" class="">Connect with us</div><div id="connect" class=""><a id="c1-id-46" href="https://twitter.com/synecticsglobal" target="_blank" style="color: rgb(149, 79, 114); text-decoration: none; border-style: none;" class=""><span id="cid:twitter-icon_e986cdf3-24c4-40f0-a1af-1860fff04dd4.jpg"><twitter-icon_e986cdf3-24c4-40f0-a1af-1860fff04dd4.jpg></span></a><span id="cid:transparent_4dbbf2ba-01fc-4d13-a518-4de9251b8fb7.gif"><transparent_4dbbf2ba-01fc-4d13-a518-4de9251b8fb7.gif></span><a id="c1-id-49" href="https://www.facebook.com/synecticsglobal" target="_blank" style="color: rgb(149, 79, 114); text-decoration: none; border-style: none;" class=""><span id="cid:facebook-icon_202bb877-95b3-43f2-8a78-ae05983bb657.jpg"><facebook-icon_202bb877-95b3-43f2-8a78-ae05983bb657.jpg></span></a><span id="cid:transparent2_f0bec857-b18c-487d-a313-402ec0657469.gif"><transparent2_f0bec857-b18c-487d-a313-402ec0657469.gif></span><a id="c1-id-55" href="https://www.linkedin.com/company/synectic-systems-group-ltd" target="_blank" style="color: rgb(149, 79, 114); text-decoration: none; border-style: none;" class=""><span id="cid:linkedin-icon_5a41239f-b19e-45ff-a669-194751b19c12.jpg"><linkedin-icon_5a41239f-b19e-45ff-a669-194751b19c12.jpg></span></a></div><p id="c1-id-57" style="font-size: 9pt; font-family: Arial;" class="">Registered in England and Wales No. 5815524<br id="c1-id-58" class=""><br id="c1-id-59" class="">Trading as Synectic Systems Group Limited</p><p id="c1-id-60" style="font-size: 8pt; font-family: Arial;" class="">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.</p><p id="c1-id-61" style="font-size: 10pt; font-family: Arial; font-weight: bold;" class="">Please consider the environment – do you really need to print this email?</p></div><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">_______________________________________________</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">gstreamer-devel mailing list</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><a href="mailto:gstreamer-devel@lists.freedesktop.org" style="color: rgb(149, 79, 114); text-decoration: underline; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">gstreamer-devel@lists.freedesktop.org</a><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" style="color: rgb(149, 79, 114); text-decoration: underline; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a></div></blockquote></div><br class=""></div></body></html>