Opened 2 months ago

Last modified 2 months ago

#6724 new defect

FFmpeg freezes while downloading an HLS stream

Reported by: dimitry_ishenko Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords: hls deadlock
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:
I've been trying to archive a few HLS streams and after a while FFmpeg just freezes. If I break it (Ctrl+C or killall ffmpeg) and restart, it will keep running for some time then freeze again.
It may have something to do with connection quality and I've tried adding -timeout to work around that, but it didn't help.

How to reproduce:

% ffmpeg -headers "Authorization: ..." -user_agent "..." -timeout 3000000 -v repeat+verbose -i http://some.url.com/.../5000_slide_ads.m3u8 -c copy record.nut

ffmpeg version 3.3.4 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 5.4.0 (Gentoo 5.4.0-r3 p1.3, pie-0.6.5)
  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --docdir=/usr/share/doc/ffmpeg-3.3.4/html --mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-gnu-gcc --cxx=x86_64-pc-linux-gnu-g++ --ar=x86_64-pc-linux-gnu-ar --optflags='-O2 -pipe -march=core2 -mtune=generic' --disable-static --enable-avfilter --enable-avresample --disable-stripping --enable-nonfree --disable-indev=oss --disable-indev=jack --disable-outdev=oss --enable-nonfree --enable-bzlib --disable-runtime-cpudetect --disable-debug --disable-gcrypt --disable-gnutls --disable-gmp --enable-gpl --enable-hardcoded-tables --enable-iconv --disable-lzma --enable-network --enable-openssl --enable-postproc --disable-libsmbclient --enable-ffplay --enable-sdl2 --enable-vaapi --enable-vdpau --enable-xlib --enable-libxcb --enable-libxcb-shm --enable-libxcb-xfixes --enable-zlib --disable-libcdio --disable-libiec61883 --disable-libdc1394 --disable-libcaca --disable-openal --enable-opengl --disable-libv4l2 --enable-libpulse --disable-libopencore-amrwb --disable-libopencore-amrnb --enable-libfdk-aac --disable-libopenjpeg --enable-libbluray --disable-libcelt --disable-libgme --disable-libgsm --disable-mmal --disable-libmodplug --disable-libopus --disable-libilbc --disable-librtmp --disable-libssh --disable-libschroedinger --disable-libspeex --enable-libvorbis --enable-libvpx --disable-libzvbi --disable-libbs2b --disable-chromaprint --disable-libflite --disable-frei0r --disable-libfribidi --disable-fontconfig --disable-ladspa --enable-libass --enable-libfreetype --disable-librubberband --disable-netcdf --disable-libzmq --disable-libzimg --disable-libsoxr --enable-pthreads --disable-libvo-amrwbenc --enable-libmp3lame --disable-libkvazaar --disable-nvenc --disable-libopenh264 --disable-libsnappy --enable-libtheora --disable-libtwolame --disable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --disable-amd3dnow --disable-amd3dnowext --disable-aesni --disable-avx --disable-avx2 --disable-fma3 --disable-fma4 --disable-sse42 --disable-xop --cpu=core2 --disable-doc --disable-htmlpages --enable-manpages
  libavutil      55. 58.100 / 55. 58.100
  libavcodec     57. 89.100 / 57. 89.100
  libavformat    57. 71.100 / 57. 71.100
  libavdevice    57.  6.100 / 57.  6.100
  libavfilter     6. 82.100 /  6. 82.100
  libavresample   3.  5.  0 /  3.  5.  0
  libswscale      4.  6.100 /  4.  6.100
  libswresample   2.  7.100 /  2.  7.100
  libpostproc    54.  5.100 / 54.  5.100
[hls,applehttp @ 0xbe05f0] HLS request for url 'http://some.url.com/.../281/17/56/38_434.ts', offset 0, playlist 0
[hls,applehttp @ 0xbe05f0] Opening 'https://some.url.com/.../1956561' for reading
[hls,applehttp @ 0xbe05f0] Opening 'crypto+http://some.url.com/.../281/17/56/38_434.ts' for reading
[mpegts @ 0xbf8310] parser not found for codec timed_id3, packets or times may be invalid.
[h264 @ 0xc1b990] Reinit context to 1280x720, pix_fmt: yuv420p                                                           
Input #0, hls,applehttp, from 'http://some.url.com/.../5000_slide_ads.m3u8':
  Duration: N/A, start: 31998.564000, bitrate: N/A
  Program 0 
    Metadata:
      variant_bitrate : 0
    Stream #0:0: Video: h264 (High), 1 reference frame ([27][0][0][0] / 0x001B), yuv420p(left), 1280x720 [SAR 1:1 DAR 16:9], Closed Captions, 59.94 fps, 59.94 tbr, 90k tbn, 119.88 tbc
    Metadata:
      variant_bitrate : 0
    Stream #0:1: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp
    Metadata:
      variant_bitrate : 0
    Stream #0:2: Data: scte_35
    Metadata:
      variant_bitrate : 0
    Stream #0:3: Data: timed_id3 (ID3  / 0x20334449)
    Metadata:
      variant_bitrate : 0
Output #0, nut, to 'record.nut':
  Metadata:
    encoder         : Lavf57.71.100
    Stream #0:0: Video: h264 (High), 1 reference frame (H264 / 0x34363248), yuv420p(left), 1280x720 (0x0) [SAR 1:1 DAR 16:9], q=2-31, 59.94 fps, 59.94 tbr, 90k tbn, 90k tbc
    Metadata:
      variant_bitrate : 0
    Stream #0:1: Audio: aac (LC) ([255][0][0][0] / 0x00FF), 48000 Hz, stereo, fltp
    Metadata:
      variant_bitrate : 0
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[hls,applehttp @ 0xbe05f0] HLS request for url 'http://some.url.com/.../281/17/56/43_439.ts', offset 0, playlist 0              
[hls,applehttp @ 0xbe05f0] Opening 'crypto+http://some.url.com/.../281/17/56/43_439.ts' for reading
[hls,applehttp @ 0xbe05f0] HLS request for url 'http://some.url.com/.../281/17/56/48_444.ts', offset 0, playlist 0              

...

[hls,applehttp @ 0xbe05f0] HLS request for url 'http://some.url.com/.../281/18/15/19_554.ts', offset 0, playlist 0
[hls,applehttp @ 0xbe05f0] Opening 'crypto+http://some.url.com/.../281/18/15/19_554.ts' for reading
[hls,applehttp @ 0xbe05f0] HLS request for url 'http://some.url.com/.../281/18/15/24_559.ts', offset 0, playlist 0
[hls,applehttp @ 0xbe05f0] Opening 'crypto+http://some.url.com/.../281/18/15/24_559.ts' for reading

Just sits there stuck at downloading this segment...

Change History (6)

comment:1 Changed 2 months ago by dimitry_ishenko

Tried adding -rw_timeout 3000000 without any success.

comment:2 Changed 2 months ago by cehoyos

  • Component changed from ffmpeg to undetermined
  • Keywords hls deadlock added

Is the issue reproducible with current FFmpeg git head (the only version supported here)?

Please provide a backtrace.

comment:3 Changed 2 months ago by dimitry_ishenko

Same error with git version:

ffmpeg version N-87757-g65c3a32836 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 5.4.0 (Gentoo 5.4.0-r3 p1.3, pie-0.6.5)
  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --docdir=/usr/share/doc/ffmpeg-9999/html --mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-gnu-gcc --cxx=x86_64-pc-linux-gnu-g++ --ar=x86_64-pc-linux-gnu-ar --optflags='-O2 -pipe -march=core2 -mtune=generic' --disable-static --enable-avfilter --enable-avresample --disable-stripping --enable-nonfree --disable-indev=oss --disable-indev=jack --disable-outdev=oss --enable-nonfree --enable-bzlib --disable-runtime-cpudetect --disable-debug --disable-gcrypt --disable-gnutls --disable-gmp --enable-gpl --enable-hardcoded-tables --enable-iconv --disable-lzma --enable-network --enable-openssl --enable-postproc --disable-libsmbclient --enable-ffplay --enable-sdl2 --enable-vaapi --enable-vdpau --enable-xlib --enable-libxcb --enable-libxcb-shm --enable-libxcb-xfixes --enable-zlib --disable-libcdio --disable-libiec61883 --disable-libdc1394 --disable-libcaca --disable-openal --enable-opengl --disable-libv4l2 --enable-libpulse --disable-libopencore-amrwb --disable-libopencore-amrnb --enable-libfdk-aac --disable-libopenjpeg --enable-libbluray --disable-libcelt --disable-libgme --disable-libgsm --disable-mmal --disable-libmodplug --disable-libopus --disable-libilbc --disable-librtmp --disable-libssh --disable-libspeex --enable-librsvg --enable-libvorbis --enable-libvpx --disable-libzvbi --disable-libbs2b --disable-chromaprint --disable-libflite --disable-frei0r --disable-libfribidi --disable-fontconfig --disable-ladspa --enable-libass --enable-libfreetype --disable-librubberband --disable-libzmq --disable-libzimg --disable-libsoxr --enable-pthreads --disable-libvo-amrwbenc --enable-libmp3lame --disable-libkvazaar --disable-nvenc --disable-libopenh264 --disable-libsnappy --enable-libtheora --disable-libtwolame --disable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --disable-armv5te --disable-armv6 --disable-armv6t2 --disable-neon --disable-vfp --disable-vfpv3 --disable-armv8 --disable-mipsdsp --disable-mipsdspr2 --disable-mipsfpu --disable-altivec --disable-amd3dnow --disable-amd3dnowext --disable-aesni --disable-avx --disable-avx2 --disable-fma3 --disable-fma4 --disable-sse42 --disable-xop --cpu=core2 --disable-doc --disable-htmlpages --enable-manpages
  libavutil      55. 77.101 / 55. 77.101
  libavcodec     57.106.104 / 57.106.104
  libavformat    57. 82.104 / 57. 82.104
  libavdevice    57.  9.102 / 57.  9.102
  libavfilter     6.106.101 /  6.106.101
  libavresample   3.  6.  0 /  3.  6.  0
  libswscale      4.  7.103 /  4.  7.103
  libswresample   2.  8.100 /  2.  8.100
  libpostproc    54.  6.100 / 54.  6.100

Backtrace is probably not very useful, as I forgot to enable debug info. But here it is anyway:

(gdb) thread apply all bt

Thread 1 (Thread 0x7ffff7f7d9c0 (LWP 4399)):
#0  0x00007ffff4b9ba20 in __poll_nocancel () from /lib64/libc.so.6
#1  0x00007ffff7439c5c in ?? () from /usr/lib64/libavformat.so.57
#2  0x00007ffff7439cca in ?? () from /usr/lib64/libavformat.so.57
#3  0x00007ffff749005a in ?? () from /usr/lib64/libavformat.so.57
#4  0x00007ffff7393738 in ?? () from /usr/lib64/libavformat.so.57
#5  0x00007ffff73cf6e5 in ?? () from /usr/lib64/libavformat.so.57
#6  0x00007ffff73d22e4 in ?? () from /usr/lib64/libavformat.so.57
#7  0x00007ffff73d2760 in ?? () from /usr/lib64/libavformat.so.57
#8  0x00007ffff7393738 in ?? () from /usr/lib64/libavformat.so.57
#9  0x00007ffff73a0283 in ?? () from /usr/lib64/libavformat.so.57
#10 0x00007ffff7393738 in ?? () from /usr/lib64/libavformat.so.57
#11 0x00007ffff739493e in ?? () from /usr/lib64/libavformat.so.57
#12 0x00007ffff739568c in avio_read () from /usr/lib64/libavformat.so.57
#13 0x00007ffff73c720c in ?? () from /usr/lib64/libavformat.so.57
#14 0x00007ffff73c9088 in ?? () from /usr/lib64/libavformat.so.57
#15 0x00007ffff739493e in ?? () from /usr/lib64/libavformat.so.57
#16 0x00007ffff739568c in avio_read () from /usr/lib64/libavformat.so.57
#17 0x00007ffff741dfe7 in ?? () from /usr/lib64/libavformat.so.57
#18 0x00007ffff741f1ae in ?? () from /usr/lib64/libavformat.so.57
#19 0x00007ffff741f272 in ?? () from /usr/lib64/libavformat.so.57
#20 0x00007ffff749d52c in ?? () from /usr/lib64/libavformat.so.57
#21 0x00007ffff749de4e in ?? () from /usr/lib64/libavformat.so.57
#22 0x00007ffff749ed6c in av_read_frame () from /usr/lib64/libavformat.so.57
#23 0x00007ffff73c9af6 in ?? () from /usr/lib64/libavformat.so.57
#24 0x00007ffff749d52c in ?? () from /usr/lib64/libavformat.so.57
#25 0x00007ffff749de4e in ?? () from /usr/lib64/libavformat.so.57
#26 0x00007ffff749ed6c in av_read_frame () from /usr/lib64/libavformat.so.57
#27 0x0000000000408b17 in main ()
(gdb) 

