Hi, 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: https://prnt.sc/rfhi5k
On Thu, Mar 12, 2020 at 8:43 PM Ted Park <[email protected]> wrote: > Hi, > > > 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” > ... > > Input #0, mpegts, from 'E:\ts_sample_with_metadata.ts': > > Duration: 00:00:52.82, start: 43663.998044, bitrate: 11790 kb/s > > Program 1156 > > Metadata: > > service_name : BNT 2 HD > > service_provider: ss > > Stream #0:0[0x619]: Video: h264 (High) ([27][0][0][0] / 0x001B), > > yuv420p(top first), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k > tbn, > > 50 tbc > > Stream #0:1[0x61a](bul): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, > > stereo, fltp, 256 kb/s > > Output #0, mpegts, to 'E:\ts_sample_without_metadata.ts': > > Metadata: > > encoder : Lavf58.38.100 > > Stream #0:0: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(top > > first), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 25 fps, 25 tbr, 90k tbn, > 90k > > tbc > > Stream #0:1(bul): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, > stereo, > > fltp, 256 kb/s > > It looks like it worked to me? Is the metadata still there when you > inspect the new file? > > Regards, > Ted Park > > _______________________________________________ > ffmpeg-user mailing list > [email protected] > https://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > [email protected] with subject "unsubscribe". _______________________________________________ ffmpeg-user mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
