[FFmpeg-trac] #8523(avformat:open): ffmpeg converts 30fps input to 29.97fps when converting to .mxf

FFmpeg trac at avcodec.org
Wed Feb 19 10:04:58 EET 2020


#8523: ffmpeg converts 30fps input to 29.97fps when converting to .mxf
------------------------------------+------------------------------------
             Reporter:  reakon      |                    Owner:
                 Type:  defect      |                   Status:  open
             Priority:  normal      |                Component:  avformat
              Version:  git-master  |               Resolution:
             Keywords:  mxf         |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+------------------------------------

Comment (by reakon):

 The closest to a spec I can find is a mention about IEC61937-14:2017
 standard in kexoplayer's source code covering similar functionality.
 Though, since rates for 30/1.001 an 60/1.001 are already defined, we can
 calculate average rate for remaining 120/1.001 as such:

 {{{
 samplerate/framerate = samples/frames = 48000/(120/1.001) = 4004/10 =
 400.4
 }}}

 Spreading it to 5 frames would give 2x 401 sample frames and 3x 400
 frames. I'm not sure if these should be put in a specific sequence tho.

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


More information about the FFmpeg-trac mailing list