Opened 7 years ago

Last modified 7 years ago

#6287 new defect

HLS: error with no sync m3u8 playlist file and chunks

Reported by: krs_vital Owned by:
Priority: important Component: avformat
Version: git-master Keywords: hls regression
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

ffmpeg version:

[root@stream-1 ~]# ffmpeg
ffmpeg version N-84010-ge2adbcb Copyright (c) 2000-2017 the FFmpeg developers

built with gcc 5.3.1 (GCC) 20160406 (Red Hat 5.3.1-6)
configuration: --libdir=/usr/lib64
libavutil 55. 48.100 / 55. 48.100
libavcodec 57. 83.100 / 57. 83.100
libavformat 57. 66.104 / 57. 66.104
libavdevice 57. 3.100 / 57. 3.100
libavfilter 6. 76.100 / 6. 76.100
libswscale 4. 3.101 / 4. 3.101
libswresample 2. 4.100 / 2. 4.100

Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

hls streaming string:

/usr/local/bin/ffmpeg -probesize 2000k -fifo_size 512k -buffer_size 256k -overrun_nonfatal 1 -i udp://239.192.29.223:1234 -sn -dn -vcodec copy -acodec aac -hls_allow_cache 0 -hls_base_url /ts/1KANAL_HD/ -hls_list_size 5 -hls_time 5 -hls_flags delete_segments+omit_endlist -map 0 -r 50 -copyts -g 1 -ignore_unknown -shortest -avoid_negative_ts make_zero -fflags +genpts -use_localtime 1 -hls_segment_filename /hls/ts/1KANAL_HD/stream_%Y%m%d-%s.ts /hls/pl/1KANAL_HD.m3u8

playlist file:

[root@stream-2 1KANAL_HD]# cat ./1KANAL_HD.m3u8
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-ALLOW-CACHE:NO
#EXT-X-TARGETDURATION:6
#EXT-X-MEDIA-SEQUENCE:0
#EXTINF:5.706211,
/ts/1KANAL_HD/stream_20170403-1491212046.ts
#EXTINF:5.440000,
/ts/1KANAL_HD/stream_20170403-1491212050.ts
#EXTINF:4.640000,
/ts/1KANAL_HD/stream_20170403-1491212055.ts
#EXTINF:4.960000,
/ts/1KANAL_HD/stream_20170403-1491212060.ts

first problem is:
bad param is: #EXT-X-MEDIA-SEQUENCE:0

second problem is:
[root@stream-2 1KANAL_HD]# ls -l
итого 202576
-rw-r--r-- 1 root root 5610860 Apr 3 16:31 stream_20170403-1491211857.ts
-rw-r--r-- 1 root root 6053600 Apr 3 16:31 stream_20170403-1491211862.ts
-rw-r--r-- 1 root root 4212704 Apr 3 16:31 stream_20170403-1491211868.ts
-rw-r--r-- 1 root root 4167584 Apr 3 16:31 stream_20170403-1491211873.ts
-rw-r--r-- 1 root root 3556584 Apr 3 16:31 stream_20170403-1491211877.ts
-rw-r--r-- 1 root root 4489440 Apr 3 16:31 stream_20170403-1491211882.ts
-rw-r--r-- 1 root root 4538132 Apr 3 16:31 stream_20170403-1491211887.ts
-rw-r--r-- 1 root root 6555748 Apr 3 16:31 stream_20170403-1491211892.ts
-rw-r--r-- 1 root root 5907336 Apr 3 16:31 stream_20170403-1491211897.ts
-rw-r--r-- 1 root root 162323336 Apr 3 16:34 stream_20170403-1491211902.ts

last string contains to big chunk!!!

about once a day, sometimes such a problem that the chunks stop being generated and ffmpeg starts to write everything in one file, but the playlist continues to be updated and the chunks in it are recorded. The new are not created, as all is written in one file. And in the nginx logs written error that file not found. The server runs about 250 threads ffmpeg. But mostly this error occurs with HD streams.

Change History (13)

comment:1 by Carl Eugen Hoyos, 7 years ago

To make this a valid ticket, provide an input file that allows to reproduce the issue and the command line you tested together with the complete, uncut console output.

comment:4 by Carl Eugen Hoyos, 7 years ago

Component: undeterminedavformat
Keywords: hls regression added
Priority: normalimportant
Version: unspecifiedgit-master

comment:5 by Carl Eugen Hoyos, 7 years ago

Did you provide an input file?

comment:6 by krs_vital, 7 years ago

input files after hls chunking here
https://mycloud.g-service.ru/owncloud/index.php/s/PjV1cPT0hggi3Qg

note, that problem appears in approximately 27 hours after ffmpeg start encoding.
and in 90% cases it happens on HD channels.

zip arhive consist of chunks and m3u8 playlist generated by ffmpeg, but inside playlist links to chunks not the same, because ffmpeg updates playlist normally, but new .ts files not were created and stream write to one file.

comment:7 by krs_vital, 7 years ago

Now recorded channel, where all HLS chunks are not done, it creates only 1 file and the playlist is not updated. Perhaps these 2 problems are somehow connected.

link to file: https://mycloud.g-service.ru/owncloud/index.php/s/MDoVwsgWBxuePeY

ffmpeg command:
/usr/local/bin/ffmpeg -fifo_size 8192 -buffer_size 8192 -overrun_nonfatal 1 -i udp://239.192.18.17:1234 -sn -dn -c copy -hls_allow_cache 0 -hls_base_url /ts/MIR_HD/ -hls_list_size 5 -hls_time 5 -hls_flags delete_segments+omit_endlist -map 0 -r 50 -async 1 -vsync 1 -g 1 -ignore_unknown -shortest -avoid_negative_ts 0 -fflags +genpts -hls_segment_filename /hls/ts/MIR_HD/stream_%d.ts /hls/pl/MIR_HD.m3u8

comment:8 by krs_vital, 7 years ago

another observation:

ffmpeg stops to create chunks and begins to write in 1 file, strictly following the same sequence, in my case I use %d for generating file names, and the problem starts between 19050 and 19100 (stream_19050.ts, most often 19077 and 19078 sequence). Then the threads are manually restarted and again the problem occurs in the same place. I use a chunk of 5 seconds, if you count, the problem occurs using 19050*5 = 92500 seconds, which is about 26 hours. Less frequently the problem appeared through half this time.

