Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build work station #2

Open
EmbraceLife opened this issue Oct 2, 2018 · 3 comments
Open

build work station #2

EmbraceLife opened this issue Oct 2, 2018 · 3 comments

Comments

@EmbraceLife
Copy link
Owner

EmbraceLife/shendusuipian#57

@EmbraceLife
Copy link
Owner Author

youtube-dl

@EmbraceLife
Copy link
Owner Author

EmbraceLife commented Dec 14, 2018

# Download best mp4 format available or any other best if no mp4 available
$ youtube-dl -f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best'
$ youtube-dl -f 'best[ext=mp4]' --playlist-start NUMBER # to start at specific video

@EmbraceLife
Copy link
Owner Author

EmbraceLife commented Jan 12, 2019

--write-sub                      Write subtitle file
--write-auto-sub                 Write automatic subtitle file (YouTube only)
--all-subs                       Download all the available subtitles of the video
--list-subs                      List all available subtitles for the video
--sub-format FORMAT              Subtitle format, accepts formats preference, for example: "srt" or "ass/srt/best"
--sub-lang LANGS                 Languages of the subtitles to download (optional) separated by commas, use IETF language tags like 'en

youtube-dl --write-auto-sub  --sub-lang en  --sub-format srt https://youtu.be/1ZhtwInuOD0

youtube-dl -f 'best[ext=mp4]'  --write-auto-sub  --sub-lang en  --sub-format srt https://www.youtube.com/playlist?list=PLfYUBJiXbdtSIJb-Qd3pw0cqCbkGeS0xn

https://subtitletools.com/convert-to-srt-online

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant