#7403: HLS Master Playlist fails being generated correctly
------------------------------------+------------------------------------
Reporter: barhom | Owner: (none)
Type: defect | Status: reopened
Priority: minor | Component: avformat
Version: git-master | Resolution:
Keywords: hls | Blocked By:
Blocking: | Reproduced by developer: 1
Analyzed by developer: 0 |
------------------------------------+------------------------------------
Comment (by Knyttl):
I can confirm this issue when trying to stream from hls. Example input:
https://gist.github.com/knyttl/1049b5ac4ee192ce95e68e9d3cd8fa93
When you simple copy and output the input streams as:
{{{
ffmpeg -i 'input.m3u8'
-map 0:0 -c:0 copy
-map 0:1 -c:1 copy
-map 0:2 -c:2 copy
-map 0:3 -c:3 copy
-f hls
-hls_list_size 0 -hls_playlist_type vod
-hls_segment_type mpegts
-hls_segment_filename result/%v/%03d.ts
-master_pl_name playlist.m3u8
-var_stream_map 'v:0 v:1 v:2 v:3 v:4'
result/%v/chunk.m3u8
}}}
This will nicely generate the separate stream directories, but then this
error will appear:
{{{
Bandwidth info not available, set audio and video bitrates.
}}}
The original stream contains these:
{{{
#EXT-X-STREAM-INF:BANDWIDTH=3212710,AVERAGE-BANDWIDTH=3212710
}}}
This can be easily fixed by manually setting the bitrate with -b:v, but
that is not what I want to do if I just want to copy the input stream. Is
there a way to force it to read the original bitrates?
--
Ticket URL: <https://trac.ffmpeg.org/ticket/7403#comment:12>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker_______________________________________________
FFmpeg-trac mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".