mirror of
https://mirror.skon.top/https://github.com/FFmpeg/FFmpeg
synced 2026-04-20 12:50:49 +08:00
fftools/ffmpeg_mux_init: add support for LCEVC Stream Group muxing
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
@@ -2552,6 +2552,8 @@ static int of_map_group(Muxer *mux, AVDictionary **dict, AVBPrint *bp, const cha
|
||||
}
|
||||
break;
|
||||
}
|
||||
case AV_STREAM_GROUP_PARAMS_LCEVC:
|
||||
break;
|
||||
default:
|
||||
av_log(mux, AV_LOG_ERROR, "Unsupported mapped group type %d.\n", stg->type);
|
||||
ret = AVERROR(EINVAL);
|
||||
@@ -2574,6 +2576,8 @@ static int of_parse_group_token(Muxer *mux, const char *token, char *ptr)
|
||||
{ .i64 = AV_STREAM_GROUP_PARAMS_IAMF_AUDIO_ELEMENT }, .unit = "type" },
|
||||
{ "iamf_mix_presentation", NULL, 0, AV_OPT_TYPE_CONST,
|
||||
{ .i64 = AV_STREAM_GROUP_PARAMS_IAMF_MIX_PRESENTATION }, .unit = "type" },
|
||||
{ "lcevc", NULL, 0, AV_OPT_TYPE_CONST,
|
||||
{ .i64 = AV_STREAM_GROUP_PARAMS_LCEVC }, .unit = "type" },
|
||||
{ NULL },
|
||||
};
|
||||
const AVClass class = {
|
||||
@@ -2672,8 +2676,6 @@ static int of_parse_group_token(Muxer *mux, const char *token, char *ptr)
|
||||
ret = of_parse_iamf_submixes(mux, stg, ptr);
|
||||
break;
|
||||
default:
|
||||
av_log(mux, AV_LOG_FATAL, "Unknown group type %d.\n", type);
|
||||
ret = AVERROR(EINVAL);
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user