comment:9 by krs_vital, 7 years ago

Today i get logs about this problem:

[root@stream-1 ~]# /usr/local/bin/ffmpeg -fflags nobuffer -overrun_nonfatal 1 -i udp://239.192.7.44:1234 -sn -dn -c copy -hls_allow_cache 0 -hls_base_url /ts/Mute_HD/ -hls_list_size 5 -hls_time 5 -hls_flags delete_segments+omit_endlist -map 0 -async 1 -ignore_unknown -avoid_negative_ts 0 -g 1 -r 50 -strict -2 -use_localtime 1 -hls_segment_filename /hls/ts/Mute_HD/stream_%s.ts -report /hls/pl/Mute_HD.m3u8
ffmpeg started on 2017-05-02 at 16:51:07
Report written to "ffmpeg-20170502-165107.log"
ffmpeg version 2.8.10 Copyright (c) 2000-2016 the FFmpeg developers

built with gcc 4.7 (Debian 4.7.2-5)
configuration: --enable-gpl --disable-static --enable-shared --enable-version3 --enable-nonfree --enable-pic --enable-libx264 --enable-libx265 --enable-libopus --enable-libv4l2 --enable-nvenc --enable-libvpx --enable-libspeex --enable-libmp3lame --enable-decoder=png --enable-encoder=png --prefix=/opt/flussonic --extra-ldflags='-L/opt/flussonic/lib -Wl,-rpath /opt/flussonic/lib' --extra-cflags=-I/opt/flussonic/include
libavutil 54. 31.100 / 54. 31.100
libavcodec 56. 60.100 / 56. 60.100
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 40.101 / 5. 40.101
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101
libpostproc 53. 3.100 / 53. 3.100

[h264 @ 0x1442080] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 0x1442080] decode_slice_header error
[h264 @ 0x1442080] no frame!
[h264 @ 0x1442080] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 0x1442080] decode_slice_header error
[h264 @ 0x1442080] no frame!
[h264 @ 0x1442080] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 0x1442080] decode_slice_header error
[h264 @ 0x1442080] no frame!
[h264 @ 0x1442080] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 0x1442080] decode_slice_header error
[h264 @ 0x1442080] no frame!
[h264 @ 0x1442080] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 0x1442080] decode_slice_header error
[h264 @ 0x1442080] no frame!
[h264 @ 0x1442080] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 0x1442080] decode_slice_header error
[h264 @ 0x1442080] no frame!
[h264 @ 0x1442080] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 0x1442080] decode_slice_header error
[h264 @ 0x1442080] no frame!
[h264 @ 0x1442080] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 0x1442080] decode_slice_header error
[h264 @ 0x1442080] no frame!
[h264 @ 0x1442080] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 0x1442080] decode_slice_header error
[h264 @ 0x1442080] no frame!
[h264 @ 0x1442080] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 0x1442080] decode_slice_header error
[h264 @ 0x1442080] no frame!
[h264 @ 0x1442080] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 0x1442080] decode_slice_header error
[h264 @ 0x1442080] no frame!
[h264 @ 0x1442080] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 0x1442080] decode_slice_header error
[h264 @ 0x1442080] no frame!
[h264 @ 0x1442080] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 0x1442080] decode_slice_header error
[h264 @ 0x1442080] no frame!
[h264 @ 0x1442080] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 0x1442080] decode_slice_header error
[h264 @ 0x1442080] no frame!
[h264 @ 0x1442080] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 0x1442080] decode_slice_header error
[h264 @ 0x1442080] no frame!
[h264 @ 0x1442080] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 0x1442080] decode_slice_header error
[h264 @ 0x1442080] no frame!
[h264 @ 0x1442080] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 0x1442080] decode_slice_header error
[h264 @ 0x1442080] no frame!
[h264 @ 0x1442080] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 0x1442080] decode_slice_header error
[h264 @ 0x1442080] no frame!
[h264 @ 0x1442080] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 0x1442080] decode_slice_header error
[h264 @ 0x1442080] no frame!
[h264 @ 0x1442080] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 0x1442080] decode_slice_header error
[h264 @ 0x1442080] no frame!
[h264 @ 0x1442080] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 0x1442080] decode_slice_header error
[h264 @ 0x1442080] no frame!
[h264 @ 0x1442080] non-existing PPS 0 referenced

Last message repeated 1 times

[h264 @ 0x1442080] decode_slice_header error
[h264 @ 0x1442080] no frame!
[h264 @ 0x1442080] non-existing SPS 0 referenced in buffering period

Last message repeated 1 times

Input #0, mpegts, from 'udp://239.192.7.44:1234':

Duration: N/A, start: 2307.832000, bitrate: N/A
Program 235

Stream #0:0[0xbb9]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:1[0xc27](eng): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 207 kb/s

Output #0, hls, to '/hls/pl/Mute_HD.m3u8':

Metadata:

encoder : Lavf56.40.101
Stream #0:0: Video: h264 ([27][0][0][0] / 0x001B), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:1(eng): Audio: aac ([15][0][0][0] / 0x000F), 48000 Hz, stereo, 207 kb/s

Stream mapping:

Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)

Press [q] to stop, ? for help
[hls @ 0x148b520] failed to rename file /hls/pl/Mute_HD.m3u8.tmp to /hls/pl/Mute_HD.m3u8
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718792.ts: No such file or directory
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718788.ts: No such file or directory
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718797.ts: No such file or directory
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718807.ts: No such file or directory
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718802.ts: No such file or directory
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718817.ts: No such file or directory
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718811.ts: No such file or directory
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718822.ts: No such file or directory
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718832.ts: No such file or directory
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718827.ts: No such file or directory
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718842.ts: No such file or directory
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718836.ts: No such file or directory
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718847.ts: No such file or directory
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718852.ts: No such file or directory
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718861.ts: No such file or directory
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718858.ts: No such file or directory
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718867.ts: No such file or directory
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718877.ts: No such file or directory
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718872.ts: No such file or directory
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718886.ts: No such file or directory
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718883.ts: No such file or directory
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718892.ts: No such file or directory
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718902.ts: No such file or directory
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718897.ts: No such file or directory
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718912.ts: No such file or directory
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718906.ts: No such file or directory
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718917.ts: No such file or directory
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718922.ts: No such file or directory
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718931.ts: No such file or directory
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718927.ts: No such file or directory
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718937.ts: No such file or directory
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718947.ts: No such file or directory
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718942.ts: No such file or directory
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718956.ts: No such file or directory
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718952.ts: No such file or directory
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718962.ts: No such file or directory
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718972.ts: No such file or directory
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718967.ts: No such file or directory
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718981.ts: No such file or directory
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718976.ts: No such file or directory
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718987.ts: No such file or directory
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718997.ts: No such file or directory
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718992.ts: No such file or directory
frame= 9557 fps= 25 q=-1.0 Lsize=N/A time=00:06:28.47 bitrate=N/A
video:373293kB audio:8991kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Exiting normally, received signal 2.

