Repository: yt-dlp
Issue: Broken video with `--download-sections`
Labels: bug,help-wanted,core:downloader

### DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

- [X] I understand that I will be **blocked** if I remove or skip any mandatory\* field

### Checklist

- [X] I'm reporting a bug unrelated to a specific site
- [X] I've verified that I'm running yt-dlp version **2023.01.02** ([update instructions](https://github.com/yt-dlp/yt-dlp#update)) or later (specify commit)
- [X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
- [X] I've checked that all URLs and arguments with special characters are [properly quoted or escaped](https://github.com/yt-dlp/yt-dlp/wiki/FAQ#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)

### Provide a description that is worded well enough to be understood

Originally reported [on discord](https://discord.com/channels/807245652072857610/807247901981016094/1048244277106462720) by @onionware-github

Some videos create damaged file when used with `--download-sections`

```
❯ yt-dlp https://www.youtube.com/watch?v=4RewLtrcYgo --download-sections "*00:00:51.00-00:05:39.00" -v --exec ffprobe --exec mpv
[debug] Command-line config: ['--ignore-config', 'https://www.youtube.com/watch?v=4RewLtrcYgo', '--download-sections', '*00:00:51.00-00:05:39.00', '-v', '--exec', 'ffprobe', '--exec', 'mpv']
[debug] Encodings: locale cp65001, fs utf-8, pref cp65001, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2023.01.02 [d83b0ad80] (source)
[debug] Lazy loading extractors is disabled
[debug] Git HEAD: 4e9ee0fc8
[debug] Python 3.11.0 (CPython AMD64 64bit) - Windows-10-10.0.22000-SP0 (OpenSSL 1.1.1q  5 Jul 2022)
[debug] exe versions: ffmpeg n5.1.2-8-g5746987bad-20221204 (fdk,setts), ffprobe N-109332-g45ab5307a6-20221201, phantomjs 2.1.1
[debug] Optional libraries: Cryptodome-3.15.0, brotli-1.0.9, certifi-2022.09.24, mutagen-1.46.0, sqlite3-2.6.0, websockets-10.4
[debug] Proxy map: {}
[debug] Loaded 1754 extractors
[youtube] Extracting URL: https://www.youtube.com/watch?v=4RewLtrcYgo
[youtube] 4RewLtrcYgo: Downloading webpage
[youtube] 4RewLtrcYgo: Downloading android player API JSON
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, vcodec:vp9.2, channels, acodec, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec:vp9.2(10), channels, acodec, lang, proto, filesize, fs_approx, tbr, vbr, abr, asr, vext, aext, hasaud, id
[debug] Default format spec: bestvideo*+bestaudio/best
[info] 4RewLtrcYgo: Downloading 1 format(s): 247+251
[info] 4RewLtrcYgo: Downloading 1 time ranges: 51.0-339.0
[debug] Invoking ffmpeg downloader on "https://rr3---sn-gwpa-jjwe.googlevideo.com/videoplayback?expire=1672698575&ei=bwazY-PHLKKUmgfUmLXwDQ&ip=49.37.232.95&id=o-AJTv_A0NwGCka7CTJRcrGoHB7sGzIRRkFzwBgToHEXEQ&itag=247&source=youtube&requiressl=yes&mh=6Q&mm=31%2C29&mn=sn-gwpa-jjwe%2Csn-gwpa-h55e7&ms=au%2Crdu&mv=m&mvi=3&pl=23&initcwndbps=281250&spc=zIddbELCNaKSjMrKxO7-WBs2so_IjaQ&vprv=1&svpuc=1&mime=video%2Fwebm&gir=yes&clen=20448659&dur=338.480&lmt=1669047314302396&mt=1672676560&fvip=7&keepalive=yes&fexp=24001373%2C24007246&c=ANDROID&txp=5319224&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRQIhAKbgF5BRGpRakRGpNTyhxD5ZSqchyJUp_06pxu9_MpLIAiAxXrncxMHUeqZzZ0sAx6JnUgdl7_LT3yshkcGUE8h4WQ%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRQIgNIB-0Rjwd1dZjqbBuc-gtDt_DWgGM8oFk-PcRIvU_1QCIQCN3bYEPYidb0zoxW7_rA8XvNb6UCU8HY1Q7NMzRi2p4A%3D%3D", "https://rr3---sn-gwpa-jjwe.googlevideo.com/videoplayback?expire=1672698575&ei=bwazY-PHLKKUmgfUmLXwDQ&ip=49.37.232.95&id=o-AJTv_A0NwGCka7CTJRcrGoHB7sGzIRRkFzwBgToHEXEQ&itag=251&source=youtube&requiressl=yes&mh=6Q&mm=31%2C29&mn=sn-gwpa-jjwe%2Csn-gwpa-h55e7&ms=au%2Crdu&mv=m&mvi=3&pl=23&initcwndbps=281250&spc=zIddbELCNaKSjMrKxO7-WBs2so_IjaQ&vprv=1&svpuc=1&mime=audio%2Fwebm&gir=yes&clen=5306316&dur=338.501&lmt=1669047338566406&mt=1672676560&fvip=7&keepalive=yes&fexp=24001373%2C24007246&c=ANDROID&txp=5318224&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRQIgAuTdMN_sPnFXlg5-7Ev8VK2WfO5niqLMRj6yflb4X9ECIQCcLhI96UQoi1qE33lORHtBniZd1yFM9J071WS-xLo1Bw%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRQIgNIB-0Rjwd1dZjqbBuc-gtDt_DWgGM8oFk-PcRIvU_1QCIQCN3bYEPYidb0zoxW7_rA8XvNb6UCU8HY1Q7NMzRi2p4A%3D%3D"
[download] Destination: Deutsch bahn memes die lustigsten DB fails best of deutsche bahn memes 2022 [4RewLtrcYgo].webm
[debug] ffmpeg command line: ffmpeg -y -loglevel verbose -headers "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Sec-Fetch-Mode: navigate
" -ss 51.0 -t 288.0 -i "https://rr3---sn-gwpa-jjwe.googlevideo.com/videoplayback?expire=1672698575&ei=bwazY-PHLKKUmgfUmLXwDQ&ip=49.37.232.95&id=o-AJTv_A0NwGCka7CTJRcrGoHB7sGzIRRkFzwBgToHEXEQ&itag=247&source=youtube&requiressl=yes&mh=6Q&mm=31%2C29&mn=sn-gwpa-jjwe%2Csn-gwpa-h55e7&ms=au%2Crdu&mv=m&mvi=3&pl=23&initcwndbps=281250&spc=zIddbELCNaKSjMrKxO7-WBs2so_IjaQ&vprv=1&svpuc=1&mime=video%2Fwebm&gir=yes&clen=20448659&dur=338.480&lmt=1669047314302396&mt=1672676560&fvip=7&keepalive=yes&fexp=24001373%2C24007246&c=ANDROID&txp=5319224&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRQIhAKbgF5BRGpRakRGpNTyhxD5ZSqchyJUp_06pxu9_MpLIAiAxXrncxMHUeqZzZ0sAx6JnUgdl7_LT3yshkcGUE8h4WQ%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRQIgNIB-0Rjwd1dZjqbBuc-gtDt_DWgGM8oFk-PcRIvU_1QCIQCN3bYEPYidb0zoxW7_rA8XvNb6UCU8HY1Q7NMzRi2p4A%3D%3D" -headers "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Sec-Fetch-Mode: navigate
" -ss 51.0 -t 288.0 -i "https://rr3---sn-gwpa-jjwe.googlevideo.com/videoplayback?expire=1672698575&ei=bwazY-PHLKKUmgfUmLXwDQ&ip=49.37.232.95&id=o-AJTv_A0NwGCka7CTJRcrGoHB7sGzIRRkFzwBgToHEXEQ&itag=251&source=youtube&requiressl=yes&mh=6Q&mm=31%2C29&mn=sn-gwpa-jjwe%2Csn-gwpa-h55e7&ms=au%2Crdu&mv=m&mvi=3&pl=23&initcwndbps=281250&spc=zIddbELCNaKSjMrKxO7-WBs2so_IjaQ&vprv=1&svpuc=1&mime=audio%2Fwebm&gir=yes&clen=5306316&dur=338.501&lmt=1669047338566406&mt=1672676560&fvip=7&keepalive=yes&fexp=24001373%2C24007246&c=ANDROID&txp=5318224&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRQIgAuTdMN_sPnFXlg5-7Ev8VK2WfO5niqLMRj6yflb4X9ECIQCcLhI96UQoi1qE33lORHtBniZd1yFM9J071WS-xLo1Bw%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRQIgNIB-0Rjwd1dZjqbBuc-gtDt_DWgGM8oFk-PcRIvU_1QCIQCN3bYEPYidb0zoxW7_rA8XvNb6UCU8HY1Q7NMzRi2p4A%3D%3D" -c copy -map "0:0" -map "1:0" -f webm "file:Deutsch bahn memes die lustigsten DB fails best of deutsche bahn memes 2022 [4RewLtrcYgo].webm.part"
ffmpeg version n5.1.2-8-g5746987bad-20221204 Copyright (c) 2000-2022 the FFmpeg developers
  built with gcc 12.2.0 (crosstool-NG 1.25.0.90_cf9beb1)
  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-nonfree --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 --disable-libpulse --enable-libvmaf --disable-libxcb --disable-xlib --enable-amf --enable-libaom --enable-libaribb24 --enable-avisynth --disable-chromaprint --enable-libdav1d --enable-libdavs2 --enable-libfdk-aac --enable-ffnvcodec --enable-cuda-llvm --enable-frei0r --enable-libgme --enable-libkvazaar --enable-libass --enable-libbluray --enable-libjxl --enable-libmp3lame --enable-libopus --enable-librist --enable-libssh --enable-libtheora --enable-libvpx --enable-libwebp --enable-lv2 --enable-libmfx --disable-openal --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopenmpt --enable-librav1e --enable-librubberband --enable-schannel --enable-sdl2 --enable-libsoxr --enable-libsrt --enable-libsvtav1 --enable-libtwolame --enable-libuavs3d --disable-libdrm --disable-vaapi --enable-libvidstab --enable-vulkan --enable-libshaderc --enable-libplacebo --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libzimg --enable-libzvbi --extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-ldflags=-pthread --extra-ldexeflags= --extra-libs=-lgomp --extra-version=20221204
  libavutil      57. 28.100 / 57. 28.100
  libavcodec     59. 37.100 / 59. 37.100
  libavformat    59. 27.100 / 59. 27.100
  libavdevice    59.  7.100 / 59.  7.100
  libavfilter     8. 44.100 /  8. 44.100
  libswscale      6.  7.100 /  6.  7.100
  libswresample   4.  7.100 /  4.  7.100
  libpostproc    56.  6.100 / 56.  6.100
[tcp @ 00000273c3204d40] Starting connection attempt to 49.44.225.142 port 443
[tcp @ 00000273c3204d40] Successfully connected to 49.44.225.142 port 443
[tcp @ 00000273c3204680] Starting connection attempt to 49.44.226.178 port 443
[tcp @ 00000273c3204680] Successfully connected to 49.44.226.178 port 443
[tcp @ 00000273c3203680] Starting connection attempt to 172.217.138.166 port 443
[tcp @ 00000273c3203680] Successfully connected to 172.217.138.166 port 443
[tcp @ 00000273c32097c0] Starting connection attempt to 49.44.225.142 port 443
[tcp @ 00000273c32097c0] Successfully connected to 49.44.225.142 port 443
[tcp @ 00000273c32097c0] Starting connection attempt to 49.44.226.178 port 443
[tcp @ 00000273c32097c0] Successfully connected to 49.44.226.178 port 443
[tcp @ 00000273c32097c0] Starting connection attempt to 172.217.138.166 port 443
[tcp @ 00000273c32097c0] Successfully connected to 172.217.138.166 port 443
Input #0, matroska,webm, from 'https://rr3---sn-gwpa-jjwe.googlevideo.com/videoplayback?expire=1672698575&ei=bwazY-PHLKKUmgfUmLXwDQ&ip=49.37.232.95&id=o-AJTv_A0NwGCka7CTJRcrGoHB7sGzIRRkFzwBgToHEXEQ&itag=247&source=youtube&requiressl=yes&mh=6Q&mm=31%2C29&mn=sn-gwpa-jjwe%2Csn-gwpa-h55e7&ms=au%2Crdu&mv=m&mvi=3&pl=23&initcwndbps=281250&spc=zIddbELCNaKSjMrKxO7-WBs2so_IjaQ&vprv=1&svpuc=1&mime=video%2Fwebm&gir=yes&clen=20448659&dur=338.480&lmt=1669047314302396&mt=1672676560&fvip=7&keepalive=yes&fexp=24001373%2C24007246&c=ANDROID&txp=5319224&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRQIhAKbgF5BRGpRakRGpNTyhxD5ZSqchyJUp_06pxu9_MpLIAiAxXrncxMHUeqZzZ0sAx6JnUgdl7_LT3yshkcGUE8h4WQ%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRQIgNIB-0Rjwd1dZjqbBuc-gtDt_DWgGM8oFk-PcRIvU_1QCIQCN3bYEPYidb0zoxW7_rA8XvNb6UCU8HY1Q7NMzRi2p4A%3D%3D':
  Metadata:
    encoder         : google/video-file
  Duration: 00:05:38.48, start: 0.000000, bitrate: 483 kb/s
  Stream #0:0(eng): Video: vp9 (Profile 0), 1 reference frame, yuv420p(tv, bt709), 1280x720, SAR 1:1 DAR 16:9, 25 fps, 25 tbr, 1k tbn (default)
[tcp @ 00000273c3630ac0] Starting connection attempt to 49.44.225.142 port 443
[tcp @ 00000273c3630ac0] Successfully connected to 49.44.225.142 port 443
[tcp @ 00000273c3630ac0] Starting connection attempt to 49.44.226.178 port 443
[tcp @ 00000273c3630ac0] Successfully connected to 49.44.226.178 port 443
[tcp @ 00000273c3748780] Starting connection attempt to 172.217.138.166 port 443
[tcp @ 00000273c3748780] Successfully connected to 172.217.138.166 port 443
[tcp @ 00000273c3209b80] Starting connection attempt to 172.217.138.166 port 443
[tcp @ 00000273c3209b80] Successfully connected to 172.217.138.166 port 443
Input #1, matroska,webm, from 'https://rr3---sn-gwpa-jjwe.googlevideo.com/videoplayback?expire=1672698575&ei=bwazY-PHLKKUmgfUmLXwDQ&ip=49.37.232.95&id=o-AJTv_A0NwGCka7CTJRcrGoHB7sGzIRRkFzwBgToHEXEQ&itag=251&source=youtube&requiressl=yes&mh=6Q&mm=31%2C29&mn=sn-gwpa-jjwe%2Csn-gwpa-h55e7&ms=au%2Crdu&mv=m&mvi=3&pl=23&initcwndbps=281250&spc=zIddbELCNaKSjMrKxO7-WBs2so_IjaQ&vprv=1&svpuc=1&mime=audio%2Fwebm&gir=yes&clen=5306316&dur=338.501&lmt=1669047338566406&mt=1672676560&fvip=7&keepalive=yes&fexp=24001373%2C24007246&c=ANDROID&txp=5318224&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRQIgAuTdMN_sPnFXlg5-7Ev8VK2WfO5niqLMRj6yflb4X9ECIQCcLhI96UQoi1qE33lORHtBniZd1yFM9J071WS-xLo1Bw%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRQIgNIB-0Rjwd1dZjqbBuc-gtDt_DWgGM8oFk-PcRIvU_1QCIQCN3bYEPYidb0zoxW7_rA8XvNb6UCU8HY1Q7NMzRi2p4A%3D%3D':
  Metadata:
    encoder         : google/video-file
  Duration: 00:05:38.50, start: -0.007000, bitrate: 125 kb/s
  Stream #1:0(eng): Audio: opus, 48000 Hz, stereo, fltp, delay 312 (default)
Output #0, webm, to 'file:Deutsch bahn memes die lustigsten DB fails best of deutsche bahn memes 2022 [4RewLtrcYgo].webm.part':
  Metadata:
    encoder         : Lavf59.27.100
  Stream #0:0(eng): Video: vp9 (Profile 0), 1 reference frame, yuv420p(tv, bt709), 1280x720 (0x0) [SAR 1:1 DAR 16:9], q=2-31, 25 fps, 25 tbr, 1k tbn (default)
  Stream #0:1(eng): Audio: opus, 48000 Hz, stereo, fltp, delay 312 (default)
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #1:0 -> #0:1 (copy)
Press [q] to stop, [?] for help
Automatically inserted bitstream filter 'vp9_superframe'; args=''
[tls @ 00000273c3209a80] Unable to read from socket03:28.32 bitrate= 583.9kbits/s speed=2.04x
    Last message repeated 2 times
https://rr3---sn-gwpa-jjwe.googlevideo.com/videoplayback?expire=1672698575&ei=bwazY-PHLKKUmgfUmLXwDQ&ip=49.37.232.95&id=o-AJTv_A0NwGCka7CTJRcrGoHB7sGzIRRkFzwBgToHEXEQ&itag=251&source=youtube&requiressl=yes&mh=6Q&mm=31%2C29&mn=sn-gwpa-jjwe%2Csn-gwpa-h55e7&ms=au%2Crdu&mv=m&mvi=3&pl=23&initcwndbps=281250&spc=zIddbELCNaKSjMrKxO7-WBs2so_IjaQ&vprv=1&svpuc=1&mime=audio%2Fwebm&gir=yes&clen=5306316&dur=338.501&lmt=1669047338566406&mt=1672676560&fvip=7&keepalive=yes&fexp=24001373%2C24007246&c=ANDROID&txp=5318224&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRQIgAuTdMN_sPnFXlg5-7Ev8VK2WfO5niqLMRj6yflb4X9ECIQCcLhI96UQoi1qE33lORHtBniZd1yFM9J071WS-xLo1Bw%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRQIgNIB-0Rjwd1dZjqbBuc-gtDt_DWgGM8oFk-PcRIvU_1QCIQCN3bYEPYidb0zoxW7_rA8XvNb6UCU8HY1Q7NMzRi2p4A%3D%3D: Unknown error
No more output streams to write to, finishing.e=00:04:46.44 bitrate= 534.5kbits/s speed=2.09x
frame= 7310 fps= 53 q=-1.0 Lsize=   19475kB time=00:04:47.44 bitrate= 555.0kbits/s speed=2.09x
video:16184kB audio:3167kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.640421%
Input file #0 (https://rr3---sn-gwpa-jjwe.googlevideo.com/videoplayback?expire=1672698575&ei=bwazY-PHLKKUmgfUmLXwDQ&ip=49.37.232.95&id=o-AJTv_A0NwGCka7CTJRcrGoHB7sGzIRRkFzwBgToHEXEQ&itag=247&source=youtube&requiressl=yes&mh=6Q&mm=31%2C29&mn=sn-gwpa-jjwe%2Csn-gwpa-h55e7&ms=au%2Crdu&mv=m&mvi=3&pl=23&initcwndbps=281250&spc=zIddbELCNaKSjMrKxO7-WBs2so_IjaQ&vprv=1&svpuc=1&mime=video%2Fwebm&gir=yes&clen=20448659&dur=338.480&lmt=1669047314302396&mt=1672676560&fvip=7&keepalive=yes&fexp=24001373%2C24007246&c=ANDROID&txp=5319224&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRQIhAKbgF5BRGpRakRGpNTyhxD5ZSqchyJUp_06pxu9_MpLIAiAxXrncxMHUeqZzZ0sAx6JnUgdl7_LT3yshkcGUE8h4WQ%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRQIgNIB-0Rjwd1dZjqbBuc-gtDt_DWgGM8oFk-PcRIvU_1QCIQCN3bYEPYidb0zoxW7_rA8XvNb6UCU8HY1Q7NMzRi2p4A%3D%3D):
  Input stream #0:0 (video): 7310 packets read (16572430 bytes);
  Total: 7310 packets (16572430 bytes) demuxed
Input file #1 (https://rr3---sn-gwpa-jjwe.googlevideo.com/videoplayback?expire=1672698575&ei=bwazY-PHLKKUmgfUmLXwDQ&ip=49.37.232.95&id=o-AJTv_A0NwGCka7CTJRcrGoHB7sGzIRRkFzwBgToHEXEQ&itag=251&source=youtube&requiressl=yes&mh=6Q&mm=31%2C29&mn=sn-gwpa-jjwe%2Csn-gwpa-h55e7&ms=au%2Crdu&mv=m&mvi=3&pl=23&initcwndbps=281250&spc=zIddbELCNaKSjMrKxO7-WBs2so_IjaQ&vprv=1&svpuc=1&mime=audio%2Fwebm&gir=yes&clen=5306316&dur=338.501&lmt=1669047338566406&mt=1672676560&fvip=7&keepalive=yes&fexp=24001373%2C24007246&c=ANDROID&txp=5318224&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRQIgAuTdMN_sPnFXlg5-7Ev8VK2WfO5niqLMRj6yflb4X9ECIQCcLhI96UQoi1qE33lORHtBniZd1yFM9J071WS-xLo1Bw%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRQIgNIB-0Rjwd1dZjqbBuc-gtDt_DWgGM8oFk-PcRIvU_1QCIQCN3bYEPYidb0zoxW7_rA8XvNb6UCU8HY1Q7NMzRi2p4A%3D%3D):
  Input stream #1:0 (audio): 10475 packets read (3242665 bytes);
  Total: 10475 packets (3242665 bytes) demuxed
Output file #0 (file:Deutsch bahn memes die lustigsten DB fails best of deutsche bahn memes 2022 [4RewLtrcYgo].webm.part):
  Output stream #0:0 (video): 7310 packets muxed (16572430 bytes);
  Output stream #0:1 (audio): 10475 packets muxed (3242665 bytes);
  Total: 17785 packets (19815095 bytes) muxed
[AVIOContext @ 00000273c3232cc0] Statistics: 19942552 bytes written, 2 seeks, 78 writeouts
[AVIOContext @ 00000273c3204700] Statistics: 16640180 bytes read, 1 seeks
[AVIOContext @ 00000273c36308c0] Statistics: 3333043 bytes read, 1 seeks
[tls @ 00000273c3209a80] Failed to send close message
[download] 100% of   19.02MiB in 00:02:20 at 138.60KiB/s
[Exec] Executing command: ffprobe "D:\Programs\Source\yt-dlp\yt-dlp\Deutsch bahn memes die lustigsten DB fails best of deutsche bahn memes 2022 [4RewLtrcYgo].webm"
ffprobe version N-109332-g45ab5307a6-20221201 Copyright (c) 2007-2022 the FFmpeg developers
  built with gcc 12.2.0 (crosstool-NG 1.25.0.90_cf9beb1)
  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 --disable-libpulse --enable-libvmaf --disable-libxcb --disable-xlib --enable-amf --enable-libaom --enable-libaribb24 --enable-avisynth --enable-chromaprint --enable-libdav1d --enable-libdavs2 --disable-libfdk-aac --enable-ffnvcodec --enable-cuda-llvm --enable-frei0r --enable-libgme --enable-libkvazaar --enable-libass --enable-libbluray --enable-libjxl --enable-libmp3lame --enable-libopus --enable-librist --enable-libssh --enable-libtheora --enable-libvpx --enable-libwebp --enable-lv2 --disable-libmfx --enable-libvpl --enable-openal --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopenmpt --enable-librav1e --enable-librubberband --enable-schannel --enable-sdl2 --enable-libsoxr --enable-libsrt --enable-libsvtav1 --enable-libtwolame --enable-libuavs3d --disable-libdrm --disable-vaapi --enable-libvidstab --enable-vulkan --enable-libshaderc --enable-libplacebo --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libzimg --enable-libzvbi --extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-ldflags=-pthread --extra-ldexeflags= --extra-libs=-lgomp --extra-version=20221201
  libavutil      57. 43.100 / 57. 43.100
  libavcodec     59. 54.100 / 59. 54.100
  libavformat    59. 34.102 / 59. 34.102
  libavdevice    59.  8.101 / 59.  8.101
  libavfilter     8. 51.100 /  8. 51.100
  libswscale      6.  8.112 /  6.  8.112
  libswresample   4.  9.100 /  4.  9.100
  libpostproc    56.  7.100 / 56.  7.100
Input #0, matroska,webm, from 'D:\Programs\Source\yt-dlp\yt-dlp\Deutsch bahn memes die lustigsten DB fails best of deutsche bahn memes 2022 [4RewLtrcYgo].webm':
  Metadata:
    ENCODER         : Lavf59.27.100
  Duration: 00:04:52.40, start: 0.000000, bitrate: 545 kb/s
  Stream #0:0(eng): Video: vp9 (Profile 0), yuv420p(tv, bt709), 1280x720, SAR 1:1 DAR 16:9, 25 fps, 25 tbr, 1k tbn (default)
    Metadata:
      DURATION        : 00:04:52.400000000
  Stream #0:1(eng): Audio: opus, 48000 Hz, stereo, fltp (default)
    Metadata:
      DURATION        : 00:03:33.441000000
[Exec] Executing command: mpv "D:\Programs\Source\yt-dlp\yt-dlp\Deutsch bahn memes die lustigsten DB fails best of deutsche bahn memes 2022 [4RewLtrcYgo].webm"
 (+) Video --vid=1 (*) (vp9 1280x720 25.000fps)
 (+) Audio --aid=1 --alang=eng (*) (opus 2ch 48000Hz)
AO: [wasapi] 48000Hz stereo 2ch float
VO: [gpu] 1280x720 yuv420p
AV: 00:00:10 / 00:04:52 (4%) A-V: -0.000
[ao/wasapi] Under-run: Device delay: -0.4 us
AV: 00:00:03 / 00:04:52 (1%) A-V:  0.000

Audio/Video desynchronisation detected! Possible reasons include too slow
hardware, temporary CPU spikes, broken drivers, and broken files. Audio
position will not match to the video (see A-V status field).

AV: 00:04:38 / 00:04:52 (95%) A-V:  0.000

Exiting... (Quit)
```

On first inspection, it looks like a network issue


```
[tls @ 00000273c3209a80] Unable to read from socket03:28.32 bitrate= 583.9kbits/s speed=2.04x
    Last message repeated 2 times
https://rr3---sn-gwpa-jjwe.googlevideo.com/videoplayback?expire=1672698575&ei=bwazY-PHLKKUmgfUmLXwDQ&ip=49.37.232.95&id=o-AJTv_A0NwGCka7CTJRcrGoHB7sGzIRRkFzwBgToHEXEQ&itag=251&source=youtube&requiressl=yes&mh=6Q&mm=31%2C29&mn=sn-gwpa-jjwe%2Csn-gwpa-h55e7&ms=au%2Crdu&mv=m&mvi=3&pl=23&initcwndbps=281250&spc=zIddbELCNaKSjMrKxO7-WBs2so_IjaQ&vprv=1&svpuc=1&mime=audio%2Fwebm&gir=yes&clen=5306316&dur=338.501&lmt=1669047338566406&mt=1672676560&fvip=7&keepalive=yes&fexp=24001373%2C24007246&c=ANDROID&txp=5318224&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRQIgAuTdMN_sPnFXlg5-7Ev8VK2WfO5niqLMRj6yflb4X9ECIQCcLhI96UQoi1qE33lORHtBniZd1yFM9J071WS-xLo1Bw%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRQIgNIB-0Rjwd1dZjqbBuc-gtDt_DWgGM8oFk-PcRIvU_1QCIQCN3bYEPYidb0zoxW7_rA8XvNb6UCU8HY1Q7NMzRi2p4A%3D%3D: Unknown error
...
[tls @ 00000273c3209a80] Failed to send close message
```


but it can be reproduced reliably across multiple systems. The problem disappears when using `--compat-option no-direct-merge` indicating the problem is somehow related to the parallel download of streams with ffmpeg. 

```
❯ yt-dlp https://www.youtube.com/watch?v=4RewLtrcYgo --download-sections "*00:00:51.00-00:05:39.00" -v --exec ffprobe --exec mpv --compat-option no-direct-merge
[debug] Command-line config: ['--ignore-config', 'https://www.youtube.com/watch?v=4RewLtrcYgo', '--download-sections', '*00:00:51.00-00:05:39.00', '-v', '--exec', 'ffprobe', '--exec', 'mpv', '--compat-option', 'no-direct-merge']
[debug] Encodings: locale cp65001, fs utf-8, pref cp65001, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2023.01.02 [d83b0ad80] (source)
[debug] Lazy loading extractors is disabled
[debug] Compatibility options: no-direct-merge
[debug] Git HEAD: 4e9ee0fc8
[debug] Python 3.11.0 (CPython AMD64 64bit) - Windows-10-10.0.22000-SP0 (OpenSSL 1.1.1q  5 Jul 2022)
[debug] exe versions: ffmpeg n5.1.2-8-g5746987bad-20221204 (fdk,setts), ffprobe N-109332-g45ab5307a6-20221201, phantomjs 2.1.1
[debug] Optional libraries: Cryptodome-3.15.0, brotli-1.0.9, certifi-2022.09.24, mutagen-1.46.0, sqlite3-2.6.0, websockets-10.4
[debug] Proxy map: {}
[debug] Loaded 1754 extractors
[youtube] Extracting URL: https://www.youtube.com/watch?v=4RewLtrcYgo
[youtube] 4RewLtrcYgo: Downloading webpage
[youtube] 4RewLtrcYgo: Downloading android player API JSON
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, vcodec:vp9.2, channels, acodec, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec:vp9.2(10), channels, acodec, lang, proto, filesize, fs_approx, tbr, vbr, abr, asr, vext, aext, hasaud, id
[debug] Default format spec: bestvideo*+bestaudio/best
[info] 4RewLtrcYgo: Downloading 1 format(s): 247+251
[info] 4RewLtrcYgo: Downloading 1 time ranges: 51.0-339.0
[debug] Invoking ffmpeg downloader on "https://rr3---sn-gwpa-jjwe.googlevideo.com/videoplayback?expire=1672699477&ei=9QmzY8mXEu-Lz7sP6NO54A4&ip=49.37.232.95&id=o-AGBxNQJcufJYp93XjuQt5ZZC3ECXCEZj3HdCMANA19Gd&itag=247&source=youtube&requiressl=yes&mh=6Q&mm=31%2C29&mn=sn-gwpa-jjwe%2Csn-gwpa-h55e7&ms=au%2Crdu&mv=m&mvi=3&pl=23&initcwndbps=281250&spc=zIddbCD9w8t-ngTY9PPA4a8o8Y-v5yU&vprv=1&svpuc=1&mime=video%2Fwebm&gir=yes&clen=20448659&dur=338.480&lmt=1669047314302396&mt=1672677509&fvip=7&keepalive=yes&fexp=24001373%2C24007246&c=ANDROID&txp=5319224&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRQIgYXjPJtjWvs2rX2qLKX45OW-lG5LPPVCmovGuAD4v3RYCIQDnwPzmqhmll1wBeasW3THd4BcAvdpZW3p-3bViZU4JTw%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRQIhAK6p2-OqyabwnMMofwPlHe-LzUN1vw67YvE2NIe9cno1AiAIDZvXNVbYYtcu7Xyxw1sSWKTuDjeYwhUcHxwp6RVONw%3D%3D"
[download] Deutsch bahn memes die lustigsten DB fails best of deutsche bahn memes 2022 [4RewLtrcYgo].f247.webm has already been downloaded
[download] 100% of   15.86MiB
[debug] Invoking ffmpeg downloader on "https://rr3---sn-gwpa-jjwe.googlevideo.com/videoplayback?expire=1672699477&ei=9QmzY8mXEu-Lz7sP6NO54A4&ip=49.37.232.95&id=o-AGBxNQJcufJYp93XjuQt5ZZC3ECXCEZj3HdCMANA19Gd&itag=251&source=youtube&requiressl=yes&mh=6Q&mm=31%2C29&mn=sn-gwpa-jjwe%2Csn-gwpa-h55e7&ms=au%2Crdu&mv=m&mvi=3&pl=23&initcwndbps=281250&spc=zIddbCD9w8t-ngTY9PPA4a8o8Y-v5yU&vprv=1&svpuc=1&mime=audio%2Fwebm&gir=yes&clen=5306316&dur=338.501&lmt=1669047338566406&mt=1672677509&fvip=7&keepalive=yes&fexp=24001373%2C24007246&c=ANDROID&txp=5318224&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRAIgbXxgilJHJZl79cJcfXQistX6PAA9iolRAPWdTU0KJrQCIHhJNOy_gTgY49jtzcVT0QAjSqKgbjsy4kzDCaazLLrU&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRQIhAK6p2-OqyabwnMMofwPlHe-LzUN1vw67YvE2NIe9cno1AiAIDZvXNVbYYtcu7Xyxw1sSWKTuDjeYwhUcHxwp6RVONw%3D%3D"
[download] Destination: Deutsch bahn memes die lustigsten DB fails best of deutsche bahn memes 2022 [4RewLtrcYgo].f251.weba
[debug] ffmpeg command line: ffmpeg -y -loglevel verbose -headers "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.61 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Sec-Fetch-Mode: navigate
" -ss 51.0 -t 288.0 -i "https://rr3---sn-gwpa-jjwe.googlevideo.com/videoplayback?expire=1672699477&ei=9QmzY8mXEu-Lz7sP6NO54A4&ip=49.37.232.95&id=o-AGBxNQJcufJYp93XjuQt5ZZC3ECXCEZj3HdCMANA19Gd&itag=251&source=youtube&requiressl=yes&mh=6Q&mm=31%2C29&mn=sn-gwpa-jjwe%2Csn-gwpa-h55e7&ms=au%2Crdu&mv=m&mvi=3&pl=23&initcwndbps=281250&spc=zIddbCD9w8t-ngTY9PPA4a8o8Y-v5yU&vprv=1&svpuc=1&mime=audio%2Fwebm&gir=yes&clen=5306316&dur=338.501&lmt=1669047338566406&mt=1672677509&fvip=7&keepalive=yes&fexp=24001373%2C24007246&c=ANDROID&txp=5318224&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRAIgbXxgilJHJZl79cJcfXQistX6PAA9iolRAPWdTU0KJrQCIHhJNOy_gTgY49jtzcVT0QAjSqKgbjsy4kzDCaazLLrU&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRQIhAK6p2-OqyabwnMMofwPlHe-LzUN1vw67YvE2NIe9cno1AiAIDZvXNVbYYtcu7Xyxw1sSWKTuDjeYwhUcHxwp6RVONw%3D%3D" -c copy -f webm "file:Deutsch bahn memes die lustigsten DB fails best of deutsche bahn memes 2022 [4RewLtrcYgo].f251.weba.part"
ffmpeg version n5.1.2-8-g5746987bad-20221204 Copyright (c) 2000-2022 the FFmpeg developers
  built with gcc 12.2.0 (crosstool-NG 1.25.0.90_cf9beb1)
  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-nonfree --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 --disable-libpulse --enable-libvmaf --disable-libxcb --disable-xlib --enable-amf --enable-libaom --enable-libaribb24 --enable-avisynth --disable-chromaprint --enable-libdav1d --enable-libdavs2 --enable-libfdk-aac --enable-ffnvcodec --enable-cuda-llvm --enable-frei0r --enable-libgme --enable-libkvazaar --enable-libass --enable-libbluray --enable-libjxl --enable-libmp3lame --enable-libopus --enable-librist --enable-libssh --enable-libtheora --enable-libvpx --enable-libwebp --enable-lv2 --enable-libmfx --disable-openal --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopenmpt --enable-librav1e --enable-librubberband --enable-schannel --enable-sdl2 --enable-libsoxr --enable-libsrt --enable-libsvtav1 --enable-libtwolame --enable-libuavs3d --disable-libdrm --disable-vaapi --enable-libvidstab --enable-vulkan --enable-libshaderc --enable-libplacebo --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libzimg --enable-libzvbi --extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-ldflags=-pthread --extra-ldexeflags= --extra-libs=-lgomp --extra-version=20221204
  libavutil      57. 28.100 / 57. 28.100
  libavcodec     59. 37.100 / 59. 37.100
  libavformat    59. 27.100 / 59. 27.100
  libavdevice    59.  7.100 / 59.  7.100
  libavfilter     8. 44.100 /  8. 44.100
  libswscale      6.  7.100 /  6.  7.100
  libswresample   4.  7.100 /  4.  7.100
  libpostproc    56.  6.100 / 56.  6.100
[tcp @ 000002d4b679d800] Starting connection attempt to 49.44.225.142 port 443
[tcp @ 000002d4b679d800] Successfully connected to 49.44.225.142 port 443
[tcp @ 000002d4b8195ac0] Starting connection attempt to 49.44.225.142 port 443
[tcp @ 000002d4b8195ac0] Successfully connected to 49.44.225.142 port 443
Input #0, matroska,webm, from 'https://rr3---sn-gwpa-jjwe.googlevideo.com/videoplayback?expire=1672699477&ei=9QmzY8mXEu-Lz7sP6NO54A4&ip=49.37.232.95&id=o-AGBxNQJcufJYp93XjuQt5ZZC3ECXCEZj3HdCMANA19Gd&itag=251&source=youtube&requiressl=yes&mh=6Q&mm=31%2C29&mn=sn-gwpa-jjwe%2Csn-gwpa-h55e7&ms=au%2Crdu&mv=m&mvi=3&pl=23&initcwndbps=281250&spc=zIddbCD9w8t-ngTY9PPA4a8o8Y-v5yU&vprv=1&svpuc=1&mime=audio%2Fwebm&gir=yes&clen=5306316&dur=338.501&lmt=1669047338566406&mt=1672677509&fvip=7&keepalive=yes&fexp=24001373%2C24007246&c=ANDROID&txp=5318224&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRAIgbXxgilJHJZl79cJcfXQistX6PAA9iolRAPWdTU0KJrQCIHhJNOy_gTgY49jtzcVT0QAjSqKgbjsy4kzDCaazLLrU&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRQIhAK6p2-OqyabwnMMofwPlHe-LzUN1vw67YvE2NIe9cno1AiAIDZvXNVbYYtcu7Xyxw1sSWKTuDjeYwhUcHxwp6RVONw%3D%3D':
  Metadata:
    encoder         : google/video-file
  Duration: 00:05:38.50, start: -0.007000, bitrate: 125 kb/s
  Stream #0:0(eng): Audio: opus, 48000 Hz, stereo, fltp, delay 312 (default)
Output #0, webm, to 'file:Deutsch bahn memes die lustigsten DB fails best of deutsche bahn memes 2022 [4RewLtrcYgo].f251.weba.part':
  Metadata:
    encoder         : Lavf59.27.100
  Stream #0:0(eng): Audio: opus, 48000 Hz, stereo, fltp, delay 312 (default)
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
No more output streams to write to, finishing.5kbits/s speed= 233x
size=    4518kB time=00:04:47.48 bitrate= 128.8kbits/s speed= 235x
video:0kB audio:4418kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 2.282857%
Input file #0 (https://rr3---sn-gwpa-jjwe.googlevideo.com/videoplayback?expire=1672699477&ei=9QmzY8mXEu-Lz7sP6NO54A4&ip=49.37.232.95&id=o-AGBxNQJcufJYp93XjuQt5ZZC3ECXCEZj3HdCMANA19Gd&itag=251&source=youtube&requiressl=yes&mh=6Q&mm=31%2C29&mn=sn-gwpa-jjwe%2Csn-gwpa-h55e7&ms=au%2Crdu&mv=m&mvi=3&pl=23&initcwndbps=281250&spc=zIddbCD9w8t-ngTY9PPA4a8o8Y-v5yU&vprv=1&svpuc=1&mime=audio%2Fwebm&gir=yes&clen=5306316&dur=338.501&lmt=1669047338566406&mt=1672677509&fvip=7&keepalive=yes&fexp=24001373%2C24007246&c=ANDROID&txp=5318224&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRAIgbXxgilJHJZl79cJcfXQistX6PAA9iolRAPWdTU0KJrQCIHhJNOy_gTgY49jtzcVT0QAjSqKgbjsy4kzDCaazLLrU&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRQIhAK6p2-OqyabwnMMofwPlHe-LzUN1vw67YvE2NIe9cno1AiAIDZvXNVbYYtcu7Xyxw1sSWKTuDjeYwhUcHxwp6RVONw%3D%3D):
  Input stream #0:0 (audio): 14424 packets read (4523674 bytes);
  Total: 14424 packets (4523674 bytes) demuxed
Output file #0 (file:Deutsch bahn memes die lustigsten DB fails best of deutsche bahn memes 2022 [4RewLtrcYgo].f251.weba.part):
  Output stream #0:0 (audio): 14424 packets muxed (4523674 bytes);
  Total: 14424 packets (4523674 bytes) muxed
[AVIOContext @ 000002d4b8244000] Statistics: 4627364 bytes written, 2 seeks, 19 writeouts
[AVIOContext @ 000002d4b8197000] Statistics: 4641679 bytes read, 1 seeks
[download] 100% of    4.41MiB in 00:00:01 at 3.04MiB/s
[Merger] Merging formats into "Deutsch bahn memes die lustigsten DB fails best of deutsche bahn memes 2022 [4RewLtrcYgo].webm"
[debug] ffmpeg command line: ffmpeg -y -loglevel "repeat+info" -i "file:Deutsch bahn memes die lustigsten DB fails best of deutsche bahn memes 2022 [4RewLtrcYgo].f247.webm" -i "file:Deutsch bahn memes die lustigsten DB fails best of deutsche bahn memes 2022 [4RewLtrcYgo].f251.weba" -c copy -map "0:v:0" -map "1:a:0" -movflags "+faststart" "file:Deutsch bahn memes die lustigsten DB fails best of deutsche bahn memes 2022 [4RewLtrcYgo].temp.webm"
Deleting original file Deutsch bahn memes die lustigsten DB fails best of deutsche bahn memes 2022 [4RewLtrcYgo].f247.webm (pass -k to keep)
Deleting original file Deutsch bahn memes die lustigsten DB fails best of deutsche bahn memes 2022 [4RewLtrcYgo].f251.weba (pass -k to keep)
[Exec] Executing command: ffprobe "D:\Programs\Source\yt-dlp\yt-dlp\Deutsch bahn memes die lustigsten DB fails best of deutsche bahn memes 2022 [4RewLtrcYgo].webm"
ffprobe version N-109332-g45ab5307a6-20221201 Copyright (c) 2007-2022 the FFmpeg developers
  built with gcc 12.2.0 (crosstool-NG 1.25.0.90_cf9beb1)
  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 --disable-libpulse --enable-libvmaf --disable-libxcb --disable-xlib --enable-amf --enable-libaom --enable-libaribb24 --enable-avisynth --enable-chromaprint --enable-libdav1d --enable-libdavs2 --disable-libfdk-aac --enable-ffnvcodec --enable-cuda-llvm --enable-frei0r --enable-libgme --enable-libkvazaar --enable-libass --enable-libbluray --enable-libjxl --enable-libmp3lame --enable-libopus --enable-librist --enable-libssh --enable-libtheora --enable-libvpx --enable-libwebp --enable-lv2 --disable-libmfx --enable-libvpl --enable-openal --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopenmpt --enable-librav1e --enable-librubberband --enable-schannel --enable-sdl2 --enable-libsoxr --enable-libsrt --enable-libsvtav1 --enable-libtwolame --enable-libuavs3d --disable-libdrm --disable-vaapi --enable-libvidstab --enable-vulkan --enable-libshaderc --enable-libplacebo --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libzimg --enable-libzvbi --extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-ldflags=-pthread --extra-ldexeflags= --extra-libs=-lgomp --extra-version=20221201
  libavutil      57. 43.100 / 57. 43.100
  libavcodec     59. 54.100 / 59. 54.100
  libavformat    59. 34.102 / 59. 34.102
  libavdevice    59.  8.101 / 59.  8.101
  libavfilter     8. 51.100 /  8. 51.100
  libswscale      6.  8.112 /  6.  8.112
  libswresample   4.  9.100 /  4.  9.100
  libpostproc    56.  7.100 / 56.  7.100
Input #0, matroska,webm, from 'D:\Programs\Source\yt-dlp\yt-dlp\Deutsch bahn memes die lustigsten DB fails best of deutsche bahn memes 2022 [4RewLtrcYgo].webm':
  Metadata:
    ENCODER         : Lavf59.27.100
  Duration: 00:04:52.40, start: -0.007000, bitrate: 581 kb/s
  Stream #0:0(eng): Video: vp9 (Profile 0), yuv420p(tv, bt709), 1280x720, SAR 1:1 DAR 16:9, 25 fps, 25 tbr, 1k tbn (default)
    Metadata:
      DURATION        : 00:04:52.400000000
  Stream #0:1(eng): Audio: opus, 48000 Hz, stereo, fltp (default)
    Metadata:
      DURATION        : 00:04:48.480000000
[Exec] Executing command: mpv "D:\Programs\Source\yt-dlp\yt-dlp\Deutsch bahn memes die lustigsten DB fails best of deutsche bahn memes 2022 [4RewLtrcYgo].webm"
 (+) Video --vid=1 (*) (vp9 1280x720 25.000fps)
 (+) Audio --aid=1 --alang=eng (*) (opus 2ch 48000Hz)
AO: [wasapi] 48000Hz stereo 2ch float
VO: [gpu] 1280x720 yuv420p
AV: 00:04:43 / 00:04:52 (97%) A-V:  0.000

Exiting... (Quit)
```

PS: The sequential downloads may cause the downloaded audio/video to be out of sync. This is expected and can be mitigated only with a re-encode (`--force-keyframes`)

### Provide verbose output that clearly demonstrates the problem

- [X] Run **your** yt-dlp command with **-vU** flag added (`yt-dlp -vU <your command line>`)
- [X] Copy the WHOLE output (starting with `[debug] Command-line config`) and insert it below

### Complete Verbose Output

```shell
See above
```