[FFmpeg-user] ffprobe MOV TAG:timecode does not match Quicktime Player

Gary Margiotta gary_margiotta at yahoo.com
Thu Dec 27 21:16:17 CET 2012



The following ffprobe output from a clipped MOV asset shows TAG:timecode=21:43:06;29 but when
displayed in Quicktime Player 7.7.3 shows a start timecode of 21:43:20;01.  Quicktime Pro was used
to trim the asset.  What does the start_time output field represent in the ffprobe output of the tmcd data stream 

and does it need to be accounted for when trying to determine the actual start timecode of the asset.
Output of clipped asset:


ffprobe version 0.10.2 Copyright (c) 2007-2012 the FFmpeg developers
  built on Aug 12 2012 14:09:16 with gcc 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
  configuration: --extra-cflags=-fPIC --disable-mmx --disable-protocol=udp --disable-encoder=nellymoser --disable-decoder=flashsv --disable-
decoder=flashsv2 --disable-encoder=flashsv --disable-encoder=flashsv2 --disable-asm
  libavutil      51. 35.100 / 51. 35.100
  libavcodec     53. 61.100 / 53. 61.100
  libavformat    53. 32.100 / 53. 32.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 61.100 /  2. 61.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  6.100 /  0.  6.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'LakersTrim21432001start.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 537199360
    compatible_brands: qt
    creation_time   : 2012-12-20 23:05:08
  Duration: 00:00:05.00, start: -13.100100, bitrate: 227517 kb/s
    Stream #0:0(eng): Video: v210 (v210 / 0x30313276), yuv422p10le, 720x486, 223724 kb/s, SAR 10:11 DAR 400:297, 29.97 fps, 29.97 tbr, 2997
tbn, 2997 tbc
    Metadata:
      creation_time   : 2012-12-20 23:05:09
      handler_name    : ?Apple Alias Data Handler
    Stream #0:1(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32, 1152 kb/s
    Metadata:
      creation_time   : 2012-12-20 23:05:09
      handler_name    : ?Apple Alias Data Handler
    Stream #0:2(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32, 1152 kb/s
    Metadata:
      creation_time   : 2012-12-20 23:05:09
      handler_name    : ?Apple Alias Data Handler
    Stream #0:3(eng): Data: none (tmcd / 0x64636D74)
    Metadata:
      creation_time   : 2012-12-20 23:05:09
      handler_name    : ?Apple Alias Data Handler
      timecode        : 21:43:06;29
Unsupported codec with id 0 for input stream 3
[FORMAT]
filename=LakersTrim21432001start.mov
nb_streams=4
format_name=mov,mp4,m4a,3gp,3g2,mj2
format_long_name=QuickTime/MPEG-4/Motion JPEG 2000 format
start_time=-13.100100
duration=5.005339
size=142350020
bit_rate=227517089
TAG:major_brand=qt
TAG:minor_version=537199360
TAG:compatible_brands=qt
TAG:creation_time=2012-12-20 23:05:08
[/FORMAT]
[STREAM]
index=0
codec_type=video
codec_name=v210
codec_long_name=Uncompressed 4:2:2 10-bit
codec_time_base=1/2997
codec_tag_string=v210
codec_tag=0x30313276
width=720
height=486
has_b_frames=0
sample_aspect_ratio=N/A
display_aspect_ratio=N/A
sample_aspect_ratio=10:11
display_aspect_ratio=400:297
pix_fmt=yuv422p10le
level=-99
timecode=N/A
id=N/A
r_frame_rate=2997/100
avg_frame_rate=2997/100
time_base=1/2997
start_time=-0.020354
duration=5.038372
nb_frames=151
TAG:creation_time=2012-12-20 23:05:09
TAG:language=eng
TAG:handler_name=↑Apple Alias Data Handler
[/STREAM]
[STREAM]
index=1
codec_type=audio
codec_name=pcm_s24le
codec_long_name=PCM signed 24-bit little-endian
codec_time_base=1/48000
codec_tag_string=in24
codec_tag=0x34326e69
sample_fmt=s32
sample_rate=48000
channels=1
bits_per_sample=24
id=N/A
r_frame_rate=0/0
avg_frame_rate=13246/279
time_base=1/48000
start_time=0.000000
duration=5.005354
nb_frames=240257
TAG:creation_time=2012-12-20 23:05:09
TAG:language=eng
TAG:handler_name=↑Apple Alias Data Handler
[/STREAM]
[STREAM]
index=2
codec_type=audio
codec_name=pcm_s24le
codec_long_name=PCM signed 24-bit little-endian
codec_time_base=1/48000
codec_tag_string=in24
codec_tag=0x34326e69
sample_fmt=s32
sample_rate=48000
channels=1
bits_per_sample=24
id=N/A
r_frame_rate=0/0
avg_frame_rate=13246/279
time_base=1/48000
start_time=0.000000
duration=5.005354
nb_frames=240257
TAG:creation_time=2012-12-20 23:05:09
TAG:language=eng
TAG:handler_name=↑Apple Alias Data Handler
[/STREAM]
[STREAM]
index=3
codec_type=data
codec_name=unknown
codec_long_name=unknown
codec_time_base=1/30
codec_tag_string=tmcd
codec_tag=0x64636d74
id=N/A
r_frame_rate=0/0
avg_frame_rate=0/0
time_base=1/2997
start_time=-13.100100
duration=27.827828
nb_frames=1
TAG:creation_time=2012-12-20 23:05:09
TAG:language=eng
TAG:handler_name=↑Apple Alias Data Handler
TAG:timecode=21:43:06;29
[/STREAM]