Is this sufficient or do you need a better backtrace?

comment:4 Changed 2 months ago by cehoyos

You will have to recompile with ./configure && make (much simpler and supposed to produce a binary with better performance) or --disable-stripping to get a more useful backtrace.

comment:5 Changed 2 months ago by dimitry_ishenko

@cehoyos, that's fine. My package manager takes care of all of that.

Here is (hopefully more useful) backtrace with latest git version:

(gdb) thread apply all bt

Thread 1 (Thread 0x7ffff7f7d9c0 (LWP 5062)):
#0  0x00007ffff4b9ba20 in __poll_nocancel () from /lib64/libc.so.6
#1  0x00007ffff7439c5c in poll (__timeout=100, __nfds=1, __fds=0x7fffffffb6e0) at /usr/include/bits/poll2.h:46
#2  ff_network_wait_fd (fd=<optimized out>, write=<optimized out>) at src/libavformat/network.c:78
#3  0x00007ffff7439cca in ff_network_wait_fd_timeout (fd=4, write=write@entry=0, timeout=0, int_cb=0x746610)
    at src/libavformat/network.c:90
#4  0x00007ffff749005a in tcp_read (h=<optimized out>, 
    buf=0x6ab41d "/\212\001\235h\311\314m\246\341\350tI\264A\022\356\347\031l\340\070\237\331\070\260\030#{(y'~X5T\304qtׇ\372\344Ż\270\271\332\022\367\271A\a=\207\222֙\255\v\025\r\341r\020Z\244\365:\210\225\331\351\212]\230\222\277\065\037\370v\324\025A\237\311j_\025$\260]\206\321$bҳQ\364s\376\214B>Ȼ\304\335\177\316\033\026\277\260\277\315Ʋ\377)\324\070ŏ\363\002g\206\263\b\261]\241>&\304s\316\an\221<A\222\vmpalrّ \266ͻ\325Wl\204\001\002\351>\352\235Qp3\315#\020\215\210\213\202\217\253\222\320i\177\267\334\341|\331X\310W5\247\241\263\203\342\373", <incomplete sequence \350>..., size=2387) at src/libavformat/tcp.c:218
#5  0x00007ffff7393738 in retry_transfer_wrapper (transfer_func=0x7ffff7490010 <tcp_read>, size_min=1, 
    size=2387, 
    buf=0x6ab41d "/\212\001\235h\311\314m\246\341\350tI\264A\022\356\347\031l\340\070\237\331\070\260\030#{(y'~X5T\304qtׇ\372\344Ż\270\271\332\022\367\271A\a=\207\222֙\255\v\025\r\341r\020Z\244\365:\210\225\331\351\212]\230\222\277\065\037\370v\324\025A\237\311j_\025$\260]\206\321$bҳQ\364s\376\214B>Ȼ\304\335\177\316\033\026\277\260\277\315Ʋ\377)\324\070ŏ\363\002g\206\263\b\261]\241>&\304s\316\an\221<A\222\vmpalrّ \266ͻ\325Wl\204\001\002\351>\352\235Qp3\315#\020\215\210\213\202\217\253\222\320i\177\267\334\341|\331X\310W5\247\241\263\203\342\373", <incomplete sequence \350>..., h=0x7465e0) at src/libavformat/avio.c:376
#6  ffurl_read (h=0x7465e0, 
    buf=buf@entry=0x6ab41d "/\212\001\235h\311\314m\246\341\350tI\264A\022\356\347\031l\340\070\237\331\070\260\030#{(y'~X5T\304qtׇ\372\344Ż\270\271\332\022\367\271A\a=\207\222֙\255\v\025\r\341r\020Z\244\365:\210\225\331\351\212]\230\222\277\065\037\370v\324\025A\237\311j_\025$\260]\206\321$bҳQ\364s\376\214B>Ȼ\304\335\177\316\033\026\277\260\277\315Ʋ\377)\324\070ŏ\363\002g\206\263\b\261]\241>&\304s\316\an\221<A\222\vmpalrّ \266ͻ\325Wl\204\001\---Type <return> to continue, or q <return> to quit---
