#8434: ffmpeg hangs reading HLS -------------------------------------+------------------------------------- Reporter: longkas | Owner: Type: defect | Status: closed Priority: normal | Component: | undetermined Version: unspecified | Resolution: wontfix Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Changes (by stevenliu):
* status: new => closed * resolution: => wontfix Comment: Look at the hls m3u8 content: {{{ StevenLiu:dash StevenLiu$ curl http://fftest.kda.io/prod.m3u8 #EXTM3U #EXT-X-VERSION:3 #EXT-X-ALLOW-CACHE:YES #EXT-X-MEDIA-SEQUENCE:7022 #EXT-X-TARGETDURATION:11 #EXTINF:10.019, no desc prod-7022.ts #EXTINF:10.002, no desc prod-7023.ts #EXTINF:10.007, no desc prod-7024.ts #EXTINF:10.005, no desc prod-7025.ts StevenLiu:dash StevenLiu$ }}} It have no EXT-X-ENDLIST,so it should be a live streaming m3u8, you can try the -m3u8_hold_counters options by the master git head, this option will terminate ffmpeg by refresh m3u8 without new segments. {{{ StevenLiu:dash StevenLiu$ ./ffplay -m3u8_hold_counters 3 http://fftest.kda.io/prod.m3u8 ffplay version N-96078-g9fe07908c3 Copyright (c) 2003-2019 the FFmpeg developers built with Apple LLVM version 10.0.0 (clang-1000.11.45.5) configuration: --enable-libass --enable-opengl --enable-libx264 --enable-libmp3lame --enable-gpl --enable-nonfree --prefix=/usr/local --enable-libtesseract --enable-libspeex --enable-libfreetype --enable- libfontconfig --enable-libfdk-aac --enable-videotoolbox --enable-libxml2 --enable-librsvg --enable-libvmaf --enable-version3 --disable-stripping --disable-optimizations --enable-libvmaf libavutil 56. 36.101 / 56. 36.101 libavcodec 58. 65.100 / 58. 65.100 libavformat 58. 35.101 / 58. 35.101 libavdevice 58. 9.101 / 58. 9.101 libavfilter 7. 68.101 / 7. 68.101 libswscale 5. 6.100 / 5. 6.100 libswresample 3. 6.100 / 3. 6.100 libpostproc 55. 6.100 / 55. 6.100 [hls @ 0x7fa547846e00] Skip ('#EXT-X-VERSION:3')B sq= 0B f=0/0 [hls @ 0x7fa547846e00] Skip ('#EXT-X-ALLOW-CACHE:YES') [hls @ 0x7fa547846e00] Opening 'http://fftest.kda.io/prod-7023.ts' for reading [http @ 0x7fa546445a80] HTTP error 404 Not FoundB sq= 0B f=0/0 [hls @ 0x7fa547846e00] Failed to open segment 7023 of playlist 0 [hls @ 0x7fa547846e00] Opening 'http://fftest.kda.io/prod-7024.ts' for reading [http @ 0x7fa54807db40] HTTP error 404 Not FoundB sq= 0B f=0/0 [hls @ 0x7fa547846e00] Failed to open segment 7024 of playlist 0 [hls @ 0x7fa547846e00] Opening 'http://fftest.kda.io/prod-7025.ts' for reading [http @ 0x7fa5465a1a40] HTTP error 404 Not FoundB sq= 0B f=0/0 [hls @ 0x7fa547846e00] Failed to open segment 7025 of playlist 0 [hls @ 0x7fa547846e00] Skip ('#EXT-X-VERSION:3')B sq= 0B f=0/0 [hls @ 0x7fa547846e00] Skip ('#EXT-X-ALLOW-CACHE:YES') [http @ 0x7fa5468b4800] Opening 'http://fftest.kda.io/prod.m3u8' for reading [hls @ 0x7fa547846e00] Skip ('#EXT-X-VERSION:3')B sq= 0B f=0/0 [hls @ 0x7fa547846e00] Skip ('#EXT-X-ALLOW-CACHE:YES') [http @ 0x7fa5468b4800] Opening 'http://fftest.kda.io/prod.m3u8' for reading [hls @ 0x7fa547846e00] Skip ('#EXT-X-VERSION:3')B sq= 0B f=0/0 [hls @ 0x7fa547846e00] Skip ('#EXT-X-ALLOW-CACHE:YES') [hls @ 0x7fa547846e00] Error when loading first segment 'http://fftest.kda.io/prod-7022.ts' http://fftest.kda.io/prod.m3u8: Invalid data found when processing input }}} -- Ticket URL: <https://trac.ffmpeg.org/ticket/8434#comment:2> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker _______________________________________________ FFmpeg-trac mailing list FFmpeg-trac@avcodec.org https://ffmpeg.org/mailman/listinfo/ffmpeg-trac To unsubscribe, visit link above, or email ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".