Output from original non-clipped asset:

ffprobe version 0.10.2 Copyright (c) 2007-2012 the FFmpeg developers
  built on Aug 12 2012 14:09:16 with gcc 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
  configuration: --extra-cflags=-fPIC --disable-mmx --disable-protocol=udp --disable-encoder=nellymoser --disable-decoder=flashsv --disable-
decoder=flashsv2 --disable-encoder=flashsv --disable-encoder=flashsv2 --disable-asm
  libavutil      51. 35.100 / 51. 35.100
  libavcodec     53. 61.100 / 53. 61.100
  libavformat    53. 32.100 / 53. 32.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 61.100 /  2. 61.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  6.100 /  0.  6.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 8c66880] decoding for stream 3 failed
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'IMDSLA90000742_Knicks-vs-Lakers_11-16-94_Part3of3_10UC_01.mov':
  Metadata:
    creation_time   : 2012-08-10 22:32:20
  Duration: 00:00:27.82, start: 0.016688, bitrate: 227133 kb/s
    Stream #0:0(eng): Video: v210 (v210 / 0x30313276), yuv422p10le, 720x486, 223372 kb/s, SAR 10:11 DAR 400:297, 29.92 fps, 29.97 tbr, 2997
tbn, 2997 tbc
    Metadata:
      creation_time   : 2012-08-10 22:32:48
      handler_name    : ?Apple Alias Data Handler
    Stream #0:1(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32, 1152 kb/s
    Metadata:
      creation_time   : 2012-08-10 22:32:48
      handler_name    : ?Apple Alias Data Handler
    Stream #0:2(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32, 1152 kb/s
    Metadata:
      creation_time   : 2012-08-10 22:32:48
      handler_name    : ?Apple Alias Data Handler
    Stream #0:3(eng): Data: none (tmcd / 0x64636D74)
    Metadata:
      creation_time   : 2012-08-10 22:32:48
      handler_name    : ?Apple Alias Data Handler
      timecode        : 21:43:06;29
Unsupported codec with id 0 for input stream 3
[FORMAT]
filename=IMDSLA90000742_Knicks-vs-Lakers_11-16-94_Part3of3_10UC_01.mov
nb_streams=4
format_name=mov,mp4,m4a,3gp,3g2,mj2
format_long_name=QuickTime/MPEG-4/Motion JPEG 2000 format
start_time=-0.016688
duration=27.827828
size=790079861
bit_rate=227133748
TAG:creation_time=2012-08-10 22:32:20
[/FORMAT]
[STREAM]
index=0
codec_type=video
codec_name=v210
codec_long_name=Uncompressed 4:2:2 10-bit
codec_time_base=1/2997
codec_tag_string=v210
codec_tag=0x30313276
width=720
height=486
has_b_frames=0
sample_aspect_ratio=N/A
display_aspect_ratio=N/A
sample_aspect_ratio=10:11
display_aspect_ratio=400:297
pix_fmt=yuv422p10le
level=-99
timecode=N/A
id=N/A
r_frame_rate=30000/1001
avg_frame_rate=1255743/41966
time_base=1/2997
start_time=-0.016683
duration=28.005339
nb_frames=838
TAG:creation_time=2012-08-10 22:32:48
TAG:language=eng
TAG:handler_name=↑Apple Alias Data Handler
[/STREAM]
[STREAM]
index=1
codec_type=audio
codec_name=pcm_s24le
codec_long_name=PCM signed 24-bit little-endian
codec_time_base=1/48000
codec_tag_string=in24
codec_tag=0x34326e69
sample_fmt=s32
sample_rate=48000
channels=1
bits_per_sample=24
id=N/A
r_frame_rate=0/0
avg_frame_rate=0/0
time_base=1/48000
start_time=-0.016688
duration=27.827833
nb_frames=1336705
TAG:creation_time=2012-08-10 22:32:48
TAG:language=eng
TAG:handler_name=↑Apple Alias Data Handler
[/STREAM]
[STREAM]
index=2
codec_type=audio
codec_name=pcm_s24le
codec_long_name=PCM signed 24-bit little-endian
codec_time_base=1/48000
codec_tag_string=in24
codec_tag=0x34326e69
sample_fmt=s32
sample_rate=48000
channels=1
bits_per_sample=24
id=N/A
r_frame_rate=0/0
avg_frame_rate=0/0
time_base=1/48000
start_time=-0.016688
duration=27.827833
nb_frames=1336705
TAG:creation_time=2012-08-10 22:32:48
TAG:language=eng
TAG:handler_name=↑Apple Alias Data Handler
[/STREAM]
[STREAM]
index=3
codec_type=data
codec_name=unknown
codec_long_name=unknown
codec_time_base=1/30
codec_tag_string=tmcd
codec_tag=0x64636d74
id=N/A
r_frame_rate=0/0
avg_frame_rate=0/0
time_base=1/2997
start_time=-0.016683
duration=27.827828
nb_frames=1
TAG:creation_time=2012-08-10 22:32:48
TAG:language=eng
TAG:handler_name=↑Apple Alias Data Handler
TAG:timecode=21:43:06;29
[/STREAM]


More information about the ffmpeg-user mailing list