Opened 4 years ago

Closed 4 years ago

#8877 closed defect (worksforme)

TV streaming problems

Reported by: Heiko Jantz Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Hi Guys.

I have a problem that the recording of the TV stream is interrupted after a few seconds or sometimes minutes.
e.g. ffmpeg -i https://11.jetlivestream.com/hls/tele5.m3u8 -t 00:15:00 -c copy Tele5.mp4

Why is that?

Many thanks.
Data2006

Change History (10)

comment:1 by Carl Eugen Hoyos, 4 years ago

Component: ffmpegundetermined
Resolution: needs_more_info
Status: newclosed

Feel free to reopen this ticket if you can provide the command line you tested together with the complete, uncut console output.

comment:2 by Heiko Jantz, 4 years ago

Resolution: needs_more_info
Status: closedreopened

root@heiko-VirtualBox:/media/heiko/a6f73a6f-1b10-42b7-b579-f410d8c7551e/Downloads# ffmpeg -i https://11.jetlivestream.com/hls/tele5.m3u8 -t 00:15:00 -c copy Tele5.mp4
ffmpeg version 4.2.4-1ubuntu0.1 Copyright (c) 2000-2020 the FFmpeg developers

built with gcc 9 (Ubuntu 9.3.0-10ubuntu2)
configuration: --prefix=/usr --extra-version=1ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-nvenc --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
WARNING: library configuration mismatch
avcodec configuration: --prefix=/usr --extra-version=1ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-nvenc --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared --enable-version3 --disable-doc --disable-programs --enable-libaribb24 --enable-liblensfun --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libtesseract --enable-libvo_amrwbenc
libavutil 56. 31.100 / 56. 31.100
libavcodec 58. 54.100 / 58. 54.100
libavformat 58. 29.100 / 58. 29.100
libavdevice 58. 8.100 / 58. 8.100
libavfilter 7. 57.100 / 7. 57.100
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 5.100 / 5. 5.100
libswresample 3. 5.100 / 3. 5.100
libpostproc 55. 5.100 / 55. 5.100

[hls @ 0x558df4130640] Skip ('#EXT-X-VERSION:3')
[hls @ 0x558df4130640] Opening 'https://11.jetlivestream.com/hls/tele5-42529.ts' for reading
[hls @ 0x558df4130640] Opening 'https://11.jetlivestream.com/hls/tele5-42530.ts' for reading
Input #0, hls, from 'https://11.jetlivestream.com/hls/tele5.m3u8':

Duration: N/A, start: 222.543444, bitrate: N/A
Program 0

Metadata:

variant_bitrate : 0

Stream #0:0: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 1920x1080, 25 fps, 25 tbr, 90k tbn, 50 tbc
Metadata:

variant_bitrate : 0

Stream #0:1: Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp
Metadata:

variant_bitrate : 0

File 'Tele5.mp4' already exists. Overwrite ? [y/N] y
Output #0, mp4, to 'Tele5.mp4':

Metadata:

encoder : Lavf58.29.100
Stream #0:0: Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1920x1080, q=2-31, 25 fps, 25 tbr, 90k tbn, 90k tbc
Metadata:

variant_bitrate : 0

Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 44100 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 @ 0x558df4130640] Skip ('#EXT-X-VERSION:3')00:00:05.77 bitrate=1817.2kbits/s speed=0.53x
[hls @ 0x558df4130640] skipping 1 segments ahead, expired from playlists
[https @ 0x558df43ffd00] Opening 'https://11.jetlivestream.com/hls/tele5-42532.ts' for reading
[https @ 0x558df4b89280] Opening 'https://11.jetlivestream.com/hls/tele5.m3u8' for reading223x
[hls @ 0x558df4130640] Skip ('#EXT-X-VERSION:3')
[hls @ 0x558df4130640] Skip ('#EXT-X-DISCONTINUITY')
[hls @ 0x558df4130640] skipping 4 segments ahead, expired from playlists
[https @ 0x558df44321c0] Opening 'https://11.jetlivestream.com/hls/tele5-42537.ts' for reading
[https @ 0x558df4b89280] Opening 'https://11.jetlivestream.com/hls/tele5.m3u8' for reading378x
[hls @ 0x558df4130640] Skip ('#EXT-X-VERSION:3')
[hls @ 0x558df4130640] Skip ('#EXT-X-DISCONTINUITY')
[hls @ 0x558df4130640] skipping 1 segments ahead, expired from playlists
[https @ 0x558df43ffd00] Opening 'https://11.jetlivestream.com/hls/tele5-42539.ts' for reading
[https @ 0x558df4b89280] Opening 'https://11.jetlivestream.com/hls/tele5.m3u8' for reading59x
[hls @ 0x558df4130640] Skip ('#EXT-X-VERSION:3')
[hls @ 0x558df4130640] skipping 4 segments ahead, expired from playlists
[https @ 0x558df44321c0] Opening 'https://11.jetlivestream.com/hls/tele5-42544.ts' for reading
[https @ 0x558df43ffd00] Opening 'https://11.jetlivestream.com/hls/tele5-42545.ts' for reading
frame= 750 fps=8.1 q=-1.0 Lsize= 7665kB time=00:01:06.08 bitrate= 950.2kbits/s speed=0.709x
video:7465kB audio:185kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.200252%
root@heiko-VirtualBox:/media/heiko/a6f73a6f-1b10-42b7-b579-f410d8c7551e/Downloads#