### report logs

cat ./ffmpeg-20170502-165107.log

ffmpeg started on 2017-05-02 at 16:51:07
Report written to "ffmpeg-20170502-165107.log"
Command line:
/opt/flussonic/bin/ffmpeg -fflags nobuffer -overrun_nonfatal 1 -i udp://239.192.7.44:1234 -sn -dn -c copy -hls_allow_cache 0 -hls_base_url /ts/Mute_HD/ -hls_list_size 5 -hls_time 5 -hls_flags delete_segments+omit_endlist -map 0 -async 1 -ignore_unknown -avoid_negative_ts 0 -g 1 -r 50 -strict -2 -use_localtime 1 -hls_segment_filename "/hls/ts/Mute_HD/stream_%s.ts" -report /hls/pl/Mute_HD.m3u8
ffmpeg version 2.8.10 Copyright (c) 2000-2016 the FFmpeg developers

built with gcc 4.7 (Debian 4.7.2-5)
configuration: --enable-gpl --disable-static --enable-shared --enable-version3 --enable-nonfree --enable-pic --enable-libx264 --enable-libx265 --enable-libopus --enable-libv4l2 --enable-nvenc --enable-libvpx --enable-libspeex --enable-libmp3lame --enable-decoder=png --enable-encoder=png --prefix=/opt/flussonic --extra-ldflags='-L/opt/flussonic/lib -Wl,-rpath /opt/flussonic/lib' --extra-cflags=-I/opt/flussonic/include
libavutil 54. 31.100 / 54. 31.100
libavcodec 56. 60.100 / 56. 60.100
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 40.101 / 5. 40.101
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101
libpostproc 53. 3.100 / 53. 3.100

Splitting the commandline.
Reading option '-fflags' ... matched as AVOption 'fflags' with argument 'nobuffer'.
Reading option '-overrun_nonfatal' ... matched as AVOption 'overrun_nonfatal' with argument '1'.
Reading option '-i' ... matched as input url with argument 'udp://239.192.7.44:1234'.
Reading option '-sn' ... matched as option 'sn' (disable subtitle) with argument '1'.
Reading option '-dn' ... matched as option 'dn' (disable data) with argument '1'.
Reading option '-c' ... matched as option 'c' (codec name) with argument 'copy'.
Reading option '-hls_allow_cache' ... matched as AVOption 'hls_allow_cache' with argument '0'.
Reading option '-hls_base_url' ... matched as AVOption 'hls_base_url' with argument '/ts/Mute_HD/'.
Reading option '-hls_list_size' ... matched as AVOption 'hls_list_size' with argument '5'.
Reading option '-hls_time' ... matched as AVOption 'hls_time' with argument '5'.
Reading option '-hls_flags' ... matched as AVOption 'hls_flags' with argument 'delete_segments+omit_endlist'.
Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '0'.
Reading option '-async' ... matched as option 'async' (audio sync method) with argument '1'.
Reading option '-ignore_unknown' ... matched as option 'ignore_unknown' (Ignore unknown stream types) with argument '1'.
Reading option '-avoid_negative_ts' ... matched as AVOption 'avoid_negative_ts' with argument '0'.
Reading option '-g' ... matched as AVOption 'g' with argument '1'.
Reading option '-r' ... matched as option 'r' (set frame rate (Hz value, fraction or abbreviation)) with argument '50'.
Reading option '-strict' ...Routing option strict to both codec and muxer layer

matched as AVOption 'strict' with argument '-2'.

