[FFmpeg-trac] #5811(avformat:closed): live_start_index option doesn't work.
FFmpeg
trac at avcodec.org
Mon Jan 4 12:31:40 EET 2021
#5811: live_start_index option doesn't work.
------------------------------------+--------------------------------------
Reporter: smalukav | Owner:
Type: defect | Status: closed
Priority: normal | Component: avformat
Version: git-master | Resolution: worksforme
Keywords: hls | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
------------------------------------+--------------------------------------
Changes (by stevenliu):
* status: reopened => closed
* resolution: => worksforme
Comment:
works ok for me:
{{{
(base) liuqi05:ufbuild liuqi$ ./ffplay -live_start_index -5 https://cph-
p2p-msl.akamaized.net/hls/live/2000341/test/level_1.m3u8
ffplay version N-100494-g063ca801ca Copyright (c) 2003-2020 the FFmpeg
developers
built with Apple clang version 12.0.0 (clang-1200.0.32.28)
configuration: --prefix=/usr/local/ --libdir=/usr/local/lib/ --cc=clang
--quiet --enable-htmlpages --enable-libx264 --enable-libxml2 --enable-gpl
--extra-ldflags='-I/usr/local/opt/openssl/include/ -O0 -g3
-fsanitize=address -Wno-error -fPIC -I/usr/local/include' --extra-
ldflags='-O0 -g3 -fsanitize=address -Wno-error -fPIC -L/usr/local/lib
-L/usr/local/opt/openssl/lib' --enable-libfreetype --enable-fontconfig
--enable-libspeex --enable-libopus --enable-libzmq --enable-libx265
--enable-libass --enable-videotoolbox --disable-optimizations --enable-
audiotoolbox --enable-opengl --disable-stripping --disable-avresample
--samples=../../fate-suite/ --enable-encoder=hevc_videotoolbox --enable-
hwaccel=hevc_videotoolbox --enable-hwaccel=h264_videotoolbox --enable-
openssl --enable-nonfree
libavutil 56. 62.100 / 56. 62.100
libavcodec 58.115.102 / 58.115.102
libavformat 58. 65.100 / 58. 65.100
libavdevice 58. 11.103 / 58. 11.103
libavfilter 7. 94.100 / 7. 94.100
libswscale 5. 8.100 / 5. 8.100
libswresample 3. 8.100 / 3. 8.100
libpostproc 55. 8.100 / 55. 8.100
[hls @ 0x61b00001ff80] Skip ('#EXT-X-VERSION:3')B sq= 0B f=0/0
[hls @ 0x61b00001ff80] Segment url ('segment_1_20210104_1609756023.ts')
[hls @ 0x61b00001ff80] Segment url ('segment_1_20210104_1609756029.ts')
[hls @ 0x61b00001ff80] Segment url ('segment_1_20210104_1609756035.ts')
[hls @ 0x61b00001ff80] Segment url ('segment_1_20210104_1609756041.ts')
[hls @ 0x61b00001ff80] Segment url ('segment_1_20210104_1609756047.ts')
[hls @ 0x61b00001ff80] Segment url ('segment_1_20210104_1609756053.ts')
[hls @ 0x61b00001ff80] Segment url ('segment_1_20210104_1609756059.ts')
[hls @ 0x61b00001ff80] Segment url ('segment_1_20210104_1609756065.ts')
[hls @ 0x61b00001ff80] Segment url ('segment_1_20210104_1609756071.ts')
[hls @ 0x61b00001ff80] Segment url ('segment_1_20210104_1609756077.ts')
[hls @ 0x61b00001ff80] Segment url ('segment_1_20210104_1609756083.ts')
[hls @ 0x61b00001ff80] Segment url ('segment_1_20210104_1609756089.ts')
[hls @ 0x61b00001ff80] Segment url ('segment_1_20210104_1609756095.ts')
[hls @ 0x61b00001ff80] Segment url ('segment_1_20210104_1609756101.ts')
[hls @ 0x61b00001ff80] Segment url ('segment_1_20210104_1609756107.ts')
[hls @ 0x61b00001ff80] Segment url ('segment_1_20210104_1609756113.ts')
[hls @ 0x61b00001ff80] Segment url ('segment_1_20210104_1609756119.ts')
[hls @ 0x61b00001ff80] Segment url ('segment_1_20210104_1609756125.ts')
[hls @ 0x61b00001ff80] Segment url ('segment_1_20210104_1609756131.ts')
[hls @ 0x61b00001ff80] Segment url ('segment_1_20210104_1609756137.ts')
pls->start_seq_no = [5284977], pls->n_segments = [20]Opening 'https://cph-
p2p-
msl.akamaized.net/hls/live/2000341/test/segment_1_20210104_1609756113.ts'
for reading
[hls @ 0x61b00001ff80] Opening 'https://cph-p2p-
msl.akamaized.net/hls/live/2000341/test/segment_1_20210104_1609756119.ts'
for reading
[NULL @ 0x619000119e80] non-existing SPS 0 referenced in buffering period
[h264 @ 0x61900011b280] non-existing SPS 0 referenced in buffering period
Input #0, hls, from 'https://cph-p2p-
msl.akamaized.net/hls/live/2000341/test/level_1.m3u8':
Duration: N/A, start: 22639.133522, bitrate: N/A
Program 0
Metadata:
variant_bitrate : 0
Stream #0:0: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p,
640x266 [SAR 399:400 DAR 12:5], 24 fps, 24 tbr, 90k tbn, 48 tbc
Metadata:
variant_bitrate : 0
Stream #0:1: Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz,
stereo, fltp
Metadata:
variant_bitrate : 0
^C(base) liuqi05:ufbuild liuqi$ 22KB vq= 93KB sq= 0B f=0/0
(base) liuqi05:ufbuild liuqi$
(base) liuqi05:ufbuild liuqi$
(base) liuqi05:ufbuild liuqi$
(base) liuqi05:ufbuild liuqi$
(base) liuqi05:ufbuild liuqi$ ./ffplay -live_start_index 5 https://cph-
p2p-msl.akamaized.net/hls/live/2000341/test/level_1.m3u8
ffplay version N-100494-g063ca801ca Copyright (c) 2003-2020 the FFmpeg
developers
built with Apple clang version 12.0.0 (clang-1200.0.32.28)
configuration: --prefix=/usr/local/ --libdir=/usr/local/lib/ --cc=clang
--quiet --enable-htmlpages --enable-libx264 --enable-libxml2 --enable-gpl
--extra-ldflags='-I/usr/local/opt/openssl/include/ -O0 -g3
-fsanitize=address -Wno-error -fPIC -I/usr/local/include' --extra-
ldflags='-O0 -g3 -fsanitize=address -Wno-error -fPIC -L/usr/local/lib
-L/usr/local/opt/openssl/lib' --enable-libfreetype --enable-fontconfig
--enable-libspeex --enable-libopus --enable-libzmq --enable-libx265
--enable-libass --enable-videotoolbox --disable-optimizations --enable-
audiotoolbox --enable-opengl --disable-stripping --disable-avresample
--samples=../../fate-suite/ --enable-encoder=hevc_videotoolbox --enable-
hwaccel=hevc_videotoolbox --enable-hwaccel=h264_videotoolbox --enable-
openssl --enable-nonfree
libavutil 56. 62.100 / 56. 62.100
libavcodec 58.115.102 / 58.115.102
libavformat 58. 65.100 / 58. 65.100
libavdevice 58. 11.103 / 58. 11.103
libavfilter 7. 94.100 / 7. 94.100
libswscale 5. 8.100 / 5. 8.100
libswresample 3. 8.100 / 3. 8.100
libpostproc 55. 8.100 / 55. 8.100
[hls @ 0x61b00001ff80] Skip ('#EXT-X-VERSION:3')B sq= 0B f=0/0
[hls @ 0x61b00001ff80] Segment url ('segment_1_20210104_1609756041.ts')
[hls @ 0x61b00001ff80] Segment url ('segment_1_20210104_1609756047.ts')
[hls @ 0x61b00001ff80] Segment url ('segment_1_20210104_1609756053.ts')
[hls @ 0x61b00001ff80] Segment url ('segment_1_20210104_1609756059.ts')
[hls @ 0x61b00001ff80] Segment url ('segment_1_20210104_1609756065.ts')
[hls @ 0x61b00001ff80] Segment url ('segment_1_20210104_1609756071.ts')
[hls @ 0x61b00001ff80] Segment url ('segment_1_20210104_1609756077.ts')
[hls @ 0x61b00001ff80] Segment url ('segment_1_20210104_1609756083.ts')
[hls @ 0x61b00001ff80] Segment url ('segment_1_20210104_1609756089.ts')
[hls @ 0x61b00001ff80] Segment url ('segment_1_20210104_1609756095.ts')
[hls @ 0x61b00001ff80] Segment url ('segment_1_20210104_1609756101.ts')
[hls @ 0x61b00001ff80] Segment url ('segment_1_20210104_1609756107.ts')
[hls @ 0x61b00001ff80] Segment url ('segment_1_20210104_1609756113.ts')
[hls @ 0x61b00001ff80] Segment url ('segment_1_20210104_1609756119.ts')
[hls @ 0x61b00001ff80] Segment url ('segment_1_20210104_1609756125.ts')
[hls @ 0x61b00001ff80] Segment url ('segment_1_20210104_1609756131.ts')
[hls @ 0x61b00001ff80] Segment url ('segment_1_20210104_1609756137.ts')
[hls @ 0x61b00001ff80] Segment url ('segment_1_20210104_1609756143.ts')
[hls @ 0x61b00001ff80] Segment url ('segment_1_20210104_1609756149.ts')
[hls @ 0x61b00001ff80] Segment url ('segment_1_20210104_1609756155.ts')
pls->start_seq_no = [5284980], pls->n_segments = [20]Opening 'https://cph-
p2p-
msl.akamaized.net/hls/live/2000341/test/segment_1_20210104_1609756071.ts'
for reading
[hls @ 0x61b00001ff80] Opening 'https://cph-p2p-
msl.akamaized.net/hls/live/2000341/test/segment_1_20210104_1609756077.ts'
for reading
[NULL @ 0x6190000e9c80] non-existing SPS 0 referenced in buffering period
[h264 @ 0x6190000eb080] non-existing SPS 0 referenced in buffering period
Input #0, hls, from 'https://cph-p2p-
msl.akamaized.net/hls/live/2000341/test/level_1.m3u8':
Duration: N/A, start: 22597.128622, bitrate: N/A
Program 0
Metadata:
variant_bitrate : 0
Stream #0:0: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p,
640x266 [SAR 399:400 DAR 12:5], 24 fps, 24 tbr, 90k tbn, 48 tbc
Metadata:
variant_bitrate : 0
Stream #0:1: Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz,
stereo, fltp
Metadata:
variant_bitrate : 0
22598.04 A-V: -0.034 fd= 0 aq= 28KB vq= 191KB sq= 0B f=0/0
(base) liuqi05:ufbuild liuqi$
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/5811#comment:15>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list