I'm trying to disable copying of the "service_provider", "service_name" and "service_type" entries and prevent ffmpeg to set its default values for them while remuxing the contents of a MPEG-TS container into a new container.
According to the docs using -metadata with empty values should do the trick, however it won't work
Result:Code:ffmpeg -hide_banner -y -i "D:\test.ts" -c copy -metadata service_provider="" -metadata service_name="" -metadata service_type="" -f mpegts "D:\test.remuxed.ts"
Code:General ID : 1 (0x1) Complete name : D:\test.remuxed.ts Format : MPEG-TS File size : 24.1 MiB Duration : 21 s 960 ms Overall bit rate mode : Variable Overall bit rate : 9 187 kb/s Video ID : 256 (0x100) Menu ID : 1 (0x1) Format : AVC Format/Info : Advanced Video Codec Format profile : High@L4 Format settings : 2 Ref Frames Format settings, CABAC : No Format settings, Reference : 2 frames Codec ID : 27 Duration : 22 s 0 ms Bit rate mode : Variable Bit rate : 8 474 kb/s Maximum bit rate : 12.0 Mb/s Width : 1 920 pixels Height : 1 080 pixels Display aspect ratio : 16:9 Frame rate : 25.000 FPS Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Interlaced Scan type, store method : Separated fields Scan order : Top Field First Bits/(Pixel*Frame) : 0.163 Stream size : 22.2 MiB (92%) Audio ID : 257 (0x101) Menu ID : 1 (0x1) Format : MPEG Audio Format version : Version 1 Format profile : Layer 2 Codec ID : 3 Duration : 21 s 984 ms Bit rate mode : Constant Bit rate : 256 kb/s Channel(s) : 2 channels Sampling rate : 48.0 kHz Frame rate : 41.667 FPS (1152 SPF) Compression mode : Lossy Delay relative to video : -8 ms Stream size : 687 KiB (3%) Menu ID : 4096 (0x1000) Menu ID : 1 (0x1) Duration : 21 s 960 ms List : 256 (0x100) (AVC) / 257 (0x101) (MPEG Audio) Service name : Service01 Service provider : FFmpeg Service type : digital television
I also tried these w/o success:
Code:ffmpeg -hide_banner -y -i "D:\test.ts" -c copy -map_metadata -1 -f mpegts "D:\test.remuxed.ts" ffmpeg -hide_banner -y -i "D:\test.ts" -c copy -metadata:s:p:0 service_provider="" -metadata:s:p:0 service_name="" -metadata:s:p:0 service_type="" -f mpegts "D:\test.remuxed.ts"
+ Reply to Thread
Results 1 to 3 of 3
-
-
Try
ffmpeg -hide_banner -y -i "D:\test.ts" -c copy -metadata "Service provider=" -metadata "Service name=" -metadata "Service type=" -f mpegts "D:\test.remuxed.ts"Last edited by ProWo; 24th Feb 2020 at 15:55.
Similar Threads
-
How to remove Complete Metadata from video file
By deepfrayder in forum Newbie / General discussionsReplies: 9Last Post: 19th Aug 2019, 06:58 -
How can I remove a single metadata from an MP4 file?
By aveceux in forum Video ConversionReplies: 2Last Post: 26th Feb 2019, 09:36 -
Please recommend freeware to remove image metadata
By hamilton accie in forum Newbie / General discussionsReplies: 2Last Post: 2nd Aug 2017, 18:47 -
(HELP PLEASE) FFmpeg - Batch Remove metadata
By uppon2 in forum Newbie / General discussionsReplies: 14Last Post: 3rd Jun 2016, 06:47 -
Can somebody explain the FFMPEG usage of -metadata ?
By Videogamer555 in forum EditingReplies: 7Last Post: 15th May 2015, 15:06