all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eduardo Ochs <eduardoochs@gmail.com>
To: help-gnu-emacs@gnu.org, Yuri Khan <yuri.v.khan@gmail.com>,
	 Emanuel Berg <incal@dataswamp.org>
Subject: Re: A way to watch (some) videos about Emacs with wget and mpv
Date: Thu, 29 Dec 2022 19:47:38 -0300	[thread overview]
Message-ID: <CADs++6gK7aLRpDSSnqLtmyUahQgQ-ZfiCEz3hnKfjhN7106Gzg@mail.gmail.com> (raw)
In-Reply-To: <873590mgiy.fsf@dataswamp.org>

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



  reply	other threads:[~2022-12-29 22:47 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-27 11:55 A way to watch (some) videos about Emacs with wget and mpv Eduardo Ochs
2022-12-27 12:00 ` Philip Kaludercic
2022-12-27 12:08   ` Eduardo Ochs
2022-12-27 12:13     ` Emanuel Berg
2022-12-28  1:56       ` Eduardo Ochs
2022-12-28  2:03         ` Emanuel Berg
2022-12-29 22:47           ` Eduardo Ochs [this message]
2022-12-31 20:49             ` Emanuel Berg
2022-12-27 12:44     ` Philip Kaludercic
2022-12-27 14:13       ` Emanuel Berg
2022-12-28  0:43       ` Eduardo Ochs
2022-12-28  1:03         ` Emanuel Berg
2022-12-28  5:46         ` Yuri Khan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CADs++6gK7aLRpDSSnqLtmyUahQgQ-ZfiCEz3hnKfjhN7106Gzg@mail.gmail.com \
    --to=eduardoochs@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=incal@dataswamp.org \
    --cc=yuri.v.khan@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.