yt-dlp で nicovideo(ニコニコ動画)のダウンロード時(結合時)にエラーになってしまったところ ffmpeg を v6 にしたら正常終了した

結論

タイトル通りです。

だめだった場合のエラーメッセージ (ffmpeg v7.1.1)

$ yt-dlp --cookies-from-browser chrome "https://www.nicovideo.jp/watch/sm9731822"
WARNING: External Downloader arguments given without specifying name. The arguments will be given to ffmpeg
[niconico] Extracting URL: https://www.nicovideo.jp/watch/sm9731822
[niconico] sm9731822: Downloading webpage
Extracting cookies from chrome
Extracted 3310 cookies from chrome
[niconico] sm9731822: Downloading JSON metadata
[niconico] sm9731822: Downloading m3u8 information
[info] sm9731822: Downloading 1 format(s): video-h264-360p+audio-aac-128kbps
[info] Writing video description to: /path/to/20100216 政見放送 松下みつゆき氏.description
[info] Downloading video thumbnail ogp ...
[info] Writing video thumbnail ogp to: /path/to/20100216 政見放送 松下みつゆき氏.jpg
[info] Writing video metadata as JSON to: /path/to/20100216 政見放送 松下みつゆき氏.info.json
WARNING: There are no annotations to write.
WARNING: There are no annotations to write.
[download] Destination: /path/to/20100216 政見放送 松下みつゆき氏.mp4

ERROR: ffmpeg exited with code 183

ffmpeg のバージョンを管理するには

mise が便利である。

Powered by はてなブログ