[FFmpeg-trac] #2172(avformat:open): ffmpeg 1.1 breaks hls live streaming

FFmpeg trac at avcodec.org
Wed Jan 23 10:43:44 CET 2013


#2172: ffmpeg 1.1 breaks hls live streaming
-------------------------------------+-------------------------------------
             Reporter:  devr         |                    Owner:
                 Type:  defect       |                   Status:  open
             Priority:  normal       |                Component:  avformat
              Version:  1.1.1        |               Resolution:
             Keywords:  hls m3u8     |               Blocked By:
  segment                            |  Reproduced by developer:  0
             Blocking:               |
Analyzed by developer:  1            |
-------------------------------------+-------------------------------------

Comment (by devr):

 Replying to [comment:1 saste]:
 > Replying to [ticket:2172 devr]:
 > > Summary of the bug:
 > > ffmpeg 1.1 fails to produce a valid hls m3u8 live stream for iOS
 devices.
 > >
 > > What happens:
 > > The iOS device stops playing the video after the end of the current
 m3u8 file is reached.
 > >
 > > What should happen(this is the behaviour in version 1.0.3):
 > > The ios device  checks cyclic for new content in m3u8 and plays the
 next segments and recalculates the length of the current stream.
 > >
 > > How to reproduce:
 > > Start streaming a video and begin watching '''while''' encoding
 happens.
 > > Video will only play as far as the current progress of the encoding
 has been at the time of starting playing the file.
 > > iOS Device does not seem to realize that new "content" has been added
 and stream length has changed while watching the video.
 > [...]
 >
 > Please test the attached patch with latest FFmpeg git.

 Patch works as expected! Thanks for the fast help. Will the patch be added
 to git?

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2172#comment:2>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list