Repository: yt-dlp
Issue: --live-from-start didn't merge after live stream end.
Labels: site-bug

### Checklist

- [X] I'm reporting a bug unrelated to a specific site
- [X] I've verified that I'm running yt-dlp version **2021.12.27**. ([update instructions](https://github.com/yt-dlp/yt-dlp#update))
- [X] I've checked that all provided URLs are alive and playable in a browser
- [X] I've checked that all URLs and arguments with special characters are [properly quoted or escaped](https://github.com/ytdl-org/youtube-dl#video-url-contains-an-ampersand-and-im-getting-some-strange-output-1-2839-or-v-is-not-recognized-as-an-internal-or-external-command)
- [X] I've searched the [bugtracker](https://github.com/yt-dlp/yt-dlp/issues?q=) for similar issues including closed ones. DO NOT post duplicates
- [X] I've read the [guidelines for opening an issue](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#opening-an-issue)

### Description

I use `yt-dlp -o "[%(upload_date)s]%(title)s-%(id)s.%(ext)s" --live-from-start --write-thumbnail --write-description --write-info-json --ignore-no-format "https://www.youtube.com/watch?v=videoID"` to download `Dji-ehIz5_k` and `Z3tKCt3PbOg`.
It works well in the start but when the live stream end, it retry the next second and return `ERROR: Did not get any data blocks`.
In the end show `ERROR: unable to download video data: [Errno 2] No such file or directory:` then end the program, and didn't merge two file.

### Verbose log

```shell
yt-dlp -Uv -o "[%(upload_date)s]%(title)s-%(id)s.%(ext)s" --live-from-start --write-thumbnail --write-description --write-info-json --ignore-no-format "https://www.youtube.com/watch?v=Dji-ehIz5_k"
[debug] Command-line config: ['-Uv', '-o', '[%(upload_date)s]%(title)s-%(id)s.%(ext)s', '--live-from-start', '--write-thumbnail', '--write-description', '--write-info-json', '--ignore-no-format', 'https://www.youtube.com/watch?v=Dji-ehIz5_k']
[debug] Encodings: locale cp950, fs utf-8, out utf-8, err utf-8, pref cp950
[debug] yt-dlp version 2021.12.27 [6223f67a8]
[debug] Python version 3.9.6 (CPython 64bit) - Windows-10-10.0.19042-SP0
[debug] exe versions: ffmpeg 4.4.1-full_build-www.gyan.dev (setts), ffprobe 4.4.1-full_build-www.gyan.dev
[debug] Optional libraries: Cryptodome, mutagen, sqlite, websockets
[debug] Proxy map: {}
Latest version: 2021.12.27, Current version: 2021.12.27
yt-dlp is up to date (2021.12.27)
[debug] [youtube] Extracting URL: https://www.youtube.com/watch?v=Dji-ehIz5_k
[youtube] Dji-ehIz5_k: Downloading webpage
[youtube] Dji-ehIz5_k: Downloading android player API JSON
[debug] Loading youtube-nsig.8da38e9a from cache
[debug] [youtube] Decrypted nsig ycT2-H23UUD5mDyM => I9Gs9msLHbATpQ
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, codec:vp9.2, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec:vp9.2(10), acodec, lang, proto, filesize, fs_approx, tbr, vbr, abr, asr, vext, aext, hasaud, id
[debug] Default format spec: bestvideo*+bestaudio/best
[info] Dji-ehIz5_k: Downloading 1 format(s): 303+251
[info] Writing video description to: [20211227]【#天音かなた2周年LIVE】3D LIVE 「リベンジ」_ Amane Kanata 3DLIVE 'Revenge'【天音かなた_ホロライブ】-Dji-ehIz5_k.description
[info] Downloading video thumbnail 45 ...
[info] Writing video thumbnail 45 to: [20211227]【#天音かなた2周年LIVE】3D LIVE 「リベンジ」_ Amane Kanata 3DLIVE 'Revenge'【天音かなた_ホロライブ】-Dji-ehIz5_k.webp
[info] Writing video metadata as JSON to: [20211227]【#天音かなた2周年LIVE】3D LIVE 「リベンジ」_ Amane Kanata 3DLIVE 'Revenge'【天音かなた_ホロライブ】-Dji-ehIz5_k.info.json
[debug] Invoking downloader on "https://rr7---sn-ipoxu-un5ee.googlevideo.com/videoplayback?expire=1640654639&ei=zxLKYaf7ItnHs8IPivm1oAI&ip=36.226.136.135&id=o-ACj42IOgz1K1Xjkyvak1QsGJfOPALX0biCerkdzF3Yv2&itag=303&source=youtube&requiressl=yes&mh=sC&mm=31%2C29&mn=sn-ipoxu-un5ee%2Csn-un57en7s&ms=au%2Crdu&mv=m&mvi=7&pl=25&initcwndbps=745000&vprv=1&mime=video%2Fwebm&gir=yes&clen=1469797614&dur=3968.999&lmt=1640611016393476&mt=1640632638&fvip=6&keepalive=yes&fexp=24001373%2C24007246&c=ANDROID&txp=7316222&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRQIgITx9ZqaGCiYvD4vm9BNgtaQApbk3A0l01_hs4E_PGd0CIQDxh7xr7oP49WPPSE47WwLmHuZP2JDCNrbfzBEv1WCwYw%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRgIhALNnZMyA_P997j-Nj8g-FjgYZTCuDaUJPsI9jLdfli8-AiEA1NwxgnSo8Ibb8ybNw1OmJlljKdPSBesMcuzsIVaOucY%3D"
[download] Destination: [20211227]【#天音かなた2周年LIVE】3D LIVE 「リベンジ」_ Amane Kanata 3DLIVE 'Revenge'【天音かな た_ホロライブ】-Dji-ehIz5_k.f303.webm
[download]   1.7% of 1.37GiB at  6.36MiB/s ETA 03:36
ERROR: Interrupted by user

G:\youtube-dl>yt-dlp -o "[%(upload_date)s]%(title)s-%(id)s.%(ext)s" --live-from-start --write-thumbnail --write-description --write-info-json --ignore-no-format "https://www.youtube.com/watch?v=videoID"
[youtube] videoID: Downloading webpage
[youtube] videoID: Downloading android player API JSON
[youtube] videoID: Downloading MPD manifest
[youtube] videoID: Downloading MPD manifest
[info] videoID: Downloading 1 format(s): 248+140
[info] Writing video description to: [20211226]-videoID.description
[info] Downloading video thumbnail 46 ...
[info] Writing video thumbnail 46 to: [20211226]-videoID.webp
[info] Writing video metadata as JSON to: [20211226]-videoID.info.json
WARNING: Requested formats are incompatible for merge and will be merged into mkv
[dashsegments] Total fragments: unknown (live)
[download] Destination: [20211226]-videoID.f248.mkv
[dashsegments] Total fragments: unknown (live)
[download] Destination: [20211226]-videoID.f140.mkv
WARNING: Ctrl+C does not work on Windows when used with parallel threads. This is a known issue and patches are welcome
[download] 522.19MiB at  3.93KiB/s (46:11) (frag 1540)[download] Got server HTTP error: The read operation timed out. Retrying (attempt 1 of 10) ...KiB/s (46:11) (frag 1540)

[download] 63.99MiB at 437.60iB/s (46:31) (frag 1540)[download] Got server HTTP error: The read operation timed out. Ret[download] 522.19MiB at 767.89iB/s (46:32) (frag 1540)[download] Got server HTTP error: The read operation timed out. Retrying (attempt 2 of 10) ...
[download] Got server HTTP error: The read operation timed out. Retrying (attempt 2 of 10) ...
[download] Got server HTTP error: IncompleteRead(176 bytes read). Retrying fragment 1541 (attempt 1 of 10) ...
[download] Got server HTTP error: The read operation timed out. Retrying (attempt 3 of 10) ...
[download] Got server HTTP error: IncompleteRead(479 bytes read). Retrying fragment 1541 (attempt 1 of 10) ...
[download] Got server HTTP error: IncompleteRead(176 bytes read). Retrying fragment 1541 (attempt 2 of 10) ...
[download] Got server HTTP error: IncompleteRead(176 bytes read). Retrying fragment 1541 (attempt 3 of 10) ...
[download] Got server HTTP error: IncompleteRead(479 bytes read). Retrying fragment 1541 (attempt 2 of 10) ...
[download] Got server HTTP error: IncompleteRead(479 bytes read). Retrying fragment 1541 (attempt 3 of 10) ...
[download] Got server HTTP error: IncompleteRead(176 bytes read). Retrying fragment 1541 (attempt 4 of 10) ...
[download] Got server HTTP error: HTTP Error 503: Service Unavailable. Retrying (attempt 1 of 10) ...
[download] Got server HTTP error: IncompleteRead(176 bytes read). Retrying fragment 1541 (attempt 5 of 10) ...
[download] Got server HTTP error: HTTP Error 503: Service Unavailable. Retrying (attempt 2 of 10) ...
[download] Got server HTTP error: IncompleteRead(176 bytes read). Retrying fragment 1541 (attempt 6 of 10) ...
[download] Got server HTTP error: IncompleteRead(176 bytes read). Retrying fragment 1541 (attempt 7 of 10) ...
[download] Got server HTTP error: HTTP Error 503: Service Unavailable. Retrying (attempt 3 of 10) ...
[download] Got server HTTP error: IncompleteRead(176 bytes read). Retrying fragment 1541 (attempt 8 of 10) ...
[download] Got server HTTP error: HTTP Error 404: Not Found. Retrying fragment 1541 (attempt 4 of 10) ...
[download] Got server HTTP error: IncompleteRead(176 bytes read). Retrying fragment 1541 (attempt 9 of 10) ...
[download] Got server HTTP error: HTTP Error 404: Not Found. Retrying fragment 1541 (attempt 5 of 10) ...
[download] Got server HTTP error: IncompleteRead(176 bytes read). Retrying fragment 1541 (attempt 10 of 10) ...
[download] Got server HTTP error: HTTP Error 503: Service Unavailable. Retrying (attempt 1 of 10) ...
[download] fragment not found; Skipping fragment 1541 ...


ERROR: Did not get any data blocks
[download] Got server HTTP error: HTTP Error 503: Service Unavailable. Retrying (attempt 2 of 10) ...
[download] Got server HTTP error: HTTP Error 503: Service Unavailable. Retrying (attempt 3 of 10) ...
[download] Got server HTTP error: HTTP Error 503: Service Unavailable. Retrying (attempt 4 of 10) ...
[download] Got server HTTP error: HTTP Error 404: Not Found. Retrying fragment 1541 (attempt 6 of 10) ...
[download] Got server HTTP error: HTTP Error 503: Service Unavailable. Retrying (attempt 1 of 10) ...
[download] Got server HTTP error: HTTP Error 503: Service Unavailable. Retrying (attempt 2 of 10) ...
[download] Got server HTTP error: The read operation timed out. Retrying (attempt 3 of 10) ...
[download] Got server HTTP error: HTTP Error 503: Service Unavailable. Retrying (attempt 4 of 10) ...
[download] Got server HTTP error: HTTP Error 503: Service Unavailable. Retrying (attempt 5 of 10) ...
[download] Got server HTTP error: HTTP Error 503: Service Unavailable. Retrying (attempt 6 of 10) ...
[download] Got server HTTP error: HTTP Error 503: Service Unavailable. Retrying (attempt 7 of 10) ...
[download] Got server HTTP error: HTTP Error 404: Not Found. Retrying fragment 1541 (attempt 7 of 10) ...
[download] Got server HTTP error: HTTP Error 503: Service Unavailable. Retrying (attempt 1 of 10) ...
[download] Got server HTTP error: HTTP Error 503: Service Unavailable. Retrying (attempt 2 of 10) ...
[download] Got server HTTP error: HTTP Error 503: Service Unavailable. Retrying (attempt 3 of 10) ...
[download] Got server HTTP error: HTTP Error 503: Service Unavailable. Retrying (attempt 4 of 10) ...
[download] Got server HTTP error: HTTP Error 404: Not Found. Retrying fragment 1541 (attempt 8 of 10) ...
[download] Got server HTTP error: HTTP Error 503: Service Unavailable. Retrying (attempt 1 of 10) ...
[download] Got server HTTP error: HTTP Error 503: Service Unavailable. Retrying (attempt 2 of 10) ...
[download] Got server HTTP error: HTTP Error 503: Service Unavailable. Retrying (attempt 3 of 10) ...
[download] Got server HTTP error: HTTP Error 503: Service Unavailable. Retrying (attempt 4 of 10) ...
[download] Got server HTTP error: HTTP Error 503: Service Unavailable. Retrying (attempt 5 of 10) ...
[download] Got server HTTP error: HTTP Error 404: Not Found. Retrying fragment 1541 (attempt 9 of 10) ...
[download] Got server HTTP error: HTTP Error 503: Service Unavailable. Retrying (attempt 1 of 10) ...
[download] Got server HTTP error: HTTP Error 404: Not Found. Retrying fragment 1541 (attempt 10 of 10) ...
[download] Got server HTTP error: HTTP Error 503: Service Unavailable. Retrying (attempt 1 of 10) ...
[download] Got server HTTP error: HTTP Error 503: Service Unavailable. Retrying (attempt 2 of 10) ...
[download] fragment not found; Skipping fragment 1541 ...


ERROR: Did not get any data blocks
ERROR: unable to download video data: [Errno 2] No such file or directory: '[20211226]-videoID.f248.mkv.part-Frag1542'
```