[FFmpeg-trac] #8733(undetermined:new): hls segments list repeated names
FFmpeg
trac at avcodec.org
Sat Jun 13 16:42:07 EEST 2020
#8733: hls segments list repeated names
-------------------------------------+-------------------------------------
Reporter: krs_vital | Owner:
Type: defect | Status: new
Priority: normal | Component:
| undetermined
Version: unspecified | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by krs_vital):
i want to say that in my centos 7 %d doesnt work properly!
/usr/local/bin/ffmpeg -re -i /hls/test.ts -y -sn -dn -hls_time 1
-hls_flags +split_by_time -hls_segment_filename /hls/test/123/%01d.ts -f
hls -c copy /hls/test/123/index.m3u8
ffmpeg version N-98130-g38737b3 Copyright (c) 2000-2020 the FFmpeg
developers
built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-39)
configuration: --libdir=/usr/lib64
libavutil 56. 54.100 / 56. 54.100
libavcodec 58. 92.100 / 58. 92.100
libavformat 58. 46.101 / 58. 46.101
libavdevice 58. 11.100 / 58. 11.100
libavfilter 7. 86.100 / 7. 86.100
libswscale 5. 8.100 / 5. 8.100
libswresample 3. 8.100 / 3. 8.100
Input #0, mpegts, from '/hls/test.ts':
Duration: 00:00:23.76, start: 1.400000, bitrate: 3270 kb/s
Program 1
Metadata:
service_name : profile1
service_provider: FFmpeg
Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B),
yuvj420p(pc, bt709, progressive), 1920x1080, 25 fps, 25 tbr, 90k tbn, 180k
tbc
Stream #0:1[0x101]: Data: bin_data ([6][0][0][0] / 0x0006)
Output #0, hls, to '/hls/test/123/index.m3u8':
Metadata:
encoder : Lavf58.46.101
Stream #0:0: Video: h264 (High) ([27][0][0][0] / 0x001B), yuvj420p(pc,
bt709, progressive), 1920x1080, q=2-31, 25 fps, 25 tbr, 90k tbn, 90k tbc
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
[hls @ 0x398d780] pkt->duration = 0, maybe the hls segment duration will
not precise
Last message repeated 12 times
[hls @ 0x398d780] pkt->duration = 0, maybe the hls segment duration will
not precise
Last message repeated 11 times
[hls @ 0x398d780] Opening '/hls/test/123/0.ts' for writing
[hls @ 0x398d780] Opening '/hls/test/123/index.m3u8.tmp' for writing
[hls @ 0x398d780] pkt->duration = 0, maybe the hls segment duration will
not precise
[hls @ 0x398d780] pkt->duration = 0, maybe the hls segment duration will
not precise
Last message repeated 12 times
[hls @ 0x398d780] pkt->duration = 0, maybe the hls segment duration will
not precise
Last message repeated 10 times
[hls @ 0x398d780] Opening '/hls/test/123/1.ts' for writing
[hls @ 0x398d780] Opening '/hls/test/123/index.m3u8.tmp' for writing
[hls @ 0x398d780] pkt->duration = 0, maybe the hls segment duration will
not precise
[hls @ 0x398d780] pkt->duration = 0, maybe the hls segment duration will
not precise
Last message repeated 12 times
[hls @ 0x398d780] pkt->duration = 0, maybe the hls segment duration will
not precise
Last message repeated 10 times
[hls @ 0x398d780] Opening '/hls/test/123/2.ts' for writing
[hls @ 0x398d780] Opening '/hls/test/123/index.m3u8.tmp' for writing
[hls @ 0x398d780] pkt->duration = 0, maybe the hls segment duration will
not precise
Last message repeated 1 times
[hls @ 0x398d780] pkt->duration = 0, maybe the hls segment duration will
not precise
Last message repeated 11 times
[hls @ 0x398d780] pkt->duration = 0, maybe the hls segment duration will
not precise
Last message repeated 10 times
[hls @ 0x398d780] Opening '/hls/test/123/3.ts' for writing
[hls @ 0x398d780] Opening '/hls/test/123/index.m3u8.tmp' for writing
[hls @ 0x398d780] pkt->duration = 0, maybe the hls segment duration will
not precise
Last message repeated 1 times
[hls @ 0x398d780] pkt->duration = 0, maybe the hls segment duration will
not precise
Last message repeated 12 times
[hls @ 0x398d780] pkt->duration = 0, maybe the hls segment duration will
not precise
Last message repeated 9 times
[hls @ 0x398d780] Opening '/hls/test/123/4.ts' for writing
[hls @ 0x398d780] Opening '/hls/test/123/index.m3u8.tmp' for writing
[hls @ 0x398d780] pkt->duration = 0, maybe the hls segment duration will
not precise
Last message repeated 2 times
[hls @ 0x398d780] pkt->duration = 0, maybe the hls segment duration will
not precise
Last message repeated 11 times
[hls @ 0x398d780] pkt->duration = 0, maybe the hls segment duration will
not precise
Last message repeated 9 times
[hls @ 0x398d780] Opening '/hls/test/123/5.ts' for writing
[hls @ 0x398d780] Opening '/hls/test/123/index.m3u8.tmp' for writing
[hls @ 0x398d780] pkt->duration = 0, maybe the hls segment duration will
not precise
Last message repeated 2 times
[hls @ 0x398d780] pkt->duration = 0, maybe the hls segment duration will
not precise
Last message repeated 12 times
[hls @ 0x398d780] pkt->duration = 0, maybe the hls segment duration will
not precise
Last message repeated 8 times
[hls @ 0x398d780] Opening '/hls/test/123/6.ts' for writing
[hls @ 0x398d780] Opening '/hls/test/123/index.m3u8.tmp' for writing
[hls @ 0x398d780] pkt->duration = 0, maybe the hls segment duration will
not precise
Last message repeated 2 times
[hls @ 0x398d780] pkt->duration = 0, maybe the hls segment duration will
not precise
Last message repeated 12 times
[hls @ 0x398d780] pkt->duration = 0, maybe the hls segment duration will
not precise
Last message repeated 8 times
[hls @ 0x398d780] Opening '/hls/test/123/7.ts' for writing
[hls @ 0x398d780] Opening '/hls/test/123/index.m3u8.tmp' for writing
[hls @ 0x398d780] pkt->duration = 0, maybe the hls segment duration will
not precise
Last message repeated 3 times
[hls @ 0x398d780] pkt->duration = 0, maybe the hls segment duration will
not precise
Last message repeated 12 times
[hls @ 0x398d780] pkt->duration = 0, maybe the hls segment duration will
not precise
Last message repeated 7 times
[hls @ 0x398d780] Opening '/hls/test/123/8.ts' for writing
[hls @ 0x398d780] Opening '/hls/test/123/index.m3u8.tmp' for writing
[hls @ 0x398d780] pkt->duration = 0, maybe the hls segment duration will
not precise
Last message repeated 3 times
[hls @ 0x398d780] pkt->duration = 0, maybe the hls segment duration will
not precise
Last message repeated 12 times
[hls @ 0x398d780] pkt->duration = 0, maybe the hls segment duration will
not precise
Last message repeated 7 times
[hls @ 0x398d780] Opening '/hls/test/123/9.ts' for writing
[hls @ 0x398d780] Opening '/hls/test/123/index.m3u8.tmp' for writing
[hls @ 0x398d780] pkt->duration = 0, maybe the hls segment duration will
not precise
Last message repeated 5 times
[hls @ 0x398d780] pkt->duration = 0, maybe the hls segment duration will
not precise
Last message repeated 11 times
[hls @ 0x398d780] pkt->duration = 0, maybe the hls segment duration will
not precise
Last message repeated 7 times
[hls @ 0x398d780] Opening '/hls/test/123/10.ts' for writing
[hls @ 0x398d780] Opening '/hls/test/123/index.m3u8.tmp' for writing
[hls @ 0x398d780] pkt->duration = 0, maybe the hls segment duration will
not precise
Last message repeated 4 times
[hls @ 0x398d780] pkt->duration = 0, maybe the hls segment duration will
not precise
Last message repeated 12 times
[hls @ 0x398d780] pkt->duration = 0, maybe the hls segment duration will
not precise
Last message repeated 6 times
[hls @ 0x398d780] Opening '/hls/test/123/11.ts' for writing
[hls @ 0x398d780] Opening '/hls/test/123/index.m3u8.tmp' for writing
[hls @ 0x398d780] pkt->duration = 0, maybe the hls segment duration will
not precise
Last message repeated 4 times
[hls @ 0x398d780] pkt->duration = 0, maybe the hls segment duration will
not precise
Last message repeated 5 times
[hls @ 0x398d780] Opening '/hls/test/123/12.ts' for writing
[hls @ 0x398d780] Opening '/hls/test/123/index.m3u8.tmp' for writing
frame= 313 fps= 25 q=-1.0 Lsize=N/A time=00:00:12.44 bitrate=N/A speed=
1x
video:4786kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: unknown
Exiting normally, received signal 2.
in this case (%01d) segments have to be no great then 9, and if hls_wrap
option will be deprecated, than i can to do playlyst with repeated
numbering chunks....its needed to exclude monitoring the deletion of
previously created files, since they will be constantly overwritten by new
ones ... after restarting ffmpeg does not delete old files (its would be
better if they will deleting by special flag).
--
Ticket URL: <https://trac.ffmpeg.org/ticket/8733#comment:6>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list