From 5bd31b8cce4706b6e9754b6118cf5f941607218a Mon Sep 17 00:00:00 2001 From: Mathieu Duponchelle Date: Thu, 26 Aug 2021 04:12:07 +0200 Subject: timecodestamper: add support for closedcaption input Some closedcaption elements like sccenc except input buffers to have timecode metas. The original use case is to serialize closed captions extracted from a video stream, in that case ccextractor copies the video time code metas to the closed caption buffers, but no such mechanism exists when creating a CC stream ex nihilo. Remedy that by having timecodestamper accept closedcaption input caps, as long as they have a framerate. Part-of: --- docs/plugins/gst_plugins_cache.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/plugins/gst_plugins_cache.json b/docs/plugins/gst_plugins_cache.json index 6e03b794b..143ad6a61 100644 --- a/docs/plugins/gst_plugins_cache.json +++ b/docs/plugins/gst_plugins_cache.json @@ -224034,12 +224034,12 @@ "presence": "request" }, "sink": { - "caps": "video/x-raw:\n framerate: [ 1/2147483647, 2147483647/1 ]\n", + "caps": "video/x-raw:\n framerate: [ 1/2147483647, 2147483647/1 ]\nclosedcaption/x-cea-608:\n framerate: [ 1/2147483647, 2147483647/1 ]\nclosedcaption/x-cea-708:\n framerate: [ 1/2147483647, 2147483647/1 ]\n", "direction": "sink", "presence": "always" }, "src": { - "caps": "video/x-raw:\n framerate: [ 1/2147483647, 2147483647/1 ]\n", + "caps": "video/x-raw:\n framerate: [ 1/2147483647, 2147483647/1 ]\nclosedcaption/x-cea-608:\n framerate: [ 1/2147483647, 2147483647/1 ]\nclosedcaption/x-cea-708:\n framerate: [ 1/2147483647, 2147483647/1 ]\n", "direction": "src", "presence": "always" } -- cgit v1.2.1