002\351>\352\235Qp3\315#\020\215\210\213\202\217\253\222\320i\177\267\334\341|\331X\310W5\247\241\263\203\342\373", <incomplete sequence \350>..., size=size@entry=2387) at src/libavformat/avio.c:409
#7  0x00007ffff73cf6e5 in http_buf_read (h=h@entry=0x94d9e0, 
    buf=buf@entry=0x6ab41d "/\212\001\235h\311\314m\246\341\350tI\264A\022\356\347\031l\340\070\237\331\070\260\030#{(y'~X5T\304qtׇ\372\344Ż\270\271\332\022\367\271A\a=\207\222֙\255\v\025\r\341r\020Z\244\365:\210\225\331\351\212]\230\222\277\065\037\370v\324\025A\237\311j_\025$\260]\206\321$bҳQ\364s\376\214B>Ȼ\304\335\177\316\033\026\277\260\277\315Ʋ\377)\324\070ŏ\363\002g\206\263\b\261]\241>&\304s\316\an\221<A\222\vmpalrّ \266ͻ\325Wl\204\001\002\351>\352\235Qp3\315#\020\215\210\213\202\217\253\222\320i\177\267\334\341|\331X\310W5\247\241\263\203\342\373", <incomplete sequence \350>..., size=size@entry=2387) at src/libavformat/http.c:1321
#8  0x00007ffff73d22e4 in http_read_stream (h=h@entry=0x94d9e0, 
    buf=buf@entry=0x6ab41d "/\212\001\235h\311\314m\246\341\350tI\264A\022\356\347\031l\340\070\237\331\070\260\030#{(y'~X5T\304qtׇ\372\344Ż\270\271\332\022\367\271A\a=\207\222֙\255\v\025\r\341r\020Z\244\365:\210\225\331\351\212]\230\222\277\065\037\370v\324\025A\237\311j_\025$\260]\206\321$bҳQ\364s\376\214B>Ȼ\304\335\177\316\033\026\277\260\277\315Ʋ\377)\324\070ŏ\363\002g\206\263\b\261]\241>&\304s\316\an\221<A\222\vmpalrّ \266ͻ\325Wl\204\001\002\351>\352\235Qp3\315#\020\215\210\213\202\217\253\222\320i\177\267\334\341|\331X\310W5\247\241\263\203\342\373", <incomplete sequence \350>..., size=2387) at src/libavformat/http.c:1394
#9  0x00007ffff73d2760 in http_read (h=0x94d9e0, 
    buf=0x6ab41d "/\212\001\235h\311\314m\246\341\350tI\264A\022\356\347\031l\340\070\237\331\070\260\030#{(y'~X5T\304qtׇ\372\344Ż\270\271\332\022\367\271A\a=\207\222֙\255\v\025\r\341r\020Z\244\365:\210\225\331\351\212]\230\222\277\065\037\370v\324\025A\237\311j_\025$\260]\206\321$bҳQ\364s\376\214B>Ȼ\304\335\177\316\033\026\277\260\277\315Ʋ\377)\324\070ŏ\363\002g\206\263\b\261]\241>&\304s\316\an\221<A\222\vmpalrّ \266ͻ\325Wl\204\001\002\351>\352\235Qp3\315#\020\215\210\213\202\217\253\222\320i\177\267\334\341|\331X\310W5\247\241\263\203\342\373", <incomplete sequence \350>..., size=<optimized out>) at src/libavformat/http.c:1506
#10 0x00007ffff7393738 in retry_transfer_wrapper (transfer_func=0x7ffff73d2730 <http_read>, size_min=1, 
    size=2387, 
    buf=0x6ab41d "/\212\001\235h\311\314m\246\341\350tI\264A\022\356\347\031l\340\070\237\331\070\260\030#{(y'~X5T\304qtׇ\372\344Ż\270\271\332\022\367\271A\a=\207\222֙\255\v\025\r\341r\020Z\244\365:\210\225\331\351\212]\230\2---Type <return> to continue, or q <return> to quit---
