[FFmpeg-trac] #8366(avformat:new): Audio ticks and video/audio out-of-sync when using MXF files with pre-charge

FFmpeg trac at avcodec.org
Thu Nov 21 14:01:25 EET 2019


#8366: Audio ticks and video/audio out-of-sync when using MXF files with pre-
charge
------------------------------------+------------------------------------
             Reporter:  HenkDemper  |                    Owner:
                 Type:  defect      |                   Status:  new
             Priority:  normal      |                Component:  avformat
              Version:  git-master  |               Resolution:
             Keywords:  MXF         |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+------------------------------------

Comment (by Tjoppen):

 >So the revised request/issue is to add pre-charge support for video/audio
 in MXF altogether

 This is looking more like a three-part thing:

 * set st->start_time to MP !SourceClip !StartPosition + FP Track Origin (+
 FP !SourceClip !StartPosition)
 * have fftools respect st->start_time for more than just subtitles
 * have fftools respect st->duration (MP !SourceClip Duration) or else crap
 after the cut gets included in the output

 The first one can probably done without too much trouble, but the other
 two requires digging into ffmpeg.c and ffplay.c, and dealing with any sync
 issues that inevitably arise..

 A hackish way might be to set -ss and -t based on st->start_time and
 st->duration, but then every stream would have to have identical
 start_time and duration.

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


More information about the FFmpeg-trac mailing list