Opened 8 years ago
Last modified 8 years ago
#2600 open enhancement
print EXT-X-STREAM-INF and BANDWIDTH in output M3U8
Reported by: | vkroutik | 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 saste)
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 Changed 8 years ago by cehoyos
- Component changed from undetermined to avformat
- Keywords hls added
- Priority changed from important to normal
comment:2 Changed 8 years ago by cehoyos
comment:3 Changed 8 years ago by cehoyos
- Resolution set to needs_more_info
- Status changed from new to 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 Changed 8 years ago by vkroutik
- Resolution needs_more_info deleted
- Status changed from closed to reopened
- Type changed from defect to 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 Changed 8 years ago by cehoyos
- Priority changed from normal to wish
- Reproduced by developer set
- Status changed from reopened to open
- Version changed from unspecified to git-master
comment:6 Changed 8 years ago by saste
- Description modified (diff)
- Keywords segment m3u8 added
- Summary changed from m3u8 file generated is not up to published specs to 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.