[FFmpeg-trac] #1312(undetermined:new): FFmpeg doesn't handle bitrate transition on some mpeg-ts stream

FFmpeg trac at avcodec.org
Wed May 16 16:58:07 CEST 2012


#1312: FFmpeg doesn't handle bitrate transition on some mpeg-ts stream
-------------------------------------+-------------------------------------
             Reporter:  jyavenard    |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Apple provides some samples of HTTP Live Streaming playlist.
 In particular, one provides 4 streams at the following bitrates (in bit/s)
 stream1 : 200000
 stream2 : 311111
 stream3 : 484444
 stream4 : 37777

 http://devimages.apple.com/iphone/samples/bipbop/gear4/prog_index.m3u8

 I implemented a HLS player, allowing to switch streams according to the
 download bandwidth available. Unfortunately, FFmpeg is unable to play the
 stream generated when a fallback streams is selected.

 The samples attached are made of 10s block made from the 4 streams.
 bipbopX.ts is the corresponding TS file where X goes from 1 to 4,

 bipbopXY.ts is a stream made of 10s of streamX followed by 10s of streamY

 bipbopXYZ.ts is a stream made of 10s of streamX, 10s of streamY and 10s of
 stream Z
 etc...

 QuickTime/Safari can play all but VBR streams with stream 1 (eg: bipbop12,
 bipob21, bipbop1234, bipbop4321)

 ffplay only plays the following sequences:
 43 and 34...
 All the others fail.

 This prevent implementing a HLS player that properly handle change of
 streams on the fly.

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1312>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list