Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some live streams do not work #295

Open
2-4601 opened this issue Feb 5, 2022 · 2 comments
Open

Some live streams do not work #295

2-4601 opened this issue Feb 5, 2022 · 2 comments

Comments

@2-4601
Copy link

2-4601 commented Feb 5, 2022

Tried to watch some Olympic Games live streams with yle-dl. It seems to not output any streams.

Here's a debug output (I removed most timestamp lines from below. Full log is 5 MB: yle-dl-live.zip):

$ yle-dl --debug https://areena.yle.fi/1-61139289

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

DEBUG: https://areena.yle.fi/1-61139289 is an Areena URL
DEBUG: HTTP GET https://areena.yle.fi/1-61139289
DEBUG: HTTP status code: 200
DEBUG: HTTP response headers:
DEBUG: Content-Type: text/html; charset=utf-8
DEBUG: Content-Length: 33134
DEBUG: Connection: keep-alive
DEBUG: Date: Sat, 05 Feb 2022 15:45:25 GMT
DEBUG: Cache-Control: max-age=120
DEBUG: X-Frame-Options: DENY
DEBUG: X-UA-Compatible: IE=edge
DEBUG: Content-Encoding: gzip
DEBUG: X-Areena-Service: Video
DEBUG: Vary: Accept-Encoding
DEBUG: X-Cache: Hit from cloudfront
DEBUG: Via: 1.1 6e524269fea3a56b0e037fecde237b36.cloudfront.net (CloudFront)
DEBUG: X-Amz-Cf-Pop: HEL50-C1
DEBUG: X-Amz-Cf-Id: CjThfiPFrKOKqjgvIY98y2zDSqb_SGmbJMg1p8yDls9s80Wq48LN-A==
DEBUG: Age: 6
DEBUG: HTML meta charset: utf-8
DEBUG: not a playlist
DEBUG: HTTP GET https://player.api.yle.fi/v1/preview/1-61139289.json?language=fin&ssl=true&countryCode=FI&host=areenaylefi&app_id=player_static_prod&app_key=8930d72170e48303cf5f3867780d549b
DEBUG: HTTP status code: 200
DEBUG: HTTP response headers:
DEBUG: Content-Type: application/json;charset=utf-8
DEBUG: Transfer-Encoding: chunked
DEBUG: Connection: keep-alive
DEBUG: Date: Sat, 05 Feb 2022 15:45:02 GMT
DEBUG: Server: nginx/1.19.10
DEBUG: Cache-Control: max-age=30
DEBUG: Access-Control-Allow-Methods: GET, HEAD, OPTIONS
DEBUG: Access-Control-Allow-Origin: https://areena.yle.fi
DEBUG: Access-Control-Allow-Credentials: true
DEBUG: Content-Encoding: gzip
DEBUG: Vary: Accept-Encoding
DEBUG: X-Cache: Hit from cloudfront
DEBUG: Via: 1.1 20e9cd7a84a4b4e0dce285f587c43f9a.cloudfront.net (CloudFront)
DEBUG: X-Amz-Cf-Pop: HEL50-C2
DEBUG: X-Amz-Cf-Id: JOeTTOaBOX9WbVisXO-TVBsVEX0hq_VVgDdIvgte-exP_P9ds6WhCg==
DEBUG: Age: 29
DEBUG: preview data:
{
  "meta": {
    "id": "1-61139289"
  },
  "data": {
    "ongoing_channel": {
      "multiaudio": true,
      "dvr_window_in_seconds": 14400,
      "cuepoints": [],
      "service_schedule": [
        {
          "subtitles": [],
          "startTime": "2022-02-05T12:44:27+02:00",
          "endTime": "2022-02-05T14:49:48+02:00",
          "audioTracks": [
            {
              "format": "stereo",
              "type": "AudioTrack",
              "language": "fi",
              "trackIndex": 0,
              "trackKey": "1.audio"
            },
            {
              "format": "stereo",
              "type": "AudioTrack",
              "language": "sv",
              "trackIndex": 1,
              "trackKey": "2.audio"
            },
            {
              "format": "stereo",
              "type": "AudioTrack",
              "language": "en",
              "trackIndex": 3,
              "trackKey": "4.audio"
            }
          ]
        },
        {
          "subtitles": [],
          "startTime": "2022-02-05T14:49:48+02:00",
          "endTime": "2022-02-05T15:24:33+02:00",
          "audioTracks": [
            {
              "format": "stereo",
              "type": "AudioTrack",
              "language": "fi",
              "trackIndex": 0,
              "trackKey": "1.audio"
            },
            {
              "format": "stereo",
              "type": "AudioTrack",
              "language": "sv",
              "trackIndex": 1,
              "trackKey": "2.audio"
            },
            {
              "format": "stereo",
              "type": "AudioTrack",
              "language": "en",
              "trackIndex": 3,
              "trackKey": "4.audio"
            }
          ]
        },
        {
          "subtitles": [],
          "startTime": "2022-02-05T15:00:00+02:00",
          "endTime": "2022-02-05T15:30:00+02:00",
          "audioTracks": [
            {
              "format": "stereo",
              "type": "AudioTrack",
              "language": "fi",
              "trackIndex": 0,
              "trackKey": "1.audio"
            },
            {
              "format": "stereo",
              "type": "AudioTrack",
              "language": "sv",
              "trackIndex": 1,
              "trackKey": "2.audio"
            },
            {
              "format": "stereo",
              "type": "AudioTrack",
              "language": "en",
              "trackIndex": 3,
              "trackKey": "4.audio"
            }
          ]
        },
        {
          "subtitles": [],
          "startTime": "2022-02-05T15:30:00+02:00",
          "endTime": "2022-02-05T16:30:00+02:00",
          "audioTracks": [
            {
              "format": "stereo",
              "type": "AudioTrack",
              "language": "fi",
              "trackIndex": 0,
              "trackKey": "1.audio"
            },
            {
              "format": "stereo",
              "type": "AudioTrack",
              "language": "sv",
              "trackIndex": 1,
              "trackKey": "2.audio"
            },
            {
              "format": "stereo",
              "type": "AudioTrack",
              "language": "en",
              "trackIndex": 3,
              "trackKey": "4.audio"
            }
          ]
        },
        {
          "subtitles": [],
          "startTime": "2022-02-05T16:30:00+02:00",
          "endTime": "2022-02-05T17:00:00+02:00",
          "audioTracks": [
            {
              "format": "stereo",
              "type": "AudioTrack",
              "language": "fi",
              "trackIndex": 0,
              "trackKey": "1.audio"
            },
            {
              "format": "stereo",
              "type": "AudioTrack",
              "language": "sv",
              "trackIndex": 1,
              "trackKey": "2.audio"
            },
            {
              "format": "stereo",
              "type": "AudioTrack",
              "language": "en",
              "trackIndex": 3,
              "trackKey": "4.audio"
            }
          ]
        },
        {
          "subtitles": [],
          "startTime": "2022-02-05T17:00:00+02:00",
          "endTime": "2022-02-05T18:00:00+02:00",
          "audioTracks": [
            {
              "format": "stereo",
              "type": "AudioTrack",
              "language": "fi",
              "trackIndex": 0,
              "trackKey": "1.audio"
            },
            {
              "format": "stereo",
              "type": "AudioTrack",
              "language": "sv",
              "trackIndex": 1,
              "trackKey": "2.audio"
            },
            {
              "format": "stereo",
              "type": "AudioTrack",
              "language": "en",
              "trackIndex": 3,
              "trackKey": "4.audio"
            }
          ]
        },
        {
          "subtitles": [],
          "startTime": "2022-02-05T18:00:00+02:00",
          "endTime": "2022-02-05T19:00:00+02:00",
          "audioTracks": [
            {
              "format": "stereo",
              "type": "AudioTrack",
              "language": "fi",
              "trackIndex": 0,
              "trackKey": "1.audio"
            },
            {
              "format": "stereo",
              "type": "AudioTrack",
              "language": "sv",
              "trackIndex": 1,
              "trackKey": "2.audio"
            },
            {
              "format": "stereo",
              "type": "AudioTrack",
              "language": "en",
              "trackIndex": 3,
              "trackKey": "4.audio"
            }
          ]
        },
        {
          "subtitles": [
            {
              "type": "Translation",
              "language": "fi",
              "trackIndex": 0,
              "trackKey": "K\u00e4\u00e4nn\u00f6stekstitys"
            },
            {
              "type": "Translation",
              "language": "sv",
              "trackIndex": 1,
              "trackKey": "\u00d6vers\u00e4ttning"
            }
          ],
          "startTime": "2022-02-05T19:00:00+02:00",
          "endTime": "2022-02-05T20:00:01+02:00",
          "audioTracks": [
            {
              "format": "stereo",
              "type": "AudioTrack",
              "language": "da",
              "trackIndex": 0,
              "trackKey": "1.audio"
            },
            {
              "format": "stereo",
              "type": "AudioSubtitling",
              "language": "fi",
              "trackIndex": 2,
              "trackKey": "3.audio"
            }
          ]
        },
        {
          "subtitles": [
            {
              "type": "Translation",
              "language": "sv",
              "trackIndex": 1,
              "trackKey": "\u00d6vers\u00e4ttning"
            },
            {
              "type": "HardOfHearingSubtitling",
              "language": "fi",
              "trackIndex": 2,
              "trackKey": "Ohjelmatekstitys"
            }
          ],
          "startTime": "2022-02-05T20:00:01+02:00",
          "endTime": "2022-02-05T21:00:00+02:00",
          "audioTracks": [
            {
              "format": "stereo",
              "type": "AudioTrack",
              "language": "fi",
              "trackIndex": 0,
              "trackKey": "1.audio"
            }
          ]
        },
        {
          "subtitles": [],
          "startTime": "2022-02-05T21:00:00+02:00",
          "endTime": "2022-02-05T22:00:00+02:00",
          "audioTracks": [
            {
              "format": "stereo",
              "type": "AudioTrack",
              "language": "fi",
              "trackIndex": 0,
              "trackKey": "1.audio"
            },
            {
              "format": "stereo",
              "type": "AudioTrack",
              "language": "sv",
              "trackIndex": 1,
              "trackKey": "2.audio"
            },
            {
              "format": "stereo",
              "type": "AudioTrack",
              "language": "en",
              "trackIndex": 3,
              "trackKey": "4.audio"
            }
          ]
        }
      ],
      "title": {
        "fin": "Urheilustudion jatkot",
        "swe": "Sportstudion, eftersnack"
      },
      "content_type": "VideoObject",
      "adobe": {
        "category": "nettitv",
        "yle_country_code": "FI",
        "fp_clnr": "20001",
        "yle_service_id": "yle-tv2",
        "yle_ss_ohjusid": "1-61139289",
        "yle_ss_mediaid": "10-54",
        "ns_st_ep": "20220205",
        "ns_st_el": "0",
        "ns_st_dt": "20220205",
        "yle_id": "1-61139289",
        "ns_st_st": "yle tv2",
        "ns_st_li": "1",
        "fp_ch": "fp102",
        "yle_language": "fi",
        "ns_st_ty": "livetv",
        "countername": "nettitv.livetv.yle tv2.null",
        "yle_metrics_api_data_version": "v2.0",
        "fp_bd": "20220205",
        "fp_prod_id": "na",
        "title": "urheilustudion jatkot",
        "fp_ty": "video_simulcast",
        "content_type": "livetv",
        "ns_st_pr": "nettitv.livetv.yle tv2.null",
        "yle_media_type": "TVContent",
        "ns_st_cl": "0",
        "ns_st_ci": "na",
        "ns_st_pl": "nettitv.livetv.yle tv2.null.20220205",
        "yle_media_id": "10-54"
      },
      "image": {
        "id": "13-1-61139289-1643713935001",
        "version": 1644073214
      },
      "manifest_url": "https://yletv.akamaized.net/hls/live/622366/yletv2fin/index.m3u8"
    }
  }
}
DEBUG: Detected a full-HD media
DEBUG: Probing for stream flavors
ffprobe version n4.4.1 Copyright (c) 2007-2021 the FFmpeg developers
  built with gcc 11.1.0 (GCC)
  configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-amf --enable-avisynth --enable-cuda-llvm --enable-lto --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libjack --enable-libmfx --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librav1e --enable-librsvg --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-libzimg --enable-nvdec --enable-nvenc --enable-shared --enable-version3
  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
