[FFmpeg-user] Burning timecode into mov file

bartom bartomas at gmail.com
Fri Feb 3 15:31:50 CET 2012


Hi,
Many thanks for your answers and  your help.

 I tried using ffprobe to extract  the timecode stream as you suggest, but
ffprobe doesn't seem to be able to decode the timecode stream. I ran the
command:

ffprobe -show_streams  test.mov
 
but I get the message 'Unsupported codec with id 0 for input stream 2' (the
timecode stream). Do I need to specify some other option so that ffprobe can
decode the timecode stream?
Thanks again for any help

T. Bar

The complete output of my command ffprobe -show_streams  test.mov is:

ffprobe version N-37402-gc673671 Copyright (c) 2007-2012 the FFmpeg
developers
  built on Feb  3 2012 11:09:54 with gcc 4.6.1
  configuration: 
  libavutil      51. 36.100 / 51. 36.100
  libavcodec     54.  0.102 / 54.  0.102
  libavformat    54.  0.100 / 54.  0.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 60.100 /  2. 60.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  6.100 /  0.  6.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x27f24e0] decoding for stream 2 failed
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test.mov':
  Metadata:
    major_brand     : qt  
    minor_version   : 537199360
    compatible_brands: qt  
    creation_time   : 2011-04-26 06:45:13
  Duration: 00:42:28.56, start: 0.000000, bitrate: 123586 kb/s
    Stream #0:0(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1
channels, s32, 1152 kb/s
    Metadata:
      creation_time   : 2011-04-26 06:45:13
      handler_name    : ?Linux Alias Data Handler
    Stream #0:1(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1
channels, s32, 1152 kb/s
    Metadata:
      creation_time   : 2011-04-26 06:45:13
      handler_name    : ?Linux Alias Data Handler
    Stream #0:2(eng): Data: none (tmcd / 0x64636D74)
    Metadata:
      creation_time   : 2011-04-26 06:45:13
      handler_name    : ?Apple Alias Data Handler
      timecode        : 18:27:15:17
    Stream #0:3(eng): Video: prores (apcn / 0x6E637061), yuv422p10le,
1920x1080, 121279 kb/s, 25 fps, 25 tbr, 2500 tbn, 2500 tbc
    Metadata:
      creation_time   : 2011-04-26 20:25:56
      handler_name    : ?Apple Alias Data Handler
Unsupported codec with id 0 for input stream 2
[STREAM]
index=0
codec_name=pcm_s24le
codec_long_name=PCM signed 24-bit little-endian
codec_type=audio
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.000000
duration=2548.560000
nb_frames=122313600
TAG:creation_time=2011-04-26 06:45:13
TAG:language=eng
TAG:handler_name=Linux Alias Data Handler
[/STREAM]
[STREAM]
index=1
codec_name=pcm_s24le
codec_long_name=PCM signed 24-bit little-endian
codec_type=audio
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.000000
duration=2548.560000
nb_frames=122313600
TAG:creation_time=2011-04-26 06:45:13
TAG:language=eng
TAG:handler_name=Linux Alias Data Handler
[/STREAM]
[STREAM]
index=2
codec_name=unknown
codec_long_name=unknown
codec_type=data
codec_time_base=1/25
codec_tag_string=tmcd
codec_tag=0x64636d74
id=N/A
r_frame_rate=0/0
avg_frame_rate=0/0
time_base=1/2500
start_time=0.000000
duration=2548.560000
nb_frames=1
TAG:creation_time=2011-04-26 06:45:13
TAG:language=eng
TAG:handler_name=Apple Alias Data Handler
TAG:timecode=18:27:15:17
[/STREAM]
[STREAM]
index=3
codec_name=prores
codec_long_name=ProRes
codec_type=video
codec_time_base=1/2500
codec_tag_string=apcn
codec_tag=0x6e637061
width=1920
height=1080
has_b_frames=0
sample_aspect_ratio=N/A
display_aspect_ratio=N/A
pix_fmt=yuv422p10le
level=-99
timecode=N/A
id=N/A
r_frame_rate=25/1
avg_frame_rate=25/1
time_base=1/2500
start_time=0.000000
duration=2548.560000
nb_frames=63714
TAG:creation_time=2011-04-26 20:25:56
TAG:language=eng
TAG:handler_name=Apple Alias Data Handler
[/STREAM]


--
View this message in context: http://ffmpeg-users.933282.n4.nabble.com/Burning-timecode-into-mov-file-tp4354188p4354750.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.


More information about the ffmpeg-user mailing list