[FFmpeg-user] "fps 2997 is too large" - creates mov with bad public atom (error -2002

Steve C natgeo.operations at gmail.com
Fri Apr 5 23:25:42 CEST 2013


I forgot to mention that not only was the timecode wrong on the output
file, but it contained special characters

example
- starting timecode on input file = 09:59:50;00
- starting timecode on output file = 01:39:21;<9      (where is the <
character come from?)

Also, i just built the other version of FFMPEG that was suggested by
Tom - "git checkout c071b00"
This version produced the same results as the previous one.

In the output report, I see this line:
[mov @ 0x10187e000] timecode: tbc=2997/1 invalid, fallback on 2997/100

it also produces timecode in the output file which is wrong and has
the "<" character in the place of the frames.

 Please see below for the full output report.

What can I try now?
Seems like this is bug in the way timecode is handled by FFMPEG for ProRes.mov?


####################

ffmpeg started on 2013-04-05 at 17:18:02
Report written to "ffmpeg-20130405-171802.log"
Command line:
ffmpeg -i /Source-Files/039486_NTSC_ProResHQ_NA_DF.mov -c:v copy -c:a
copy -report /Users/ffmpeg/Desktop/output-5.mov
ffmpeg version N-49251-gc071b00 Copyright (c) 2000-2013 the FFmpeg developers
  built on Apr  5 2013 17:16:18 with gcc 4.2.1 (GCC) (Apple Inc. build
5666) (dot 3)
  configuration:
  libavutil      52. 15.102 / 52. 15.102
  libavcodec     54. 90.100 / 54. 90.100
  libavformat    54. 61.104 / 54. 61.104
  libavdevice    54.  3.102 / 54.  3.102
  libavfilter     3. 33.100 /  3. 33.100
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
Splitting the commandline.
Reading option '-i' ... matched as input file with argument
'/Source-Files/039486_NTSC_ProResHQ_NA_DF.mov'.
Reading option '-c:v' ... matched as option 'c' (codec name) with
argument 'copy'.
Reading option '-c:a' ... matched as option 'c' (codec name) with
argument 'copy'.
Reading option '-report' ... matched as option 'report' (generate a
report) with argument '1'.
Reading option '/Users/ffmpeg/Desktop/output-5.mov' ... matched as output file.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option report (generate a report) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input file
/Source-Files/039486_NTSC_ProResHQ_NA_DF.mov.
Successfully parsed a group of options.
Opening an input file: /Source-Files/039486_NTSC_ProResHQ_NA_DF.mov.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x10180f600] Format mov,mp4,m4a,3gp,3g2,mj2
probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x10180f600] ISO: File Type Major Brand: qt
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x10180f600] File position before
avformat_find_stream_info() is 1820088290
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x10180f600] All info found
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x10180f600] File position after
avformat_find_stream_info() is 870464
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
'/Source-Files/039486_NTSC_ProResHQ_NA_DF.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 537199360
    compatible_brands: qt
    creation_time   : 2013-04-05 20:25:13
  Duration: 00:01:10.07, start: 0.000000, bitrate: 207802 kb/s
    Stream #0:0(eng), 1, 1/2997: Video: prores (apch / 0x68637061),
yuv422p10le, 1920x1080, 207768 kb/s, SAR 1:1 DAR 16:9, 29.97 fps,
29.97 tbr, 2997 tbn, 2997 tbc
    Metadata:
      creation_time   : 2013-04-05 20:25:13
      handler_name    : Apple Alias Data Handler
      timecode        : 09:59:59;00
    Stream #0:1(eng), 0, 1/2997: Data: none (tmcd / 0x64636D74)
    Metadata:
      creation_time   : 2013-04-05 20:27:42
      handler_name    : Apple Alias Data Handler
      timecode        : 09:59:59;00
Successfully openened the file.
Parsing a group of options: output file /Users/ffmpeg/Desktop/output-5.mov.
Applying option c:v (codec name) with argument copy.
Applying option c:a (codec name) with argument copy.
Successfully parsed a group of options.
Opening an output file: /Users/ffmpeg/Desktop/output-5.mov.
Successfully openened the file.
[mov @ 0x10187e000] timecode: tbc=2997/1 invalid, fallback on 2997/100
Output #0, mov, to '/Users/ffmpeg/Desktop/output-5.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 537199360
    compatible_brands: qt
    encoder         : Lavf54.61.104
    Stream #0:0(eng), 0, 1/11988: Video: prores (apch / 0x68637061),
yuv422p10le, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 207768 kb/s, 29.97
fps, 11988 tbn, 2997 tbc
    Metadata:
      creation_time   : 2013-04-05 20:25:13
      handler_name    : Apple Alias Data Handler
      timecode        : 09:59:59;00
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
frame=   30 fps=0.0 q=-1.0 size=   25472kB time=00:00:00.96
bitrate=215569.5kbits/s

[TRUNCATED]

frame= 2094 fps= 23 q=-1.0 size= 1771305kB time=00:01:09.83
bitrate=207777.6kbits/s
No more output streams to write to, finishing.
frame= 2100 fps= 23 q=-1.0 Lsize= 1777164kB time=00:01:10.03
bitrate=207869.0kbits/s
video:1777147kB audio:0kB subtitle:0 global headers:0kB muxing
overhead 0.000983%
Statistics: 1820149677 bytes read, 3 seeks


More information about the ffmpeg-user mailing list