<div dir="ltr">I am not sure if this will help, but ...<div><br></div><div>I can tell you that gstreamer can behave strangely (like this) if you didn't have the correct set of packages installed during your build (and during runtime). In the past, I had gstreamer working on Ubuntu 18.04 after I had installed the following set of Debian Packages.<div><ul><li><a href="https://github.com/Panopto/gst-conan/blob/57af2e6de5bc8bc46f79330dbb5b014b7e5a2bb7/distros/ubuntu-18.04/debians-build.txt">https://github.com/Panopto/gst-conan/blob/57af2e6de5bc8bc46f79330dbb5b014b7e5a2bb7/distros/ubuntu-18.04/debians-build.txt</a> </li><ul><li>This is the set of packages that I was using on Ubuntu 18.04.</li></ul><li>
<a href="https://github.com/Panopto/gst-conan/blob/57af2e6de5bc8bc46f79330dbb5b014b7e5a2bb7/doc/debian-package-quest.md">https://github.com/Panopto/gst-conan/blob/57af2e6de5bc8bc46f79330dbb5b014b7e5a2bb7/doc/debian-package-quest.md</a> </li><ul><li>This is a little story about how I arrived at those packages, and another possible strategy that I might have taken. </li></ul></ul><div>I never ran through the tutorial examples though, but you might try installing those packages and re-building gstreamer to see if that fixes your problem.</div><div><br></div>I eventually stopped working in Ubuntu when I learned that the main gstreamer developers tend to work in Fedora 30. There is a `preapre.sh` script in here which describes the packages to be installed on Fedora 30 (as part of their official build): <a href="https://gitlab.freedesktop.org/gstreamer/gst-ci/tree/master/docker/fedora">https://gitlab.freedesktop.org/gstreamer/gst-ci/tree/master/docker/fedora</a> So you might consider working in Fedora 30.</div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Aug 11, 2019 at 1:56 AM Alex Lavriv <<a href="mailto:alex.lavriv@gmail.com">alex.lavriv@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail-m_-8762680431662503321gmail-adn gmail-m_-8762680431662503321gmail-ads" style="border-left:none;padding:0px;display:flex;font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:medium"><div class="gmail-m_-8762680431662503321gmail-gs" style="margin:0px;padding:0px 0px 20px;width:884px"><div class="gmail-m_-8762680431662503321gmail-"><div id="gmail-m_-8762680431662503321gmail-:13s" class="gmail-m_-8762680431662503321gmail-ii gmail-m_-8762680431662503321gmail-gt" style="font-size:0.875rem;direction:ltr;margin:8px 0px 0px;padding:0px"><div id="gmail-m_-8762680431662503321gmail-:13r" class="gmail-m_-8762680431662503321gmail-a3s gmail-m_-8762680431662503321gmail-aXjCH" style="overflow:hidden;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:small;line-height:1.5;font-family:Arial,Helvetica,sans-serif"><div dir="ltr">Hello, I have compiled succesfuly the 7th tutorial, but when I am trying to run it, nothing happens, and there are errors in the terminal :<div><br></div><div>alex@alex-PORTEGE-Z30-A:~/phantomInternship/gstHell/gst-docs/examples/tutorials$ ./basic-tutorial-7</div><div>Obtained request pad src_0 for audio branch.<br>Obtained request pad src_1 for video branch.<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/i965_drv_video.so<br>libva info: Found init function __vaDriverInit_0_39<br>libva info: va_openDriver() returns 0<br><br>** (basic-tutorial-7:21268): CRITICAL **: gst_video_calculate_display_ratio: assertion 'num > 0' failed<br><br>** (basic-tutorial-7:21268): CRITICAL **: gst_vaapi_window_new_internal: assertion 'width > 0' failed<br><br>** (basic-tutorial-7:21268): CRITICAL **: gst_video_calculate_display_ratio: assertion 'num > 0' failed<br><br>** (basic-tutorial-7:21268): CRITICAL **: gst_vaapi_window_new_internal: assertion 'width > 0' failed<br><br>** (basic-tutorial-7:21268): CRITICAL **: gst_video_calculate_display_ratio: assertion 'num > 0' failed<br><br>** (basic-tutorial-7:21268): CRITICAL **: gst_vaapi_window_new_internal: assertion 'width > 0' failed<br><br>** (basic-tutorial-7:21268): CRITICAL **: gst_video_calculate_display_ratio: assertion 'num > 0' failed<br><br>** (basic-tutorial-7:21268): CRITICAL **: gst_vaapi_window_new_internal: assertion 'width > 0' failed<br><br>** (basic-tutorial-7:21268): CRITICAL **: gst_video_calculate_display_ratio: assertion 'num > 0' failed<br><br>** (basic-tutorial-7:21268): CRITICAL **: gst_vaapi_window_new_internal: assertion 'width > 0' failed<br><br>** (basic-tutorial-7:21268): CRITICAL **: gst_video_calculate_display_ratio: assertion 'num > 0' failed<br><br>** (basic-tutorial-7:21268): CRITICAL **: gst_vaapi_window_new_internal: assertion 'width > 0' failed<div class="gmail-m_-8762680431662503321gmail-yj6qo"></div><div class="gmail-m_-8762680431662503321gmail-adL"><br></div></div></div><div class="gmail-m_-8762680431662503321gmail-adL"></div></div></div><div class="gmail-m_-8762680431662503321gmail-hi" style="border-bottom-left-radius:1px;border-bottom-right-radius:1px;padding:0px;width:auto;background:rgb(242,242,242);margin:0px"></div></div></div><div class="gmail-m_-8762680431662503321gmail-ajx" style="clear:both"></div></div><div class="gmail-m_-8762680431662503321gmail-gA gmail-m_-8762680431662503321gmail-gt gmail-m_-8762680431662503321gmail-acV" style="font-size:0.875rem;padding:0px;width:auto;border-bottom-left-radius:0px;border-bottom-right-radius:0px;border-top:none;margin:0px;background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif"><div class="gmail-m_-8762680431662503321gmail-gB gmail-m_-8762680431662503321gmail-xu" style="border-top:0px;padding:0px"><div class="gmail-m_-8762680431662503321gmail-ip gmail-m_-8762680431662503321gmail-iq" style="clear:both;margin:0px;padding:16px 0px;border-top:none"><br class="gmail-m_-8762680431662503321gmail-Apple-interchange-newline"></div></div></div></div>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a></blockquote></div>