<p>
figured out that I needed to put width and height in the gst_caps_from_string. this currently works.
</p>
<pre>
<font size=4>
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;
}
</font>
</pre>
<div class="signature" style="margin-top:1em;color:#666666;font-size:11px;">
------------------------------
<br/>Gstreamer 1.14.3
<br/>------------------------------
<br/>Windows
</div>
<br/><hr align="left" width="300" />
Sent from the <a href="http://gstreamer-devel.966125.n4.nabble.com/">GStreamer-devel mailing list archive</a> at Nabble.com.<br/>