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.
Thumbnails not being embedded #5840
Comments
|
Thanks! Much appreciated! |
|
Hi this issue is not solved, see the following : $ youtube-dl --restrict-filenames --format 18 --embed-thumbnail --verbose http://youtube.com/watch?v=Lac9MORX5oY « Au commencement était la Parole, et la Parole était avec Dieu, et la Parole était Dieu. Elle était au commencement avec Dieu. Tout a été fait par elle, et rien de ce qui a été fait n'"'"'a été fait sans elle. En elle était la vie, et la vie était la lumière des hommes. La lumière brille dans les ténèbres, et les ténèbres ne l'"'"'ont pas accueillie. » Jean 1:1-5' -metadata 'description=http://www.tv2vie.org/ « Au commencement était la Parole, et la Parole était avec Dieu, et la Parole était Dieu. Elle était au commencement avec Dieu. Tout a été fait par elle, et rien de ce qui a été fait n'"'"'a été fait sans elle. En elle était la vie, et la vie était la lumière des hommes. La lumière brille dans les ténèbres, et les ténèbres ne l'"'"'ont pas accueillie. » Jean 1:1-5' -metadata 'artist=TV2VIE pour Jésus-Christ' -metadata 'title=La Parole est puissante - Shora KUETU' -metadata date=20140611 -metadata 'purl=https://www.youtube.com/watch?v=Lac9MORX5oY' La_Parole_est_puissante_-_Shora_KUETU__18__Lac9MORX5oY.temp.mp4 Can you please look into it ? |
|
@sebma In latest version it works. If you don't know how to update, look here https://github.com/rg3/youtube-dl#how-do-i-update-youtube-dl |
|
I am using youtube-dl launchpad package "2015.06.15-1 Is there another launchpad PPA repository dedicated to youtube-dl so I can use it for my ubuntu automatic updates ? |
|
@sebma Switch to the pip version it stays fresh Disable the custom PPA for youtube-dl and then do this:
To upgrade in the future, use:
Your version should report the latest. |
|
Thanks, but now the version is the same as that in the launchpad package (2015.06.15), I don't know what went wrong, lol. Now, thumbnail embedding works fine. I understand the pip method but I wanted all my packages to be updated via : That is why I am looking for a youtube-dl dedicated launchpad PPA, do you know if there is any ? |
|
Try prodding the maintainer on Ubuntu repository to update his version rather than use a PPA. |
It also leaves the thumb jpg around after the attempt to embed it in the file.
user@lappy/~$ youtube-dl -t --embed-subs --add-metadata --xattrs --console-title --embed-thumbnail https://www.youtube.com/watch?v=tiOXY1fuv4k
[youtube] tiOXY1fuv4k: Downloading webpage
[youtube] tiOXY1fuv4k: Extracting video information
[youtube] tiOXY1fuv4k: Downloading DASH manifest
[youtube] tiOXY1fuv4k: Downloading thumbnail ...
[youtube] tiOXY1fuv4k: Writing thumbnail to: Cre8ive Exercise-tiOXY1fuv4k.jpg
[download] Destination: Cre8ive Exercise-tiOXY1fuv4k.f136.mp4
[download] 100% of 14.21MiB in 00:07
[download] Destination: Cre8ive Exercise-tiOXY1fuv4k.f141.m4a
[download] 100% of 3.34MiB in 00:02
[ffmpeg] Merging formats into "Cre8ive Exercise-tiOXY1fuv4k.mp4"
Deleting original file Cre8ive Exercise-tiOXY1fuv4k.f136.mp4 (pass -k to keep)
Deleting original file Cre8ive Exercise-tiOXY1fuv4k.f141.m4a (pass -k to keep)
[ffmpeg] Adding metadata to 'Cre8ive Exercise-tiOXY1fuv4k.mp4'
[ffmpeg] There aren't any subtitles to embed
[metadata] Writing metadata to file's xattrs
ERROR: Only mp3 and m4a are supported for thumbnail embedding for now.