[FFmpeg-trac] #1908(avformat:reopened): error when copying eia_608 track

FFmpeg trac at avcodec.org
Wed Dec 19 06:11:13 CET 2012


#1908: error when copying eia_608 track
-------------------------------------+-------------------------------------
             Reporter:  dericed      |                    Owner:
                 Type:  defect       |                   Status:  reopened
             Priority:  important    |                Component:  avformat
              Version:  git-master   |               Resolution:
             Keywords:  eia_608 mov  |               Blocked By:
  abort crash fpe                    |  Reproduced by developer:  0
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by dericed):

 Just attached a sample. When I try to copy all streams from the file to an
 output here is my log:

 {{{
 ffmpeg started on 2012-12-19 at 00:02:15
 Report written to "ffmpeg-20121219-000215.log"
 Command line:
 ffmpeg -report -i fcp_capture.mov -map 0 -c copy output.mov
 ffmpeg version 1.0.git Copyright (c) 2000-2012 the FFmpeg developers
   built on Dec 18 2012 23:49:10 with Apple clang version 4.1
 (tags/Apple/clang-421.11.66) (based on LLVM 3.1svn)
   configuration: --prefix=/usr/local/Cellar/ffmpeg/HEAD --enable-shared
 --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables
 --cc=cc --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac
 --enable-libmp3lame --enable-libxvid --enable-ffplay
   libavutil      52. 12.100 / 52. 12.100
   libavcodec     54. 80.100 / 54. 80.100
   libavformat    54. 49.102 / 54. 49.102
   libavdevice    54.  3.102 / 54.  3.102
   libavfilter     3. 28.102 /  3. 28.102
   libswscale      2.  1.103 /  2.  1.103
   libswresample   0. 17.102 /  0. 17.102
   libpostproc    52.  2.100 / 52.  2.100
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb95b80f800] Format mov,mp4,m4a,3gp,3g2,mj2
 probed with size=2048 and score=100
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb95b80f800] ISO: File Type Major Brand: qt
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb95b80f800] File position before
 avformat_find_stream_info() is 8447
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb95b80f800] All info found
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb95b80f800] File position after
 avformat_find_stream_info() is 746703
 Guessed Channel Layout for  Input Stream #0.2 : stereo
 Guessed Channel Layout for  Input Stream #0.3 : mono
 Guessed Channel Layout for  Input Stream #0.4 : mono
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'fcp_capture.mov':
   Metadata:
     major_brand     : qt
     minor_version   : 537199360
     compatible_brands: qt
     creation_time   : 2012-11-28 08:06:53
   Duration: 00:00:00.07, start: 0.100434, bitrate: 173589 kb/s
     Stream #0:0(eng), 1, 1/2997: Video: rawvideo (2vuy / 0x79757632),
 uyvy422, 720x486, 66983 kb/s, 11.96 fps, 7.47 tbr, 2997 tbn, 2997 tbc
     Metadata:
       creation_time   : 2012-11-28 08:06:53
       handler_name    : Apple Alias Data Handler
       timecode        : 00:59:14;24
     Stream #0:1(eng), 0, 1/2997: Subtitle: eia_608 (c608 / 0x38303663)
     Metadata:
       creation_time   : 2012-11-28 08:06:53
       handler_name    : Apple Alias Data Handler
     Stream #0:2(eng), 4, 1/48000: Audio: pcm_s24le (in24 / 0x34326E69),
 48000 Hz, stereo, s32, 2304 kb/s
     Metadata:
       creation_time   : 2012-11-28 08:06:53
       handler_name    : Apple Alias Data Handler
     Stream #0:3(eng), 4, 1/48000: Audio: pcm_s24le (in24 / 0x34326E69),
 48000 Hz, mono, s32, 1152 kb/s
     Metadata:
       creation_time   : 2012-11-28 08:06:53
       handler_name    : Apple Alias Data Handler
     Stream #0:4(eng), 4, 1/48000: Audio: pcm_s24le (in24 / 0x34326E69),
 48000 Hz, mono, s32, 1152 kb/s
     Metadata:
       creation_time   : 2012-11-28 08:06:53
       handler_name    : Apple Alias Data Handler
     Stream #0:5(eng), 0, 1/2997: Data: none (tmcd / 0x64636D74)
     Metadata:
       creation_time   : 2012-11-28 08:06:53
       handler_name    : Apple Alias Data Handler
       timecode        : 00:59:14;24
 [mov @ 0x7fb95b85be00] You requested a copy of the original timecode track
 so timecode metadata are now ignored
 Output #0, mov, to 'output.mov':
   Metadata:
     major_brand     : qt
     minor_version   : 537199360
     compatible_brands: qt
     encoder         : Lavf54.49.102
     Stream #0:0(eng), 0, 1/11988: Video: rawvideo (2vuy / 0x79757632),
 uyvy422, 720x486, q=2-31, 66983 kb/s, 11.96 fps, 11988 tbn, 2997 tbc
     Metadata:
       creation_time   : 2012-11-28 08:06:53
       handler_name    : Apple Alias Data Handler
       timecode        : 00:59:14;24
     Stream #0:1(eng), 0, 1/2997: Subtitle: eia_608 (c608 / 0x38303663)
     Metadata:
       creation_time   : 2012-11-28 08:06:53
       handler_name    : Apple Alias Data Handler
     Stream #0:2(eng), 0, 1/48000: Audio: pcm_s24le (in24 / 0x34326E69),
 48000 Hz, stereo, 2304 kb/s
     Metadata:
       creation_time   : 2012-11-28 08:06:53
       handler_name    : Apple Alias Data Handler
     Stream #0:3(eng), 0, 1/48000: Audio: pcm_s24le (in24 / 0x34326E69),
 48000 Hz, mono, 1152 kb/s
     Metadata:
       creation_time   : 2012-11-28 08:06:53
       handler_name    : Apple Alias Data Handler
     Stream #0:4(eng), 0, 1/48000: Audio: pcm_s24le (in24 / 0x34326E69),
 48000 Hz, mono, 1152 kb/s
     Metadata:
       creation_time   : 2012-11-28 08:06:53
       handler_name    : Apple Alias Data Handler
     Stream #0:5(eng), 0, 1/1000: Data: none (tmcd / 0x64636D74)
     Metadata:
       creation_time   : 2012-11-28 08:06:53
       handler_name    : Apple Alias Data Handler
       timecode        : 00:59:14;24
 Stream mapping:
   Stream #0:0 -> #0:0 (copy)
   Stream #0:1 -> #0:1 (copy)
   Stream #0:2 -> #0:2 (copy)
   Stream #0:3 -> #0:3 (copy)
   Stream #0:4 -> #0:4 (copy)
   Stream #0:5 -> #0:5 (copy)
 Press [q] to stop, [?] for help
 No more output streams to write to, finishing.
 }}}

 While not in the report, the terminal output adds

 {{{
 Floating point exception: 8
 }}}

 However when I map and copy only the e608 track the output is generated as
 expected. Output:

 {{{
 ffmpeg started on 2012-12-19 at 00:07:18
 Report written to "ffmpeg-20121219-000718.log"
 Command line:
 ffmpeg -report -i fcp_capture.mov -map 0:s -c copy output_e608.mov
 ffmpeg version 1.0.git Copyright (c) 2000-2012 the FFmpeg developers
   built on Dec 18 2012 23:49:10 with Apple clang version 4.1
 (tags/Apple/clang-421.11.66) (based on LLVM 3.1svn)
   configuration: --prefix=/usr/local/Cellar/ffmpeg/HEAD --enable-shared
 --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables
 --cc=cc --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac
 --enable-libmp3lame --enable-libxvid --enable-ffplay
   libavutil      52. 12.100 / 52. 12.100
   libavcodec     54. 80.100 / 54. 80.100
   libavformat    54. 49.102 / 54. 49.102
   libavdevice    54.  3.102 / 54.  3.102
   libavfilter     3. 28.102 /  3. 28.102
   libswscale      2.  1.103 /  2.  1.103
   libswresample   0. 17.102 /  0. 17.102
   libpostproc    52.  2.100 / 52.  2.100
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f860880f800] Format mov,mp4,m4a,3gp,3g2,mj2
 probed with size=2048 and score=100
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f860880f800] ISO: File Type Major Brand: qt
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f860880f800] File position before
 avformat_find_stream_info() is 8447
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f860880f800] All info found
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f860880f800] File position after
 avformat_find_stream_info() is 746703
 Guessed Channel Layout for  Input Stream #0.2 : stereo
 Guessed Channel Layout for  Input Stream #0.3 : mono
 Guessed Channel Layout for  Input Stream #0.4 : mono
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'fcp_capture.mov':
   Metadata:
     major_brand     : qt
     minor_version   : 537199360
     compatible_brands: qt
     creation_time   : 2012-11-28 08:06:53
   Duration: 00:00:00.07, start: 0.100434, bitrate: 173589 kb/s
     Stream #0:0(eng), 1, 1/2997: Video: rawvideo (2vuy / 0x79757632),
 uyvy422, 720x486, 66983 kb/s, 11.96 fps, 7.47 tbr, 2997 tbn, 2997 tbc
     Metadata:
       creation_time   : 2012-11-28 08:06:53
       handler_name    : Apple Alias Data Handler
       timecode        : 00:59:14;24
     Stream #0:1(eng), 0, 1/2997: Subtitle: eia_608 (c608 / 0x38303663)
     Metadata:
       creation_time   : 2012-11-28 08:06:53
       handler_name    : Apple Alias Data Handler
     Stream #0:2(eng), 4, 1/48000: Audio: pcm_s24le (in24 / 0x34326E69),
 48000 Hz, stereo, s32, 2304 kb/s
     Metadata:
       creation_time   : 2012-11-28 08:06:53
       handler_name    : Apple Alias Data Handler
     Stream #0:3(eng), 4, 1/48000: Audio: pcm_s24le (in24 / 0x34326E69),
 48000 Hz, mono, s32, 1152 kb/s
     Metadata:
       creation_time   : 2012-11-28 08:06:53
       handler_name    : Apple Alias Data Handler
     Stream #0:4(eng), 4, 1/48000: Audio: pcm_s24le (in24 / 0x34326E69),
 48000 Hz, mono, s32, 1152 kb/s
     Metadata:
       creation_time   : 2012-11-28 08:06:53
       handler_name    : Apple Alias Data Handler
     Stream #0:5(eng), 0, 1/2997: Data: none (tmcd / 0x64636D74)
     Metadata:
       creation_time   : 2012-11-28 08:06:53
       handler_name    : Apple Alias Data Handler
       timecode        : 00:59:14;24
 Output #0, mov, to 'output_e608.mov':
   Metadata:
     major_brand     : qt
     minor_version   : 537199360
     compatible_brands: qt
     encoder         : Lavf54.49.102
     Stream #0:0(eng), 0, 1/2997: Subtitle: eia_608 (c608 / 0x38303663)
     Metadata:
       creation_time   : 2012-11-28 08:06:53
       handler_name    : Apple Alias Data Handler
 Stream mapping:
   Stream #0:1 -> #0:0 (copy)
 Press [q] to stop, [?] for help
 No more output streams to write to, finishing.
 size=       1kB time=00:00:00.13 bitrate=  42.7kbits/s
 video:0kB audio:0kB subtitle:0 global headers:0kB muxing overhead
 1685.000000%
 Statistics: 771072 bytes read, 3 seeks
 }}}

 When I map only the timecode track than I replicate the floating point
 exception error.

 {{{
 ffmpeg started on 2012-12-19 at 00:08:06
 Report written to "ffmpeg-20121219-000806.log"
 Command line:
 ffmpeg -report -i fcp_capture.mov -map 0:d -c copy output_timecode.mov
 ffmpeg version 1.0.git Copyright (c) 2000-2012 the FFmpeg developers
   built on Dec 18 2012 23:49:10 with Apple clang version 4.1
 (tags/Apple/clang-421.11.66) (based on LLVM 3.1svn)
   configuration: --prefix=/usr/local/Cellar/ffmpeg/HEAD --enable-shared
 --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables
 --cc=cc --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac
 --enable-libmp3lame --enable-libxvid --enable-ffplay
   libavutil      52. 12.100 / 52. 12.100
   libavcodec     54. 80.100 / 54. 80.100
   libavformat    54. 49.102 / 54. 49.102
   libavdevice    54.  3.102 / 54.  3.102
   libavfilter     3. 28.102 /  3. 28.102
   libswscale      2.  1.103 /  2.  1.103
   libswresample   0. 17.102 /  0. 17.102
   libpostproc    52.  2.100 / 52.  2.100
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f999a00f800] Format mov,mp4,m4a,3gp,3g2,mj2
 probed with size=2048 and score=100
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f999a00f800] ISO: File Type Major Brand: qt
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f999a00f800] File position before
 avformat_find_stream_info() is 8447
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f999a00f800] All info found
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f999a00f800] File position after
 avformat_find_stream_info() is 746703
 Guessed Channel Layout for  Input Stream #0.2 : stereo
 Guessed Channel Layout for  Input Stream #0.3 : mono
 Guessed Channel Layout for  Input Stream #0.4 : mono
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'fcp_capture.mov':
   Metadata:
     major_brand     : qt
     minor_version   : 537199360
     compatible_brands: qt
     creation_time   : 2012-11-28 08:06:53
   Duration: 00:00:00.07, start: 0.100434, bitrate: 173589 kb/s
     Stream #0:0(eng), 1, 1/2997: Video: rawvideo (2vuy / 0x79757632),
 uyvy422, 720x486, 66983 kb/s, 11.96 fps, 7.47 tbr, 2997 tbn, 2997 tbc
     Metadata:
       creation_time   : 2012-11-28 08:06:53
       handler_name    : Apple Alias Data Handler
       timecode        : 00:59:14;24
     Stream #0:1(eng), 0, 1/2997: Subtitle: eia_608 (c608 / 0x38303663)
     Metadata:
       creation_time   : 2012-11-28 08:06:53
       handler_name    : Apple Alias Data Handler
     Stream #0:2(eng), 4, 1/48000: Audio: pcm_s24le (in24 / 0x34326E69),
 48000 Hz, stereo, s32, 2304 kb/s
     Metadata:
       creation_time   : 2012-11-28 08:06:53
       handler_name    : Apple Alias Data Handler
     Stream #0:3(eng), 4, 1/48000: Audio: pcm_s24le (in24 / 0x34326E69),
 48000 Hz, mono, s32, 1152 kb/s
     Metadata:
       creation_time   : 2012-11-28 08:06:53
       handler_name    : Apple Alias Data Handler
     Stream #0:4(eng), 4, 1/48000: Audio: pcm_s24le (in24 / 0x34326E69),
 48000 Hz, mono, s32, 1152 kb/s
     Metadata:
       creation_time   : 2012-11-28 08:06:53
       handler_name    : Apple Alias Data Handler
     Stream #0:5(eng), 0, 1/2997: Data: none (tmcd / 0x64636D74)
     Metadata:
       creation_time   : 2012-11-28 08:06:53
       handler_name    : Apple Alias Data Handler
       timecode        : 00:59:14;24
 Output #0, mov, to 'output_timecode.mov':
   Metadata:
     major_brand     : qt
     minor_version   : 537199360
     compatible_brands: qt
     encoder         : Lavf54.49.102
     Stream #0:0(eng), 0, 1/1000: Data: none (tmcd / 0x64636D74)
     Metadata:
       creation_time   : 2012-11-28 08:06:53
       handler_name    : Apple Alias Data Handler
       timecode        : 00:59:14;24
 Stream mapping:
   Stream #0:5 -> #0:0 (copy)
 Press [q] to stop, [?] for help
 No more output streams to write to, finishing.
 }}}

 and in the terminal

 {{{
 Floating point exception: 8
 }}}

 Thus I think the ticket is mislabeled and that the floating point
 exception pertains to copying timecode tracks (or all data tracks) and not
 e608. This may be a duplicate of
 https://ffmpeg.org/trac/ffmpeg/ticket/236.

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1908#comment:5>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list