Sometimes it's useful to be able to define the exact track numbers in
the generated track, instead of always beginning at track id 1. Using
the option use_stream_ids_as_track_ids now copies the use stream ids
to track ids. Dynamically generated tracks (ie. tmcd) have their track
numbers defined as continuing from the highest numbered stream id.
Signed-off-by: Erkki Seppälä <erkki.seppala.ext@nokia.com>
Signed-off-by: OZOPlayer <OZOPL@nokia.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
pull/230/head
Erkki Seppälä8 years agocommitted byMichael Niedermayer
{"encryption_scheme","Configures the encryption scheme, allowed values are none, cenc-aes-ctr",offsetof(MOVMuxContext,encryption_scheme_str),AV_OPT_TYPE_STRING,{.str=NULL},.flags=AV_OPT_FLAG_ENCODING_PARAM},
{"encryption_scheme","Configures the encryption scheme, allowed values are none, cenc-aes-ctr",offsetof(MOVMuxContext,encryption_scheme_str),AV_OPT_TYPE_STRING,{.str=NULL},.flags=AV_OPT_FLAG_ENCODING_PARAM},
{"encryption_key","The media encryption key (hex)",offsetof(MOVMuxContext,encryption_key),AV_OPT_TYPE_BINARY,.flags=AV_OPT_FLAG_ENCODING_PARAM},
{"encryption_key","The media encryption key (hex)",offsetof(MOVMuxContext,encryption_key),AV_OPT_TYPE_BINARY,.flags=AV_OPT_FLAG_ENCODING_PARAM},
{"encryption_kid","The media encryption key identifier (hex)",offsetof(MOVMuxContext,encryption_kid),AV_OPT_TYPE_BINARY,.flags=AV_OPT_FLAG_ENCODING_PARAM},
{"encryption_kid","The media encryption key identifier (hex)",offsetof(MOVMuxContext,encryption_kid),AV_OPT_TYPE_BINARY,.flags=AV_OPT_FLAG_ENCODING_PARAM},
{"use_stream_ids_as_track_ids","use stream ids as track ids",offsetof(MOVMuxContext,use_stream_ids_as_track_ids),AV_OPT_TYPE_BOOL,{.i64=0},0,1,AV_OPT_FLAG_ENCODING_PARAM},