[Bug 644233] Set the H.264 level from the caps for encoding

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Mar 10 09:18:54 PST 2011


https://bugzilla.gnome.org/show_bug.cgi?id=644233
  GStreamer | gst-plugins-ugly | git

Olivier Crete (Tester) <olivier.crete> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|Normal                      |High
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Severity|normal                      |critical

--- Comment #5 from Olivier Crete (Tester) <olivier.crete at ocrete.ca> 2011-03-10 17:18:53 UTC ---
(In reply to comment #4)
> * Is profile taken into account ? It would be nice so one doesn't have to touch
> any encoder setting but only specify profile/level in caps (Thinking about
> encoding profiles).

Right now it does the "minimum" of the profile in the property and the caps.
The property defaults to main. Maybe it should default to High or even None. I
didn't change that as it would be an API change..

> * will x264enc properly limit the accepted width/height/framerate/? according
> to the available downstream caps' level and profile ?

It limits the size according to the level in setcaps and reject any incoming
stream that does not meet these limits. BUT, I haven't found a good way to
express limits in macroblocks/frame and macroblocks/second in video/x-raw-yuv
caps, so right now if you try to send something above the level, it will just
error out with not-negotiated.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list