[FFmpeg-trac] #6793(avformat:new): Timecode of mp4 file from Sony FDR-AX100 camera not recognized

FFmpeg trac at avcodec.org
Tue Oct 31 17:09:09 EET 2017


#6793: Timecode of mp4 file from Sony FDR-AX100 camera not recognized
--------------------------------------+------------------------------------
             Reporter:  tvolkert      |                    Owner:
                 Type:  defect        |                   Status:  new
             Priority:  normal        |                Component:  avformat
              Version:  git-master    |               Resolution:
             Keywords:  mov timecode  |               Blocked By:
             Blocking:                |  Reproduced by developer:  0
Analyzed by developer:  0             |
--------------------------------------+------------------------------------

Comment (by tvolkert):

 Incidentally, I noticed that I get this exact same error on a movie that
 was cut from two clips from these model video cameras -- edited and
 exported via FinalCutPro X (which had no problem with the clips)

 {{{
 $ ffprobe -show_format -show_streams clip.mov
 ffprobe version N-88289-g783535a4cd Copyright (c) 2007-2017 the FFmpeg
 developers
   built with Apple LLVM version 9.0.0 (clang-900.0.38)
   configuration:
   libavutil      56.  0.100 / 56.  0.100
   libavcodec     58.  1.100 / 58.  1.100
   libavformat    58.  0.102 / 58.  0.102
   libavdevice    58.  0.100 / 58.  0.100
   libavfilter     7.  0.101 /  7.  0.101
   libswscale      5.  0.101 /  5.  0.101
   libswresample   3.  0.100 /  3.  0.100
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'clip.mov':
   Metadata:
     major_brand     : qt
     minor_version   : 0
     compatible_brands: qt
     creation_time   : 2017-02-21T06:52:10.000000Z
     com.apple.quicktime.keywords: <redacted>
     com.apple.quicktime.description: <redacted>
     com.apple.quicktime.author: <redacted>
     com.apple.quicktime.displayname: <redacted>
     com.apple.quicktime.title: <redacted>
   Duration: 00:02:32.15, start: 0.000000, bitrate: 62561 kb/s
     Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv,
 bt709, progressive), 3840x2160 [SAR 1:1 DAR 16:9], 62266 kb/s, 29.97 fps,
 29.97 tbr, 30k tbn, 50 tbc (default)
     Metadata:
       creation_time   : 2017-02-21T06:52:11.000000Z
       handler_name    : Core Media Data Handler
       encoder         : H.264
       timecode        : 00:00:00:00
     Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz,
 stereo, fltp, 125 kb/s (default)
     Metadata:
       creation_time   : 2017-02-21T06:52:11.000000Z
       handler_name    : Core Media Data Handler
     Stream #0:2(und): Data: none (tmcd / 0x64636D74) (default)
     Metadata:
       creation_time   : 2017-02-21T06:52:11.000000Z
       handler_name    : Core Media Data Handler
       timecode        : 00:00:00:00
 Unsupported codec with id 0 for input stream 2
 [STREAM]
 index=0
 codec_name=h264
 codec_long_name=H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
 profile=High
 codec_type=video
 codec_time_base=1001/60000
 codec_tag_string=avc1
 codec_tag=0x31637661
 width=3840
 height=2160
 coded_width=3840
 coded_height=2160
 has_b_frames=0
 sample_aspect_ratio=1:1
 display_aspect_ratio=16:9
 pix_fmt=yuv420p
 level=51
 color_range=tv
 color_space=bt709
 color_transfer=bt709
 color_primaries=bt709
 chroma_location=left
 field_order=progressive
 timecode=N/A
 refs=1
 is_avc=true
 nal_length_size=4
 id=N/A
 r_frame_rate=30000/1001
 avg_frame_rate=30000/1001
 time_base=1/30000
 start_pts=0
 start_time=0.000000
 duration_ts=4564560
 duration=152.152000
 bit_rate=62266240
 max_bit_rate=N/A
 bits_per_raw_sample=8
 nb_frames=4560
 nb_read_frames=N/A
 nb_read_packets=N/A
 DISPOSITION:default=1
 DISPOSITION:dub=0
 DISPOSITION:original=0
 DISPOSITION:comment=0
 DISPOSITION:lyrics=0
 DISPOSITION:karaoke=0
 DISPOSITION:forced=0
 DISPOSITION:hearing_impaired=0
 DISPOSITION:visual_impaired=0
 DISPOSITION:clean_effects=0
 DISPOSITION:attached_pic=0
 DISPOSITION:timed_thumbnails=0
 TAG:creation_time=2017-02-21T06:52:11.000000Z
 TAG:language=und
 TAG:handler_name=Core Media Data Handler
 TAG:encoder=H.264
 TAG:timecode=00:00:00:00
 [/STREAM]
 [STREAM]
 index=1
 codec_name=aac
 codec_long_name=AAC (Advanced Audio Coding)
 profile=LC
 codec_type=audio
 codec_time_base=1/48000
 codec_tag_string=mp4a
 codec_tag=0x6134706d
 sample_fmt=fltp
 sample_rate=48000
 channels=2
 channel_layout=stereo
 bits_per_sample=0
 id=N/A
 r_frame_rate=0/0
 avg_frame_rate=0/0
 time_base=1/48000
 start_pts=0
 start_time=0.000000
 duration_ts=7303296
 duration=152.152000
 bit_rate=125221
 max_bit_rate=128000
 bits_per_raw_sample=N/A
 nb_frames=7135
 nb_read_frames=N/A
 nb_read_packets=N/A
 DISPOSITION:default=1
 DISPOSITION:dub=0
 DISPOSITION:original=0
 DISPOSITION:comment=0
 DISPOSITION:lyrics=0
 DISPOSITION:karaoke=0
 DISPOSITION:forced=0
 DISPOSITION:hearing_impaired=0
 DISPOSITION:visual_impaired=0
 DISPOSITION:clean_effects=0
 DISPOSITION:attached_pic=0
 DISPOSITION:timed_thumbnails=0
 TAG:creation_time=2017-02-21T06:52:11.000000Z
 TAG:language=und
 TAG:handler_name=Core Media Data Handler
 [/STREAM]
 [STREAM]
 index=2
 codec_name=unknown
 codec_long_name=unknown
 profile=unknown
 codec_type=data
 codec_tag_string=tmcd
 codec_tag=0x64636d74
 id=N/A
 r_frame_rate=0/0
 avg_frame_rate=30/1
 time_base=1/30000
 start_pts=0
 start_time=0.000000
 duration_ts=4564560
 duration=152.152000
 bit_rate=N/A
 max_bit_rate=N/A
 bits_per_raw_sample=N/A
 nb_frames=1
 nb_read_frames=N/A
 nb_read_packets=N/A
 DISPOSITION:default=1
 DISPOSITION:dub=0
 DISPOSITION:original=0
 DISPOSITION:comment=0
 DISPOSITION:lyrics=0
 DISPOSITION:karaoke=0
 DISPOSITION:forced=0
 DISPOSITION:hearing_impaired=0
 DISPOSITION:visual_impaired=0
 DISPOSITION:clean_effects=0
 DISPOSITION:attached_pic=0
 DISPOSITION:timed_thumbnails=0
 TAG:creation_time=2017-02-21T06:52:11.000000Z
 TAG:language=und
 TAG:handler_name=Core Media Data Handler
 TAG:timecode=00:00:00:00
 [/STREAM]
 [FORMAT]
 filename=clip.mov
 nb_streams=3
 nb_programs=0
 format_name=mov,mp4,m4a,3gp,3g2,mj2
 format_long_name=QuickTime / MOV
 start_time=0.000000
 duration=152.152000
 size=1189858836
 bit_rate=62561587
 probe_score=100
 TAG:major_brand=qt
 TAG:minor_version=0
 TAG:compatible_brands=qt
 TAG:creation_time=2017-02-21T06:52:10.000000Z
 TAG:com.apple.quicktime.keywords=<redacted>
 TAG:com.apple.quicktime.description=<redacted>
 TAG:com.apple.quicktime.author=<redacted>
 TAG:com.apple.quicktime.displayname=<redacted>
 TAG:com.apple.quicktime.title=<redacted>
 [/FORMAT]
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/6793#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list