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.
Youtube - downloading/embedded automatic captions #3838
Comments
|
You have to add |
|
Thanks JamieMF that works for Auto CC's ; is there a way to have a single command line that can download Subtitle or Auto CC's e.g. https://www.youtube.com/watch?v=5-c-dPlMxzU is enabled with Subtitles - ./youtube-dl --embed-sub --all-subs https://www.youtube.com/watch?v=5-c-dPlMxzU Any help would be most grateful |
|
Please write a procedure describing how to embed automatic subtitles.Using Input=youtube-dl -v --write-auto-sub --embed-subs https://www.youtube.com/watch?v=4Flj9plmKGQ&list=PL19E79A0638C8D449&index=84 output=
|
Hi - I've trying to download the Close Captions from Youtube ; this works for youtube with Subtitle is set - however if the captions are set as Automatic I don't seem to find a way to download/embed them
e.g.
youtube-dl --list-subs https://www.youtube.com/watch?v=IWAT8twFjIs
[youtube] Setting language
[youtube] Confirming age
[youtube] IWAT8twFjIs: Downloading webpage
[youtube] IWAT8twFjIs: Downloading video info webpage
[youtube] IWAT8twFjIs: Extracting video information
WARNING: video doesn't have subtitles
[youtube] IWAT8twFjIs: Looking for automatic captions
[youtube] IWAT8twFjIs: Downloading XML
[youtube] IWAT8twFjIs: Available subtitles for video:
[youtube] IWAT8twFjIs: Available automatic captions for video: vi,el,eo,en,ga,af,zh-Hans,mi,ca,gu,iw,zh-Hant,cs,cy,ar,mk,bg,zu,eu,et,az,id,ig,ru,gl,nl,pt,la,lo,jv,ne,sv,lv,lt,pa,es,th,tr,it,ro,is,fil,ta,yi,be,fr,hy,ceb,yo,sl,hr,bn,de,ht,da,fa,hmn,hi,no,bs,fi,ha,ja,uk,ka,te,sr,sq,mn,ko,kn,km,ur,sk,mt,so,pl,ms,mr,hu,sw
The download stage - works great for video which have been marked with Subtitle ; but not automatic ones.
youtube-dl --all-subs --embed-sub --sub-lang en https://www.youtube.com/watch?v=IWAT8twFjIs
[youtube] Setting language
[youtube] Confirming age
[youtube] IWAT8twFjIs: Downloading webpage
[youtube] IWAT8twFjIs: Downloading video info webpage
[youtube] IWAT8twFjIs: Extracting video information
WARNING: video doesn't have subtitles