Description
Recently, there have been some reports that subtitles don't work as expected anymore, e.g. #383
Also another Yle Areena download application, FlickFetch (which I assume is not yle-dl based?), has some reports about issues with subtitles. See discussion (in Finnish): https://bbs.io-tech.fi/threads/flickfetch.31051/page-93
Perhaps this means that there have been some changes in Yle Areena backend, that are causing these subtitle issues both for yle-dl and FlickFetch?
Today I noticed a reproducible subtitle issue with this video: https://areena.yle.fi/1-379800 (expires on 2025-08-28)
For some reason, subtitles are missing after the 01:41:53,594
mark.
Steps to reproduce:
$ yle-dl https://areena.yle.fi/1-379800
yle-dl 20250614: Download media files from Yle Areena and Elävä Arkisto
Copyright (C) 2009-2025 Antti Ajanki <antti.ajanki@iki.fi>, license: GPLv3
[hls @ 0x5566faa3e700] Can't support the subtitle(uri: ../hdntl=exp=1751052198~acl=%2fvod%2ffinland%2fe3656f20b7a647a0b7501f156a5864a7%2fa8f702fdc8e7449cae194919044a34ee%2f*~data=hdntl~hmac=6447adb1fed693ad90d816b9a0611f330b183033616b9249af39a94499e45fdb/d5fb3a697dbb4efda98a6aea7cb21fe7/ece832124b614072b8618d095b17dc40/e4d42219055a402b97bdefc951535a89/index_8_0.m3u8)
Output file: Ensimmäinen matka: 2025-05-31T06:00.mkv
[webvtt @ 0x5637bd4f40c0] Dropping 485 duplicated subtitle events
frame=195976 fps=1332 q=-1.0 Lsize= 3550542KiB time=01:41:53.59 bitrate=4757.6kbits/s speed=41.5x
Stream saved to Ensimmäinen matka: 2025-05-31T06:00.mkv
❗Note the time=01:41:53.59
in the output above as that is the same timestamp after which subtitles are cut off. The film is downloaded completely though.
Let's examine the last entries of the subtitles file:
$ mkvextract tracks 'Ensimmäinen matka: 2025-05-31T06:00.mkv' 2:subtitle.srt
Extracting track 2 with the CodecID 'S_TEXT/UTF8' to the file 'subtitle.srt'. Container format: SRT text subtitles
Progress: 100%
$ tail subtitle.srt
973
01:41:47,754 -->
5518
; 01:41:50,074
Huomisaamuunko?
974
01:41:50,874 --> 01:41:53,594
Hyvä, jos enää
näkee aamunkoittoa.
❗Again note that the timestamp 01:41:53.594
is the same as above when downloading the file.
The film's total running time is 02:10:39
. If you watch the film via Yle Areena with web browser, there are subtitles for the last half an hour also. But for some reason they are missing in the yle-dl downloaded mkv file.
I tried to download three times, and always got the same issue.
Tried on Linux 6.12.34
and 6.15.3
.
$ yle-dl --version
yle-dl 20250614
$ ffmpeg --version
ffmpeg version n7.1.1 Copyright (c) 2000-2025 the FFmpeg developers