youtube-dl, how to write all subs of a youtube playlist to ONE single file? The Next CEO of Stack OverflowHow to download portion of video with youtube-dl command?Play youtube playlist with youtube-dl with shuffling or repeatHow to enable YouTube autoplay with youtube-dl & mpv?How to download portion of video with youtube-dl command? (2)How to download all videos frome a youtube channel whose name contains a string?youtube-dl not downloading the whole playlistHow do i download videos which have duration more than certain time( like 10 minutes ) from youtube playlist using youtube-dl?how to download with youtube-dl without mergingyoutube-dl delete files that are no longer in a playlistDownloading a playlist youtube-dl
pgfplots: How to draw a tangent graph below two others?
Why was Sir Cadogan fired?
Small nick on power cord from an electric alarm clock, and copper wiring exposed but intact
How to implement Comparable so it is consistent with identity-equality
Traveling with my 5 year old daughter (as the father) without the mother from Germany to Mexico
That's an odd coin - I wonder why
Prodigo = pro + ago?
Is it a bad idea to plug the other end of ESD strap to wall ground?
Is it OK to decorate a log book cover?
Does int main() need a declaration on C++?
Upgrading From a 9 Speed Sora Derailleur?
Can this transistor (2n2222) take 6V on emitter-base? Am I reading datasheet incorrectly?
Can you teleport closer to a creature you are Frightened of?
Is this a new Fibonacci Identity?
How seriously should I take size and weight limits of hand luggage?
Early programmable calculators with RS-232
Does Germany produce more waste than the US?
Another proof that dividing by 0 does not exist -- is it right?
Calculating discount not working
My ex-girlfriend uses my Apple ID to login to her iPad, do I have to give her my Apple ID password to reset it?
Is a linearly independent set whose span is dense a Schauder basis?
Avoiding the "not like other girls" trope?
What happens if you break a law in another country outside of that country?
Can I cast Thunderwave and be at the center of its bottom face, but not be affected by it?
youtube-dl, how to write all subs of a youtube playlist to ONE single file?
The Next CEO of Stack OverflowHow to download portion of video with youtube-dl command?Play youtube playlist with youtube-dl with shuffling or repeatHow to enable YouTube autoplay with youtube-dl & mpv?How to download portion of video with youtube-dl command? (2)How to download all videos frome a youtube channel whose name contains a string?youtube-dl not downloading the whole playlistHow do i download videos which have duration more than certain time( like 10 minutes ) from youtube playlist using youtube-dl?how to download with youtube-dl without mergingyoutube-dl delete files that are no longer in a playlistDownloading a playlist youtube-dl
I'm on Fedora 28 OS and have youtube-dl
version 2019.03.18
and I wanted to download all the subs and only the subs of a Crashcourse playlist off of youtube, consisting of 45 videos.
I want all the subs to be written in a single *.txt file so that I can then edit it and print-it-to-pdf format (with evince
), also applying the appropriate page numbering/header/footer.
I tried the following:
youtube-dl --skip-download --write-sub --playlist-items 6-10 <PLAYLIST-URL> >> all-subs.txt
This however only wrote the 'verbose' output to all-subs.txt
and just downloaded the *.vtt format subs (I don't know why youtube-dl
won't download in any other format, even if told to do so, a glitch still unresolved).
troubleshooting youtube-dl video-subtitles
add a comment |
I'm on Fedora 28 OS and have youtube-dl
version 2019.03.18
and I wanted to download all the subs and only the subs of a Crashcourse playlist off of youtube, consisting of 45 videos.
I want all the subs to be written in a single *.txt file so that I can then edit it and print-it-to-pdf format (with evince
), also applying the appropriate page numbering/header/footer.
I tried the following:
youtube-dl --skip-download --write-sub --playlist-items 6-10 <PLAYLIST-URL> >> all-subs.txt
This however only wrote the 'verbose' output to all-subs.txt
and just downloaded the *.vtt format subs (I don't know why youtube-dl
won't download in any other format, even if told to do so, a glitch still unresolved).
troubleshooting youtube-dl video-subtitles
add a comment |
I'm on Fedora 28 OS and have youtube-dl
version 2019.03.18
and I wanted to download all the subs and only the subs of a Crashcourse playlist off of youtube, consisting of 45 videos.
I want all the subs to be written in a single *.txt file so that I can then edit it and print-it-to-pdf format (with evince
), also applying the appropriate page numbering/header/footer.
I tried the following:
youtube-dl --skip-download --write-sub --playlist-items 6-10 <PLAYLIST-URL> >> all-subs.txt
This however only wrote the 'verbose' output to all-subs.txt
and just downloaded the *.vtt format subs (I don't know why youtube-dl
won't download in any other format, even if told to do so, a glitch still unresolved).
troubleshooting youtube-dl video-subtitles
I'm on Fedora 28 OS and have youtube-dl
version 2019.03.18
and I wanted to download all the subs and only the subs of a Crashcourse playlist off of youtube, consisting of 45 videos.
I want all the subs to be written in a single *.txt file so that I can then edit it and print-it-to-pdf format (with evince
), also applying the appropriate page numbering/header/footer.
I tried the following:
youtube-dl --skip-download --write-sub --playlist-items 6-10 <PLAYLIST-URL> >> all-subs.txt
This however only wrote the 'verbose' output to all-subs.txt
and just downloaded the *.vtt format subs (I don't know why youtube-dl
won't download in any other format, even if told to do so, a glitch still unresolved).
troubleshooting youtube-dl video-subtitles
troubleshooting youtube-dl video-subtitles
edited 2 days ago
Rui F Ribeiro
41.8k1483142
41.8k1483142
asked 2 days ago
WobblyWindowsWobblyWindows
2451213
2451213
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
It seems that youtube-dl
doesn't support such feature, but you can use cat
to concatenate all the downloaded files:
$ youtube-dl --output '%(autonumber)s.%(ext)s' --skip-download --write-sub 'https://www.youtube.com/watch?v=-5wpm-gesOY' 'https://www.youtube.com/watch?v=w3_0x6oaDmI'
[youtube] -5wpm-gesOY: Downloading webpage
[youtube] -5wpm-gesOY: Downloading video info webpage
[info] Writing video subtitles to: 00001.en-GB.vtt
[youtube] w3_0x6oaDmI: Downloading webpage
[youtube] w3_0x6oaDmI: Downloading video info webpage
[info] Writing video subtitles to: 00002.en.vtt
$ cat ./* > all-subs.vtt
Note that %(autonumber)s
is needed to concatenate the files in order. When downloading from playlists, you may use %(playlist_index)s
instead.
I don't know why
youtube-dl
won't download in any other format, even if told to do so, a glitch still unresolved
While it's possible to request a specific format using the --sub-format
option, please note that the availability of such format depends on the website. YouTube only offers ttml
and vtt
files, as far as I can tell (and I'm able to download subtitles in both formats):
$ youtube-dl --list-subs 'https://www.youtube.com/watch?v=-5wpm-gesOY'
...
Available subtitles for -5wpm-gesOY:
Language formats
en-GB vtt, ttml
ru vtt, ttml
fr vtt, ttml
...
$ youtube-dl --output '%(autonumber)s.%(ext)s' --skip-download --sub-format 'vtt' --write-sub 'https://www.youtube.com/watch?v=-5wpm-gesOY'
[youtube] -5wpm-gesOY: Downloading webpage
[youtube] -5wpm-gesOY: Downloading video info webpage
[info] Writing video subtitles to: 00001.en-GB.vtt
$ youtube-dl --output '%(autonumber)s.%(ext)s' --skip-download --sub-format 'ttml' --write-sub 'https://www.youtube.com/watch?v=-5wpm-gesOY'
[youtube] -5wpm-gesOY: Downloading webpage
[youtube] -5wpm-gesOY: Downloading video info webpage
[info] Writing video subtitles to: 00001.en-GB.ttml
add a comment |
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f509610%2fyoutube-dl-how-to-write-all-subs-of-a-youtube-playlist-to-one-single-file%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
It seems that youtube-dl
doesn't support such feature, but you can use cat
to concatenate all the downloaded files:
$ youtube-dl --output '%(autonumber)s.%(ext)s' --skip-download --write-sub 'https://www.youtube.com/watch?v=-5wpm-gesOY' 'https://www.youtube.com/watch?v=w3_0x6oaDmI'
[youtube] -5wpm-gesOY: Downloading webpage
[youtube] -5wpm-gesOY: Downloading video info webpage
[info] Writing video subtitles to: 00001.en-GB.vtt
[youtube] w3_0x6oaDmI: Downloading webpage
[youtube] w3_0x6oaDmI: Downloading video info webpage
[info] Writing video subtitles to: 00002.en.vtt
$ cat ./* > all-subs.vtt
Note that %(autonumber)s
is needed to concatenate the files in order. When downloading from playlists, you may use %(playlist_index)s
instead.
I don't know why
youtube-dl
won't download in any other format, even if told to do so, a glitch still unresolved
While it's possible to request a specific format using the --sub-format
option, please note that the availability of such format depends on the website. YouTube only offers ttml
and vtt
files, as far as I can tell (and I'm able to download subtitles in both formats):
$ youtube-dl --list-subs 'https://www.youtube.com/watch?v=-5wpm-gesOY'
...
Available subtitles for -5wpm-gesOY:
Language formats
en-GB vtt, ttml
ru vtt, ttml
fr vtt, ttml
...
$ youtube-dl --output '%(autonumber)s.%(ext)s' --skip-download --sub-format 'vtt' --write-sub 'https://www.youtube.com/watch?v=-5wpm-gesOY'
[youtube] -5wpm-gesOY: Downloading webpage
[youtube] -5wpm-gesOY: Downloading video info webpage
[info] Writing video subtitles to: 00001.en-GB.vtt
$ youtube-dl --output '%(autonumber)s.%(ext)s' --skip-download --sub-format 'ttml' --write-sub 'https://www.youtube.com/watch?v=-5wpm-gesOY'
[youtube] -5wpm-gesOY: Downloading webpage
[youtube] -5wpm-gesOY: Downloading video info webpage
[info] Writing video subtitles to: 00001.en-GB.ttml
add a comment |
It seems that youtube-dl
doesn't support such feature, but you can use cat
to concatenate all the downloaded files:
$ youtube-dl --output '%(autonumber)s.%(ext)s' --skip-download --write-sub 'https://www.youtube.com/watch?v=-5wpm-gesOY' 'https://www.youtube.com/watch?v=w3_0x6oaDmI'
[youtube] -5wpm-gesOY: Downloading webpage
[youtube] -5wpm-gesOY: Downloading video info webpage
[info] Writing video subtitles to: 00001.en-GB.vtt
[youtube] w3_0x6oaDmI: Downloading webpage
[youtube] w3_0x6oaDmI: Downloading video info webpage
[info] Writing video subtitles to: 00002.en.vtt
$ cat ./* > all-subs.vtt
Note that %(autonumber)s
is needed to concatenate the files in order. When downloading from playlists, you may use %(playlist_index)s
instead.
I don't know why
youtube-dl
won't download in any other format, even if told to do so, a glitch still unresolved
While it's possible to request a specific format using the --sub-format
option, please note that the availability of such format depends on the website. YouTube only offers ttml
and vtt
files, as far as I can tell (and I'm able to download subtitles in both formats):
$ youtube-dl --list-subs 'https://www.youtube.com/watch?v=-5wpm-gesOY'
...
Available subtitles for -5wpm-gesOY:
Language formats
en-GB vtt, ttml
ru vtt, ttml
fr vtt, ttml
...
$ youtube-dl --output '%(autonumber)s.%(ext)s' --skip-download --sub-format 'vtt' --write-sub 'https://www.youtube.com/watch?v=-5wpm-gesOY'
[youtube] -5wpm-gesOY: Downloading webpage
[youtube] -5wpm-gesOY: Downloading video info webpage
[info] Writing video subtitles to: 00001.en-GB.vtt
$ youtube-dl --output '%(autonumber)s.%(ext)s' --skip-download --sub-format 'ttml' --write-sub 'https://www.youtube.com/watch?v=-5wpm-gesOY'
[youtube] -5wpm-gesOY: Downloading webpage
[youtube] -5wpm-gesOY: Downloading video info webpage
[info] Writing video subtitles to: 00001.en-GB.ttml
add a comment |
It seems that youtube-dl
doesn't support such feature, but you can use cat
to concatenate all the downloaded files:
$ youtube-dl --output '%(autonumber)s.%(ext)s' --skip-download --write-sub 'https://www.youtube.com/watch?v=-5wpm-gesOY' 'https://www.youtube.com/watch?v=w3_0x6oaDmI'
[youtube] -5wpm-gesOY: Downloading webpage
[youtube] -5wpm-gesOY: Downloading video info webpage
[info] Writing video subtitles to: 00001.en-GB.vtt
[youtube] w3_0x6oaDmI: Downloading webpage
[youtube] w3_0x6oaDmI: Downloading video info webpage
[info] Writing video subtitles to: 00002.en.vtt
$ cat ./* > all-subs.vtt
Note that %(autonumber)s
is needed to concatenate the files in order. When downloading from playlists, you may use %(playlist_index)s
instead.
I don't know why
youtube-dl
won't download in any other format, even if told to do so, a glitch still unresolved
While it's possible to request a specific format using the --sub-format
option, please note that the availability of such format depends on the website. YouTube only offers ttml
and vtt
files, as far as I can tell (and I'm able to download subtitles in both formats):
$ youtube-dl --list-subs 'https://www.youtube.com/watch?v=-5wpm-gesOY'
...
Available subtitles for -5wpm-gesOY:
Language formats
en-GB vtt, ttml
ru vtt, ttml
fr vtt, ttml
...
$ youtube-dl --output '%(autonumber)s.%(ext)s' --skip-download --sub-format 'vtt' --write-sub 'https://www.youtube.com/watch?v=-5wpm-gesOY'
[youtube] -5wpm-gesOY: Downloading webpage
[youtube] -5wpm-gesOY: Downloading video info webpage
[info] Writing video subtitles to: 00001.en-GB.vtt
$ youtube-dl --output '%(autonumber)s.%(ext)s' --skip-download --sub-format 'ttml' --write-sub 'https://www.youtube.com/watch?v=-5wpm-gesOY'
[youtube] -5wpm-gesOY: Downloading webpage
[youtube] -5wpm-gesOY: Downloading video info webpage
[info] Writing video subtitles to: 00001.en-GB.ttml
It seems that youtube-dl
doesn't support such feature, but you can use cat
to concatenate all the downloaded files:
$ youtube-dl --output '%(autonumber)s.%(ext)s' --skip-download --write-sub 'https://www.youtube.com/watch?v=-5wpm-gesOY' 'https://www.youtube.com/watch?v=w3_0x6oaDmI'
[youtube] -5wpm-gesOY: Downloading webpage
[youtube] -5wpm-gesOY: Downloading video info webpage
[info] Writing video subtitles to: 00001.en-GB.vtt
[youtube] w3_0x6oaDmI: Downloading webpage
[youtube] w3_0x6oaDmI: Downloading video info webpage
[info] Writing video subtitles to: 00002.en.vtt
$ cat ./* > all-subs.vtt
Note that %(autonumber)s
is needed to concatenate the files in order. When downloading from playlists, you may use %(playlist_index)s
instead.
I don't know why
youtube-dl
won't download in any other format, even if told to do so, a glitch still unresolved
While it's possible to request a specific format using the --sub-format
option, please note that the availability of such format depends on the website. YouTube only offers ttml
and vtt
files, as far as I can tell (and I'm able to download subtitles in both formats):
$ youtube-dl --list-subs 'https://www.youtube.com/watch?v=-5wpm-gesOY'
...
Available subtitles for -5wpm-gesOY:
Language formats
en-GB vtt, ttml
ru vtt, ttml
fr vtt, ttml
...
$ youtube-dl --output '%(autonumber)s.%(ext)s' --skip-download --sub-format 'vtt' --write-sub 'https://www.youtube.com/watch?v=-5wpm-gesOY'
[youtube] -5wpm-gesOY: Downloading webpage
[youtube] -5wpm-gesOY: Downloading video info webpage
[info] Writing video subtitles to: 00001.en-GB.vtt
$ youtube-dl --output '%(autonumber)s.%(ext)s' --skip-download --sub-format 'ttml' --write-sub 'https://www.youtube.com/watch?v=-5wpm-gesOY'
[youtube] -5wpm-gesOY: Downloading webpage
[youtube] -5wpm-gesOY: Downloading video info webpage
[info] Writing video subtitles to: 00001.en-GB.ttml
answered 2 days ago
nxnevnxnev
2,9262524
2,9262524
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f509610%2fyoutube-dl-how-to-write-all-subs-of-a-youtube-playlist-to-one-single-file%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown