diff options
author | Dawid Kozinski <d.kozinski@samsung.com> | 2023-06-15 13:47:03 +0200 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2023-06-15 09:51:13 -0300 |
commit | 3069a8fe3cc7159dceec29130deb101edf99b456 (patch) | |
tree | b02dd707070ce850fa6df91cf29e081153fea0f6 /libavformat/rawenc.c | |
parent | 34e4f18360c4ecb8e5979cab8f389478d8cd7819 (diff) |
avformat/evc_muxer: Added muxer to handle writing EVC encoded data into file or output bytestream
- Provided AVOutputFormat structure describing EVC output format (ff_evc_muxer)
- Added documentation for EVC muxer
Signed-off-by: Dawid Kozinski <d.kozinski@samsung.com>
Diffstat (limited to 'libavformat/rawenc.c')
-rw-r--r-- | libavformat/rawenc.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/libavformat/rawenc.c b/libavformat/rawenc.c index 78fadda967..70d6322c53 100644 --- a/libavformat/rawenc.c +++ b/libavformat/rawenc.c @@ -401,6 +401,19 @@ const FFOutputFormat ff_hevc_muxer = { }; #endif +#if CONFIG_EVC_MUXER +const FFOutputFormat ff_evc_muxer = { + .p.name = "evc", + .p.long_name = NULL_IF_CONFIG_SMALL("raw EVC video"), + .p.extensions = "evc", + .p.audio_codec = AV_CODEC_ID_NONE, + .p.video_codec = AV_CODEC_ID_EVC, + .init = force_one_stream, + .write_packet = ff_raw_write_packet, + .p.flags = AVFMT_NOTIMESTAMPS, +}; +#endif + #if CONFIG_M4V_MUXER const FFOutputFormat ff_m4v_muxer = { .p.name = "m4v", |