Reading option '-use_localtime' ... matched as AVOption 'use_localtime' with argument '1'.
Reading option '-hls_segment_filename' ... matched as AVOption 'hls_segment_filename' with argument '/hls/ts/Mute_HD/stream_%s.ts'.
Reading option '-report' ... matched as option 'report' (generate a report) with argument '1'.
Reading option '/hls/pl/Mute_HD.m3u8' ... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option async (audio sync method) with argument 1.
Applying option ignore_unknown (Ignore unknown stream types) with argument 1.
Applying option report (generate a report) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input url udp://239.192.7.44:1234.
Successfully parsed a group of options.
Opening an input file: udp://239.192.7.44:1234.
[udp @ 0x142e060] end receive buffer size reported is 131072
[mpegts @ 0x142d8c0] Format mpegts probed with size=2048 and score=100
[mpegts @ 0x142d8c0] stream=0 stream_type=1b pid=bb9 prog_reg_desc=
[mpegts @ 0x142d8c0] stream=1 stream_type=f pid=c27 prog_reg_desc=
[mpegts @ 0x142d8c0] Before avformat_find_stream_info() pos: 0 bytes read:9212 seeks:0
[h264 @ 0x1442080] non-existing PPS 0 referenced
[h264 @ 0x1442080] non-existing PPS 0 referenced
[h264 @ 0x1442080] decode_slice_header error
[h264 @ 0x1442080] no frame!
[h264 @ 0x1442080] non-existing PPS 0 referenced
[h264 @ 0x1442080] non-existing PPS 0 referenced
[h264 @ 0x1442080] decode_slice_header error
[h264 @ 0x1442080] no frame!
[h264 @ 0x1442080] non-existing PPS 0 referenced
[h264 @ 0x1442080] non-existing PPS 0 referenced
[h264 @ 0x1442080] decode_slice_header error
[h264 @ 0x1442080] no frame!
[mpegts @ 0x142d8c0] first_dts 207704880 but no packet with dts in the queue
[h264 @ 0x1442080] non-existing PPS 0 referenced
[h264 @ 0x1442080] non-existing PPS 0 referenced
[h264 @ 0x1442080] decode_slice_header error
[h264 @ 0x1442080] no frame!
[h264 @ 0x1442080] non-existing PPS 0 referenced
[h264 @ 0x1442080] non-existing PPS 0 referenced
[h264 @ 0x1442080] decode_slice_header error
[h264 @ 0x1442080] no frame!
[h264 @ 0x1442080] non-existing PPS 0 referenced
[h264 @ 0x1442080] non-existing PPS 0 referenced
[h264 @ 0x1442080] decode_slice_header error
[h264 @ 0x1442080] no frame!
[h264 @ 0x1442080] non-existing PPS 0 referenced
[h264 @ 0x1442080] non-existing PPS 0 referenced
[h264 @ 0x1442080] decode_slice_header error
[h264 @ 0x1442080] no frame!
[h264 @ 0x1442080] non-existing PPS 0 referenced
[h264 @ 0x1442080] non-existing PPS 0 referenced
[h264 @ 0x1442080] decode_slice_header error
[h264 @ 0x1442080] no frame!
[h264 @ 0x1442080] non-existing PPS 0 referenced
[h264 @ 0x1442080] non-existing PPS 0 referenced
[h264 @ 0x1442080] decode_slice_header error
[h264 @ 0x1442080] no frame!
[h264 @ 0x1442080] non-existing PPS 0 referenced
[h264 @ 0x1442080] non-existing PPS 0 referenced
[h264 @ 0x1442080] decode_slice_header error
[h264 @ 0x1442080] no frame!
[h264 @ 0x1442080] non-existing PPS 0 referenced
[h264 @ 0x1442080] non-existing PPS 0 referenced
[h264 @ 0x1442080] decode_slice_header error
[h264 @ 0x1442080] no frame!
[h264 @ 0x1442080] non-existing PPS 0 referenced
[h264 @ 0x1442080] non-existing PPS 0 referenced
[h264 @ 0x1442080] decode_slice_header error
[h264 @ 0x1442080] no frame!
[h264 @ 0x1442080] non-existing PPS 0 referenced
[h264 @ 0x1442080] non-existing PPS 0 referenced
[h264 @ 0x1442080] decode_slice_header error
[h264 @ 0x1442080] no frame!
[h264 @ 0x1442080] non-existing PPS 0 referenced
[h264 @ 0x1442080] non-existing PPS 0 referenced
[h264 @ 0x1442080] decode_slice_header error
[h264 @ 0x1442080] no frame!
[h264 @ 0x1442080] non-existing PPS 0 referenced
[h264 @ 0x1442080] non-existing PPS 0 referenced
[h264 @ 0x1442080] decode_slice_header error
[h264 @ 0x1442080] no frame!
[h264 @ 0x1442080] non-existing PPS 0 referenced
[h264 @ 0x1442080] non-existing PPS 0 referenced
[h264 @ 0x1442080] decode_slice_header error
[h264 @ 0x1442080] no frame!
[h264 @ 0x1442080] non-existing PPS 0 referenced
[h264 @ 0x1442080] non-existing PPS 0 referenced
[h264 @ 0x1442080] decode_slice_header error
[h264 @ 0x1442080] no frame!
[h264 @ 0x1442080] non-existing PPS 0 referenced
[h264 @ 0x1442080] non-existing PPS 0 referenced
[h264 @ 0x1442080] decode_slice_header error
[h264 @ 0x1442080] no frame!
[h264 @ 0x1442080] non-existing PPS 0 referenced
[h264 @ 0x1442080] non-existing PPS 0 referenced
[h264 @ 0x1442080] decode_slice_header error
[h264 @ 0x1442080] no frame!
[h264 @ 0x1442080] non-existing PPS 0 referenced
[h264 @ 0x1442080] non-existing PPS 0 referenced
[h264 @ 0x1442080] decode_slice_header error
[h264 @ 0x1442080] no frame!
[h264 @ 0x1442080] non-existing PPS 0 referenced
[h264 @ 0x1442080] non-existing PPS 0 referenced
[h264 @ 0x1442080] decode_slice_header error
[h264 @ 0x1442080] no frame!
[h264 @ 0x1442080] non-existing PPS 0 referenced
[h264 @ 0x1442080] non-existing PPS 0 referenced
[h264 @ 0x1442080] decode_slice_header error
[h264 @ 0x1442080] no frame!
[h264 @ 0x1442080] non-existing SPS 0 referenced in buffering period
[h264 @ 0x1442080] non-existing SPS 0 referenced in buffering period
[h264 @ 0x1442080] no picture
[mpegts @ 0x142d8c0] first_dts 207709200 but no packet with dts in the queue
[mpegts @ 0x142d8c0] Probe buffer size limit of 5000000 bytes reached
[mpegts @ 0x142d8c0] After avformat_find_stream_info() pos: 5489976 bytes read:5490352 seeks:0 frames:360
Input #0, mpegts, from 'udp://239.192.7.44:1234':

Duration: N/A, start: 2307.832000, bitrate: N/A
Program 235

Stream #0:0[0xbb9], 125, 1/90000: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:1[0xc27](eng), 235, 1/90000: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 207 kb/s

Successfully opened the file.
Parsing a group of options: output url /hls/pl/Mute_HD.m3u8.
Applying option sn (disable subtitle) with argument 1.
Applying option dn (disable data) with argument 1.
Applying option c (codec name) with argument copy.
Applying option map (set input stream mapping) with argument 0.
Applying option r (set frame rate (Hz value, fraction or abbreviation)) with argument 50.
Successfully parsed a group of options.
Opening an output file: /hls/pl/Mute_HD.m3u8.
Successfully opened the file.
[mpegts @ 0x145cc20] muxrate VBR, pcr every 5 pkts, sdt every 200, pat/pmt every 40 pkts
Output #0, hls, to '/hls/pl/Mute_HD.m3u8':

Metadata:

encoder : Lavf56.40.101
Stream #0:0, 0, 1/90000: Video: h264 ([27][0][0][0] / 0x001B), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:1(eng), 0, 1/90000: Audio: aac ([15][0][0][0] / 0x000F), 48000 Hz, stereo, 207 kb/s

Stream mapping:

Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)