comment:3 by mkver, 4 years ago

Resolution: invalid
Status: reopenedclosed

I see a "WARNING: library configuration mismatch" in your report above. Reopen the ticket if you can reproduce this issue with a proper setup.

comment:4 by Balling, 4 years ago

Resolution: invalid
Status: closedreopened

I also reproduce it. On windows. The same #EXT-X-DISCONTINUITY thing.

Last edited 4 years ago by Balling (previous) (diff)

comment:5 by Heiko Jantz, 4 years ago

Here is another example:

heiko@linux-rhoj:/mnt/Users/Heiko/MediathekView> ffmpeg -i "https://tv.bild-upload.com/sat1/tracks-v1a1/mono.m3u8" -t 00:02:17 -c copy "Sat.1.mp4"
ffmpeg version 3.4.4 Copyright (c) 2000-2018 the FFmpeg developers

built with gcc 7 (SUSE Linux)
configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --incdir=/usr/include/ffmpeg --extra-cflags='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g' --optflags='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g' --disable-htmlpages --enable-pic --disable-stripping --enable-shared --disable-static --enable-gpl --disable-openssl --enable-avresample --enable-libcdio --enable-gnutls --enable-ladspa --disable-cuda --disable-cuvid --enable-libass --enable-libbluray --enable-libcelt --enable-libcdio --enable-libdc1394 --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libzimg --enable-libzvbi --enable-vaapi --enable-vdpau --enable-muxers --enable-demuxers --disable-encoders --disable-decoders --disable-decoder='mpeg4,h263,h264,hevc,vc1' --enable-encoder='apng,ass,ayuv,bmp,ffv1,ffvhuff,flac,gif,huffyuv,jpegls,libgsm,libmp3lame,libopenjpeg,libopus,libschroedinger,libspeex,libtheora,libtwolame,libvorbis,libvpx_vp8,libvpx_vp9,libwebp,libwebp_anim,mjpeg,mp2,mp2fixed,opus,pam,pbm,pcm_alaw,pcm_f32be,pcm_f32le,pcm_f64be,pcm_f64le,pcm_mulaw,pcm_s16be,pcm_s16be_planar,pcm_s16le,pcm_s16le_planar,pcm_s24be,pcm_s24le,pcm_s24le_planar,pcm_s32be,pcm_s32le,pcm_s32le_planar,pcm_s8,pcm_s8_planar,pcm_u16be,pcm_u16le,pcm_u24be,pcm_u24le,pcm_u32be,pcm_u32le,pcm_u8,pcx,pgm,pgmyuv,png,ppm,sgi,srt,ssa,sunrast,targa,text,tiff,v210,v308,v408,v410,vorbis,xbm,xwd,y41p,yuv4,zlib,' --enable-decoder='ac3,ansi,apng,ass,ayuv,bmp,dirac,exr,ffv1,ffvhuff,ffwavesynth,flac,gif,gsm,huffyuv,libcelt,libgsm,libopenjpeg,libopus,libschroedinger,libspeex,libvorbis,libvpx_vp8,libvpx_vp9,mjpeg,mpeg1video,mpeg2videomp1,mp1float,mp2,mp2float,mp3,mp3float,opus,pam,pbm,pcm_alaw,pcm_bluray,pcm_dvd,pcm_f32be,pcm_f32le,pcm_f64be,pcm_f64le,pcm_mulaw,pcm_s16be,pcm_s16be_planar,pcm_s16le,pcm_s16le_planar,pcm_s24be,pcm_s24le,pcm_s24le_planar,pcm_s32be,pcm_s32le,pcm_s32le_planar,pcm_s8,pcm_s8_planar,pcm_u16be,pcm_u16le,pcm_u24be,pcm_u24le,pcm_u32be,pcm_u32le,pcm_u8,pcx,pgm,pgmyuv,pgssub,png,ppm,rawvideo,sgi,srt,ssa,sunrast,targa,text,theora,tiff,v210,v210x,v308,v408,v410,vorbis,vp3,vp5,vp6,vp6a,vp6f,vp8,vp9,webp,xbm,xwd,y41p,yuv4,zlib,'
libavutil 55. 78.100 / 55. 78.100
libavcodec 57.107.100 / 57.107.100
libavformat 57. 83.100 / 57. 83.100
libavdevice 57. 10.100 / 57. 10.100
libavfilter 6.107.100 / 6.107.100
libavresample 3. 7. 0 / 3. 7. 0
libswscale 4. 8.100 / 4. 8.100
libswresample 2. 9.100 / 2. 9.100
libpostproc 54. 7.100 / 54. 7.100

[hls,applehttp @ 0x559175cfd760] Opening 'https://tv.bild-upload.com/sat1/tracks-v1a1/2020/09/12/22/20/32-06000.ts' for reading
[hls,applehttp @ 0x559175cfd760] Could not find codec parameters for stream 0 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels): unspecified sample rate
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[hls,applehttp @ 0x559175cfd760] Could not find codec parameters for stream 1 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, hls,applehttp, from 'https://tv.bild-upload.com/sat1/tracks-v1a1/mono.m3u8':

Duration: N/A, start: 26192.836156, bitrate: N/A
Program 0

Metadata:

variant_bitrate : 0

Stream #0:0: Audio: aac ([15][0][0][0] / 0x000F), 0 channels
Metadata:

variant_bitrate : 0

Stream #0:1: Video: h264 ([27][0][0][0] / 0x001B), none, 25 fps, 25 tbr, 90k tbn, 90k tbc
Metadata:

variant_bitrate : 0

File 'Sat.1.mp4' already exists. Overwrite ? [y/N] n
Not overwriting - exiting
heiko@linux-rhoj:/mnt/Users/Heiko/MediathekView> clear
heiko@linux-rhoj:/mnt/Users/Heiko/MediathekView> ffmpeg -i "https://tv.bild-upload.com/sat1/tracks-v1a1/mono.m3u8" -t 00:02:17 -c copy "Sat.1.mp4"
ffmpeg version 3.4.4 Copyright (c) 2000-2018 the FFmpeg developers

