[FFmpeg-trac] #236(avformat:open): Floating point exception error with -dcodec copy on QuickTime timecode track

FFmpeg trac at avcodec.org
Tue May 24 22:44:42 CEST 2011


#236: Floating point exception error with -dcodec copy on QuickTime timecode
track
-----------------------+-----------------------
Reporter:  dericed     |       Owner:
    Type:  defect      |      Status:  open
Priority:  important   |   Component:  avformat
 Version:  git-master  |  Resolution:
Keywords:  dcodec      |  Blocked By:
Blocking:              |  Reproduced:  1
Analyzed:  0           |
-----------------------+-----------------------
Changes (by cehoyos):

 * priority:  normal => important
 * status:  new => open
 * version:  unspecified => git-master
 * component:  undetermined => avformat
 * reproduced:  0 => 1


Comment:

 {{{
 (gdb) r -i fcp_export8.mov -dcodec copy -an -vn out.mov
 ffmpeg version git-N-30180-g384d103, Copyright (c) 2000-2011 the FFmpeg
 developers
   built on May 24 2011 22:39:02 with gcc 4.5.3
   configuration: --cc='/usr/local/gcc-4.5.3/bin/gcc -m32' --enable-gpl
   libavutil    51.  2. 1 / 51.  2. 1
   libavcodec   53.  6. 0 / 53.  6. 0
   libavformat  53.  2. 0 / 53.  2. 0
   libavdevice  53.  0. 0 / 53.  0. 0
   libavfilter   2. 10. 0 /  2. 10. 0
   libswscale    0. 14. 0 /  0. 14. 0
   libpostproc  51.  2. 0 / 51.  2. 0
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x8cabb20] Could not find codec parameters
 (Data: tmcd / 0x64636D74, 0 kb/s)
     Last message repeated 2 times
 Seems stream 0 codec frame rate differs from container frame rate: 29.97
 (30000/1001) -> 29.97 (2997/100)
     Last message repeated 2 times
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'fcp_export8.mov':
   Metadata:
     major_brand     : qt
     minor_version   : 537199360
     compatible_brands: qt
     creation_time   : 2010-03-03 06:08:19
   Duration: 00:00:10.01, start: 0.000000, bitrate: 505 kb/s
     Stream #0.0(eng): Video: dvvideo, yuv411p, 720x480 [PAR 8:9 DAR 4:3],
 28771 kb/s, PAR 10:11 DAR 15:11, 29.97 fps, 29.97 tbr, 2997 tbn, 29.97 tbc
     Metadata:
       creation_time   : 2010-03-03 06:08:19
     Stream #0.1(eng): Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536
 kb/s
     Metadata:
       creation_time   : 2010-03-03 06:08:19
     Stream #0.2(eng): Data: tmcd / 0x64636D74, 0 kb/s
     Metadata:
       creation_time   : 2010-03-03 06:08:19
     Stream #0.3(eng): Data: tmcd / 0x64636D74, 0 kb/s
     Metadata:
       creation_time   : 2010-03-03 06:08:19
     Stream #0.4(eng): Data: tmcd / 0x64636D74, 0 kb/s
     Metadata:
       creation_time   : 2010-03-03 06:08:19
 Ignoring attempt to set invalid timebase for st:0
 Output #0, mov, to 'out.mov':
   Metadata:
     major_brand     : qt
     minor_version   : 537199360
     compatible_brands: qt
     creation_time   : 2010-03-03 06:08:19
     encoder         : Lavf53.2.0
     Stream #0.0(eng): Data: tmcd / 0x64636D74, 0 kb/s
     Metadata:
       creation_time   : 2010-03-03 06:08:19
 Stream mapping:
   Stream #0.2 -> #0.0
 Press [q] to stop, [?] for help

 Program received signal SIGFPE, Arithmetic exception.
 0x085efbd3 in __udivmoddi4 (rp=0x0, d=0, n=900900999) at
 ../../.././libgcc/../gcc/libgcc2.c:895
 895                 d0 = 1 / d0;        /* Divide intentionally by zero.
 */
 (gdb) bt
 #0  0x085efbd3 in __udivmoddi4 (rp=0x0, d=0, n=900900999) at
 ../../.././libgcc/../gcc/libgcc2.c:895
 #1  __divdi3 (rp=0x0, d=0, n=900900999) at
 ../../.././libgcc/../gcc/libgcc2.c:1093
 #2  0x085e58a0 in av_rescale_rnd (a=900901, b=1000, c=0, rnd=AV_ROUND_UP)
 at libavutil/mathematics.c:91
 #3  0x080fc6e4 in mov_write_mvhd_tag (mov=<value optimized out>, pb=<value
 optimized out>) at libavformat/movenc.c:1388
 #4  mov_write_moov_tag (mov=<value optimized out>, pb=<value optimized
 out>) at libavformat/movenc.c:1785
 #5  mov_write_trailer (mov=<value optimized out>, pb=<value optimized
 out>) at libavformat/movenc.c:2266
 #6  0x08157007 in av_write_trailer (s=0x8cab240) at
 libavformat/utils.c:3194
 #7  0x08052bc4 in transcode (nb_output_files=1, nb_input_files=1,
 stream_maps=0x0, nb_stream_maps=0, input_files=0x873db20,
 output_files=0x873d980) at ffmpeg.c:2785
 #8  0x08058b9d in main (argc=<value optimized out>, argv=<value optimized
 out>) at ffmpeg.c:4561
 }}}

-- 
Ticket URL: <https://avcodec.org/trac/ffmpeg/ticket/236#comment:1>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list