Problem with tutotrial 7 on ububuntu 16.04

David Ing ding at panopto.com
Sun Aug 11 17:10:44 UTC 2019


I am not sure if this will help, but ...

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.

   -
   https://github.com/Panopto/gst-conan/blob/57af2e6de5bc8bc46f79330dbb5b014b7e5a2bb7/distros/ubuntu-18.04/debians-build.txt

      - This is the set of packages that I was using on Ubuntu 18.04.
   -
   https://github.com/Panopto/gst-conan/blob/57af2e6de5bc8bc46f79330dbb5b014b7e5a2bb7/doc/debian-package-quest.md

      - This is a little story about how I arrived at those packages, and
      another possible strategy that I might have taken.

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.

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):
https://gitlab.freedesktop.org/gstreamer/gst-ci/tree/master/docker/fedora
So you might consider working in Fedora 30.


On Sun, Aug 11, 2019 at 1:56 AM Alex Lavriv <alex.lavriv at gmail.com> wrote:

> 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 :
>
> alex at alex-PORTEGE-Z30-A:~/phantomInternship/gstHell/gst-docs/examples/tutorials$
> ./basic-tutorial-7
> Obtained request pad src_0 for audio branch.
> Obtained request pad src_1 for video branch.
> libva info: VA-API version 0.39.0
> libva info: va_getDriverName() returns 0
> libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
> libva info: Found init function __vaDriverInit_0_39
> libva info: va_openDriver() returns 0
>
> ** (basic-tutorial-7:21268): CRITICAL **:
> gst_video_calculate_display_ratio: assertion 'num > 0' failed
>
> ** (basic-tutorial-7:21268): CRITICAL **: gst_vaapi_window_new_internal:
> assertion 'width > 0' failed
>
> ** (basic-tutorial-7:21268): CRITICAL **:
> gst_video_calculate_display_ratio: assertion 'num > 0' failed
>
> ** (basic-tutorial-7:21268): CRITICAL **: gst_vaapi_window_new_internal:
> assertion 'width > 0' failed
>
> ** (basic-tutorial-7:21268): CRITICAL **:
> gst_video_calculate_display_ratio: assertion 'num > 0' failed
>
> ** (basic-tutorial-7:21268): CRITICAL **: gst_vaapi_window_new_internal:
> assertion 'width > 0' failed
>
> ** (basic-tutorial-7:21268): CRITICAL **:
> gst_video_calculate_display_ratio: assertion 'num > 0' failed
>
> ** (basic-tutorial-7:21268): CRITICAL **: gst_vaapi_window_new_internal:
> assertion 'width > 0' failed
>
> ** (basic-tutorial-7:21268): CRITICAL **:
> gst_video_calculate_display_ratio: assertion 'num > 0' failed
>
> ** (basic-tutorial-7:21268): CRITICAL **: gst_vaapi_window_new_internal:
> assertion 'width > 0' failed
>
> ** (basic-tutorial-7:21268): CRITICAL **:
> gst_video_calculate_display_ratio: assertion 'num > 0' failed
>
> ** (basic-tutorial-7:21268): CRITICAL **: gst_vaapi_window_new_internal:
> assertion 'width > 0' failed
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190811/168dd553/attachment.html>


More information about the gstreamer-devel mailing list