After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 780509 - h264 encode: Disabling 8x8 transform tool causing wrong selection of Profile
h264 encode: Disabling 8x8 transform tool causing wrong selection of Profile
Status: RESOLVED DUPLICATE of bug 757941
Product: GStreamer
Classification: Platform
Component: gstreamer-vaapi
unspecified
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
P1
Depends on:
Blocks:
 
 
Reported: 2017-03-24 18:36 UTC by sreerenj
Modified: 2017-07-04 11:21 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description sreerenj 2017-03-24 18:36:42 UTC
Disabling the dct8x8 in vaapih264enc causing issues with profile selection.

Sample pipeline: gst-launch-1.0  filesrc location= sample.nv12  ! videoparse format=nv12 width=1280 height=720 framerate=30/1 !  vaapih264enc  dct8x8=0 !  "video/x-h264, profile=high" ! filesink location=sample.264

Expected outcome: encoded stream sample.264 in high profile

But the generated stream encoded as "main" profile ,even if we requested high profile in capsfilter.
Comment 1 Hyunjun Ko 2017-03-27 06:50:47 UTC
This is by design currently that if dct8x8 is false encoder choose main profile. It looks this policy to select profile is very similar to x264enc's.

I'm not familiar with this parameter, but do you mean it should be working on high profile with dct8x8 disabled?
Comment 2 sreerenj 2017-05-24 19:19:06 UTC
(In reply to Hyunjun Ko from comment #1)
> This is by design currently that if dct8x8 is false encoder choose main
> profile. It looks this policy to select profile is very similar to x264enc's.
> 
> I'm not familiar with this parameter, but do you mean it should be working
> on high profile with dct8x8 disabled?

dct8x8 is the tool which is available only in high profile. It is up to the user to enable/disable the tools of a particular profile. But irrespective of what tools enabled, encoder should use the profile requested through capsfilter (except for the conditions like user request main profile but enabled dct8x8 which is not possible).
Comment 3 Hyunjun Ko 2017-07-04 04:28:50 UTC
This is fixed by bug #757941.
Victor? :)
Comment 4 Víctor Manuel Jáquez Leal 2017-07-04 11:21:10 UTC
(In reply to Hyunjun Ko from comment #3)
> This is fixed by bug #757941.
> Victor? :)

\o/ already fixed!

*** This bug has been marked as a duplicate of bug 757941 ***