mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
lavf/rawenc: Add a raw gsm muxer.
This commit is contained in:
parent
56cb465b38
commit
b0c026a27f
@ -181,6 +181,7 @@ OBJS-$(CONFIG_FSB_DEMUXER) += fsb.o
|
||||
OBJS-$(CONFIG_GIF_MUXER) += gif.o
|
||||
OBJS-$(CONFIG_GIF_DEMUXER) += gifdec.o
|
||||
OBJS-$(CONFIG_GSM_DEMUXER) += gsmdec.o
|
||||
OBJS-$(CONFIG_GSM_MUXER) += rawenc.o
|
||||
OBJS-$(CONFIG_GXF_DEMUXER) += gxf.o
|
||||
OBJS-$(CONFIG_GXF_MUXER) += gxfenc.o audiointerleave.o
|
||||
OBJS-$(CONFIG_G722_DEMUXER) += g722.o rawdec.o
|
||||
|
@ -139,7 +139,7 @@ void av_register_all(void)
|
||||
REGISTER_DEMUXER (G729, g729);
|
||||
REGISTER_DEMUXER (GENH, genh);
|
||||
REGISTER_MUXDEMUX(GIF, gif);
|
||||
REGISTER_DEMUXER (GSM, gsm);
|
||||
REGISTER_MUXDEMUX(GSM, gsm);
|
||||
REGISTER_MUXDEMUX(GXF, gxf);
|
||||
REGISTER_MUXDEMUX(H261, h261);
|
||||
REGISTER_MUXDEMUX(H263, h263);
|
||||
|
@ -193,6 +193,20 @@ AVOutputFormat ff_g723_1_muxer = {
|
||||
};
|
||||
#endif
|
||||
|
||||
#if CONFIG_GSM_MUXER
|
||||
AVOutputFormat ff_gsm_muxer = {
|
||||
.name = "gsm",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("raw GSM"),
|
||||
.mime_type = "audio/x-gsm",
|
||||
.extensions = "gsm",
|
||||
.audio_codec = AV_CODEC_ID_GSM,
|
||||
.video_codec = AV_CODEC_ID_NONE,
|
||||
.write_header = force_one_stream,
|
||||
.write_packet = ff_raw_write_packet,
|
||||
.flags = AVFMT_NOTIMESTAMPS,
|
||||
};
|
||||
#endif
|
||||
|
||||
#if CONFIG_H261_MUXER
|
||||
AVOutputFormat ff_h261_muxer = {
|
||||
.name = "h261",
|
||||
|
@ -30,7 +30,7 @@
|
||||
#include "libavutil/version.h"
|
||||
|
||||
#define LIBAVFORMAT_VERSION_MAJOR 57
|
||||
#define LIBAVFORMAT_VERSION_MINOR 31
|
||||
#define LIBAVFORMAT_VERSION_MINOR 32
|
||||
#define LIBAVFORMAT_VERSION_MICRO 100
|
||||
|
||||
#define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \
|
||||
|
Loading…
Reference in New Issue
Block a user