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.
Embedding subtitles fails with invalid argument, appears to be missing --format switch #20943
Comments
|
Don't touch |
Checklist
Verbose log
Description
When trying to embed subtitles, the script fails with an Error: Invalid argument error on the output file. Taking the the ffmpeg command line arguments from the verbose output, and running it again independently generates a more verbose error of: [NULL @ 0x1a46040] Unable to find a suitable output format for 'file:Maigret-s01-e01.temp'
file:Maigret-s01-e01.temp: Invalid argument
Adding a
-f mp4switch prior to the output filename appears to resolve the issue for me.Is this a bug, or am I missing a switch on my original youtub-dl command line?
youtube-dl --verbose -f mp4/best -o Maigret-s01-e01 --write-sub --embed-subs https://www.itv.com/hub/maigret/2a4244a0001