built with gcc 7 (SUSE Linux)
configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --incdir=/usr/include/ffmpeg --extra-cflags='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g' --optflags='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g' --disable-htmlpages --enable-pic --disable-stripping --enable-shared --disable-static --enable-gpl --disable-openssl --enable-avresample --enable-libcdio --enable-gnutls --enable-ladspa --disable-cuda --disable-cuvid --enable-libass --enable-libbluray --enable-libcelt --enable-libcdio --enable-libdc1394 --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libzimg --enable-libzvbi --enable-vaapi --enable-vdpau --enable-muxers --enable-demuxers --disable-encoders --disable-decoders --disable-decoder='mpeg4,h263,h264,hevc,vc1' --enable-encoder='apng,ass,ayuv,bmp,ffv1,ffvhuff,flac,gif,huffyuv,jpegls,libgsm,libmp3lame,libopenjpeg,libopus,libschroedinger,libspeex,libtheora,libtwolame,libvorbis,libvpx_vp8,libvpx_vp9,libwebp,libwebp_anim,mjpeg,mp2,mp2fixed,opus,pam,pbm,pcm_alaw,pcm_f32be,pcm_f32le,pcm_f64be,pcm_f64le,pcm_mulaw,pcm_s16be,pcm_s16be_planar,pcm_s16le,pcm_s16le_planar,pcm_s24be,pcm_s24le,pcm_s24le_planar,pcm_s32be,pcm_s32le,pcm_s32le_planar,pcm_s8,pcm_s8_planar,pcm_u16be,pcm_u16le,pcm_u24be,pcm_u24le,pcm_u32be,pcm_u32le,pcm_u8,pcx,pgm,pgmyuv,png,ppm,sgi,srt,ssa,sunrast,targa,text,tiff,v210,v308,v408,v410,vorbis,xbm,xwd,y41p,yuv4,zlib,' --enable-decoder='ac3,ansi,apng,ass,ayuv,bmp,dirac,exr,ffv1,ffvhuff,ffwavesynth,flac,gif,gsm,huffyuv,libcelt,libgsm,libopenjpeg,libopus,libschroedinger,libspeex,libvorbis,libvpx_vp8,libvpx_vp9,mjpeg,mpeg1video,mpeg2videomp1,mp1float,mp2,mp2float,mp3,mp3float,opus,pam,pbm,pcm_alaw,pcm_bluray,pcm_dvd,pcm_f32be,pcm_f32le,pcm_f64be,pcm_f64le,pcm_mulaw,pcm_s16be,pcm_s16be_planar,pcm_s16le,pcm_s16le_planar,pcm_s24be,pcm_s24le,pcm_s24le_planar,pcm_s32be,pcm_s32le,pcm_s32le_planar,pcm_s8,pcm_s8_planar,pcm_u16be,pcm_u16le,pcm_u24be,pcm_u24le,pcm_u32be,pcm_u32le,pcm_u8,pcx,pgm,pgmyuv,pgssub,png,ppm,rawvideo,sgi,srt,ssa,sunrast,targa,text,theora,tiff,v210,v210x,v308,v408,v410,vorbis,vp3,vp5,vp6,vp6a,vp6f,vp8,vp9,webp,xbm,xwd,y41p,yuv4,zlib,'
libavutil 55. 78.100 / 55. 78.100
libavcodec 57.107.100 / 57.107.100
libavformat 57. 83.100 / 57. 83.100
libavdevice 57. 10.100 / 57. 10.100
libavfilter 6.107.100 / 6.107.100
libavresample 3. 7. 0 / 3. 7. 0
libswscale 4. 8.100 / 4. 8.100
libswresample 2. 9.100 / 2. 9.100
libpostproc 54. 7.100 / 54. 7.100

[hls,applehttp @ 0x5622eeb7e760] Opening 'https://tv.bild-upload.com/sat1/tracks-v1a1/2020/09/12/22/26/32-06000.ts' for reading
[hls,applehttp @ 0x5622eeb7e760] Could not find codec parameters for stream 0 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels): unspecified sample rate
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[hls,applehttp @ 0x5622eeb7e760] Could not find codec parameters for stream 1 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, hls,applehttp, from 'https://tv.bild-upload.com/sat1/tracks-v1a1/mono.m3u8':

Duration: N/A, start: 26552.796156, bitrate: N/A
Program 0

Metadata:

variant_bitrate : 0

Stream #0:0: Audio: aac ([15][0][0][0] / 0x000F), 0 channels
Metadata:

variant_bitrate : 0

Stream #0:1: Video: h264 ([27][0][0][0] / 0x001B), none, 25 fps, 25 tbr, 90k tbn, 90k tbc
Metadata:

variant_bitrate : 0

[mp4 @ 0x5622ef301000] dimensions not set
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
Stream mapping:

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

Last message repeated 1 times

heiko@linux-rhoj:/mnt/Users/Heiko/MediathekView>

comment:6 by Heiko Jantz, 4 years ago

heiko@linux-rhoj:/mnt/Users/Heiko/MediathekView> ffmpeg -i "https://tv.bild-upload.com/sat1/tracks-v1a1/mono.m3u8" -t 00:02:17 "Sat.1.mp4"
ffmpeg version 3.4.4 Copyright (c) 2000-2018 the FFmpeg developers

