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 641746 - Setting standards profiles on encodebin elements
Setting standards profiles on encodebin elements
Status: RESOLVED NOTABUG
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-02-07 16:34 UTC by Christian Fredrik Kalager Schaller
Modified: 2011-02-08 16:58 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Christian Fredrik Kalager Schaller 2011-02-07 16:34:40 UTC
I am currently in Transmageddon using the .prs preset system to set some values 
in order to create files that conform to various format profile standards, an example is h264 which got the following:
[Profile Baseline]
_meta/comment=Baseline Profile
bframes=0
cabac=false
dct8x8=false

[Profile Main]
_meta/comment=Main Profile
cabac=true
dct8x8=false

[Profile High]
_meta/comment=High Profile
cabac=true
dct8x8=true

What would be the natural way to do this with encodebin? do these need to be added to caps?
Comment 1 Edward Hervey 2011-02-08 16:58:26 UTC
See the gst_encoding_profile_set_preset() method and the "preset" arguments of the various profile constructors.

In this case you want to create a video profile for "video/x-h264" with the "Profile High" preset for example. If there's an available encoder that can encode to that format AND support the specified preset it'll use that one.