GNOME Bugzilla – Bug 780509
h264 encode: Disabling 8x8 transform tool causing wrong selection of Profile
Last modified: 2017-07-04 11:21:10 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.
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?
(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).
This is fixed by bug #757941. Victor? :)
(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 ***