built with gcc 7 (SUSE Linux)
configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --incdir=/usr/include/ffmpeg --extra-cflags='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g' --optflags='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g' --disable-htmlpages --enable-pic --disable-stripping --enable-shared --disable-static --enable-gpl --disable-openssl --enable-avresample --enable-libcdio --enable-gnutls --enable-ladspa --disable-cuda --disable-cuvid --enable-libass --enable-libbluray --enable-libcelt --enable-libcdio --enable-libdc1394 --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libzimg --enable-libzvbi --enable-vaapi --enable-vdpau --enable-muxers --enable-demuxers --disable-encoders --disable-decoders --disable-decoder='mpeg4,h263,h264,hevc,vc1' --enable-encoder='apng,ass,ayuv,bmp,ffv1,ffvhuff,flac,gif,huffyuv,jpegls,libgsm,libmp3lame,libopenjpeg,libopus,libschroedinger,libspeex,libtheora,libtwolame,libvorbis,libvpx_vp8,libvpx_vp9,libwebp,libwebp_anim,mjpeg,mp2,mp2fixed,opus,pam,pbm,pcm_alaw,pcm_f32be,pcm_f32le,pcm_f64be,pcm_f64le,pcm_mulaw,pcm_s16be,pcm_s16be_planar,pcm_s16le,pcm_s16le_planar,pcm_s24be,pcm_s24le,pcm_s24le_planar,pcm_s32be,pcm_s32le,pcm_s32le_planar,pcm_s8,pcm_s8_planar,pcm_u16be,pcm_u16le,pcm_u24be,pcm_u24le,pcm_u32be,pcm_u32le,pcm_u8,pcx,pgm,pgmyuv,png,ppm,sgi,srt,ssa,sunrast,targa,text,tiff,v210,v308,v408,v410,vorbis,xbm,xwd,y41p,yuv4,zlib,' --enable-decoder='ac3,ansi,apng,ass,ayuv,bmp,dirac,exr,ffv1,ffvhuff,ffwavesynth,flac,gif,gsm,huffyuv,libcelt,libgsm,libopenjpeg,libopus,libschroedinger,libspeex,libvorbis,libvpx_vp8,libvpx_vp9,mjpeg,mpeg1video,mpeg2videomp1,mp1float,mp2,mp2float,mp3,mp3float,opus,pam,pbm,pcm_alaw,pcm_bluray,pcm_dvd,pcm_f32be,pcm_f32le,pcm_f64be,pcm_f64le,pcm_mulaw,pcm_s16be,pcm_s16be_planar,pcm_s16le,pcm_s16le_planar,pcm_s24be,pcm_s24le,pcm_s24le_planar,pcm_s32be,pcm_s32le,pcm_s32le_planar,pcm_s8,pcm_s8_planar,pcm_u16be,pcm_u16le,pcm_u24be,pcm_u24le,pcm_u32be,pcm_u32le,pcm_u8,pcx,pgm,pgmyuv,pgssub,png,ppm,rawvideo,sgi,srt,ssa,sunrast,targa,text,theora,tiff,v210,v210x,v308,v408,v410,vorbis,vp3,vp5,vp6,vp6a,vp6f,vp8,vp9,webp,xbm,xwd,y41p,yuv4,zlib,'
libavutil 55. 78.100 / 55. 78.100
libavcodec 57.107.100 / 57.107.100
libavformat 57. 83.100 / 57. 83.100
libavdevice 57. 10.100 / 57. 10.100
libavfilter 6.107.100 / 6.107.100
libavresample 3. 7. 0 / 3. 7. 0
libswscale 4. 8.100 / 4. 8.100
libswresample 2. 9.100 / 2. 9.100
libpostproc 54. 7.100 / 54. 7.100

[hls,applehttp @ 0x56379394b720] Opening 'https://tv.bild-upload.com/sat1/tracks-v1a1/2020/09/12/22/28/32-06000.ts' for reading
[hls,applehttp @ 0x56379394b720] Could not find codec parameters for stream 0 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels): unspecified sample rate
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[hls,applehttp @ 0x56379394b720] Could not find codec parameters for stream 1 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, hls,applehttp, from 'https://tv.bild-upload.com/sat1/tracks-v1a1/mono.m3u8':

Duration: N/A, start: 26672.796156, bitrate: N/A
Program 0

Metadata:

variant_bitrate : 0

Stream #0:0: Audio: aac ([15][0][0][0] / 0x000F), 0 channels
Metadata:

variant_bitrate : 0

Stream #0:1: Video: h264 ([27][0][0][0] / 0x001B), none, 25 fps, 25 tbr, 90k tbn, 90k tbc
Metadata:

variant_bitrate : 0

Automatic encoder selection failed for output stream #0:0. Default encoder for format mp4 (codec mpeg4) is probably disabled or this build of ffmpeg does not include that codec. Please choose an encoder manually.
Error selecting an encoder for stream 0:0
heiko@linux-rhoj:/mnt/Users/Heiko/MediathekView

comment:7 by Carl Eugen Hoyos, 4 years ago

Resolution: worksforme
Status: reopenedclosed

