```
mp4edit.exe --replace TSCM:1.tscm 1.trec 2.trec
mp4edit.exe --insert TSCM:1.tscm 1.trec 2.trec
```

Original file info
```
[ftyp] size=8+16
  major_brand = mp42
  minor_version = 0
  compatible_brand = mp42
  compatible_brand = isom
[free] size=8+128
[mdat] size=16+8994395
[moov] size=8+2634
  [mvhd] size=12+108, version=1
    timescale = 1000
    duration = 12366
    duration(ms) = 12366
  [iods] size=12+12
    [InitialObjectDescriptor] size=5+7
      id = 1
      include inline profile level flag = 0
      OD profile level = ff
      scene profile level = ff
      audio profile level = ff
      visual profile level = ff
      graphics profile level = ff
  [trak] size=8+2482
    [tkhd] size=12+92, version=1, flags=1
      enabled = 1
      id = 1
      duration = 12366
      width = 2560.000000
      height = 1440.000000
    [mdia] size=8+2351
      [mdhd] size=12+32, version=1
        timescale = 30
        duration = 371
        duration(ms) = 12366
        language = und
      [hdlr] size=12+21
        handler_type = vide
        handler_name =
      [minf] size=8+2266
        [vmhd] size=12+8, flags=1
          graphics_mode = 0
          op_color = 0000,0000,0000
        [dinf] size=8+28
          [dref] size=12+16
            [url ] size=12+0, flags=1
              location = [local to file]
        [stbl] size=8+2202
          [stsd] size=12+134
            entry_count = 1
            [tsc2] size=8+122
              data_reference_index = 1
          [stts] size=12+364
            entry_count = 45
          [stsz] size=12+1376
            sample_size = 0
            sample_count = 342
          [stsc] size=12+124
            entry_count = 10
          [co64] size=12+108
            entry_count = 13
          [stss] size=12+24
            entry_count = 5
    [udta] size=8+11
      [name] size=8+3
[free] size=8+128
[TSCR] size=16+64
[TSCM] size=16+13124
```
new file
```
[ftyp] size=8+16
  major_brand = mp42
  minor_version = 0
  compatible_brand = mp42
  compatible_brand = isom
[free] size=8+128
[moov] size=8+2634
  [mvhd] size=12+108, version=1
    timescale = 1000
    duration = 12366
    duration(ms) = 12366
  [iods] size=12+12
    [InitialObjectDescriptor] size=5+7
      id = 1
      include inline profile level flag = 0
      OD profile level = ff
      scene profile level = ff
      audio profile level = ff
      visual profile level = ff
      graphics profile level = ff
  [trak] size=8+2482
    [tkhd] size=12+92, version=1, flags=1
      enabled = 1
      id = 1
      duration = 12366
      width = 2560.000000
      height = 1440.000000
    [mdia] size=8+2351
      [mdhd] size=12+32, version=1
        timescale = 30
        duration = 371
        duration(ms) = 12366
        language = und
      [hdlr] size=12+21
        handler_type = vide
        handler_name =
      [minf] size=8+2266
        [vmhd] size=12+8, flags=1
          graphics_mode = 0
          op_color = 0000,0000,0000
        [dinf] size=8+28
          [dref] size=12+16
            [url ] size=12+0, flags=1
              location = [local to file]
        [stbl] size=8+2202
          [stsd] size=12+134
            entry_count = 1
            [tsc2] size=8+122
              data_reference_index = 1
          [stts] size=12+364
            entry_count = 45
          [stsz] size=12+1376
            sample_size = 0
            sample_count = 342
          [stsc] size=12+124
            entry_count = 10
          [co64] size=12+108
            entry_count = 13
          [stss] size=12+24
            entry_count = 5
    [udta] size=8+11
      [name] size=8+3
[free] size=8+128
[TSCR] size=16+64
```
It destroys the original structure and does not add custom box
This is a GitHub Issue
repo:Bento4
owner:axiomatic-systems
Title : It destroys the original structure and does not add custom box
Issue date:

