aajanki / yle-dl

Download videos from Yle servers
https://aajanki.github.io/yle-dl/index-en.html
GNU General Public License v3.0
302 stars 52 forks source link

--pipe: Failed to recognize file format. #287

Closed ronilaukkarinen closed 2 years ago

ronilaukkarinen commented 2 years ago
$ yle-dl --pipe https://areena.yle.fi/1-50655531 | mpv -
[file] Reading from stdin...
[h264 @ 000001f916ee6ac0] Increasing reorder buffer to 2
[h264 @ 000001f916d4f300] Increasing reorder buffer to 2
[h264 @ 000001f917353500] Increasing reorder buffer to 2
[h264 @ 000001f917290bc0] Increasing reorder buffer to 2
[h264 @ 000001f917444f40] Increasing reorder buffer to 2
[hls @ 000001f9164c2140] Could not find codec parameters for stream 6 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 000001f9164c2140] Could not find codec parameters for stream 7 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels, fltp): unspecified sample rate
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 000001f9164c2140] Could not find codec parameters for stream 12 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 000001f9164c2140] Could not find codec parameters for stream 13 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels, fltp): unspecified sample rate
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 000001f9164c2140] Could not find codec parameters for stream 18 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 000001f9164c2140] Could not find codec parameters for stream 19 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels, fltp): unspecified sample rate
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 000001f9164c2140] Could not find codec parameters for stream 24 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 000001f9164c2140] Could not find codec parameters for stream 25 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels, fltp): unspecified sample rate
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 000001f9164c2140] Could not find codec parameters for stream 27 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 000001f9164c2140] Could not find codec parameters for stream 28 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels, fltp): unspecified sample rate
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
Unsupported codec with id 100358 for input stream 2
Unsupported codec with id 100358 for input stream 5
Unsupported codec with id 100358 for input stream 8
Unsupported codec with id 100358 for input stream 11
Unsupported codec with id 100358 for input stream 14
Unsupported codec with id 100358 for input stream 17
Unsupported codec with id 100358 for input stream 20
Unsupported codec with id 100358 for input stream 23
Unsupported codec with id 100358 for input stream 26
Unsupported codec with id 100358 for input stream 29
[h264 @ 000002255b95b900] Increasing reorder buffer to 1
[h264 @ 000002255b95b900] Increasing reorder buffer to 2
[hls @ 000002255aa96580] Could not find codec parameters for stream 0 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 000002255aa96580] Could not find codec parameters for stream 1 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels, fltp): unspecified sample rate
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 000002255aa96580] Could not find codec parameters for stream 3 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 000002255aa96580] Could not find codec parameters for stream 4 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels, fltp): unspecified sample rate
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 000002255aa96580] Could not find codec parameters for stream 6 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 000002255aa96580] Could not find codec parameters for stream 7 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels, fltp): unspecified sample rate
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 000002255aa96580] Could not find codec parameters for stream 9 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 000002255aa96580] Could not find codec parameters for stream 10 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels, fltp): unspecified sample rate
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 000002255aa96580] Could not find codec parameters for stream 15 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 000002255aa96580] Could not find codec parameters for stream 16 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels, fltp): unspecified sample rate
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 000002255aa96580] Could not find codec parameters for stream 18 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 000002255aa96580] Could not find codec parameters for stream 19 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels, fltp): unspecified sample rate
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 000002255aa96580] Could not find codec parameters for stream 21 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 000002255aa96580] Could not find codec parameters for stream 22 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels, fltp): unspecified sample rate
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 000002255aa96580] Could not find codec parameters for stream 24 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 000002255aa96580] Could not find codec parameters for stream 25 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels, fltp): unspecified sample rate
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 000002255aa96580] Could not find codec parameters for stream 27 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 000002255aa96580] Could not find codec parameters for stream 28 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels, fltp): unspecified sample rate
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[matroska @ 000002255bcbc9c0] dimensions not set
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
Error initializing output stream 0:1 --
Failed to recognize file format.

Exiting... (Errors when loading file)

Normal yle-dl command works.

Version: yle-dl 20210704

aajanki commented 2 years ago

I have seen the "Could not find codec parameters" error in cases when ffmpeg was either too old or didn't include support for the h264 codec. Some distros don't include non-free codecs by default. Instead, the codecs need to be installed separately.

Can you check the output of ffmpeg -codecs | grep h264?

The output contains two bits of interesting information. First, it shows the ffmpeg version. If your ffmpeg is older than 4.1, try updating it.

Secondly, the output should include a line like the next one if your ffmpeg has the h264 support:

 DEV.LS h264                 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (decoders: h264 h264_v4l2m2m h264_qsv ) (encoders: libx264 libx264rgb h264_omx h264_qsv h264_v4l2m2m h264_vaapi )

The "DEV" at the start of the line means that ffmpeg has support for decoding (D) and encoding (E) h264 video (V) streams.

ronilaukkarinen commented 2 years ago

There's no grep in my installation but FINDSTR will do.

C:\Windows\system32>ffmpeg -codecs | FINDSTR h264
ffmpeg version n4.4-19-g8d172d9409 Copyright (c) 2000-2021 the FFmpeg developers
  built with gcc 10-win32 (GCC) 20210408
  configuration: --prefix=/ffbuild/prefix --pkg-config-flags=--static --pkg-config=pkg-config --cross-prefix=x86_64-w64-mingw32- --arch=x86_64 --target-os=mingw32 --enable-gpl --enable-version3 --disable-debug --disable-w32threads --enable-pthreads --enable-iconv --enable-libxml2 --enable-zlib --enable-libfreetype --enable-libfribidi --enable-gmp --enable-lzma --enable-fontconfig --enable-libvorbis --enable-opencl --enable-libvmaf --enable-vulkan --enable-amf --enable-libaom --enable-avisynth --enable-libdav1d --enable-libdavs2 --enable-ffnvcodec --enable-cuda-llvm --enable-libglslang --enable-libgme --enable-libass --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvpx --enable-libwebp --enable-lv2 --enable-libmfx --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librav1e --enable-librubberband --enable-schannel --enable-sdl2 --enable-libsoxr --enable-libsrt --enable-libsvtav1 --enable-libtwolame --enable-libuavs3d --enable-libvidstab --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libzimg --extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-ldflags=-pthread --extra-ldexeflags= --extra-libs=-lgomp
  libavutil      56. 70.100 / 56. 70.100
  libavcodec     58.134.100 / 58.134.100
  libavformat    58. 76.100 / 58. 76.100
  libavdevice    58. 13.100 / 58. 13.100
  libavfilter     7.110.100 /  7.110.100
  libswscale      5.  9.100 /  5.  9.100
  libswresample   3.  9.100 /  3.  9.100
  libpostproc    55.  9.100 / 55.  9.100
 DEV.LS h264                 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (decoders: h264 h264_qsv h264_cuvid ) (encoders: libx264 libx264rgb h264_amf h264_mf h264_nvenc h264_qsv nvenc nvenc_h264 )

I'm using Windows x64 builds by BtbN.

When I tested just now, it seems to work fine. Maybe temporary problem then...

image

aajanki commented 2 years ago

Based on the ffmpeg output, your ffmpeg does have the required codec support, so my guess was wrong.

If it's working now, it was most likely some kind of temporary issue at Areena. I'm closing this issue. Please reopen, if you encounter similar errors again.

ronilaukkarinen commented 2 years ago

Getting similar today (Windows 10), latest versions of yle-dl and ffmpeg I think:

C:\Users\Rolle\Downloads>ffmpeg -codecs | FINDSTR h264
ffmpeg version n4.4-19-g8d172d9409 Copyright (c) 2000-2021 the FFmpeg developers
  built with gcc 10-win32 (GCC) 20210408
  configuration: --prefix=/ffbuild/prefix --pkg-config-flags=--static --pkg-config=pkg-config --cross-prefix=x86_64-w64-mingw32- --arch=x86_64 --target-os=mingw32 --enable-gpl --enable-version3 --disable-debug --disable-w32threads --enable-pthreads --enable-iconv --enable-libxml2 --enable-zlib --enable-libfreetype --enable-libfribidi --enable-gmp --enable-lzma --enable-fontconfig --enable-libvorbis --enable-opencl --enable-libvmaf --enable-vulkan --enable-amf --enable-libaom --enable-avisynth --enable-libdav1d --enable-libdavs2 --enable-ffnvcodec --enable-cuda-llvm --enable-libglslang --enable-libgme --enable-libass --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvpx --enable-libwebp --enable-lv2 --enable-libmfx --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librav1e --enable-librubberband --enable-schannel --enable-sdl2 --enable-libsoxr --enable-libsrt --enable-libsvtav1 --enable-libtwolame --enable-libuavs3d --enable-libvidstab --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libzimg --extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-ldflags=-pthread --extra-ldexeflags= --extra-libs=-lgomp
  libavutil      56. 70.100 / 56. 70.100
  libavcodec     58.134.100 / 58.134.100
  libavformat    58. 76.100 / 58. 76.100
  libavdevice    58. 13.100 / 58. 13.100
  libavfilter     7.110.100 /  7.110.100
  libswscale      5.  9.100 /  5.  9.100
  libswresample   3.  9.100 /  3.  9.100
  libpostproc    55.  9.100 / 55.  9.100
 DEV.LS h264                 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (decoders: h264 h264_qsv h264_cuvid ) (encoders: libx264 libx264rgb h264_amf h264_mf h264_nvenc h264_qsv nvenc nvenc_h264 )

C:\Users\Rolle\Downloads>yle-dl "https://areena.yle.fi/tv/suorat/yle-tv1"
yle-dl 20211213: Download media files from Yle Areena and Elävä Arkisto
Copyright (C) 2009-2021 Antti Ajanki <antti.ajanki@iki.fi>, license: GPLv3

[h264 @ 0000016f27547a00] Increasing reorder buffer to 2
[hls @ 0000016f26ed2280] Could not find codec parameters for stream 3 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 0000016f26ed2280] Could not find codec parameters for stream 4 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels, fltp): unspecified sample rate
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 0000016f26ed2280] Could not find codec parameters for stream 6 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 0000016f26ed2280] Could not find codec parameters for stream 7 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels, fltp): unspecified sample rate
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 0000016f26ed2280] Could not find codec parameters for stream 9 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 0000016f26ed2280] Could not find codec parameters for stream 10 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels, fltp): unspecified sample rate
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 0000016f26ed2280] Could not find codec parameters for stream 12 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 0000016f26ed2280] Could not find codec parameters for stream 13 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels, fltp): unspecified sample rate
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 0000016f26ed2280] Could not find codec parameters for stream 15 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 0000016f26ed2280] Could not find codec parameters for stream 16 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels, fltp): unspecified sample rate
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 0000016f26ed2280] Could not find codec parameters for stream 18 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 0000016f26ed2280] Could not find codec parameters for stream 19 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels, fltp): unspecified sample rate
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 0000016f26ed2280] Could not find codec parameters for stream 21 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 0000016f26ed2280] Could not find codec parameters for stream 22 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels, fltp): unspecified sample rate
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 0000016f26ed2280] Could not find codec parameters for stream 24 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 0000016f26ed2280] Could not find codec parameters for stream 25 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels, fltp): unspecified sample rate
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 0000016f26ed2280] Could not find codec parameters for stream 27 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 0000016f26ed2280] Could not find codec parameters for stream 28 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels, fltp): unspecified sample rate
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
Unsupported codec with id 100358 for input stream 2
Unsupported codec with id 100358 for input stream 5
Unsupported codec with id 100358 for input stream 8
Unsupported codec with id 100358 for input stream 11
Unsupported codec with id 100358 for input stream 14
Unsupported codec with id 100358 for input stream 17
Unsupported codec with id 100358 for input stream 20
Unsupported codec with id 100358 for input stream 23
Unsupported codec with id 100358 for input stream 26
Unsupported codec with id 100358 for input stream 29
Output file: Yle TV1: 2022-01-10T07:54.mkv
[h264 @ 000001c0a1a37340] Increasing reorder buffer to 2
[hls @ 000001c09fc59000] Could not find codec parameters for stream 3 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 000001c09fc59000] Could not find codec parameters for stream 4 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels, fltp): unspecified sample rate
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 000001c09fc59000] Could not find codec parameters for stream 6 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 000001c09fc59000] Could not find codec parameters for stream 7 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels, fltp): unspecified sample rate
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 000001c09fc59000] Could not find codec parameters for stream 9 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 000001c09fc59000] Could not find codec parameters for stream 10 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels, fltp): unspecified sample rate
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 000001c09fc59000] Could not find codec parameters for stream 12 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 000001c09fc59000] Could not find codec parameters for stream 13 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels, fltp): unspecified sample rate
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 000001c09fc59000] Could not find codec parameters for stream 15 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 000001c09fc59000] Could not find codec parameters for stream 16 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels, fltp): unspecified sample rate
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 000001c09fc59000] Could not find codec parameters for stream 18 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 000001c09fc59000] Could not find codec parameters for stream 19 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels, fltp): unspecified sample rate
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 000001c09fc59000] Could not find codec parameters for stream 21 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 000001c09fc59000] Could not find codec parameters for stream 22 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels, fltp): unspecified sample rate
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 000001c09fc59000] Could not find codec parameters for stream 24 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 000001c09fc59000] Could not find codec parameters for stream 25 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels, fltp): unspecified sample rate
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 000001c09fc59000] Could not find codec parameters for stream 27 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 000001c09fc59000] Could not find codec parameters for stream 28 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels, fltp): unspecified sample rate
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
file:Yle TV1: 2022-01-10T07:54.mkv: Invalid argument

C:\Users\Rolle\Downloads>yle-dl --pipe http://areena.yle.fi/tv/suorat/yle-tv1 | mpv -
[file] Reading from stdin...
[h264 @ 00000216d6057a00] Increasing reorder buffer to 2
[hls @ 00000216d5a32280] Could not find codec parameters for stream 3 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 00000216d5a32280] Could not find codec parameters for stream 4 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels, fltp): unspecified sample rate
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 00000216d5a32280] Could not find codec parameters for stream 6 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 00000216d5a32280] Could not find codec parameters for stream 7 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels, fltp): unspecified sample rate
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 00000216d5a32280] Could not find codec parameters for stream 9 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 00000216d5a32280] Could not find codec parameters for stream 10 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels, fltp): unspecified sample rate
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 00000216d5a32280] Could not find codec parameters for stream 12 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 00000216d5a32280] Could not find codec parameters for stream 13 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels, fltp): unspecified sample rate
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 00000216d5a32280] Could not find codec parameters for stream 15 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 00000216d5a32280] Could not find codec parameters for stream 16 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels, fltp): unspecified sample rate
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 00000216d5a32280] Could not find codec parameters for stream 18 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 00000216d5a32280] Could not find codec parameters for stream 19 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels, fltp): unspecified sample rate
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 00000216d5a32280] Could not find codec parameters for stream 21 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 00000216d5a32280] Could not find codec parameters for stream 22 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels, fltp): unspecified sample rate
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 00000216d5a32280] Could not find codec parameters for stream 24 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 00000216d5a32280] Could not find codec parameters for stream 25 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels, fltp): unspecified sample rate
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 00000216d5a32280] Could not find codec parameters for stream 27 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 00000216d5a32280] Could not find codec parameters for stream 28 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels, fltp): unspecified sample rate
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
Unsupported codec with id 100358 for input stream 2
Unsupported codec with id 100358 for input stream 5
Unsupported codec with id 100358 for input stream 8
Unsupported codec with id 100358 for input stream 11
Unsupported codec with id 100358 for input stream 14
Unsupported codec with id 100358 for input stream 17
Unsupported codec with id 100358 for input stream 20
Unsupported codec with id 100358 for input stream 23
Unsupported codec with id 100358 for input stream 26
Unsupported codec with id 100358 for input stream 29
[h264 @ 00000214fb2d8a40] Increasing reorder buffer to 2
[hls @ 00000214facc6940] Could not find codec parameters for stream 3 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 00000214facc6940] Could not find codec parameters for stream 4 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels, fltp): unspecified sample rate
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 00000214facc6940] Could not find codec parameters for stream 6 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 00000214facc6940] Could not find codec parameters for stream 7 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels, fltp): unspecified sample rate
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 00000214facc6940] Could not find codec parameters for stream 9 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 00000214facc6940] Could not find codec parameters for stream 10 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels, fltp): unspecified sample rate
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 00000214facc6940] Could not find codec parameters for stream 12 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 00000214facc6940] Could not find codec parameters for stream 13 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels, fltp): unspecified sample rate
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 00000214facc6940] Could not find codec parameters for stream 15 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 00000214facc6940] Could not find codec parameters for stream 16 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels, fltp): unspecified sample rate
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 00000214facc6940] Could not find codec parameters for stream 18 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 00000214facc6940] Could not find codec parameters for stream 19 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels, fltp): unspecified sample rate
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 00000214facc6940] Could not find codec parameters for stream 21 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 00000214facc6940] Could not find codec parameters for stream 22 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels, fltp): unspecified sample rate
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 00000214facc6940] Could not find codec parameters for stream 24 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 00000214facc6940] Could not find codec parameters for stream 25 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels, fltp): unspecified sample rate
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 00000214facc6940] Could not find codec parameters for stream 27 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[hls @ 00000214facc6940] Could not find codec parameters for stream 28 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels, fltp): unspecified sample rate
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (80000000) options
[matroska @ 00000214fc3ba840] dimensions not set
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
Error initializing output stream 0:1 --
Failed to recognize file format.

Exiting... (Errors when loading file)
aajanki commented 2 years ago

Still no idea what might be causing this. Was it again a temporary problem or are you still getting a similar error?

ronilaukkarinen commented 2 years ago

It seems it was that one morning again, yes. Working again since. Strange.