[FFmpeg-trac] #2600(avformat:open): print EXT-X-STREAM-INF and BANDWIDTH in output M3U8 (was: m3u8 file generated is not up to published specs)

FFmpeg trac at avcodec.org
Wed Jun 5 19:30:03 CEST 2013


#2600: print EXT-X-STREAM-INF and BANDWIDTH in output M3U8
-------------------------------------+-------------------------------------
             Reporter:  vkroutik     |                    Owner:
                 Type:  enhancement  |                   Status:  open
             Priority:  wish         |                Component:  avformat
              Version:  git-master   |               Resolution:
             Keywords:  hls segment  |               Blocked By:
  m3u8                               |  Reproduced by developer:  1
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Changes (by saste):

 * keywords:  hls => hls segment m3u8


Old description:

> Summary of the bug:
> m3u8 file generated by segmenter or hls output does not required field by
> m3u8 and HLS standard. BANDWIDTH is required but not outputed!!!
>
> See
>
> here is spec from http://tools.ietf.org/html/draft-pantos-http-live-
> streaming-07
>
> BANDWIDTH
>
>    The value is a decimal-integer of bits per second.  It MUST be an
>    upper bound of the overall bitrate of each media segment (calculated
>    to include container overhead) that appears or will appear in the
>    Playlist.
>
>    Every EXT-X-STREAM-INF tag MUST include the BANDWIDTH attribute
>
> Here is command line:
>
> C:\ffmpeg\ffmpeg.exe -re -i "rtmp://bar/foo.flv" -y -c:v copy -c:a copy
> -hls_time 6 -hls_list_size 5 -hls_wrap 30 -start_number 1
> "C:\Tools\Foo\stream.m3u8"

New description:

 Summary of the ticket:

 add support to EXT-X-STREAM-INF and BANDWIDTH field in the generated M3U8
 output.

 Here is spec from http://tools.ietf.org/html/draft-pantos-http-live-
 streaming-07

 BANDWIDTH

    The value is a decimal-integer of bits per second.  It MUST be an
    upper bound of the overall bitrate of each media segment (calculated
    to include container overhead) that appears or will appear in the
    Playlist.

    Every EXT-X-STREAM-INF tag MUST include the BANDWIDTH attribute

 Here is command line:

 C:\ffmpeg\ffmpeg.exe -re -i "rtmp://bar/foo.flv" -y -c:v copy -c:a copy
 -hls_time 6 -hls_list_size 5 -hls_wrap 30 -start_number 1
 "C:\Tools\Foo\stream.m3u8"

--

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


More information about the FFmpeg-trac mailing list