<div dir="ltr">Many thanks! :)</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 19, 2016 at 5:05 PM, Sreerenj Balachandran <span dir="ltr"><<a href="mailto:bsreerenj@gmail.com" target="_blank">bsreerenj@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Fri, Aug 19, 2016 at 4:58 PM, LC <span dir="ltr"><<a href="mailto:lienes.cirules@gmail.com" target="_blank">lienes.cirules@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">Hi.<br>
<br>
Is there anyone having problem with this simple pipeline ?<br>
gst-launch-1.0 -ev videotestsrc num-buffers=60 ! vaapih264enc ! mp4mux !<br>
filesink location=test.mp4 obtained from<br>
<a href="https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-vaapi-plugins/html/gstreamer-vaapi-plugins-vaapih264enc.html" rel="noreferrer" target="_blank">https://gstreamer.freedesktop.<wbr>org/data/doc/gstreamer/head/gs<wbr>treamer-vaapi-plugins/html/gst<wbr>reamer-vaapi-plugins-vaapih264<wbr>enc.html</a>.<br>
<br>
Only vaapih264enc does not work for me.<br>
<br>
libva info: VA-API version 0.39.0<br>
libva info: va_getDriverName() returns 0<br>
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/<wbr>nvidia_drv_video.so<br>
libva info: Found init function __vaDriverInit_0_39<br>
libva info: va_openDriver() returns 0<br>
Pipeline is PREROLLING ...<br>
Got context from element 'vaapiencodeh264-0': gst.vaapi.Display=context,<br>
gst.vaapi.Display=(GstVaapiDis<wbr>play)NULL;<br>
/GstPipeline:pipeline0/GstVide<wbr>oTestSrc:videotestsrc0.GstPad:<wbr>src: caps =<br>
"video/x-raw\,\ width\=\(int\)320\,\ height\=\(int\)240\,\<br>
framerate\=\(fraction\)30/1\,\ format\=\(string\)I420\,\<br>
interlace-mode\=\(string\)prog<wbr>ressive\,\<br>
pixel-aspect-ratio\=\(fraction<wbr>\)1/1"<br>
ERROR: from element /GstPipeline:pipeline0/GstVide<wbr>oTestSrc:videotestsrc0:<br>
Internal data flow error.<br>
Additional debug info:<br>
gstbasesrc.c(2948): gst_base_src_loop ():<br>
/GstPipeline:pipeline0/GstVide<wbr>oTestSrc:videotestsrc0:<br>
streaming task paused, reason not-negotiated (-4)<br>
ERROR: pipeline doesn't want to preroll.<br>
Setting pipeline to NULL ...<br>
/GstPipeline:pipeline0/GstMP4M<wbr>ux:mp4mux0.GstPad:src: caps =<br>
"video/quicktime\,\ variant\=\(string\)iso"<br>
/GstPipeline:pipeline0/GstMP4M<wbr>ux:mp4mux0.GstPad:src: caps = "NULL"<br>
/GstPipeline:pipeline0/GstVide<wbr>oTestSrc:videotestsrc0.GstPad:<wbr>src: caps =<br>
"NULL"<br>
<br>
vainfo<br>
libva info: VA-API version 0.39.0<br>
libva info: va_getDriverName() returns 0<br>
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/<wbr>nvidia_drv_video.so<br>
libva info: Found init function __vaDriverInit_0_39<br>
libva info: va_openDriver() returns 0<br>
vainfo: VA-API version: 0.39 (libva 1.7.0)<br>
vainfo: Driver version: Splitted-Desktop Systems VDPAU backend for VA-API -<br>
0.7.4<br>
vainfo: Supported profile and entrypoints<br>
      VAProfileMPEG2Simple            : VAEntrypointVLD<br>
      VAProfileMPEG2Main              : VAEntrypointVLD<br>
      VAProfileMPEG4Simple            : VAEntrypointVLD<br>
      VAProfileMPEG4AdvancedSimple    : VAEntrypointVLD<br>
      VAProfileH264Baseline           : VAEntrypointVLD<br>
      VAProfileH264Main               : VAEntrypointVLD<br>
      VAProfileH264High               : VAEntrypointVLD<br>
      VAProfileVC1Simple              : VAEntrypointVLD<br>
      VAProfileVC1Main                : VAEntrypointVLD<br>
      VAProfileVC1Advanced            : VAEntrypointVLD<br>
<br>
And i use: NVIDIA Corporation GM107 [GeForce GTX 750 Ti].<br>
<br></blockquote><div><br></div></div></div><div>Because your driver doesn't have h264 encode support.</div><div>If there is encoding support vainfo should show </div><div>" VAProfileH264Main               :<span style="white-space:pre-wrap">     </span>VAEntrypointEncSlice"</div><div><br></div><div>VAEntryPointVLD  is for decoding.</div><span class=""><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
<br>
Thanks!<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/vaapih264enc-fail-on-simple-pipeline-tp4679158.html" rel="noreferrer" target="_blank">http://gstreamer-devel.966125.<wbr>n4.nabble.com/vaapih264enc-fai<wbr>l-on-simple-pipeline-tp4679158<wbr>.html</a><br>
Sent from the GStreamer-devel mailing list archive at Nabble.com.<br>
______________________________<wbr>_________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesk<wbr>top.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/gstreamer-dev<wbr>el</a><br>
</blockquote></span></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div data-smartmail="gmail_signature">Regards,<br><br>Sreerenj Balachandran<br>Intel Open Source Technology Center</div>
</font></span></div></div>
<br>______________________________<wbr>_________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.<wbr>freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/gstreamer-<wbr>devel</a><br>
<br></blockquote></div><br></div>