VideoHelp Forum
+ Reply to Thread
Results 1 to 3 of 3
Thread
  1. 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
    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"
    Result:
    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"
    Quote Quote  
  2. 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 16:55.
    Quote Quote  
  3. It doesn't work
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!