From e244a192e92ce722d835186e946e0a9e6b90afda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20K=C3=BCnzel?= <simonk@fsmpi.rwth-aachen.de> Date: Sat, 3 May 2025 01:37:05 +0200 Subject: [PATCH] Add webm as possible output format --- api/api_specification.json | 2 +- api/api_specification.md | 9 +++++++-- api/api_specification_template.md | 7 ++++++- .../src/videoag_common/media_process/jnode/file_jnode.py | 1 + 4 files changed, 15 insertions(+), 4 deletions(-) diff --git a/api/api_specification.json b/api/api_specification.json index f84f786..7955ce7 100644 --- a/api/api_specification.json +++ b/api/api_specification.json @@ -2876,7 +2876,7 @@ "file_format": { "config_directly_modifiable": false, "id": "file_format", - "notes": "Possible values: `mp4`, `mov`, `mkv`, `mp3`, `wav`", + "notes": "Possible values: `mp4`, `mov`, `mkv`, `mp3`, `wav`, `webm`", "object_variant": "output_file", "only_mod": false, "optional": false, diff --git a/api/api_specification.md b/api/api_specification.md index 324a7f2..9f64bd7 100644 --- a/api/api_specification.md +++ b/api/api_specification.md @@ -1,4 +1,4 @@ -# Specification of the Web API for the Video-AG Website (v0.85). +# Specification of the Web API for the Video-AG Website (v0.86). ## Introduction @@ -2137,7 +2137,7 @@ Additionally, the following objects may appear as the type of some field: <td rowspan="3"><code>output_file</code></td> <td>file_format</td> <td>string</td> - <td>Possible values: <code>mp4</code>, <code>mov</code>, <code>mkv</code>, <code>mp3</code>, <code>wav</code></td> + <td>Possible values: <code>mp4</code>, <code>mov</code>, <code>mkv</code>, <code>mp3</code>, <code>wav</code>, <code>webm</code></td> </tr> <tr> <td>medium_file_target_id</td> @@ -3228,6 +3228,11 @@ Possible `error_code`: ## Changelog +### v0.86 + +* Updated `ffmpeg_filter_graph_node` + * Added `webm` to `file_format` + ### v0.85 * Updated `GET /stats/publish_medium/{publish_medium_id}` diff --git a/api/api_specification_template.md b/api/api_specification_template.md index b177b67..d60bcbb 100644 --- a/api/api_specification_template.md +++ b/api/api_specification_template.md @@ -1,4 +1,4 @@ -# Specification of the Web API for the Video-AG Website (v0.85). +# Specification of the Web API for the Video-AG Website (v0.86). ## Introduction @@ -139,6 +139,11 @@ Possible `error_code`: ## Changelog +### v0.86 + +* Updated `ffmpeg_filter_graph_node` + * Added `webm` to `file_format` + ### v0.85 * Updated `GET /stats/publish_medium/{publish_medium_id}` diff --git a/common_py/src/videoag_common/media_process/jnode/file_jnode.py b/common_py/src/videoag_common/media_process/jnode/file_jnode.py index 29b9ac5..3ef28ac 100644 --- a/common_py/src/videoag_common/media_process/jnode/file_jnode.py +++ b/common_py/src/videoag_common/media_process/jnode/file_jnode.py @@ -231,6 +231,7 @@ class OutputFileFormat(JsonSerializableEnum): MKV = "mkv" MP3 = "mp3" WAV = "wav" + WEBM = "webm" class OutputCodec(JsonSerializableEnum): -- GitLab