Hi i found this example.
But creating this container_profile throws TypeError: constructor returned NULL
How could i export video to webm with specified resolution and bitrate?
<code>
container_profile =
GstPbutils.EncodingContainerProfile.new("pitivi-profile",
"Pitivi encoding profile",
Gst.Caps("video/webm"),
None)
video_profile = GstPbutils.EncodingVideoProfile.new(Gst.Caps("video/x-vp8"),
None,
Gst.Caps("video/x-raw"),
0)
</code>
<code>
container_profile =
GstPbutils.EncodingContainerProfile.new("pitivi-profile",
"Pitivi encoding profile",
Gst.Caps("video/webm"),
None)
video_profile = GstPbutils.EncodingVideoProfile.new(Gst.Caps("video/x-vp8"),
None,
Gst.Caps("video/x-raw"),
0)
</code>
container_profile =
GstPbutils.EncodingContainerProfile.new("pitivi-profile",
"Pitivi encoding profile",
Gst.Caps("video/webm"),
None)
video_profile = GstPbutils.EncodingVideoProfile.new(Gst.Caps("video/x-vp8"),
None,
Gst.Caps("video/x-raw"),
0)
I’ve tried searching for docs but coudn’t find anything better that examples linked.
New contributor
Damian Konopka is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.