Discussion:
[Bug 783501] New: Provide GstPreset for vaapi encoders.
"GStreamer" (GNOME Bugzilla)
2017-06-07 08:36:02 UTC
Permalink
https://bugzilla.gnome.org/show_bug.cgi?id=783501

Bug ID: 783501
Summary: Provide GstPreset for vaapi encoders.
Classification: Platform
Product: GStreamer
Version: git master
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gstreamer-vaapi
Assignee: gstreamer-***@lists.freedesktop.org
Reporter: ***@igalia.com
QA Contact: gstreamer-***@lists.freedesktop.org
CC: ***@gmail.com, ***@igalia.com
GNOME version: ---

There's GstPreset supported in gstreamer.
If we support this for vaapi encoders, I expect this can be involved to
gst-validate scenario for vaapi.(bug #773304)

Eg. If we have "Main" preset for main profile with dct8x8 disabled,

gst-launch-1.0 videotestsrc num-buffers=50 ! encodebin
profile="video/quicktime,varient=iso:video/x-h264+Main" ! filesink
location=test.mp4

and we can also include preset to gst-validate tools as the following:

gst-validate-transcoding-1.0 -o
"video/quicktime,variant=iso;:video/x-h264+Main" [input] [output]
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
"GStreamer" (GNOME Bugzilla)
2017-06-07 08:45:00 UTC
Permalink
https://bugzilla.gnome.org/show_bug.cgi?id=783501

Tim-Philipp Müller <***@zen.co.uk> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@zen.co.uk
Severity|normal |enhancement
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
"GStreamer" (GNOME Bugzilla)
2017-06-07 13:42:32 UTC
Permalink
https://bugzilla.gnome.org/show_bug.cgi?id=783501

Thibault Saunier <***@gnome.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@gnome.org

--- Comment #1 from Thibault Saunier <***@gnome.org> ---
That would indeed be nice to add, but you should try to have the same profiles
as x264enc:
https://phabricator.freedesktop.org/diffusion/GSTUGLY/browse/master/ext/x264/GstX264Enc.prs

GstValidate and encodebin serialization format do support presets, we might
want to start using some in the default testsuites.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
"GStreamer" (GNOME Bugzilla)
2017-06-08 01:53:25 UTC
Permalink
https://bugzilla.gnome.org/show_bug.cgi?id=783501

--- Comment #2 from Hyunjun Ko <***@igalia.com> ---
(In reply to Thibault Saunier from comment #1)
Post by "GStreamer" (GNOME Bugzilla)
That would indeed be nice to add, but you should try to have the same
https://phabricator.freedesktop.org/diffusion/GSTUGLY/browse/master/ext/x264/
GstX264Enc.prs
Yes I know this preset and have tried with this. But there's some different
properties. Anyway we can refer to this preset.
Post by "GStreamer" (GNOME Bugzilla)
GstValidate and encodebin serialization format do support presets, we might
want to start using some in the default testsuites.
Good information. Thanks.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
"GStreamer" (GNOME Bugzilla)
2017-06-08 01:54:57 UTC
Permalink
https://bugzilla.gnome.org/show_bug.cgi?id=783501

--- Comment #3 from Hyunjun Ko <***@igalia.com> ---
(In reply to Hyunjun Ko from comment #2)
Post by "GStreamer" (GNOME Bugzilla)
(In reply to Thibault Saunier from comment #1)
Post by "GStreamer" (GNOME Bugzilla)
That would indeed be nice to add, but you should try to have the same
https://phabricator.freedesktop.org/diffusion/GSTUGLY/browse/master/ext/x264/
GstX264Enc.prs
Yes I know this preset and have tried with this. But there's some different
properties. Anyway we can refer to this preset.
Hmm, probably we should use same profile name to generalize for gst-validate.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
"GStreamer" (GNOME Bugzilla)
2017-06-30 08:41:09 UTC
Permalink
https://bugzilla.gnome.org/show_bug.cgi?id=783501

--- Comment #4 from Hyunjun Ko <***@igalia.com> ---
Created attachment 354723
--> https://bugzilla.gnome.org/attachment.cgi?id=354723&action=edit
Initial propose for GstVaapiEncodeH264.prs

Now I would propose initial version of GstVaapiEncodeH264.prs including:

- Profile Baseline
- Profile Main
- Profile High
=> Same as x264enc

- Profile Stereo High
- Profile Multiview High
=> though it's not working perfectly (See bug #784321, bug #784372), these
should be included imho.

- Profile High Compression
- Profile Low Power
=> This is supported by property in vaapih264enc. Do you think these should be
included?

- Profile Youtube
=> Same as x264enc


It would be happy if there's someone giving opinions :)
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
"GStreamer" (GNOME Bugzilla)
2017-07-03 17:07:40 UTC
Permalink
https://bugzilla.gnome.org/show_bug.cgi?id=783501

--- Comment #5 from Víctor Manuel Jáquez Leal <***@igalia.com> ---
Comment on attachment 354723
--> https://bugzilla.gnome.org/attachment.cgi?id=354723
Initial propose for GstVaapiEncodeH264.prs

We'll need a patch for Makefile.am and meson.build

why did you set the max-bframes to 1 in all the profiles?

can you set multiple profiles, like "Main/High Compression"??

Otherwise, I guess there is no point to have the High Compression / Low Power
profiles, since they might be parameters for all the profiles. As a matter of
fact I would set tune=1 in Youtube's profile.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
"GStreamer" (GNOME Bugzilla)
2017-07-04 10:53:19 UTC
Permalink
https://bugzilla.gnome.org/show_bug.cgi?id=783501

Víctor Manuel Jáquez Leal <***@igalia.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
Whiteboard| |P2
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
"GStreamer" (GNOME Bugzilla)
2018-11-03 15:50:03 UTC
Permalink
https://bugzilla.gnome.org/show_bug.cgi?id=783501

GStreamer system administrator <***@gstreamer.net> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |OBSOLETE

--- Comment #6 from GStreamer system administrator <***@gstreamer.net> ---
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been
closed from further activity.

You can subscribe and participate further through the new bug through this link
to our GitLab instance:
https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/issues/55.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
Loading...