[FFmpeg-user] Possible to generate TimeCode stream for MXF-Op1a?

Christoph Gerstbauer christophgerstbauer at gmail.com
Tue May 12 15:27:20 CEST 2015


Hello,

ffmpeg is able to generate a start timecode for MXF or MOV files by using

" -timecode XX:XX:xxSEPxx"

When making a MOV file ffmpeg generates a starttimecode value in the 
header and a seperate timecode stream. But not so for MXF.

But what can I do if I need a second timecode for MXF in a complete 
timecode stream like at MOV generating.
stream 0:0 = video
stream 0:1 = audio
stream 0:2 = timecode

example from MOV file:
Metadata:
     major_brand     : qt
     minor_version   : 512
     compatible_brands: qt
     encoder         : Lavf56.25.101
   Duration: 00:00:50.00, start: 0.000000, bitrate: 53074 kb/s
     Stream #0:0(eng): Video: mpeg2video (4:2:2) (m2v1 / 0x3176326D), 
yuv422p(tv), 720x608 [SAR 152:135 DAR 4:3], 50000 kb/s, 25 fps, 25 tbr, 
12800 tbn, 50 tbc (default)
     Metadata:
       handler_name    : DataHandler
       encoder         : Lavc56.26.100 mpeg2video
       timecode        : 11:23:00:11
     Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, 
4.0, s16, 3072 kb/s (default)
     Metadata:
       handler_name    : DataHandler
     Stream #0:2(eng): Data: none (tmcd / 0x64636D74)
     Metadata:
       handler_name    : DataHandler
       timecode        : 11:23:00:11

------

So the basic question is:
Is ffmpeg able to GENERATE a whole timecode stream for MXF files?
If yes, how can I do that?
If no, is this feature planed for future releases?

Additional question:
Would it be possible to set 2 different timecodes like in following example?
Starttimecode in header: 10:00:00:00
Starttimecode in stream: 00:00:00:00

Best Regards
Christoph Gerstbauer


More information about the ffmpeg-user mailing list