Press [q] to stop, ? for help
[AVIOContext @ 0x145e200] Statistics: 0 seeks, 231 writeouts=N/A
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:0
[AVIOContext @ 0x1475280] Statistics: 0 seeks, 1 writeouts
[AVIOContext @ 0x145e200] Statistics: 0 seeks, 291 writeouts=N/A
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:0
[AVIOContext @ 0x1489060] Statistics: 0 seeks, 1 writeouts
[AVIOContext @ 0x145e200] Statistics: 0 seeks, 292 writeouts=N/A
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:0
[AVIOContext @ 0x1581f60] Statistics: 0 seeks, 1 writeouts
[AVIOContext @ 0x145e200] Statistics: 0 seeks, 291 writeouts=N/A
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:0
[AVIOContext @ 0x1470aa0] Statistics: 0 seeks, 1 writeouts
[AVIOContext @ 0x145e200] Statistics: 0 seeks, 290 writeouts=N/A
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:0
[AVIOContext @ 0x1584e00] Statistics: 0 seeks, 1 writeouts
[AVIOContext @ 0x1581e80] Statistics: 0 seeks, 218 writeouts=N/A
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:1
[AVIOContext @ 0x145e500] Statistics: 0 seeks, 1 writeouts
[AVIOContext @ 0x145e200] Statistics: 0 seeks, 290 writeouts=N/A
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:2
[AVIOContext @ 0x15817e0] Statistics: 0 seeks, 1 writeouts
[AVIOContext @ 0x145e200] Statistics: 0 seeks, 290 writeouts=N/A
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:3
[AVIOContext @ 0x1470bc0] Statistics: 0 seeks, 1 writeouts
[AVIOContext @ 0x145e200] Statistics: 0 seeks, 290 writeouts=N/A
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:4
[AVIOContext @ 0x1583ba0] Statistics: 0 seeks, 1 writeouts
[AVIOContext @ 0x145e200] Statistics: 0 seeks, 218 writeouts=N/A
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:5
[AVIOContext @ 0x1470b60] Statistics: 0 seeks, 1 writeouts
[AVIOContext @ 0x145e200] Statistics: 0 seeks, 290 writeouts=N/A
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:6
[AVIOContext @ 0x1489020] Statistics: 0 seeks, 1 writeouts
[AVIOContext @ 0x145e200] Statistics: 0 seeks, 290 writeouts=N/A
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:7
[AVIOContext @ 0x1584b40] Statistics: 0 seeks, 1 writeouts
[hls muxer @ 0x148bb20] deleting old segment stream_1493718677.ts
[hls muxer @ 0x148bb20] deleting old segment stream_1493718672.ts
[AVIOContext @ 0x145e200] Statistics: 0 seeks, 290 writeouts
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:8
[AVIOContext @ 0x15817e0] Statistics: 0 seeks, 1 writeouts
[hls muxer @ 0x148bb20] deleting old segment stream_1493718682.ts
[AVIOContext @ 0x145e200] Statistics: 0 seeks, 290 writeouts
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:9
[AVIOContext @ 0x145e440] Statistics: 0 seeks, 1 writeouts
[AVIOContext @ 0x145e200] Statistics: 0 seeks, 217 writeouts=N/A
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:10
[AVIOContext @ 0x14bfec0] Statistics: 0 seeks, 1 writeouts
[hls muxer @ 0x148bb20] deleting old segment stream_1493718693.ts
[hls muxer @ 0x148bb20] deleting old segment stream_1493718687.ts
[AVIOContext @ 0x145e200] Statistics: 0 seeks, 290 writeouts
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:11
[AVIOContext @ 0x14bfd80] Statistics: 0 seeks, 1 writeouts
[AVIOContext @ 0x145e200] Statistics: 0 seeks, 290 writeouts=N/A
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:12
[AVIOContext @ 0x1488f60] Statistics: 0 seeks, 1 writeouts
[hls muxer @ 0x148bb20] deleting old segment stream_1493718702.ts
[hls muxer @ 0x148bb20] deleting old segment stream_1493718698.ts
[AVIOContext @ 0x145e200] Statistics: 0 seeks, 290 writeouts
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:13
[AVIOContext @ 0x145e380] Statistics: 0 seeks, 1 writeouts
[hls muxer @ 0x148bb20] deleting old segment stream_1493718707.ts
[AVIOContext @ 0x145e200] Statistics: 0 seeks, 290 writeouts
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:14
[AVIOContext @ 0x1584e60] Statistics: 0 seeks, 1 writeouts
[AVIOContext @ 0x145e200] Statistics: 0 seeks, 218 writeouts=N/A
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:15
[AVIOContext @ 0x145e200] Statistics: 0 seeks, 1 writeouts
[hls muxer @ 0x148bb20] deleting old segment stream_1493718718.ts
[hls muxer @ 0x148bb20] deleting old segment stream_1493718712.ts
[AVIOContext @ 0x15833e0] Statistics: 0 seeks, 290 writeouts
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:16
[AVIOContext @ 0x15833c0] Statistics: 0 seeks, 1 writeouts
[hls muxer @ 0x148bb20] deleting old segment stream_1493718722.ts
[AVIOContext @ 0x145e200] Statistics: 0 seeks, 270 writeouts
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:17
[AVIOContext @ 0x1584c20] Statistics: 0 seeks, 1 writeouts
timestamp discontinuity 93018677689, new offset= -95326509689N/A
[AVIOContext @ 0x1584820] Statistics: 0 seeks, 263 writeouts=N/A
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:18
[AVIOContext @ 0x1583740] Statistics: 0 seeks, 1 writeouts
[hls @ 0x148b520] failed to rename file /hls/pl/Mute_HD.m3u8.tmp to /hls/pl/Mute_HD.m3u8
[hls muxer @ 0x148bb20] deleting old segment stream_1493718732.ts
[hls muxer @ 0x148bb20] deleting old segment stream_1493718727.ts
[AVIOContext @ 0x1584740] Statistics: 0 seeks, 423 writeouts
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:19
[AVIOContext @ 0x15828c0] Statistics: 0 seeks, 1 writeouts
[AVIOContext @ 0x1584700] Statistics: 0 seeks, 291 writeouts=N/A
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:20
[AVIOContext @ 0x1584640] Statistics: 0 seeks, 1 writeouts
[hls muxer @ 0x148bb20] deleting old segment stream_1493718737.ts
[AVIOContext @ 0x1584a20] Statistics: 0 seeks, 289 writeouts
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:21
[AVIOContext @ 0x1582640] Statistics: 0 seeks, 1 writeouts
[hls muxer @ 0x148bb20] deleting old segment stream_1493718743.ts
[AVIOContext @ 0x1584a00] Statistics: 0 seeks, 292 writeouts
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:22
[AVIOContext @ 0x1473fe0] Statistics: 0 seeks, 1 writeouts
[hls muxer @ 0x148bb20] deleting old segment stream_1493718752.ts
[hls muxer @ 0x148bb20] deleting old segment stream_1493718747.ts
[AVIOContext @ 0x1584920] Statistics: 0 seeks, 219 writeouts
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:23
[AVIOContext @ 0x145e380] Statistics: 0 seeks, 1 writeouts
[AVIOContext @ 0x1475d20] Statistics: 0 seeks, 290 writeouts=N/A
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:24
[AVIOContext @ 0x1475d20] Statistics: 0 seeks, 1 writeouts
[hls muxer @ 0x148bb20] deleting old segment stream_1493718762.ts
[hls muxer @ 0x148bb20] deleting old segment stream_1493718757.ts
[AVIOContext @ 0x145e200] Statistics: 0 seeks, 290 writeouts
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:25
[AVIOContext @ 0x1488e20] Statistics: 0 seeks, 1 writeouts
[hls muxer @ 0x148bb20] deleting old segment stream_1493718768.ts
[AVIOContext @ 0x145e200] Statistics: 0 seeks, 290 writeouts
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:26
[AVIOContext @ 0x1582860] Statistics: 0 seeks, 1 writeouts
[hls muxer @ 0x148bb20] deleting old segment stream_1493718772.ts
[AVIOContext @ 0x145e200] Statistics: 0 seeks, 290 writeouts
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:27
[AVIOContext @ 0x1488fa0] Statistics: 0 seeks, 1 writeouts
[AVIOContext @ 0x1473180] Statistics: 0 seeks, 218 writeouts=N/A
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:28
[AVIOContext @ 0x14730e0] Statistics: 0 seeks, 1 writeouts
[hls muxer @ 0x148bb20] deleting old segment stream_1493718782.ts
[hls muxer @ 0x148bb20] deleting old segment stream_1493718777.ts
[AVIOContext @ 0x14763c0] Statistics: 0 seeks, 290 writeouts
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:29
[AVIOContext @ 0x1476260] Statistics: 0 seeks, 1 writeouts
[AVIOContext @ 0x1475d20] Statistics: 0 seeks, 289 writeouts=N/A
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:30
[AVIOContext @ 0x1473160] Statistics: 0 seeks, 1 writeouts
[hls muxer @ 0x148bb20] deleting old segment stream_1493718792.ts
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718792.ts: No such file or directory
[hls muxer @ 0x148bb20] deleting old segment stream_1493718788.ts
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718788.ts: No such file or directory
[AVIOContext @ 0x1475d20] Statistics: 0 seeks, 290 writeouts
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:31
[AVIOContext @ 0x1473000] Statistics: 0 seeks, 1 writeouts
[hls muxer @ 0x148bb20] deleting old segment stream_1493718797.ts
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718797.ts: No such file or directory
[AVIOContext @ 0x1475d20] Statistics: 0 seeks, 291 writeouts
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:32
[AVIOContext @ 0x1487e80] Statistics: 0 seeks, 1 writeouts
[AVIOContext @ 0x15834e0] Statistics: 0 seeks, 218 writeouts=N/A
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:33
[AVIOContext @ 0x15834e0] Statistics: 0 seeks, 1 writeouts
[hls muxer @ 0x148bb20] deleting old segment stream_1493718807.ts
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718807.ts: No such file or directory
[hls muxer @ 0x148bb20] deleting old segment stream_1493718802.ts
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718802.ts: No such file or directory
[AVIOContext @ 0x1471f00] Statistics: 0 seeks, 291 writeouts
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:34
[AVIOContext @ 0x1487fa0] Statistics: 0 seeks, 1 writeouts
[AVIOContext @ 0x1487c40] Statistics: 0 seeks, 290 writeouts=N/A
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:35
[AVIOContext @ 0x1583540] Statistics: 0 seeks, 1 writeouts
[hls muxer @ 0x148bb20] deleting old segment stream_1493718817.ts
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718817.ts: No such file or directory
[hls muxer @ 0x148bb20] deleting old segment stream_1493718811.ts
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718811.ts: No such file or directory
[AVIOContext @ 0x145e200] Statistics: 0 seeks, 290 writeouts
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:36
[AVIOContext @ 0x145e620] Statistics: 0 seeks, 1 writeouts
[hls muxer @ 0x148bb20] deleting old segment stream_1493718822.ts
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718822.ts: No such file or directory
[AVIOContext @ 0x145e200] Statistics: 0 seeks, 290 writeouts
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:37
[AVIOContext @ 0x1476320] Statistics: 0 seeks, 1 writeouts
[AVIOContext @ 0x145e200] Statistics: 0 seeks, 218 writeouts=N/A
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:38
[AVIOContext @ 0x1583e60] Statistics: 0 seeks, 1 writeouts
[hls muxer @ 0x148bb20] deleting old segment stream_1493718832.ts
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718832.ts: No such file or directory
[hls muxer @ 0x148bb20] deleting old segment stream_1493718827.ts
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718827.ts: No such file or directory
[AVIOContext @ 0x145e200] Statistics: 0 seeks, 287 writeouts
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:39
[AVIOContext @ 0x1488040] Statistics: 0 seeks, 1 writeouts
[AVIOContext @ 0x145e200] Statistics: 0 seeks, 287 writeouts=N/A
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:40
[AVIOContext @ 0x1471e20] Statistics: 0 seeks, 1 writeouts
[hls muxer @ 0x148bb20] deleting old segment stream_1493718842.ts
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718842.ts: No such file or directory
[hls muxer @ 0x148bb20] deleting old segment stream_1493718836.ts
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718836.ts: No such file or directory
[AVIOContext @ 0x145e200] Statistics: 0 seeks, 288 writeouts
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:41
[AVIOContext @ 0x1582220] Statistics: 0 seeks, 1 writeouts
[hls muxer @ 0x148bb20] deleting old segment stream_1493718847.ts
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718847.ts: No such file or directory
[AVIOContext @ 0x145e200] Statistics: 0 seeks, 221 writeouts
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:42
[AVIOContext @ 0x147ed20] Statistics: 0 seeks, 1 writeouts
[AVIOContext @ 0x145e200] Statistics: 0 seeks, 289 writeouts=N/A
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:43
[AVIOContext @ 0x1581ca0] Statistics: 0 seeks, 1 writeouts
[hls muxer @ 0x148bb20] deleting old segment stream_1493718852.ts
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718852.ts: No such file or directory
[AVIOContext @ 0x145e200] Statistics: 0 seeks, 288 writeouts
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:44
[AVIOContext @ 0x147ed20] Statistics: 0 seeks, 1 writeouts
[hls muxer @ 0x148bb20] deleting old segment stream_1493718861.ts
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718861.ts: No such file or directory
[hls muxer @ 0x148bb20] deleting old segment stream_1493718858.ts
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718858.ts: No such file or directory
[AVIOContext @ 0x145e200] Statistics: 0 seeks, 287 writeouts
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:45
[AVIOContext @ 0x147ed20] Statistics: 0 seeks, 1 writeouts
[hls muxer @ 0x148bb20] deleting old segment stream_1493718867.ts
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718867.ts: No such file or directory
[AVIOContext @ 0x145e200] Statistics: 0 seeks, 289 writeouts
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:46
[AVIOContext @ 0x145e200] Statistics: 0 seeks, 1 writeouts
[AVIOContext @ 0x14890c0] Statistics: 0 seeks, 216 writeouts=N/A
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:47
[AVIOContext @ 0x145e5a0] Statistics: 0 seeks, 1 writeouts
[hls muxer @ 0x148bb20] deleting old segment stream_1493718877.ts
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718877.ts: No such file or directory
[hls muxer @ 0x148bb20] deleting old segment stream_1493718872.ts
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718872.ts: No such file or directory
[AVIOContext @ 0x14890c0] Statistics: 0 seeks, 289 writeouts
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:48
[AVIOContext @ 0x1581a20] Statistics: 0 seeks, 1 writeouts
[AVIOContext @ 0x145e200] Statistics: 0 seeks, 288 writeouts=N/A
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:49
[AVIOContext @ 0x1475d20] Statistics: 0 seeks, 1 writeouts
[hls muxer @ 0x148bb20] deleting old segment stream_1493718886.ts
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718886.ts: No such file or directory
[hls muxer @ 0x148bb20] deleting old segment stream_1493718883.ts
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718883.ts: No such file or directory
[AVIOContext @ 0x145e200] Statistics: 0 seeks, 290 writeouts
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:50
[AVIOContext @ 0x1584ee0] Statistics: 0 seeks, 1 writeouts
[hls muxer @ 0x148bb20] deleting old segment stream_1493718892.ts
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718892.ts: No such file or directory
[AVIOContext @ 0x145e200] Statistics: 0 seeks, 287 writeouts
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:51
[AVIOContext @ 0x145e4e0] Statistics: 0 seeks, 1 writeouts
[AVIOContext @ 0x145e200] Statistics: 0 seeks, 216 writeouts=N/A
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:52
[AVIOContext @ 0x147ed20] Statistics: 0 seeks, 1 writeouts
[hls muxer @ 0x148bb20] deleting old segment stream_1493718902.ts
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718902.ts: No such file or directory
[hls muxer @ 0x148bb20] deleting old segment stream_1493718897.ts
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718897.ts: No such file or directory
[AVIOContext @ 0x145e200] Statistics: 0 seeks, 289 writeouts
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:53
[AVIOContext @ 0x1475d20] Statistics: 0 seeks, 1 writeouts
[AVIOContext @ 0x1581de0] Statistics: 0 seeks, 288 writeouts=N/A
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:54
[AVIOContext @ 0x1488fc0] Statistics: 0 seeks, 1 writeouts
[hls muxer @ 0x148bb20] deleting old segment stream_1493718912.ts
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718912.ts: No such file or directory
[hls muxer @ 0x148bb20] deleting old segment stream_1493718906.ts
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718906.ts: No such file or directory
[AVIOContext @ 0x1581dc0] Statistics: 0 seeks, 291 writeouts
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:55
[AVIOContext @ 0x145e5a0] Statistics: 0 seeks, 1 writeouts
[hls muxer @ 0x148bb20] deleting old segment stream_1493718917.ts
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718917.ts: No such file or directory
[AVIOContext @ 0x1583960] Statistics: 0 seeks, 217 writeouts
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:56
[AVIOContext @ 0x15828a0] Statistics: 0 seeks, 1 writeouts
[AVIOContext @ 0x145e5a0] Statistics: 0 seeks, 291 writeouts=N/A
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:57
[AVIOContext @ 0x145e5a0] Statistics: 0 seeks, 1 writeouts
[hls muxer @ 0x148bb20] deleting old segment stream_1493718922.ts
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718922.ts: No such file or directory
[AVIOContext @ 0x145e200] Statistics: 0 seeks, 291 writeouts
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:58
[AVIOContext @ 0x14742c0] Statistics: 0 seeks, 1 writeouts
[hls muxer @ 0x148bb20] deleting old segment stream_1493718931.ts
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718931.ts: No such file or directory
[hls muxer @ 0x148bb20] deleting old segment stream_1493718927.ts
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718927.ts: No such file or directory
[AVIOContext @ 0x145e200] Statistics: 0 seeks, 290 writeouts
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:59
[AVIOContext @ 0x147f9c0] Statistics: 0 seeks, 1 writeouts
[hls muxer @ 0x148bb20] deleting old segment stream_1493718937.ts
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718937.ts: No such file or directory
[AVIOContext @ 0x145e200] Statistics: 0 seeks, 291 writeouts
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:60
[AVIOContext @ 0x1582a40] Statistics: 0 seeks, 1 writeouts
[AVIOContext @ 0x145e200] Statistics: 0 seeks, 219 writeouts=N/A
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:61
[AVIOContext @ 0x15824e0] Statistics: 0 seeks, 1 writeouts
[hls muxer @ 0x148bb20] deleting old segment stream_1493718947.ts
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718947.ts: No such file or directory
[hls muxer @ 0x148bb20] deleting old segment stream_1493718942.ts
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718942.ts: No such file or directory
[AVIOContext @ 0x145e200] Statistics: 0 seeks, 290 writeouts
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:62
[AVIOContext @ 0x145e200] Statistics: 0 seeks, 1 writeouts
[AVIOContext @ 0x14724e0] Statistics: 0 seeks, 288 writeouts=N/A
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:63
[AVIOContext @ 0x145e200] Statistics: 0 seeks, 1 writeouts
[hls muxer @ 0x148bb20] deleting old segment stream_1493718956.ts
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718956.ts: No such file or directory
[hls muxer @ 0x148bb20] deleting old segment stream_1493718952.ts
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718952.ts: No such file or directory
[AVIOContext @ 0x1472ac0] Statistics: 0 seeks, 287 writeouts
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:64
[AVIOContext @ 0x1583640] Statistics: 0 seeks, 1 writeouts
[hls muxer @ 0x148bb20] deleting old segment stream_1493718962.ts
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718962.ts: No such file or directory
[AVIOContext @ 0x1584ee0] Statistics: 0 seeks, 289 writeouts
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:65
[AVIOContext @ 0x145e380] Statistics: 0 seeks, 1 writeouts
[AVIOContext @ 0x1475ce0] Statistics: 0 seeks, 217 writeouts=N/A
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:66
[AVIOContext @ 0x14723c0] Statistics: 0 seeks, 1 writeouts
[hls muxer @ 0x148bb20] deleting old segment stream_1493718972.ts
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718972.ts: No such file or directory
[hls muxer @ 0x148bb20] deleting old segment stream_1493718967.ts
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718967.ts: No such file or directory
[AVIOContext @ 0x1475cc0] Statistics: 0 seeks, 284 writeouts
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:67
[AVIOContext @ 0x1584f20] Statistics: 0 seeks, 1 writeouts
[AVIOContext @ 0x1475ca0] Statistics: 0 seeks, 290 writeouts=N/A
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:68
[AVIOContext @ 0x1475ca0] Statistics: 0 seeks, 1 writeouts
[hls muxer @ 0x148bb20] deleting old segment stream_1493718981.ts
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718981.ts: No such file or directory
[hls muxer @ 0x148bb20] deleting old segment stream_1493718976.ts
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718976.ts: No such file or directory
[AVIOContext @ 0x145e200] Statistics: 0 seeks, 290 writeouts
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:69
[AVIOContext @ 0x145e4a0] Statistics: 0 seeks, 1 writeouts
[hls muxer @ 0x148bb20] deleting old segment stream_1493718987.ts
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718987.ts: No such file or directory
[AVIOContext @ 0x145e200] Statistics: 0 seeks, 289 writeouts
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:70
[AVIOContext @ 0x1472900] Statistics: 0 seeks, 1 writeouts
[AVIOContext @ 0x145e200] Statistics: 0 seeks, 217 writeouts=N/A
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:71
[AVIOContext @ 0x1472120] Statistics: 0 seeks, 1 writeouts
[AVIOContext @ 0x145e200] Statistics: 0 seeks, 181 writeouts=N/A
[hls muxer @ 0x148bb20] deleting old segment stream_1493718997.ts
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718997.ts: No such file or directory
[hls muxer @ 0x148bb20] deleting old segment stream_1493718992.ts
[hls muxer @ 0x148bb20] failed to delete old segment /hls/ts/Mute_HD/stream_1493718992.ts: No such file or directory
[hls @ 0x148b520] EXT-X-MEDIA-SEQUENCE:72
[AVIOContext @ 0x1584980] Statistics: 0 seeks, 1 writeouts
frame= 9557 fps= 25 q=-1.0 Lsize=N/A time=00:06:28.47 bitrate=N/A
video:373293kB audio:8991kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Input file #0 (udp://239.192.7.44:1234):

