[FFmpeg-trac] #2002(avformat:new): mms streaming always requests all streams

FFmpeg trac at avcodec.org
Sat Dec 8 15:38:10 CET 2012

#2002: mms streaming always requests all streams
             Reporter:  gjdfgh    |                     Type:  defect
               Status:  new       |                 Priority:  normal
            Component:  avformat  |                  Version:  git-master
             Keywords:            |               Blocked By:
             Blocking:            |  Reproduced by developer:  0
Analyzed by developer:  0         |
 The mms protocol can support multiple video streams. Each of these streams
 shows the same video, but at a different quality. This is intended to save

 Looking at libavformat/mmsh.c, it seems all streams are requested, so that
 all streams are demuxable. This is not very useful, and in particular
 inteferes with the idea of saving bandwidth by selecting a single stream.

 It should be possible for applications to select specific streams only.
 (This would prevent the server from sending packets for streams that are
 not wanted.)

 The corresponding mms header for this is "Pragma: stream-switch-entry".
 mmsh.c just adds every stream to this.

 mplayer handles this correctly.

 Example stream:

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

More information about the FFmpeg-trac mailing list