22\277\065\037\370v\324\025A\237\311j_\025$\260]\206\321$bҳQ\364s\376\214B>Ȼ\304\335\177\316\033\026\277\260\277\315Ʋ\377)\324\070ŏ\363\002g\206\263\b\261]\241>&\304s\316\an\221<A\222\vmpalrّ \266ͻ\325Wl\204\001\002\351>\352\235Qp3\315#\020\215\210\213\202\217\253\222\320i\177\267\334\341|\331X\310W5\247\241\263\203\342\373", <incomplete sequence \350>..., h=0x94d9e0) at src/libavformat/avio.c:376
#11 ffurl_read (h=0x94d9e0, 
    buf=0x6ab41d "/\212\001\235h\311\314m\246\341\350tI\264A\022\356\347\031l\340\070\237\331\070\260\030#{(y'~X5T\304qtׇ\372\344Ż\270\271\332\022\367\271A\a=\207\222֙\255\v\025\r\341r\020Z\244\365:\210\225\331\351\212]\230\222\277\065\037\370v\324\025A\237\311j_\025$\260]\206\321$bҳQ\364s\376\214B>Ȼ\304\335\177\316\033\026\277\260\277\315Ʋ\377)\324\070ŏ\363\002g\206\263\b\261]\241>&\304s\316\an\221<A\222\vmpalrّ \266ͻ\325Wl\204\001\002\351>\352\235Qp3\315#\020\215\210\213\202\217\253\222\320i\177\267\334\341|\331X\310W5\247\241\263\203\342\373", <incomplete sequence \350>..., size=2387) at src/libavformat/avio.c:409
#12 0x00007ffff73a0283 in crypto_read (h=<optimized out>, 
    buf=0x69cbc0 "Z\006n\311T\024\222T7*H0|\267\017a\206Zz۽\005\230i", size=32768)
    at src/libavformat/crypto.c:201
#13 0x00007ffff7393738 in retry_transfer_wrapper (transfer_func=0x7ffff73a0220 <crypto_read>, size_min=1, 
    size=32768, buf=0x69cbc0 "Z\006n\311T\024\222T7*H0|\267\017a\206Zz۽\005\230i", h=0x769ed0)
    at src/libavformat/avio.c:376
#14 ffurl_read (h=0x769ed0, buf=0x69cbc0 "Z\006n\311T\024\222T7*H0|\267\017a\206Zz۽\005\230i", size=32768)
    at src/libavformat/avio.c:409
#15 0x00007ffff739493e in fill_buffer (s=s@entry=0x9d7d00) at src/libavformat/aviobuf.c:573
#16 0x00007ffff739568c in avio_read (s=0x9d7d00, 
    buf=0x769270 "<]\251\361\262\234[\333\326&~\223T\266aZ\\\a\314/\316\354\261!r\224\234\361>\bv\356\331\360,,o\212\315\353\237\002\245L\021\322\177\060\005\341@ƒ$\322hj\211ݔ\301xDr\205\333)\312+XNK\271\364V\230\212\225\225@x8\350\030]kt\313<.2\260G\001\341\033\366\071\326\342\060m\205\301\216\b\006D1c!n\223;\035\274^\245\376В\020\060\277Ʌ\341Tw\n\354\330\063\257m\343\345A\253@\254\223|ojP\327\330&\367\264\374E`\300\261S%+.'\234\033t\347VT\231\353P\271\262\002\244\213l\350\070\337\345Ԡ4JV\340\377\305Bp\257\306!\004d\033P0\n\210"..., 
    buf@entry=0x761ec0 "\312\033\035\f\bP\240\022$\227%\335ܐ\002u\334*\232\320\026\263\261b\313\304\347s%;-J/\"\2
21\021\205\r\025E(\315kr%LWP\234\340 \037\026\230\252\367\210b+oHu\033\016C<\253\241g9\315\332\310:\350\212\307^^nL5ܢS\315%\266]ʩ\220\302\377\262k\340\246|\237\317\352|\265Y^\372\016q\376m@\214\035٪x\234\060P\016\272\315`\323a2t\214\344ʷ*8\344\374Ga\342\037", size=3152) at src/libavformat/aviobuf.c:667
#17 0x00007ffff73c720c in read_from_url (
    buf=buf@entry=0x761ec0 "\312\033\035\f\bP\240\022$\227%\335ܐ\002u\334*\232\320\026\263\261b\313\304\347s%;-J/\"\221\021\205\r\025E(\315kr%LWP\234\340 \037\026\230\252\367\210b+oHu\033\016C<\253\241g9\315\332\310:\350\212\307^^nL5ܢS\315%\266]ʩ\220\302\377\262k\340\246|\237\317\352|\265Y^\372\016q\376m@\214\035٪x\234\060P\016\272\315`\323a2t\214\344ʷ*8\344\374Ga\342\037", buf_size=<optimized out>, buf_size@entry=32768, 
    mode=mode@entry=READ_NORMAL, seg=<optimized out>, pls=0x67bd90, pls=0x67bd90) at src/libavformat/hls.c:896
