Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
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