Gstreamer editing service Render?
killerrats
koreysjunkmail at gmail.com
Tue Sep 24 00:34:13 UTC 2019
figured out that I needed to put width and height in the
gst_caps_from_string. this currently works.
static GstEncodingProfile* mediacat_gen_profilee() {
GstEncodingContainerProfile *profile = NULL; GstCaps *caps = NULL;
GstPreset* preset; caps = gst_caps_from_string("video/quicktime"); profile =
gst_encoding_container_profile_new("Quicktime Audio/Video","", caps, NULL);
gst_caps_unref(caps); caps =
gst_caps_from_string("audio/mpeg,mpegversion=1,layer=3");
gst_encoding_container_profile_add_profile(profile, (GstEncodingProfile
*)gst_encoding_audio_profile_new(caps, NULL, NULL, 0));
gst_caps_unref(caps); caps =
gst_caps_from_string("video/x-h264,width=640,height=480");
gst_encoding_container_profile_add_profile(profile, (GstEncodingProfile
*)gst_encoding_video_profile_new(caps, NULL, NULL, 0));
gst_caps_unref(caps); return (GstEncodingProfile *)profile;}
-----
------------------------------
Gstreamer 1.14.3
------------------------------
Windows
--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190923/b6451484/attachment.html>
More information about the gstreamer-devel
mailing list