#18 0x00007ffff73c9088 in read_data (opaque=0x67bd90, 
    buf=0x761ec0 "\312\033\035\f\bP\240\022$\227%\335ܐ\002u\334*\232\320\026\263\261b\313\304\347s%;-J/\"\221\021\205\r\025E(\315kr%LWP\234\340 \037\026\230\252\367\210b+oHu\033\016C<\253\241g9\315\332\310:\350\212\307^^nL5ܢS\315%\266]ʩ\220\302\377\262k\340\246|\237\317\352|\265Y^\372\016q\376m@\214\035٪x\234\060P\016\272\315`\323a2t\214\344ʷ*8\344\374Ga\342\037", buf_size=32768) at src/libavformat/hls.c:1359
#19 0x00007ffff739493e in fill_buffer (s=s@entry=0x67cd90) at src/libavformat/aviobuf.c:573
#20 0x00007ffff739568c in avio_read (s=0x67cd90, buf=0x7fffffffbc04 "", buf@entry=0x7fffffffbbd0 "G!\342> ", 
    size=136) at src/libavformat/aviobuf.c:667
#21 0x00007ffff73957b4 in ffio_read_indirect (s=s@entry=0x67cd90, buf=buf@entry=0x7fffffffbbd0 "G!\342> ", 
    size=size@entry=188, data=data@entry=0x7fffffffbbc8) at src/libavformat/aviobuf.c:702
#22 0x00007ffff741dfe7 in read_packet (s=s@entry=0x68dcb0, buf=buf@entry=0x7fffffffbbd0 "G!\342> ", 
    raw_packet_size=188, data=data@entry=0x7fffffffbbc8) at src/libavformat/mpegts.c:2454
#23 0x00007ffff741f1ae in handle_packets (ts=ts@entry=0x6bfc10, nb_packets=nb_packets@entry=0)
    at src/libavformat/mpegts.c:2521
#24 0x00007ffff741f272 in mpegts_read_packet (s=<optimized out>, pkt=0x7fffffffbe40)
    at src/libavformat/mpegts.c:2775
#25 0x00007ffff749d52c in ff_read_packet (s=s@entry=0x68dcb0, pkt=pkt@entry=0x7fffffffbe40)
    at src/libavformat/utils.c:818
#26 0x00007ffff749de4e in read_frame_internal (s=s@entry=0x68dcb0, pkt=0x67cec0) at src/libavformat/utils.c:1520
#27 0x00007ffff749ed6c in av_read_frame (s=0x68dcb0, pkt=pkt@entry=0x67cec0) at src/libavformat/utils.c:1724
#28 0x00007ffff73c9af6 in hls_read_packet (s=0x675f20, pkt=0x7fffffffc180) at src/libavformat/hls.c:1938
#29 0x00007ffff749d52c in ff_read_packet (s=s@entry=0x675f20, pkt=pkt@entry=0x7fffffffc180)
    at src/libavformat/utils.c:818
#30 0x00007ffff749de4e in read_frame_internal (s=s@entry=0x675f20, pkt=0x7fffffffc3b0)
    at src/libavformat/utils.c:1520
#31 0x00007ffff749ed6c in av_read_frame (s=0x675f20, pkt=0x7fffffffc3b0) at src/libavformat/utils.c:1724
#32 0x0000000000408b17 in process_input (file_index=0) at src/fftools/ffmpeg.c:4220
#33 transcode_step () at src/fftools/ffmpeg.c:4556
#34 transcode () at src/fftools/ffmpeg.c:4610
#35 main (argc=<optimized out>, argv=<optimized out>) at src/fftools/ffmpeg.c:4816
(gdb) 

comment:6 Changed 2 months ago by dimitry_ishenko

Does this shed any light on anything?

Note: See TracTickets for help on using tickets.