mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-13 21:01:14 +00:00
README: update for GStreamer >= 1.0.x and VPP features.
This commit is contained in:
parent
c516311a1a
commit
370354e418
1 changed files with 10 additions and 5 deletions
15
README
15
README
|
@ -31,7 +31,7 @@ GStreamer and helper libraries.
|
|||
surfaces to video/x-raw-yuv pixels.
|
||||
|
||||
* `vaapipostproc' is used to postprocess video/x-vaapi-surface
|
||||
surfaces, for e.g. deinterlacing.
|
||||
surfaces, for e.g. deinterlacing, denoising and sharpening.
|
||||
|
||||
* `vaapisink' is used to display video/x-vaapi-surface surfaces to
|
||||
screen.
|
||||
|
@ -87,17 +87,22 @@ Usage
|
|||
-----
|
||||
|
||||
VA elements are automatically plugged into GStreamer pipelines. So,
|
||||
using playbin2 should work as is. However, here are a few alternate
|
||||
pipelines constructed manually.
|
||||
using playbin (or playbin2 with GStreamer 0.10) should work as is.
|
||||
However, here are a few alternate pipelines that could be manually
|
||||
constructed.
|
||||
|
||||
* Play an H.264 video with an MP4 container in fullscreen mode
|
||||
$ gst-launch-0.10 -v filesrc location=/path/to/video.mp4 ! \
|
||||
$ gst-launch-1.0 -v filesrc location=/path/to/video.mp4 ! \
|
||||
qtdemux ! vaapidecode ! vaapisink fullscreen=true
|
||||
|
||||
* Play a raw MPEG-2 interlaced stream
|
||||
$ gst-launch-0.10 -v filesrc location=/path/to/mpeg2.bits ! \
|
||||
$ gst-launch-1.0 -v filesrc location=/path/to/mpeg2.bits ! \
|
||||
mpegvideoparse ! vaapidecode ! vaapipostproc ! vaapisink
|
||||
|
||||
* Convert from one pixel format to another, while also downscaling
|
||||
$ gst-launch-1.0 -v filesrc location=/path/to/raw_video.yuv ! \
|
||||
videoparse format=yuy2 width=1280 height=720 ! \
|
||||
vaapipostproc format=nv12 height=480 ! vaapisink
|
||||
|
||||
Reporting Bugs
|
||||
--------------
|
||||
|
|
Loading…
Reference in a new issue