How to change frame rate of the stream?

sonntex sonntex at gmail.com
Mon Jun 6 11:26:44 UTC 2016


> Which version of GStreamer and gstreamer-vaapi is this?

I use gentoo and gstreamer 1.8.1_pre from poly-c overlay and
gst-plugins-vaapi 0.7.0 from gentoo official portage.

sonntex at work ~ $ eix -I gst-plugins-vaapi
[I] media-plugins/gst-plugins-vaapi
     Available versions:  (1.0) ~0.6.1 0.7.0
       {+X +drm opengl wayland ABI_MIPS="n32 n64 o32" ABI_PPC="32 64"
ABI_S390="32 64" ABI_X86="32 64 x32"}
     Installed versions:  0.7.0(1.0)(10:36:37 PM 04/21/2016)(drm -X -opengl
-wayland ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64"
ABI_X86="64 -32 -x32")
     Homepage:            https://github.com/01org/gstreamer-vaapi
     Description:         Hardware accelerated video decoding through
VA-API plugin

sonntex at work ~ $ eix -I gstreamer
[I] media-libs/gstreamer
     Available versions:
     (0.10) 0.10.36-r2
     (1.0)  1.4.5 1.6.3 ~1.8.0_pre^m[1] (~)1.8.1_pre^m[1]
       {+caps +introspection nls +orc test ABI_MIPS="n32 n64 o32"
ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32"}
     Installed versions:  1.8.1_pre(1.0)^m[1](08:54:03 PM 04/21/2016)(caps
introspection nls orc -test ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64"
ABI_S390="-32 -64" ABI_X86="64 -32 -x32")
     Homepage:            http://gstreamer.freedesktop.org/
     Description:         Open source multimedia framework

[1] "poly-c" /var/lib/layman/poly-c
sonntex at work ~ $

> Can you try with the latest?

Or do you mean that I have to test this problem on the latest master of
gst-plugins-vaapi?

> Also please try if the problem still exists when replacing the vaapi
elements with software based ones.

Yes, all work good with software based elements.

Pipe looks like:

std::string pipeline =
  "  appsrc name=src0 "
  "! h264parse "
  "! avdec_h264 name=decoder0 "
  "! videorate "
  "!   video/x-raw,framerate=1/1 "
  "! videoscale "
  "!   video/x-raw,width=640,height=480 "
  "! x264enc name=encoder0 bitrate=512 keyframe-period=1 "
  "!   video/x-h264,profile=high,stream-format=avc,alignment=au "
  "! h264parse "
  "!   video/x-h264,alignment=nal "
  "! appsink name=sink0";
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160606/f8d3cc0f/attachment.html>


More information about the gstreamer-devel mailing list