Opened 11 years ago
Last modified 11 years ago
#2600 open enhancement
print EXT-X-STREAM-INF and BANDWIDTH in output M3U8
Reported by: | Vlad SD | Owned by: | |
---|---|---|---|
Priority: | wish | Component: | avformat |
Version: | git-master | Keywords: | hls segment m3u8 |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | yes | |
Analyzed by developer: | no |
Description (last modified by )
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"
Change History (6)
comment:1 by , 11 years ago
Component: | undetermined → avformat |
---|---|
Keywords: | hls added |
Priority: | important → normal |
comment:2 by , 11 years ago
comment:3 by , 11 years ago
Resolution: | → needs_more_info |
---|---|
Status: | new → closed |
To the best of my knowledge, there is no bug: BANDWIDTH only exists within EXT-X-STREAM-INF which is optional and not written by FFmpeg.
Please reopen the ticket if you can clarify your issue.
comment:4 by , 11 years ago
Resolution: | needs_more_info |
---|---|
Status: | closed → reopened |
Type: | defect → enhancement |
I guess you are right, it should be a feature to write out EXT-X-STREAM-INF. Changing ticket into feature request.
comment:5 by , 11 years ago
Priority: | normal → wish |
---|---|
Reproduced by developer: | set |
Status: | reopened → open |
Version: | unspecified → git-master |
comment:6 by , 11 years ago
Description: | modified (diff) |
---|---|
Keywords: | segment m3u8 added |
Summary: | m3u8 file generated is not up to published specs → print EXT-X-STREAM-INF and BANDWIDTH in output M3U8 |
I don't see an EXT-X-STREAM-INF element in m3u8 files produced by FFmpeg - please provide your command line, your complete, uncut console output and the m3u8 file to make this a reproducible ticket.