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

FFmpeg trac at avcodec.org
Sat Feb 13 16:41:36 EET 2021


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

Comment (by Balling):

 There are some interesting samples as well here:
 https://forum.videohelp.com/threads/371906-XAVC-S-How-to-export-time-date-
 metadata-to-subtitles-%28srt%29 also with xvYCC extended gamut transfer.
 Nice.

 I also suppose that the actual content of the data stream can be shown by
 this command
 {{{
 ffprobe -pretty -show_packets -select_streams d
 }}}

 or just by exiftool.exe -v -extractEmbedded (Meta Format: rtmd)

 but there is also a much more interesting example of metadata here:
 https://github.com/SK-Hardwired/xavc_rtmd2srt/issues/1

 And now we can see that those are actual tags: https://github.com/SK-
 Hardwired/xavc_rtmd2srt/blob/b8859063c84c258ccf3195ed9305694748973f17/rtmd2srt.py#L103

 {{{
 rtmd (SubDirectory) -->
 + [Sony rtmd directory, 1024 bytes]
 | Sony_rtmd_0x060e = 6 14 43 52 2 83 1 1 12 2 1 1 1 1 0 0
 | Sony_rtmd_0x8000 = 53367
 | Sony_rtmd_0x8001 = 58244
 | Sony_rtmd_0x060e = 6 14 43 52 2 83 1 1 12 2 1 1 2 1 0 0
 | Sony_rtmd_0x8100 = 6 14 43 52 4 1 1 11 5 16 1 1 1 2 0 0
 | Sony_rtmd_0x8101 = 1
 | Sony_rtmd_0x8109 = 1 60
 | Sony_rtmd_0x810a = 1200
 | Sony_rtmd_0x810c = 100
 | Sony_rtmd_0x810d = 1
 | Sony_rtmd_0x060e = 6 14 43 52 2 83 1 1 12 2 1 1 127 1 0 0
 | Sony_rtmd_0xe000 = 150 105 8 0 70 120 3 28 32 81 0 0 240 192 17 129
 | Sony_rtmd_0xe300 = 0
 | Sony_rtmd_0xe302 = 0
 | Sony_rtmd_0xe303 = 255
 | DateTime = n ....%$
 SampleTime = 0.166833333333333
 SampleDuration = 0.0333666666666667

 }}}

 Those are: 810d is AutoWhiteBalanceMode, 8101 is
 AutoFocusSensingAreaSetting, 8000 is IrisFNumber, 810a is
 CameraMasterGainAdjustment, etc. 0xE000: UDAM ID and 060e is mxf stuff.
 Wow.

 So from exiftool some info is here:
 https://github.com/exiftool/exiftool/blob/d4e8e4caea1b575e7345062de62be24888b32987/lib/Image/ExifTool/QuickTimeStream.pl#L186

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


More information about the FFmpeg-trac mailing list