While there should be tools that are much better suited than ffmpeg (which is a transcoding utility) to download hls streams, copying the Tele5 stream works fine here using an abysmal internet connection.

$ ffmpeg.exe -i https://11.jetlivestream.com/hls/tele5.m3u8 -c copy -t 120 out.mp4
ffmpeg version N-99164-g05c8d0bce6 Copyright (c) 2000-2020 the FFmpeg developers
  built with clang version 9.0.0 (tags/RELEASE_900/final)
  configuration: --enable-gpl --enable-libx264 --enable-libvpx --enable-libmp3lame --enable-libmfx --enable-opencl --toolchain=msvc --cc='clang-cl.exe -m64'
  libavutil      56. 59.100 / 56. 59.100
  libavcodec     58.106.100 / 58.106.100
  libavformat    58. 56.100 / 58. 56.100
  libavdevice    58. 11.102 / 58. 11.102
  libavfilter     7. 87.100 /  7. 87.100
  libswscale      5.  8.100 /  5.  8.100
  libswresample   3.  8.100 /  3.  8.100
  libpostproc    55.  8.100 / 55.  8.100
[hls @ 0000018E828AFAC0] Skip ('#EXT-X-VERSION:3')
[hls @ 0000018E828AFAC0] Opening 'https://11.jetlivestream.com/hls/tele5-59958.ts' for reading
[hls @ 0000018E828AFAC0] Opening 'https://11.jetlivestream.com/hls/tele5-59959.ts' for reading
Input #0, hls, from 'https://11.jetlivestream.com/hls/tele5.m3u8':
  Duration: N/A, start: 102.658811, bitrate: N/A
  Program 0
    Metadata:
      variant_bitrate : 0
    Stream #0:0: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 1920x1080, 25 fps, 25 tbr, 90k tbn, 50 tbc
    Metadata:
      variant_bitrate : 0
    Stream #0:1: Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp
    Metadata:
      variant_bitrate : 0
Output #0, mp4, to 'out.mp4':
  Metadata:
    encoder         : Lavf58.56.100
    Stream #0:0: Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1920x1080, q=2-31, 25 fps, 25 tbr, 90k tbn, 90k tbc
    Metadata:
      variant_bitrate : 0
    Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 44100 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 @ 0000018E828AFAC0] Skip ('#EXT-X-VERSION:3'):00:05.02 bitrate=2085.1kbits/s speed=1.32x
