Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

6
  • What is the -f "(137/136)+(141/140)" format option for youtube-dl doing? Could you elaborate on that part? Commented May 31, 2017 at 6:07
  • @jjdb the man/help page will tell you all about -f but but basically its selecting the mp4 format from the youtube API. ( see "Comparison of YouTube media encoding options " en.wikipedia.org/wiki/YouTube#Quality_and_formats ) Commented May 31, 2017 at 20:35
  • Still, the code is cryptic to me. And also: As far as I understand it, your proposal essentially involves a download that has to be removed later. So it is not actually a streaming solution, is it? Commented Jun 2, 2017 at 5:26
  • @jjdb clearly my answer offers both options, obviously if streaming is unreliable a more stable cache can be used and can be scripted to automatically remove the file when done. Commented Jun 2, 2017 at 20:10
  • Well, it is not really a streaming solution, as I have to wait for the whole video to be downloaded in order to be able to play it correctly: with mpv, audio does not work properly. Commented Jun 2, 2017 at 21:34