> According to the docs using -metadata with empty values should do the
> trick, however it won't work
> Any ideas what's' wrong ?
>> ffmpeg -y -i "E:\ts_sample_with_metadata.ts" -c:v copy -c:a copy
>> -metadata service_provider="" -metadata service_name="" -metadata
>> service_type="" "E:\ts_sample_without_metadata.ts”
> It's replaced by the ffmpeg's default values and that's what I'm trying to
> avoid. I want to completely get rid of these things:
I wonder if it’s impossible… As you say, if you leave it blank, it gets filled with the default values, but you can fake it by typing a space in the field. The tag will still show up with no value.
% ffmpeg -y -i "E:\ts_sample_with_metadata.ts" -c copy -program program_num=0x1111:st=0:st=1 -metadata:p:0 service_name=" " -metadata:p:0 service_provider=" " "E:\ts_sample_without_metadata.ts"
Am Do., 12. März 2020 um 19:40 Uhr schrieb Alexander Machev
> I'm trying to disable copying of the "service_provider", "service_name" and
> "service_type" metadata entries and prevent ffmpeg to set its default
> values for them (Service01, FFmpeg, digital television) while remuxing to a
> new MPEG-TS container.
I suspect a valid mpeg transport stream needs a provider and service name.