Hello, this is my ffmpeg command running
But what i notice on jwplayer is, after the 185_58.ts i think it deletes everything or overwrites, because the next ts file is 185_0.ts. and in between the jwplayer stops working, there are ways to fix on jwplayer, but how can i keep all the files on xtream and not delete or overwrite the ts files
PHP:
/home/xtreamcodes/iptv_xtream_codes/bin/ffmpeg -y -nostdin -hide_banner -loglevel warning -err_detect ignore_err -user-agent Xtream-Codes IPTV Panel Pro -fflags +genpts -async 1 -re -probesize 5000000 -analyzeduration 5000000 -progress http://127.0.0.1:25461/progress.php?stream_id=185 -i https://stream.example.com/1.m3u8 -vcodec copy -scodec copy -acodec copy -individual_header_trailer 0 -f segment -segment_format mpegts -segment_time 10 -segment_list_size 6 -segment_format_options mpegts_flags=+initial_discontinuity:mpegts_copyts=1 -segment_list_type m3u8 -segment_list_flags +live+delete -segment_list /home/xtreamcodes/iptv_xtream_codes/streams/185_.m3u8 /home/xtreamcodes/iptv_xtream_codes/streams/185_%d.ts -vcodec copy -scodec copy -acodec copy -bsf:a aac_adtstoasc -f flv rtmp://127.0.0.1:25462/live/185
But what i notice on jwplayer is, after the 185_58.ts i think it deletes everything or overwrites, because the next ts file is 185_0.ts. and in between the jwplayer stops working, there are ways to fix on jwplayer, but how can i keep all the files on xtream and not delete or overwrite the ts files