[hls @ 0x557e6a25df80] Skip ('#EXT-X-VERSION:4')
[hls @ 0x557e6a25df80] Skip ('#EXT-X-INDEPENDENT-SEGMENTS')
[hls @ 0x557e6a25df80] Opening 'https://yletv.akamaized.net/hls/live/622366/yletv2fin/yletv_video270p.m3u8' for reading
[hls @ 0x557e6a25df80] Skip ('#EXT-X-VERSION:3')
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T11:45:29.491Z')
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T11:45:35.491Z')
...
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T15:45:17.491Z')
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T15:45:23.491Z')
[https @ 0x557e6a833580] Opening 'https://yletv.akamaized.net/hls/live/622366/yletv2fin/yletv_video360p.m3u8' for reading
[hls @ 0x557e6a25df80] Skip ('#EXT-X-VERSION:3')
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T11:45:29.491Z')
...
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T15:45:17.491Z')
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T15:45:23.491Z')
[https @ 0x557e6a833580] Opening 'https://yletv.akamaized.net/hls/live/622366/yletv2fin/yletv_video480p.m3u8' for reading
[hls @ 0x557e6a25df80] Skip ('#EXT-X-VERSION:3')
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T11:45:29.491Z')
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T11:45:35.491Z')
...
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T15:45:17.491Z')
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T15:45:23.491Z')
[https @ 0x557e6a833580] Opening 'https://yletv.akamaized.net/hls/live/622366/yletv2fin/yletv_video720p.m3u8' for reading
[hls @ 0x557e6a25df80] Skip ('#EXT-X-VERSION:3')
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T11:45:29.491Z')
...
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T15:45:17.491Z')
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T15:45:23.491Z')
[https @ 0x557e6a833580] Opening 'https://yletv.akamaized.net/hls/live/622366/yletv2fin/yletv_video720p50.m3u8' for reading
[hls @ 0x557e6a25df80] Skip ('#EXT-X-VERSION:3')
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T11:45:29.491Z')
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T11:45:35.491Z')
...
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T15:45:17.491Z')
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T15:45:23.491Z')
[https @ 0x557e6a833580] Opening 'https://yletv.akamaized.net/hls/live/622366/yletv2fin/yletv_video1080p50.m3u8' for reading
[hls @ 0x557e6a25df80] Skip ('#EXT-X-VERSION:3')
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T11:45:29.491Z')
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T11:45:35.491Z')
...
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T15:45:17.491Z')
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T15:45:23.491Z')
[https @ 0x557e6a833580] Opening 'https://yletv.akamaized.net/hls/live/622366/yletv2fin/yletv_audio1.m3u8' for reading
[hls @ 0x557e6a25df80] Skip ('#EXT-X-VERSION:3')
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T11:45:29.506Z')
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T11:45:35.500Z')
...
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T15:45:17.495Z')
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T15:45:23.511Z')
[https @ 0x557e6a833580] Opening 'https://yletv.akamaized.net/hls/live/622366/yletv2fin/yletv_audio2.m3u8' for reading
[hls @ 0x557e6a25df80] Skip ('#EXT-X-VERSION:3')
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T11:45:29.500Z')
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T11:45:35.495Z')
...
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T15:45:17.511Z')
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T15:45:23.505Z')
[https @ 0x557e6a833580] Opening 'https://yletv.akamaized.net/hls/live/622366/yletv2fin/yletv_audio3.m3u8' for reading
[hls @ 0x557e6a25df80] Skip ('#EXT-X-VERSION:3')
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T11:45:29.506Z')
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T11:45:35.500Z')
...
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T15:45:17.495Z')
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T15:45:23.511Z')
[https @ 0x557e6a833580] Opening 'https://yletv.akamaized.net/hls/live/622366/yletv2fin/yletv_audio4.m3u8' for reading
[hls @ 0x557e6a25df80] Skip ('#EXT-X-VERSION:3')
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T11:45:35.504Z')
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T11:45:41.498Z')
...
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T15:45:23.493Z')
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T15:45:29.509Z')
[https @ 0x557e6a833580] Opening 'https://yletv.akamaized.net/hls/live/622366/yletv2fin/yletv_sub3.m3u8' for reading
[hls @ 0x557e6a25df80] Skip ('#EXT-X-VERSION:3')
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T11:45:29.491Z')
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T11:45:35.491Z')
...
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T15:45:17.491Z')
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T15:45:23.491Z')
[https @ 0x557e6a833580] Opening 'https://yletv.akamaized.net/hls/live/622366/yletv2fin/yletv_sub4.m3u8' for reading
[hls @ 0x557e6a25df80] Skip ('#EXT-X-VERSION:3')
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T11:45:29.491Z')
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T11:45:35.491Z')
...
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T15:45:17.491Z')
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T15:45:23.491Z')
[https @ 0x557e6a833580] Opening 'https://yletv.akamaized.net/hls/live/622366/yletv2fin/yletv_sub1.m3u8' for reading
[hls @ 0x557e6a25df80] Skip ('#EXT-X-VERSION:3')
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T11:45:29.491Z')
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T11:45:35.491Z')
...
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T15:45:17.491Z')
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T15:45:23.491Z')
[https @ 0x557e6a833580] Opening 'https://yletv.akamaized.net/hls/live/622366/yletv2fin/yletv_sub2.m3u8' for reading
[hls @ 0x557e6a25df80] Skip ('#EXT-X-VERSION:3')
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T11:45:29.491Z')
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T11:45:35.491Z')
...
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T15:45:17.491Z')
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T15:45:23.491Z')
[hls @ 0x557e6a25df80] Opening 'https://yletv.akamaized.net/hls/live/622366/yletv2fin/yletv_video270p/Seg_325070/yletv_video270p_97521034.ts' for reading
[hls @ 0x557e6a25df80] Opening 'https://yletv.akamaized.net/hls/live/622366/yletv2fin/yletv_video270p/Seg_325070/yletv_video270p_97521035.ts' for reading
[hls @ 0x557e6a25df80] Opening 'https://yletv.akamaized.net/hls/live/622366/yletv2fin/yletv_video360p/Seg_325070/yletv_video360p_97521034.ts' for reading
[hls @ 0x557e6a25df80] Opening 'https://yletv.akamaized.net/hls/live/622366/yletv2fin/yletv_video360p/Seg_325070/yletv_video360p_97521035.ts' for reading
[hls @ 0x557e6a25df80] Opening 'https://yletv.akamaized.net/hls/live/622366/yletv2fin/yletv_video480p/Seg_325070/yletv_video480p_97521034.ts' for reading
[hls @ 0x557e6a25df80] Opening 'https://yletv.akamaized.net/hls/live/622366/yletv2fin/yletv_video480p/Seg_325070/yletv_video480p_97521035.ts' for reading
[hls @ 0x557e6a25df80] Opening 'https://yletv.akamaized.net/hls/live/622366/yletv2fin/yletv_video720p/Seg_325070/yletv_video720p_97521034.ts' for reading
[hls @ 0x557e6a25df80] Opening 'https://yletv.akamaized.net/hls/live/622366/yletv2fin/yletv_video720p/Seg_325070/yletv_video720p_97521035.ts' for reading
[hls @ 0x557e6a25df80] Opening 'https://yletv.akamaized.net/hls/live/622366/yletv2fin/yletv_video720p50/Seg_325070/yletv_video720p50_97521034.ts' for reading
[hls @ 0x557e6a25df80] Opening 'https://yletv.akamaized.net/hls/live/622366/yletv2fin/yletv_video720p50/Seg_325070/yletv_video720p50_97521035.ts' for reading
[hls @ 0x557e6a25df80] Opening 'https://yletv.akamaized.net/hls/live/622366/yletv2fin/yletv_video1080p50/Seg_325070/yletv_video1080p50_97521034.ts' for reading
[hls @ 0x557e6a25df80] Opening 'https://yletv.akamaized.net/hls/live/622366/yletv2fin/yletv_video1080p50/Seg_325070/yletv_video1080p50_97521035.ts' for reading
[hls @ 0x557e6a25df80] Opening 'https://yletv.akamaized.net/hls/live/622366/yletv2fin/yletv_audio1/Seg_325070/yletv_audio1_97521034.aac' for reading
[hls @ 0x557e6a25df80] Opening 'https://yletv.akamaized.net/hls/live/622366/yletv2fin/yletv_audio1/Seg_325070/yletv_audio1_97521035.aac' for reading
[hls @ 0x557e6a25df80] Opening 'https://yletv.akamaized.net/hls/live/622366/yletv2fin/yletv_audio2/Seg_325070/yletv_audio2_97521034.aac' for reading
[hls @ 0x557e6a25df80] Opening 'https://yletv.akamaized.net/hls/live/622366/yletv2fin/yletv_audio2/Seg_325070/yletv_audio2_97521035.aac' for reading
[hls @ 0x557e6a25df80] Opening 'https://yletv.akamaized.net/hls/live/622366/yletv2fin/yletv_audio3/Seg_325070/yletv_audio3_97521034.aac' for reading
[hls @ 0x557e6a25df80] Opening 'https://yletv.akamaized.net/hls/live/622366/yletv2fin/yletv_audio3/Seg_325070/yletv_audio3_97521035.aac' for reading
[hls @ 0x557e6a25df80] Opening 'https://yletv.akamaized.net/hls/live/622366/yletv2fin/yletv_audio4/Seg_325070/yletv_audio4_97521034.aac' for reading
[hls @ 0x557e6a25df80] Opening 'https://yletv.akamaized.net/hls/live/622366/yletv2fin/yletv_audio4/Seg_325070/yletv_audio4_97521035.aac' for reading
[hls @ 0x557e6a25df80] Opening 'https://yletv.akamaized.net/hls/live/622366/yletv2fin/yletv_sub3/Seg_325070/yletv_sub3_97521034.vtt' for reading
[hls @ 0x557e6a25df80] Opening 'https://yletv.akamaized.net/hls/live/622366/yletv2fin/yletv_sub3/Seg_325070/yletv_sub3_97521035.vtt' for reading
[https @ 0x557e6a833580] Opening 'https://yletv.akamaized.net/hls/live/622366/yletv2fin/yletv_sub3.m3u8' for reading
[hls @ 0x557e6a25df80] Skip ('#EXT-X-VERSION:3')
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T11:45:35.491Z')
...
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T15:45:23.491Z')
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T15:45:29.491Z')
[https @ 0x557e6b2cf0c0] Opening 'https://yletv.akamaized.net/hls/live/622366/yletv2fin/yletv_sub3/Seg_325070/yletv_sub3_97521036.vtt' for reading
[https @ 0x557e6a833580] Opening 'https://yletv.akamaized.net/hls/live/622366/yletv2fin/yletv_sub3.m3u8' for reading
[hls @ 0x557e6a25df80] Skip ('#EXT-X-VERSION:3')
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T11:45:41.491Z')
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T11:45:47.491Z')
...
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T15:45:29.491Z')
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T15:45:35.491Z')
[https @ 0x557e6b2cf0c0] Opening 'https://yletv.akamaized.net/hls/live/622366/yletv2fin/yletv_sub3/Seg_325070/yletv_sub3_97521037.vtt' for reading
[https @ 0x557e6a833580] Opening 'https://yletv.akamaized.net/hls/live/622366/yletv2fin/yletv_sub3.m3u8' for reading
[hls @ 0x557e6a25df80] Skip ('#EXT-X-VERSION:3')
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T11:45:47.491Z')
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T11:45:53.491Z')
...
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T15:45:35.491Z')
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T15:45:41.491Z')
[https @ 0x557e6b2cf0c0] Opening 'https://yletv.akamaized.net/hls/live/622366/yletv2fin/yletv_sub3/Seg_325070/yletv_sub3_97521038.vtt' for reading
[https @ 0x557e6a833580] Opening 'https://yletv.akamaized.net/hls/live/622366/yletv2fin/yletv_sub3.m3u8' for reading
[hls @ 0x557e6a25df80] Skip ('#EXT-X-VERSION:3')
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T11:45:53.491Z')
...
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T15:45:41.491Z')
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T15:45:47.491Z')
[https @ 0x557e6b2cf0c0] Opening 'https://yletv.akamaized.net/hls/live/622366/yletv2fin/yletv_sub3/Seg_325070/yletv_sub3_97521039.vtt' for reading
[https @ 0x557e6a833580] Opening 'https://yletv.akamaized.net/hls/live/622366/yletv2fin/yletv_sub3.m3u8' for reading
[hls @ 0x557e6a25df80] Skip ('#EXT-X-VERSION:3')
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T11:45:59.491Z')
...
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T15:45:47.491Z')
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T15:45:53.491Z')
[https @ 0x557e6b2cf0c0] Opening 'https://yletv.akamaized.net/hls/live/622366/yletv2fin/yletv_sub3/Seg_325070/yletv_sub3_97521040.vtt' for reading
[https @ 0x557e6a833580] Opening 'https://yletv.akamaized.net/hls/live/622366/yletv2fin/yletv_sub3.m3u8' for reading
[hls @ 0x557e6a25df80] Skip ('#EXT-X-VERSION:3')
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T11:46:05.491Z')
...
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T15:45:53.491Z')
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T15:45:59.491Z')
[https @ 0x557e6b2cf0c0] Opening 'https://yletv.akamaized.net/hls/live/622366/yletv2fin/yletv_sub3/Seg_325070/yletv_sub3_97521041.vtt' for reading
[https @ 0x557e6a833580] Opening 'https://yletv.akamaized.net/hls/live/622366/yletv2fin/yletv_sub3.m3u8' for reading
[hls @ 0x557e6a25df80] Skip ('#EXT-X-VERSION:3')
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T11:46:11.491Z')
...
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T15:45:59.491Z')
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T15:46:05.491Z')
[https @ 0x557e6b2cf0c0] Opening 'https://yletv.akamaized.net/hls/live/622366/yletv2fin/yletv_sub3/Seg_325070/yletv_sub3_97521042.vtt' for reading
[https @ 0x557e6a833580] Opening 'https://yletv.akamaized.net/hls/live/622366/yletv2fin/yletv_sub3.m3u8' for reading
[hls @ 0x557e6a25df80] Skip ('#EXT-X-VERSION:3')
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T11:46:17.491Z')
...
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T15:46:05.491Z')
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T15:46:11.491Z')
[https @ 0x557e6b2cf0c0] Opening 'https://yletv.akamaized.net/hls/live/622366/yletv2fin/yletv_sub3/Seg_325070/yletv_sub3_97521043.vtt' for reading
[https @ 0x557e6a833580] Opening 'https://yletv.akamaized.net/hls/live/622366/yletv2fin/yletv_sub3.m3u8' for reading
[hls @ 0x557e6a25df80] Skip ('#EXT-X-VERSION:3')
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T11:46:23.491Z')
...
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T15:46:11.491Z')
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T15:46:17.491Z')
[https @ 0x557e6b2cf0c0] Opening 'https://yletv.akamaized.net/hls/live/622366/yletv2fin/yletv_sub3/Seg_325070/yletv_sub3_97521044.vtt' for reading
[https @ 0x557e6a833580] Opening 'https://yletv.akamaized.net/hls/live/622366/yletv2fin/yletv_sub3.m3u8' for reading
[hls @ 0x557e6a25df80] Skip ('#EXT-X-VERSION:3')
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T11:46:29.491Z')
...
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T15:46:17.491Z')
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T15:46:23.491Z')
[https @ 0x557e6b2cf0c0] Opening 'https://yletv.akamaized.net/hls/live/622366/yletv2fin/yletv_sub3/Seg_325070/yletv_sub3_97521045.vtt' for reading
[https @ 0x557e6a833580] Opening 'https://yletv.akamaized.net/hls/live/622366/yletv2fin/yletv_sub3.m3u8' for reading
[hls @ 0x557e6a25df80] Skip ('#EXT-X-VERSION:3')
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T11:46:35.491Z')
...
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T15:46:23.491Z')
[hls @ 0x557e6a25df80] Skip ('#EXT-X-PROGRAM-DATE-TIME:2022-02-05T15:46:29.491Z')
[https @ 0x557e6b2cf0c0] Opening 'https://yletv.akamaized.net/hls/live/622366/yletv2fin/yletv_sub3/Seg_325070/yletv_sub3_97521046.vtt' for reading
Traceback (most recent call last):
  File "/usr/bin/yle-dl", line 33, in <module>
    sys.exit(load_entry_point('yle-dl==20211213', 'console_scripts', 'yle-dl')())
  File "/usr/lib/python3.10/site-packages/yledl/yledl.py", line 471, in main
    res = execute_action(url, action, io, httpclient, title_formatter,
  File "/usr/lib/python3.10/site-packages/yledl/yledl.py", line 289, in execute_action
    return download_clips(clips(), dl, io, title_formatter, stream_filters)
  File "/usr/lib/python3.10/site-packages/yledl/yledl.py", line 296, in download_clips
    clips = list(clips)
  File "/usr/lib/python3.10/site-packages/yledl/extractors.py", line 210, in <genexpr>
    return (self.extract_clip(clipurl, title_formatter, ffprobe)
  File "/usr/lib/python3.10/site-packages/yledl/extractors.py", line 437, in extract_clip
    program_info = self.program_info_for_pid(
  File "/usr/lib/python3.10/site-packages/yledl/extractors.py", line 669, in program_info_for_pid
    flavors=self.media_flavors(media_id, manifest_url,
  File "/usr/lib/python3.10/site-packages/yledl/extractors.py", line 507, in media_flavors
    self.flavors_by_media_id(
  File "/usr/lib/python3.10/site-packages/yledl/extractors.py", line 523, in flavors_by_media_id
    flavors = self.hls_probe_flavors(hls_manifest_url, media_type,
  File "/usr/lib/python3.10/site-packages/yledl/extractors.py", line 572, in hls_probe_flavors
    return FullHDFlavorProber().probe_flavors(
  File "/usr/lib/python3.10/site-packages/yledl/streamprobe.py", line 14, in probe_flavors
    programs = ffprobe.show_programs_for_url(manifest_url)
  File "/usr/lib/python3.10/site-packages/yledl/ffprobe.py", line 27, in show_programs_for_url
    return json.loads(subprocess.check_output(args).decode('utf-8'))
  File "/usr/lib/python3.10/subprocess.py", line 420, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File "/usr/lib/python3.10/subprocess.py", line 503, in run
    stdout, stderr = process.communicate(input, timeout=timeout)
  File "/usr/lib/python3.10/subprocess.py", line 1136, in communicate
    stdout = self.stdout.read()
KeyboardInterrupt
@aajanki
Copy link
Owner

aajanki commented Feb 6, 2022

The way subtitles are embedded in Areena streams has been changed, and ffmpeg is having problems with the subtitles after the change. On live streams, ffmpeg keeps downloading just the subtitles but not video or audio.

I'm looking for a proper fix, but in the meantime here's an workaround:

  1. Update yle-dl to the latest version from Github
  2. Disable the downloading of subtitles with --sublang none, e.g. yle-dl --sublang none https://areena.yle.fi/tv/suorat/yle-tv1

This will download the stream, but there will be no subtitles, obviously.

@aajanki
Copy link
Owner

aajanki commented Feb 13, 2022

I haven't been able to find a fix. My current guess is that this is something that would need be fixed in ffmpeg.

I just released a new version 20220213 that disables subtitles on live streams always (even without --sublang none). That way it's at least possible to download live streams without subtitles.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants