[FFmpeg-trac] #1143(undetermined:new): Timecode skipped in drawtext filter
FFmpeg
trac at avcodec.org
Wed Mar 28 18:06:36 CEST 2012
#1143: Timecode skipped in drawtext filter
-------------------------------------+-------------------------------------
Reporter: rmk | Type: defect
Status: new | Priority: normal
Component: | Version:
undetermined | unspecified
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
when transcoding a certain file from the apple trailers section, I get
strange behaviour with the drawtext filter in that the timecode
00:00:00:01 stays for two frames and then everything appears to be normal.
I haven't been able to reproduce this with another file but this one:
http://trailers.apple.com/movies/dreamworks/megamind/megamind-
tlr2_h480p.mov
here's the command line and output:
ffmpeg -i Megamind.mov -t 10 -vcodec mpeg4 -acodec copy -vf
drawtext="fontfile=/System/Library/Fonts/HelveticaLight.ttf:timecode='00\\:00\\:00\\:00':rate=24:x=10:y=60-descent:fontsize=24:fontcolor=white"
-qscale 1 -y drawtexttest-megamind-net.mov
ffmpeg version N-39366-g247fbf0 Copyright (c) 2000-2012 the FFmpeg
developers
built on Mar 28 2012 17:12:08 with gcc 4.2.1 (Apple Inc. build 5664)
configuration: --enable-gpl --enable-libfreetype
libavutil 51. 44.100 / 51. 44.100
libavcodec 54. 12.100 / 54. 12.100
libavformat 54. 3.100 / 54. 3.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 66.101 / 2. 66.101
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 10.100 / 0. 10.100
libpostproc 52. 0.100 / 52. 0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
'/Users/krueger/Documents/Megamind.mov':
Metadata:
major_brand : qt
minor_version : 537199360
compatible_brands: qt
creation_time : 2012-03-28 15:59:28
comment : Encoded and delivered by apple.com/trailers/
comment-eng : Encoded and delivered by apple.com/trailers/
copyright : © 2010 Dreamworks Pictures. All Rights Reserved
copyright-eng : © 2010 Dreamworks Pictures. All Rights Reserved
title : Megamind
title-eng : Megamind
Duration: 00:02:29.50, start: 0.000000, bitrate: 2344 kb/s
Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p,
848x352, 2209 kb/s, 24 fps, 24 tbr, 2400 tbn, 4800 tbc
Metadata:
creation_time : 2012-03-28 15:59:28
handler_name : ?Apple Alias Data Handler
Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo,
s16, 131 kb/s
Metadata:
creation_time : 2012-03-28 15:59:28
handler_name : ?Apple Alias Data Handler
Stream #0:2(eng): Data: none (tmcd / 0x64636D74)
Metadata:
creation_time : 2012-03-28 15:59:28
handler_name : ?Apple Alias Data Handler
timecode : 00:00:00:00
Please use -q:a or -q:v, -qscale is ambiguous
[buffer @ 0x101013060] w:848 h:352 pixfmt:yuv420p tb:1/1000000 sar:0/1
sws_param:
Output #0, mov, to 'drawtexttest-megamind-net.mov':
Metadata:
major_brand : qt
minor_version : 537199360
compatible_brands: qt
creation_time : 2012-03-28 15:59:28
comment : Encoded and delivered by apple.com/trailers/
comment-eng : Encoded and delivered by apple.com/trailers/
copyright : © 2010 Dreamworks Pictures. All Rights Reserved
copyright-eng : © 2010 Dreamworks Pictures. All Rights Reserved
title : Megamind
title-eng : Megamind
encoder : Lavf54.3.100
Stream #0:0(eng): Video: mpeg4 (mp4v / 0x7634706D), yuv420p, 848x352,
q=2-31, 200 kb/s, 24 tbn, 24 tbc
Metadata:
creation_time : 2012-03-28 15:59:28
handler_name : ?Apple Alias Data Handler
Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo,
131 kb/s
Metadata:
creation_time : 2012-03-28 15:59:28
handler_name : ?Apple Alias Data Handler
Stream mapping:
Stream #0:0 -> #0:0 (h264 -> mpeg4)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[h264 @ 0x1020bd600] Increasing reorder buffer to 1
frame= 240 fps=0.0 q=1.0 Lsize= 3115kB time=00:00:10.00
bitrate=2552.2kbits/s dup=1 drop=0
video:2983kB audio:126kB global headers:0kB muxing overhead 0.207059%
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1143>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list