1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

sbc: add raw muxer for SBC

This commit is contained in:
Aurelien Jacobs 2017-12-17 20:24:21 +01:00
parent ff4600d954
commit 88508a87a5
4 changed files with 16 additions and 1 deletions

View File

@ -501,7 +501,7 @@ library:
@item raw NULL @tab X @tab
@item raw video @tab X @tab X
@item raw id RoQ @tab X @tab
@item raw SBC @tab @tab X
@item raw SBC @tab X @tab X
@item raw Shorten @tab @tab X
@item raw TAK @tab @tab X
@item raw TrueHD @tab X @tab X

View File

@ -453,6 +453,7 @@ OBJS-$(CONFIG_SAMI_DEMUXER) += samidec.o subtitles.o
OBJS-$(CONFIG_SAP_DEMUXER) += sapdec.o
OBJS-$(CONFIG_SAP_MUXER) += sapenc.o
OBJS-$(CONFIG_SBC_DEMUXER) += sbcdec.o rawdec.o
OBJS-$(CONFIG_SBC_MUXER) += rawenc.o
OBJS-$(CONFIG_SBG_DEMUXER) += sbgdec.o
OBJS-$(CONFIG_SCC_DEMUXER) += sccdec.o subtitles.o
OBJS-$(CONFIG_SCC_MUXER) += sccenc.o subtitles.o

View File

@ -355,6 +355,7 @@ extern AVInputFormat ff_sami_demuxer;
extern AVInputFormat ff_sap_demuxer;
extern AVOutputFormat ff_sap_muxer;
extern AVInputFormat ff_sbc_demuxer;
extern AVOutputFormat ff_sbc_muxer;
extern AVInputFormat ff_sbg_demuxer;
extern AVInputFormat ff_scc_demuxer;
extern AVOutputFormat ff_scc_muxer;

View File

@ -452,6 +452,19 @@ AVOutputFormat ff_rawvideo_muxer = {
};
#endif
#if CONFIG_SBC_MUXER
AVOutputFormat ff_sbc_muxer = {
.name = "sbc",
.long_name = NULL_IF_CONFIG_SMALL("raw SBC"),
.mime_type = "audio/x-sbc",
.extensions = "sbc,msbc",
.audio_codec = AV_CODEC_ID_SBC,
.write_header = force_one_stream,
.write_packet = ff_raw_write_packet,
.flags = AVFMT_NOTIMESTAMPS,
};
#endif
#if CONFIG_TRUEHD_MUXER
AVOutputFormat ff_truehd_muxer = {
.name = "truehd",