All other videos can be dloaded except this one with error code #20347

Closed
opened 2026-02-21 11:09:24 -05:00 by deekerman · 0 comments
Owner

Originally created by @Saparonia on GitHub (May 6, 2020).

ERROR: Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument

This file is: https://www.youtube.com/watch?v=zkeTRijJi24

full output:
$ youtube-dl https://www.youtube.com/watch?v=zkeTRijJi24
[youtube] zkeTRijJi24: Downloading webpage
[download] Body language - Bill Gates-zkeTRijJi24.f398.mp4 has already been downloaded
[download] 100% of 49.34MiB
[download] Body language - Bill Gates-zkeTRijJi24.f140.m4a has already been downloaded
[download] 100% of 17.96MiB
[ffmpeg] Merging formats into "Body language - Bill Gates-zkeTRijJi24.mp4"
ERROR: Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument

I have updated youtube-dl and have used it on other videos but this one will not dload.
Although it tells me this has already been downloaded, the first attempt was identical and I have deleted that and begun again with same output.

2nd attempt
$ youtube-dl www.youtube.com/watch?v=zkeTRijJi24
WARNING: The url doesn't specify the protocol, trying with http
[youtube] zkeTRijJi24: Downloading webpage
[download] Destination: Body language - Bill Gates-zkeTRijJi24.f398.mp4
[download] 100% of 49.34MiB in 00:05
[download] Destination: Body language - Bill Gates-zkeTRijJi24.f140.m4a
[download] 100% of 17.96MiB in 00:01
[ffmpeg] Merging formats into "Body language - Bill Gates-zkeTRijJi24.mp4"
ERROR: Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument

Originally created by @Saparonia on GitHub (May 6, 2020). ERROR: Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument This file is: https://www.youtube.com/watch?v=zkeTRijJi24 full output: $ youtube-dl https://www.youtube.com/watch?v=zkeTRijJi24 [youtube] zkeTRijJi24: Downloading webpage [download] Body language - Bill Gates-zkeTRijJi24.f398.mp4 has already been downloaded [download] 100% of 49.34MiB [download] Body language - Bill Gates-zkeTRijJi24.f140.m4a has already been downloaded [download] 100% of 17.96MiB [ffmpeg] Merging formats into "Body language - Bill Gates-zkeTRijJi24.mp4" ERROR: Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument I have updated youtube-dl and have used it on other videos but this one will not dload. Although it tells me this has already been downloaded, the first attempt was identical and I have deleted that and begun again with same output. 2nd attempt $ youtube-dl www.youtube.com/watch?v=zkeTRijJi24 WARNING: The url doesn't specify the protocol, trying with http [youtube] zkeTRijJi24: Downloading webpage [download] Destination: Body language - Bill Gates-zkeTRijJi24.f398.mp4 [download] 100% of 49.34MiB in 00:05 [download] Destination: Body language - Bill Gates-zkeTRijJi24.f140.m4a [download] 100% of 17.96MiB in 00:01 [ffmpeg] Merging formats into "Body language - Bill Gates-zkeTRijJi24.mp4" ERROR: Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
deekerman 2026-02-21 11:09:24 -05:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/youtube-dl-ytdl-org#20347
No description provided.