Problem with tutotrial 7 on ububuntu 16.04

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem with tutotrial 7 on ububuntu 16.04

alex.lavriv
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@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
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Problem with tutotrial 7 on ububuntu 16.04

David Ing
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.
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 <[hidden email]> 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@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
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel