Opened 11 years ago
Closed 11 years ago
#2601 closed defect (fixed)
hls output always starts at 1 even so you tell otherwise
Reported by: | Vlad SD | Owned by: | |
---|---|---|---|
Priority: | minor | Component: | documentation |
Version: | git-master | Keywords: | hls |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | yes | |
Analyzed by developer: | yes |
Description
Summary of the bug:
One of the params is -start_number 1 for running HLS output like this:
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"
But if your -start_number 100000
It will still start with 1
Change History (8)
comment:1 by , 11 years ago
Component: | undetermined → avformat |
---|---|
Keywords: | hls added |
Priority: | important → normal |
Resolution: | → worksforme |
Status: | new → closed |
comment:2 by , 11 years ago
Please also consider to read again the following sentence from the specification:
A media URI is not required to contain its sequence number.
follow-up: 4 comment:3 by , 11 years ago
Resolution: | worksforme |
---|---|
Status: | closed → reopened |
Replying to vkroutik:
Summary of the bug:
One of the params is -start_number 1 for running HLS output like this:
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"
But if your -start_number 100000
It will still start with 1
Confirm the bug. There is some confusion between URI sequence number (which may be cyclic) and the EXT-X-MEDIA-SEQUENCE number specified in the M3U8, which are two distinct entities.
comment:4 by , 11 years ago
Replying to saste:
Replying to vkroutik:
Summary of the bug:
One of the params is -start_number 1 for running HLS output like this:
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"
But if your -start_number 100000
It will still start with 1
Confirm the bug.
Then please add information on how it can be reproduced.
comment:6 by , 11 years ago
Priority: | normal → minor |
---|---|
Reproduced by developer: | set |
Status: | reopened → open |
Version: | unspecified → git-master |
After discussion with Stefano, this is a documentation bug.
comment:7 by , 11 years ago
Component: | avformat → documentation |
---|
comment:8 by , 11 years ago
Analyzed by developer: | set |
---|---|
Resolution: | → fixed |
Status: | open → closed |
Documentation should be clarified since:
commit f6707f0689e025e39f17c1e452f4033743079801 Author: Stefano Sabatini <stefasab@gmail.com> Date: Thu Jan 2 00:30:37 2014 +0100 doc/muxers/hls: extend documentation In particular, reference segment muxer and clarify difference between segment filename number and playlist sequence number. Should fix trac ticket #2601.
This works fine here, if you want to reopen this ticket, please provide the command line that allows to reproduce the problem together with the complete, uncut console output and attach the m3u8 file.