[https @ 0000018E828E58C0] Opening 'https://11.jetlivestream.com/hls/tele5-59960.ts' for reading
[https @ 0000018E82909100] Opening 'https://11.jetlivestream.com/hls/tele5-59961.ts' for reading
[https @ 0000018E8434C000] Opening 'https://11.jetlivestream.com/hls/tele5.m3u8' for readingx
[hls @ 0000018E828AFAC0] Skip ('#EXT-X-VERSION:3')
[https @ 0000018E828E58C0] Opening 'https://11.jetlivestream.com/hls/tele5-59962.ts' for reading
[https @ 0000018E82909100] Opening 'https://11.jetlivestream.com/hls/tele5-59963.ts' for reading
[https @ 0000018E8434C000] Opening 'https://11.jetlivestream.com/hls/tele5.m3u8' for readingx
[hls @ 0000018E828AFAC0] Skip ('#EXT-X-VERSION:3')
[https @ 0000018E82909100] Opening 'https://11.jetlivestream.com/hls/tele5-59964.ts' for reading
[https @ 0000018E8434C000] Opening 'https://11.jetlivestream.com/hls/tele5.m3u8' for readingx
[hls @ 0000018E828AFAC0] Skip ('#EXT-X-VERSION:3')
[https @ 0000018E82909100] Opening 'https://11.jetlivestream.com/hls/tele5-59965.ts' for reading
[https @ 0000018E8434C000] Opening 'https://11.jetlivestream.com/hls/tele5.m3u8' for readingx
[hls @ 0000018E828AFAC0] Skip ('#EXT-X-VERSION:3')
[https @ 0000018E82909100] Opening 'https://11.jetlivestream.com/hls/tele5-59966.ts' for reading
[https @ 0000018E8434C000] Opening 'https://11.jetlivestream.com/hls/tele5.m3u8' for readingx
[hls @ 0000018E828AFAC0] Skip ('#EXT-X-VERSION:3')
[https @ 0000018E82909100] Opening 'https://11.jetlivestream.com/hls/tele5-59967.ts' for reading
[https @ 0000018E8434C000] Opening 'https://11.jetlivestream.com/hls/tele5.m3u8' for readingx
[hls @ 0000018E828AFAC0] Skip ('#EXT-X-VERSION:3')
[https @ 0000018E82909100] Opening 'https://11.jetlivestream.com/hls/tele5-59968.ts' for reading
[https @ 0000018E8434C000] Opening 'https://11.jetlivestream.com/hls/tele5.m3u8' for readingx
[hls @ 0000018E828AFAC0] Skip ('#EXT-X-VERSION:3')
[https @ 0000018E82909100] Opening 'https://11.jetlivestream.com/hls/tele5-59969.ts' for reading
[https @ 0000018E8434C000] Opening 'https://11.jetlivestream.com/hls/tele5.m3u8' for readingx
[hls @ 0000018E828AFAC0] Skip ('#EXT-X-VERSION:3')
[https @ 0000018E82909100] Opening 'https://11.jetlivestream.com/hls/tele5-59970.ts' for reading
[https @ 0000018E8434C000] Opening 'https://11.jetlivestream.com/hls/tele5.m3u8' for readingx
[hls @ 0000018E828AFAC0] Skip ('#EXT-X-VERSION:3')
[https @ 0000018E82909100] Opening 'https://11.jetlivestream.com/hls/tele5-59971.ts' for reading
[https @ 0000018E8434C000] Opening 'https://11.jetlivestream.com/hls/tele5.m3u8' for readingx
[hls @ 0000018E828AFAC0] Skip ('#EXT-X-VERSION:3')
[https @ 0000018E82909100] Opening 'https://11.jetlivestream.com/hls/tele5-59972.ts' for reading
[https @ 0000018E8434C000] Opening 'https://11.jetlivestream.com/hls/tele5.m3u8' for readingx
[hls @ 0000018E828AFAC0] Skip ('#EXT-X-VERSION:3')
[https @ 0000018E82909100] Opening 'https://11.jetlivestream.com/hls/tele5-59973.ts' for reading
[https @ 0000018E8434C000] Opening 'https://11.jetlivestream.com/hls/tele5.m3u8' for readingx
[hls @ 0000018E828AFAC0] Skip ('#EXT-X-VERSION:3')
[https @ 0000018E82909100] Opening 'https://11.jetlivestream.com/hls/tele5-59974.ts' for reading
[https @ 0000018E8434C000] Opening 'https://11.jetlivestream.com/hls/tele5.m3u8' for readingx
[hls @ 0000018E828AFAC0] Skip ('#EXT-X-VERSION:3')
[https @ 0000018E82909100] Opening 'https://11.jetlivestream.com/hls/tele5-59975.ts' for reading
[https @ 0000018E8434C000] Opening 'https://11.jetlivestream.com/hls/tele5.m3u8' for readingx
[hls @ 0000018E828AFAC0] Skip ('#EXT-X-VERSION:3')
[https @ 0000018E82909100] Opening 'https://11.jetlivestream.com/hls/tele5-59976.ts' for reading
[https @ 0000018E8434C000] Opening 'https://11.jetlivestream.com/hls/tele5.m3u8' for readingx
[hls @ 0000018E828AFAC0] Skip ('#EXT-X-VERSION:3')
[https @ 0000018E82909100] Opening 'https://11.jetlivestream.com/hls/tele5-59977.ts' for reading
[https @ 0000018E8434C000] Opening 'https://11.jetlivestream.com/hls/tele5.m3u8' for readingx
[hls @ 0000018E828AFAC0] Skip ('#EXT-X-VERSION:3')
[https @ 0000018E82909100] Opening 'https://11.jetlivestream.com/hls/tele5-59978.ts' for reading
frame= 3000 fps= 29 q=-1.0 Lsize=   30866kB time=00:01:59.97 bitrate=2107.5kbits/s speed=1.14x
video:30067kB audio:738kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.196856%

comment:8 by Heiko Jantz, 4 years ago

Which tools can I use to download hls streams?

I had already tried the Downloadhelper. Did not work.

Thx
Data2006

comment:9 by Heiko Jantz, 4 years ago

Resolution: worksforme
Status: closedreopened

comment:10 by Carl Eugen Hoyos, 4 years ago

Resolution: worksforme
Status: reopenedclosed

Unfortunately, I don’t know.

Note: See TracTickets for help on using tickets.