[FFmpeg-user] Timecode in DV muxer

Tim Nicholson tim.nicholson at bbc.co.uk
Thu Dec 15 13:27:01 CET 2011


I have been trying to add timecode to.dv files as the feature was 
introduced back in July, with ffprobe reporting introduced last month.

However I cannot seen to get the timecode added to the .dv files, or at 
least its not reported by ffprobe.

Am I expecting the wrong thing here:-

 > ffmpeg -i fcp.mov -timecode 09:57:00:00 -target pal-dv -pix_fmt 
yuv420p -y fcp.dv
ffmpeg version N-35732-g917ce9b-by_Tim, Copyright (c) 2000-2011 the 
FFmpeg developers
   built on Dec 13 2011 17:06:31 with gcc 4.6.2
   configuration: --extra-version=by_Tim --enable-static 
--disable-shared --enable-gpl --enable-nonfree --enable-version3 
--prefix=/mnt/msds-store-0/tim/ffmpeg-tux/usr/local 
--libdir=/mnt/msds-store-0/tim/ffmpeg-tux/usr/local/lib64 
--enable-runtime-cpudetect --extra-cflags='-static 
-I/mnt/msds-store-0/tim/ffmpeg-tux/usr/local/include' 
--extra-ldflags='-static 
-L/mnt/msds-store-0/tim/ffmpeg-tux/usr/local/lib64' --enable-libfaac 
--enable-libx264 --enable-libfreetype
   libavutil    51. 32. 0 / 51. 32. 0
   libavcodec   53. 43. 0 / 53. 43. 0
   libavformat  53. 25. 0 / 53. 25. 0
   libavdevice  53.  4. 0 / 53.  4. 0
   libavfilter   2. 53. 0 /  2. 53. 0
   libswscale    2.  1. 0 /  2.  1. 0
   libpostproc  51.  2. 0 / 51.  2. 0
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'fcp.mov':
   Metadata:
     major_brand     : qt
     minor_version   : 537199360
     compatible_brands: qt
     creation_time   : 2011-12-15 12:15:16
   Duration: 00:01:01.80, start: 0.000000, bitrate: 30341 kb/s
     Stream #0:0(eng): Video: dvvideo (dvcp / 0x70637664), yuv420p, 
720x576 [SAR 64:45 DAR 16:9], 28800 kb/s, SAR 118:81 DAR 295:162, 25 
fps, 25 tbr, 25 tbn, 25 tbc
     Metadata:
       creation_time   : 2011-12-15 12:15:16
       handler_name    : ?Apple Alias Data Handler
     Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, 2 
channels, s16, 1536 kb/s
     Metadata:
       creation_time   : 2011-12-15 12:15:16
       handler_name    : ?Apple Alias Data Handler
     Stream #0:2(eng): Data: none (tmcd / 0x64636D74)
     Metadata:
       creation_time   : 2011-12-15 12:15:33
       handler_name    : ?Apple Alias Data Handler
[buffer @ 0x177dae0] w:720 h:576 pixfmt:yuv420p tb:1/1000000 sar:118/81 
sws_param:
Output #0, dv, to 'fcp.dv':
   Metadata:
     major_brand     : qt
     minor_version   : 537199360
     compatible_brands: qt
     creation_time   : 2011-12-15 12:15:16
     encoder         : Lavf53.25.0
     Stream #0:0(eng): Video: dvvideo, yuv420p, 720x576 [SAR 118:81 DAR 
295:162], q=2-31, 200 kb/s, 90k tbn, 25 tbc
     Metadata:
       creation_time   : 2011-12-15 12:15:16
       handler_name    : ?Apple Alias Data Handler
     Stream #0:1(eng): Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 
kb/s
     Metadata:
       creation_time   : 2011-12-15 12:15:16
       handler_name    : ?Apple Alias Data Handler
Stream mapping:
   Stream #0:0 -> #0:0 (dvvideo -> dvvideo)
   Stream #0:1 -> #0:1 (pcm_s16le -> pcm_s16le)
Press [q] to stop, [?] for help
frame= 1545 fps= 78 q=0.0 Lsize=  217266kB time=00:01:01.80 
bitrate=28800.0kbits/s
video:217266kB audio:11588kB global headers:0kB muxing overhead -5.063291%

 > ffprobe fcp.dv
ffprobe version N-35732-g917ce9b-by_Tim, Copyright (c) 2007-2011 the 
FFmpeg developers
   built on Dec 13 2011 17:06:31 with gcc 4.6.2
   configuration: --extra-version=by_Tim --enable-static 
--disable-shared --enable-gpl --enable-nonfree --enable-version3 
--prefix=/mnt/msds-store-0/tim/ffmpeg-tux/usr/local 
--libdir=/mnt/msds-store-0/tim/ffmpeg-tux/usr/local/lib64 
--enable-runtime-cpudetect --extra-cflags='-static 
-I/mnt/msds-store-0/tim/ffmpeg-tux/usr/local/include' 
--extra-ldflags='-static 
-L/mnt/msds-store-0/tim/ffmpeg-tux/usr/local/lib64' --enable-libfaac 
--enable-libx264 --enable-libfreetype
   libavutil    51. 32. 0 / 51. 32. 0
   libavcodec   53. 43. 0 / 53. 43. 0
   libavformat  53. 25. 0 / 53. 25. 0
   libavdevice  53.  4. 0 / 53.  4. 0
   libavfilter   2. 53. 0 /  2. 53. 0
   libswscale    2.  1. 0 /  2.  1. 0
   libpostproc  51.  2. 0 / 51.  2. 0
[dv @ 0x1734100] Estimating duration from bitrate, this may be inaccurate
Input #0, dv, from 'fcp.dv': 
 
 

   Duration: 00:01:01.80, start: 0.000000, bitrate: 28800 kb/s
     Stream #0:0: Video: dvvideo, yuv420p, 720x576, 28800 kb/s, SAR 
64:45 DAR 16:9, 25 tbr, 25 tbn, 25 tbc
     Stream #0:1: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s



-- 
Tim

http://www.bbc.co.uk/
This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated.
If you have received it in error, please delete it from your system.
Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately.
Please note that the BBC monitors e-mails sent or received.
Further communication will signify your consent to this.
					


More information about the ffmpeg-user mailing list