diff options
author | hwren <hwrenx@126.com> | 2018-09-10 06:59:03 +0300 |
---|---|---|
committer | Mark Thompson <sw@jkqxz.net> | 2018-09-11 23:48:49 +0300 |
commit | ed0bd0a71b5e861a68410ad4543e4a1b611bd7c8 (patch) | |
tree | 567a5bfedf43ac58788dcb9345839468dbd72fd1 /libavformat/rawenc.c | |
parent | 85a921f46184dace4b4f3d968830991eff218e3f (diff) |
lavf: add raw avs2 muxer
Signed-off-by: hwren <hwrenx@126.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 809ca23b1a..993d232b70 100644 --- a/libavformat/rawenc.c +++ b/libavformat/rawenc.c @@ -117,6 +117,19 @@ AVOutputFormat ff_aptx_hd_muxer = { }; #endif +#if CONFIG_AVS2_MUXER +AVOutputFormat ff_avs2_muxer = { + .name = "avs2", + .long_name = NULL_IF_CONFIG_SMALL("raw AVS2-P2/IEEE1857.4 video"), + .extensions = "avs,avs2", + .audio_codec = AV_CODEC_ID_NONE, + .video_codec = AV_CODEC_ID_AVS2, + .write_header = force_one_stream, + .write_packet = ff_raw_write_packet, + .flags = AVFMT_NOTIMESTAMPS, +}; +#endif + #if CONFIG_CAVSVIDEO_MUXER AVOutputFormat ff_cavsvideo_muxer = { .name = "cavsvideo", |