34 GstCaps * caps = NULL;
38 caps = gst_caps_new_simple (
"video/mpegts",
39 "systemstream", G_TYPE_BOOLEAN,
TRUE,
40 "packetsize", G_TYPE_INT, 188, NULL);
43 caps = gst_caps_new_simple(
"video/quicktime", NULL, NULL);
46 caps = gst_caps_new_simple (
"audio/mpeg",
47 "mpegversion", G_TYPE_INT, 2,
48 "stream-format", G_TYPE_STRING,
"adts", NULL);
51 caps = gst_caps_new_simple (
"audio/x-ac3", NULL, NULL);
55 caps = gst_caps_new_simple (
"audio/x-ac4", NULL, NULL);
59 caps = gst_caps_new_simple(
"application/ttml+xml", NULL, NULL);
62 caps = gst_caps_new_simple(
"text/vtt", NULL, NULL);
65 caps = gst_caps_new_simple(
"application/mp4", NULL, NULL);
71 caps = gst_caps_new_simple (
"audio/x-eac3", NULL, NULL);
74 caps = gst_caps_new_simple (
"audio/x-eac3", NULL, NULL);
78 caps = gst_caps_new_simple (
"video/x-h264",
79 "stream-format", G_TYPE_STRING,
"avc",
80 "width", G_TYPE_INT, 1920,
81 "height", G_TYPE_INT, 1080,
83 #elif (defined(RPI) || defined(__APPLE__) || defined(UBUNTU))
84 caps = gst_caps_new_simple (
"video/x-h264",
85 "alignment", G_TYPE_STRING,
"au",
86 "stream-format", G_TYPE_STRING,
"avc",
88 #elif (defined(REALTEKCE))
89 caps = gst_caps_new_simple (
"video/x-h264",
"enable-fastplayback", G_TYPE_STRING,
"true", NULL);
91 caps = gst_caps_new_simple (
"video/x-h264", NULL, NULL);
95 #if (defined(RPI) || defined(__APPLE__) || defined(UBUNTU))
96 caps = gst_caps_new_simple (
"video/x-h265",
97 "alignment", G_TYPE_STRING,
"au",
98 "stream-format", G_TYPE_STRING,
"hev1",
100 #elif (defined(REALTEKCE))
101 caps = gst_caps_new_simple (
"video/x-h265",
"enable-fastplayback", G_TYPE_STRING,
"true", NULL);
103 caps = gst_caps_new_simple (
"video/x-h265", NULL, NULL);
107 caps = gst_caps_new_simple (
"video/mpeg",
108 "mpegversion", G_TYPE_INT, 2,
109 "systemstream", G_TYPE_BOOLEAN, FALSE, NULL);
112 AAMPLOG_WARN(
"Unknown format %d", format);
116 AAMPLOG_WARN(
"Unsupported format %d", format);