FFMPEG: Se eu tentar executar o arquivo m3u8 com vlc, trabalhe somente com o primeiro frame

0

Eu uso o ffmpeg para gerar o arquivo m3u8. Eu acho que o problema no comando ffmpeg. o ffmpeg somtimes gera um arquivo m3u8 com frames antigos foi deletado exemplo m3u8 file:

#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:10
#EXT-X-MEDIA-SEQUENCE:7
#EXTINF:10.000000,
http://my-server.com/4_0.ts
#EXTINF:10.000000,
http://my-server.com/4_1.ts
#EXTINF:10.000000,
http://my-server.com/4_2.ts
#EXTINF:10.000000,
http://my-server.com/4_3.ts
#EXTINF:10.000000,
http://my-server.com/4_4.ts
#EXTINF:10.000000,
http://my-server.com/4_5.ts
Comando

ffmpeg:

sudo ffmpeg -probesize 15000000 -analyzeduration 9000000 -i "http://adtv.ercdn.net/adsport1/adsport1_720p.m3u8" -c copy -c:a copy -b:a 128k -hls_flags delete_segments -err_detect aggressive -strict -2 -f hls -hls_wrap 7 -flags -global_header -hls_time 10 -hls_base_url http://my-server.com/ -hls_list_size 6 /var/www/html/transcoding/4_.m3u8
    
por Bilel Azri 13.09.2018 / 15:03

0 respostas