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.
How to embed subtitles and embed thumbnail when using youtube-dl as a library #25616
Comments
|
Where is the duplicate issue if this is a duplicate? |
|
just ended up using a sub process call anyway |
|
@ExeArco me too. It seems like he closes our issues just because he can. |
|
@uyouthe I'd have no problem with him closing it if there was either proper documentation on using youtube-dl as a library, because as it stands the current documentation could be written on an index card or if he'd link the supposed duplicate of this issue. |
Checklist
Question
I cannot seem to be able to emulate the following command line execution of youtube-dl when using youtube-dl as a library.
youtube-dl --write-sub --embed-subs --write-thumbnail --embed-thumbnail --merge-output-format mp4 https://www.youtube.com/watch?v=XXXXXXXXXXXXI have tried the following as my ydl_opts
This does embed subtitles or thumbnails. I can get the behaviour that I desire by running this from the command line but not using youtube-dl as a library.