Ogg wrote to Boraxman <=-
@MSGID: <601EF28D.4215.dove-general@trmb.synchro.net>
@REPLY: <601E6C52.48352.dove-gen@bbs.mozysswamp.org>
You need the -x option in order for youtube-dl to save the OPUS from the downloaded file. It seems that whatever option you choose in terms of format, you always get a container file that holds video and audio (mp4, webm, etc).
-x gives you the .opus
I get exactly the same file whether I use -x or not:
C:\Downloads>youtube-dl -f 251 https://youtu.be/BBCl9A9NlRw
[youtube] BBCl9A9NlRw: Downloading webpage
[download] Destination: Joe Rogan Experience #1552 - Matthew McConaughey-BBCl9A9NlRw.webm
[download] 100% of 95.41MiB in 02:42
C:\Downloads>youtube-dl -x -f 251 https://youtu.be/BBCl9A9NlRw
[youtube] BBCl9A9NlRw: Downloading webpage
[download] Resuming download at byte 8559852
[download] Destination: Joe Rogan Experience #1552 - Matthew McConaughey-BBCl9A9NlRw.webm
[download] 100% of 95.41MiB in 03:39
ERROR: ffprobe/avprobe and ffmpeg/avconv not found. Please install one.
The only diff is that -x is a post-operation after the download.
MRO wrote to Ogg <=-
@MSGID: <601F08C0.2844.dove-gen@bbses.info>
@REPLY: <601EF28D.4215.dove-general@trmb.synchro.net>
Re: Re: podcasting, file sizes
By: Ogg to Boraxman on Sat Feb 06 2021 11:48 am
You need the -x option in order for youtube-dl to save the OPUS from the downloaded file. It seems that whatever option you choose in terms of format, you always get a container file that holds video and audio (mp4, webm, etc).
-x gives you the .opus
I get exactly the same file whether I use -x or not:
C:\Downloads>youtube-dl -f 251 https://youtu.be/BBCl9A9NlRw
[youtube] BBCl9A9NlRw: Downloading webpage
do you ever use it do download a playlist? does it barf on you when there's a missing entry?
i have it do that and then stop everything.
The only diff is that -x is a post-operation after the download.
Did you notice the ERROR: line in your output for the second
command? The error is that ffmpeg/avprobe cannot be found.
Youtube-dl uses ffmpeg to extract the OPUS stream from the
.webm into a .opus file. That is the post-processing.
Because you don't have ffmpeg or avconf, the post processing
fails and you are left with the .webm container, instead of
the .opus.
You need the -x option in order for youtube-dl to save the OPUS from the downloaded file. It seems that whatever option you choose in terms of format, you always get a container file that holds video and audio (mp4, webm, etc).
-x gives you the .opus
I get exactly the same file whether I use -x or not:
C:\Downloads>youtube-dl -f 251 https://youtu.be/BBCl9A9NlRw
[youtube] BBCl9A9NlRw: Downloading webpage
do you ever use it do download a playlist? does it barf on you when there's a missing entry?
i have it do that and then stop everything.
I have used it to download playlists, and by default it will just stop. Use the '-i' option to ignore errors, then it should continue on its merry way with the next video, if it happens not to be able to download one.
Sysop: | Gate Keeper |
---|---|
Location: | Shelby, NC |
Users: | 719 |
Nodes: | 20 (0 / 20) |
Uptime: | 106:21:16 |
Calls: | 9,251 |
Calls today: | 30 |
Files: | 5,288 |
D/L today: |
13 files (13,391K bytes) |
Messages: | 466,637 |