[FFmpeg-user] retain timecode stream when transcoding v210 to FFV1/MKV

Christian Sievers sievers at khm.de
Fri May 2 18:58:11 EEST 2025


Hello world and hello ffmpeg-user list!

We have roughly 30TB of v210 (uncompressed 8 bit 4:2:2 PAL) Quicktime mov video files, created when digitizing tape. We would like to transcode these to FFV1/MKV for archival purposes.

However, when I’m doing a transcode like this:
ffmpeg -i input_file -map 0 -dn -c:v ffv1 -level 3 -g 1 -slicecrc 1 -slices 16 -c:a copy output_file.mkv
…. I lose the time code stream (and from what I understand, it’s better not to). How can I retain it? 

* the command is from https://amiaopensource.github.io/ffmprovisr/#create_FFV1_mkv

* below is the output of ffmpeg -i input_file.mov

 Stream #0:0[0x1](eng): Video: rawvideo (2vuy / 0x79757632), uyvy422(smpte170m/bt470bg/bt709, top coded first (swapped)), 720x576, 165888 kb/s, SAR 16:15 DAR 4:3, 25 fps, 25 tbr, 25 tbn (default)
      Metadata:
        creation_time   : 2023-08-03T15:09:19.000000Z
        handler_name    : ?Apple Video Media Handler
        vendor_id       : KeyG
        encoder         : Uncompressed 8-bit 4:2:2
        timecode        : 10:43:59:02
      Side data:
        Frame cropping: 8/9/0/0
  Stream #0:1[0x2](eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, stereo, s16, 1536 kb/s (default)
      Metadata:
        creation_time   : 2023-08-03T15:09:19.000000Z
        handler_name    : ?Apple Sound Media Handler
        vendor_id       : [0][0][0][0]
        timecode        : 10:43:59:02
  Stream #0:2[0x3](eng): Data: none (tmcd / 0x64636D74), 0 kb/s (default)
      Metadata:
        creation_time   : 2023-08-03T15:09:19.000000Z
        handler_name    : Time Code Media Handler
        reel_name       : 696_komp_fits_komp_52_betasp
        timecode        : 10:43:59:02
  Stream #0:3[0x4](eng): Subtitle: eia_608 (cc_dec) (c608 / 0x38303663) (default)
      Metadata:
        creation_time   : 2023-08-03T15:09:19.000000Z
        handler_name    : ?Closed Caption Media Handler



More information about the ffmpeg-user mailing list