[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: A way to watch (some) videos about Emacs with wget and mpv
From: |
Eduardo Ochs |
Subject: |
Re: A way to watch (some) videos about Emacs with wget and mpv |
Date: |
Thu, 29 Dec 2022 19:47:38 -0300 |
Hi Yuri, Emanuel, and all,
These tests work:
• (eepitch-shell)
• (eepitch-kill)
• (eepitch-shell)
mpv --sub-file=http://angg.twu.net/eev-videos/emacsconf2021.vtt \
http://angg.twu.net/eev-videos/emacsconf2021.mp4
dl-video () {
local urls=${1:-$(<$DL_FILE)}
yt-dlp $dlp_opts -f 'bestvideo' ${=urls}
}
dl-720 () {
local urls=${1:-$(<$DL_FILE)}
yt-dlp $dlp_opts -f 'bestvideo[height=720]+bestaudio' ${=urls}
}
rm -Rv /tmp/dl-test/
mkdir /tmp/dl-test/
cd /tmp/dl-test/
dl-video 'http://www.youtube.com/watch?v=vs3-HGB6iEw'
# dl-720 'http://www.youtube.com/watch?v=vs3-HGB6iEw'
I commented out the one with "dl-720" because it produces a file with
the same name as the one with "dl-video" - this one:
How to Read a Greek Play [vs3-HGB6iEw].webm
Emanuel, do you have tricks to convert a youtube URL to the filename
of the saved file, or to make yt-dlp save the name in a place that is
easy to retrieve?
Cheers,
Eduardo Ochs
http://angg.twu.net/eepitch.html
http://angg.twu.net/eev-videos.html
- Re: A way to watch (some) videos about Emacs with wget and mpv, (continued)
- Re: A way to watch (some) videos about Emacs with wget and mpv, Philip Kaludercic, 2022/12/27
- Re: A way to watch (some) videos about Emacs with wget and mpv, Emanuel Berg, 2022/12/27
- Re: A way to watch (some) videos about Emacs with wget and mpv, Eduardo Ochs, 2022/12/27
- Re: A way to watch (some) videos about Emacs with wget and mpv, Emanuel Berg, 2022/12/29
- Re: A way to watch (some) videos about Emacs with wget and mpv,
Eduardo Ochs <=
- Re: A way to watch (some) videos about Emacs with wget and mpv, Emanuel Berg, 2022/12/31