Input stream #0:0 (video): 9587 packets read (383256740 bytes);
Input stream #0:1 (audio): 17974 packets read (9206711 bytes);
Total: 27561 packets (392463451 bytes) demuxed

Output file #0 (/hls/pl/Mute_HD.m3u8):

Output stream #0:0 (video): 9557 packets muxed (382251926 bytes);
Output stream #0:1 (audio): 17974 packets muxed (9206711 bytes);
Total: 27531 packets (391458637 bytes) muxed

0 frames successfully decoded, 0 decoding errors
[AVIOContext @ 0x143e340] Statistics: 428182972 bytes read, 0 seeks
Exiting normally, received signal 2.

And m3u8 file looks like:
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-ALLOW-CACHE:NO
#EXT-X-TARGETDURATION:6
#EXT-X-MEDIA-SEQUENCE:40
#EXTINF:5.040000,
/ts/Mute_HD/stream_1493718858.ts
#EXTINF:5.000000,
/ts/Mute_HD/stream_1493719761.ts
#EXTINF:4.960000,
/ts/Mute_HD/stream_1493718867.ts
#EXTINF:5.040000,
/ts/Mute_HD/stream_1493718877.ts
#EXTINF:4.920000,
/ts/Mute_HD/stream_1493718872.ts

comment:10 by krs_vital, 7 years ago

