title: ffmpeg set timecode offset in output
body: <p>I'm trying to create a .ts-file with a timecode starting at a specific offset. Lets say an input file input.ts exists. Running ffprobe on it says "start: 8636.xxx". Now, I like to create a copy with an additional start time offset, using:</p>
  
  <p><code>ffmpeg -i input.ts -someoption output.ts</code></p>
  
  <p>The options known to me for manipulating the time, like
  -copyts
  -ss
  -timecode</p>
  
  <p>won't work. Is there an option which allows me to add an extra time offset to the video stream?</p>
  
  <p>Edit:</p>
  
  <p>Here is the ffprobe output of the original ts file:</p>
  
  <pre><code>Duration: 00:06:03.52, start: 6204.163600, bitrate: 3880 kb/s
    Program 12103
      Metadata:
        service_name    : ?ProSieben
        service_provider: ?Unitymedia
      Stream #0:0[0x21f]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv, top first), 720x576 [SAR 64:45 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
      Stream #0:1[0x220](ger): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 192 kb/s
      Stream #0:2[0x222](ger): Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, stereo, fltp, 384 kb/s
    No Program
      Stream #0:3[0x224]: Subtitle: dvb_teletext
  Unsupported codec with id 94215 for input stream 3
  </code></pre>
  
  <p>And here is the ffprobe output of the newly created file after running <code>ffmpeg -i input.ts -copyts -output_ts_offset 2428.6 output.ts</code>:</p>
  
  <pre><code>Duration: 00:06:03.36, start: 8634.319544, bitrate: 4372 kb/s
    Program 1
      Metadata:
        service_name    : Service01
        service_provider: FFmpeg
      Stream #0:0[0x100]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv, progressive), 720x576 [SAR 64:45 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
      Stream #0:1[0x101](ger): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 384 kb/s
  </code></pre>
  
  <p>I'm don't know much about the stream format itself. However, I can see, that the newly created output file contains a lesser number of streams and that some details have changed, like "tv, progessiv" instead of "tv, top first".</p>
  
  <p>I'd like to have an exact copy of the original, except having other time stamps. Is that possible?</p>