[FFmpeg-trac] #10861(undetermined:new): hls video timing issue groups of frames play back early

FFmpeg trac at avcodec.org
Wed Feb 14 17:23:47 EET 2024


#10861: hls video timing issue groups of frames play back early
-------------------------------------+-------------------------------------
             Reporter:  diviaki      |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:  hls fps      |               Blocked By:
  libx264                            |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug:
 I am trying to transcode anything to mp4/libx264 then use this source to
 create hls by copying data.
 In this second step some videos play back very strange as if frames in
 every nth group of about 5 frames played back later then those in the the
 n+1th group.
 How to reproduce:
 I see this issue on Safari in Macos (in and out of the browser) and on ios
 in Safari.
 Using ffplay plays back the video without issues.
 Note that the original.mp4 has a frame rate of 29.99 fps, and adding the
 -r:v 30 parameter when creating video.mp4 fixes the odd behaviour in the
 subsequently created video.ts
 {{{
 % ffmpeg -i original.mp4 -c:v libx264 video.mp4
 % ffmpeg -i video.mp4  -c copy video.m3u8
 ffmpeg version N-68533-gcc774cd962-static
 built on 20240203
 }}}
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10861>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list