--- start body ---
```
mp4edit.exe --replace TSCM:1.tscm 1.trec 2.trec
mp4edit.exe --insert TSCM:1.tscm 1.trec 2.trec
```

Original file info
```
[ftyp] size=8+16
  major_brand = mp42
  minor_version = 0
  compatible_brand = mp42
  compatible_brand = isom
[free] size=8+128
[mdat] size=16+8994395
[moov] size=8+2634
  [mvhd] size=12+108, version=1
    timescale = 1000
    duration = 12366
    duration(ms) = 12366
  [iods] size=12+12
    [InitialObjectDescriptor] size=5+7
      id = 1
      include inline profile level flag = 0
      OD profile level = ff
      scene profile level = ff
      audio profile level = ff
      visual profile level = ff
      graphics profile level = ff
  [trak] size=8+2482
    [tkhd] size=12+92, version=1, flags=1
      enabled = 1
      id = 1
      duration = 12366
      width = 2560.000000
      height = 1440.000000
    [mdia] size=8+2351
      [mdhd] size=12+32, version=1
        timescale = 30
        duration = 371
        duration(ms) = 12366
        language = und
      [hdlr] size=12+21
        handler_type = vide
        handler_name =
      [minf] size=8+2266
        [vmhd] size=12+8, flags=1
          graphics_mode = 0
          op_color = 0000,0000,0000
        [dinf] size=8+28
          [dref] size=12+16
            [url ] size=12+0, flags=1
              location = [local to file]
        [stbl] size=8+2202
          [stsd] size=12+134
            entry_count = 1
            [tsc2] size=8+122
              data_reference_index = 1
          [stts] size=12+364
            entry_count = 45
          [stsz] size=12+1376
            sample_size = 0
            sample_count = 342
          [stsc] size=12+124
            entry_count = 10
          [co64] size=12+108
            entry_count = 13
          [stss] size=12+24
            entry_count = 5
    [udta] size=8+11
      [name] size=8+3
[free] size=8+128
[TSCR] size=16+64
[TSCM] size=16+13124
```
new file
```
[ftyp] size=8+16
  major_brand = mp42
  minor_version = 0
  compatible_brand = mp42
  compatible_brand = isom
[free] size=8+128
[moov] size=8+2634
  [mvhd] size=12+108, version=1
    timescale = 1000
    duration = 12366
    duration(ms) = 12366
  [iods] size=12+12
    [InitialObjectDescriptor] size=5+7
      id = 1
      include inline profile level flag = 0
      OD profile level = ff
      scene profile level = ff
      audio profile level = ff
      visual profile level = ff
      graphics profile level = ff
  [trak] size=8+2482
    [tkhd] size=12+92, version=1, flags=1
      enabled = 1
      id = 1
      duration = 12366
      width = 2560.000000
      height = 1440.000000
    [mdia] size=8+2351
      [mdhd] size=12+32, version=1
        timescale = 30
        duration = 371
        duration(ms) = 12366
        language = und
      [hdlr] size=12+21
        handler_type = vide
        handler_name =
      [minf] size=8+2266
        [vmhd] size=12+8, flags=1
          graphics_mode = 0
          op_color = 0000,0000,0000
        [dinf] size=8+28
          [dref] size=12+16
            [url ] size=12+0, flags=1
              location = [local to file]
        [stbl] size=8+2202
          [stsd] size=12+134
            entry_count = 1
            [tsc2] size=8+122
              data_reference_index = 1
          [stts] size=12+364
            entry_count = 45
          [stsz] size=12+1376
            sample_size = 0
            sample_count = 342
          [stsc] size=12+124
            entry_count = 10
          [co64] size=12+108
            entry_count = 13
          [stss] size=12+24
            entry_count = 5
    [udta] size=8+11
      [name] size=8+3
[free] size=8+128
[TSCR] size=16+64
```
--- end body ---
