GNOME Bugzilla – Bug 641746
Setting standards profiles on encodebin elements
Last modified: 2011-02-08 16:58:26 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?
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.