videorate problem

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

videorate problem

Gofrane
hello,

I ran this pipeline on order to play  this video with 15 framerate per second

gst-launch-1.0 -v filesrc location=big_buck_bunny_480p_h264.mov  !  qtdemux ! vaapidecode !  videorate  ! video/x-raw,framerate=15/1  ! vaapisink


but I got this error

libva info: VA-API version 0.36.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_0_32
libva info: va_openDriver() returns 0
WARNING: erroneous pipeline: could not link vaapidecode0 to videorate0


thank you in advance


Reply | Threaded
Open this post in threaded view
|

Re: videorate problem

Duncan Palmer-2
Does the pipeline work without the videorate and associated capsfilter element?

On 10 May 2016 at 21:20, Gofrane <[hidden email]> wrote:
hello,

I ran this pipeline on order to play  this video with 15 framerate per
second
*
gst-launch-1.0 -v filesrc location=big_buck_bunny_480p_h264.mov  !  qtdemux
! vaapidecode !  videorate  ! video/x-raw,framerate=15/1  ! vaapisink *

but I got this error

*libva info: VA-API version 0.36.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_0_32
libva info: va_openDriver() returns 0
WARNING: erroneous pipeline: could not link vaapidecode0 to videorate0*

thank you in advance






--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/videorate-problem-tp4677438.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
_______________________________________________
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
Reply | Threaded
Open this post in threaded view
|

Re: videorate problem

Gofrane
thank you
yes the pipeline works without the videorate and associated capsfilter element.
Reply | Threaded
Open this post in threaded view
|

Re: videorate problem

Nicolas Dufresne-4
In reply to this post by Gofrane
Le mardi 10 mai 2016 à 04:20 -0700, Gofrane a écrit :

> hello,
>
> I ran this pipeline on order to play  this video with 15 framerate
> per
> second 
> *
> gst-launch-1.0 -v filesrc
> location=big_buck_bunny_480p_h264.mov  !  qtdemux
> ! vaapidecode !  videorate  ! video/x-raw,framerate=15/1  ! vaapisink
> *
>
> but I got this error
>
> *libva info: VA-API version 0.36.0
> libva info: va_getDriverName() returns 0
> libva info: Trying to open /usr/lib/x86_64-linux-
> gnu/dri/nvidia_drv_video.so
> libva info: Found init function __vaDriverInit_0_32
> libva info: va_openDriver() returns 0
> WARNING: erroneous pipeline: could not link vaapidecode0 to
> videorate0*
>
> thank you in advance

IIRC, older vaapidecode produce a format that is not in the list of
formats videorate supports. What version are you running ? Even in
latest, it's likely using videorate will reduce performance. To avoid
this, the vaapi "surface" format would need to be implement with
capsfeature (video/x-raw(VASurface)), or the surface format would need
to be added to videorate.

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