I think that bug appers after this string:
[hls @ 0x148b520] failed to rename file /hls/pl/Mute_HD.m3u8.tmp to /hls/pl/Mute_HD.m3u8

comment:11 by Steven Liu, 7 years ago

ffmpeg -re -copytb 1 -i 1KANAL_HD/stream_20170403-1491211902.ts -sn -dn -c copy -hls_allow_cache 0 -hls_base_url /ts/Mute_HD/ -hls_list_size 5 -hls_time 5 -hls_flags delete_segments+omit_endlist -map 0 -async 1 -ignore_unknown -avoid_negative_ts 0 -g 1 -r 50 -strict -2 -use_localtime 1 -hls_segment_filename /hls/ts/Mute_HD/stream_%s.ts -report /hls/pl/Mute_HD.m3u8

try looks like this command

Thanks

comment:12 by krs_vital, 7 years ago

i use udp input, do you propose to add option 'copytb' for input?

/usr/local/bin/ffmpeg -copytb 1 -fflags nobuffer -overrun_nonfatal 1 -i udp://239.192.7.44:1234 -sn -dn -c copy -hls_allow_cache 0 -hls_base_url /ts/Mute_HD/ -hls_list_size 5 -hls_time 5 -hls_flags delete_segments+omit_endlist -map 0 -async 1 -ignore_unknown -avoid_negative_ts 0 -g 1 -r 50 -strict -2 -use_localtime 1 -hls_segment_filename /hls/ts/Mute_HD/stream_%s.ts /hls/pl/Mute_HD.m3u8

comment:13 by krs_vital, 7 years ago

I tried to use the option 'copytb 1', with it about 90% the channels no longer show this error but some channels have the same problem

Note: See TracTickets for help on using tickets.