WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: youtube-dl  (Read 32599 times)

Offline neonix

  • Wiki Author
  • Sr. Member
  • *****
  • Posts: 407
Re: youtube-dl
« Reply #30 on: July 08, 2019, 09:50:31 AM »
Thank you vinceASPECT. Now we have 2 sites that works with Dillo.
https://invidio.us/
https://tubidy.io/

https://toogl.es and https://www.genyt.net doesn't work with Dillo.
This is cool that you can watch yt 3gp videos even on Pentium 200 mhz and 128 MB RAM without HDD. Thanks to TC and mplayer.

Offline vinceASPECT

  • Hero Member
  • *****
  • Posts: 810
Re: youtube-dl
« Reply #31 on: July 09, 2019, 11:30:20 PM »
Yes.

invidio.us .........also works on "Links browser" and maybe elinks too.  You can.....

search any video topic,
then click on a particular video
then click on the download file type and select one
then cilck download
and then select to DISPLAY the download
then from the resulting page........... select from the Links menu "copy current URL"


Then you can open that video URL in some player... (mplayer etc)

you can do that for the smallest Video and Sound qualities..........and open them in a DUAL URL input player
such as MPC 

MPC can open two URL's in tandem......one for video and one for sound (synced up)


i believe Mplayer can also open multiple URLS in synced tandem.

----------------------------------------------------------------


As for invidio.us on a somewhat regular web browser..........you go into invidio.us preferences and select

DASH

Then when you choose to watch a video you can choose the 144p quality........i believe you are then getting the smallest possible video file and also the smallest possible Audio file together.  (in the browser player)

THis is UNLIKE the youtube web page....... where when you select 144 it's actually giving you the second smallest 144p file and quite a large audio file with it.

You can check by seeing the FEED ID's in "stats for nerds" on youtube.com for some movie............. and comparing it to the available feeds list from youtube-dl  (for that same movie file)

Vin
« Last Edit: July 09, 2019, 11:46:52 PM by vinceASPECT »

Offline vinceASPECT

  • Hero Member
  • *****
  • Posts: 810
Re: youtube-dl
« Reply #32 on: July 14, 2019, 08:22:25 AM »
Yes. With regard to that website  invidio.us

it may even play the videos directly in TCL Opera 9 browser. 

Or at least, you may be able to "right click" the video window  and select "play" or "copy link" and then open it in mplayer.

You can certainly copy the video's download links (offered) and stream them in some media player.

I usually choose the lowest file size.  144p mp4.....and the lowest sized audio..........
 audio/webm 56k or 64k.

If you so desire you can just click the "speaker icon" that is below the video and then it will just play the audio of the movie.  Useful.


Thx

V

Offline vinceASPECT

  • Hero Member
  • *****
  • Posts: 810
Re: youtube-dl mplayer
« Reply #33 on: August 26, 2019, 08:05:25 AM »
for anbody running old mplayer systems and Laptops etc....who are using third party reflector sites such as

https://invidio.us   OR    https://www.tonvid.com

you can use these websites in fairly old tiny web browsers .........such as LINKS graphics mode...... or LINKS without graphics

You can set the tonvid search to DATE priorty or VIEWS and you get the exact same results
as the youtube webpage search. You can then right click any displayed result to get it's youtube link and paste that into invidio.us search bar. That reveals the video of your choice.  So those mechanisms are identical to a youtube webpage search.

Inside the invidio.us webpage...you can then select your lowest quality video feed like 144 mp4 and the lowest audio feed like AUDO/WEBM 52K opus......  and click "download" for each..... then click "display" for each..... and then click at the menu bar above for "copy current URL" for each.....

Take those URL's along with mplayer....as below

mplayer -vo X11 -zoom -cache 4192 -really-quiet -autosync 0 "the video file link" -audiofile "the audio file link"

Double clicking mplayer GUI or pressing "F" will toggle fullscreen and the "-aspect" flag will get you what you need if you need to alter it.
Either 4:3 or 16:9  (-aspect 16:9)

this gives you the most economical way to watch a youtube video in comparison to the actual
youtube web page of that same video........ which would use about 6 times more data.


You hardly see or here any real difference in quality here.

So you get 6 videos for the price of 1......really.  (data)

If you just want to listen to music.....just do the above for AUDIO only. That is also very economical on data.


Peoples milage may vary depending upon which tiny web browser you are using  (dillo) or whatever.

it's just a way to open 2 simultaneous mplayer streams AT THE SAME TIME and play them in sync.
Video and Audio.

thx

Vin

« Last Edit: August 26, 2019, 08:35:25 AM by vinceASPECT »

Offline vinceASPECT

  • Hero Member
  • *****
  • Posts: 810
Re: youtube-dl
« Reply #34 on: August 26, 2019, 09:13:24 AM »
with regard to the last post



when using the  LINKS--non--graphical web browser........and after following the first step above of DISPLAYING a url

i think you then just pres SHIFT+G and also press CTRL+B
which will put the displayed url into  clipboard

 and then you can just paste the URL into mplayer..... using a middle mouse click........ or CTRL+V or Right-Click paste

« Last Edit: August 26, 2019, 09:21:06 AM by vinceASPECT »

Offline vinceASPECT

  • Hero Member
  • *****
  • Posts: 810
Re: youtube-dl
« Reply #35 on: August 26, 2019, 05:26:50 PM »
Addendum

Also with ........LINKS--non--graphical...........  web browser......

To copy the selected Link to clipboard it's

CTRL+G  then CTRL+B

hope that helps anybody who is using very old hardware to do Youtube with a TEXT ONLY web browser.

thx

Vin

Offline neonix

  • Wiki Author
  • Sr. Member
  • *****
  • Posts: 407
Re: youtube-dl
« Reply #36 on: September 17, 2019, 08:23:45 AM »
Thank you vinceASPECT. I was not aware that mplayer can play audio and video files simultaneously. I created simple script to make it even easier.

Code: [Select]
#!/bin/sh
mplayer -really-quiet -autosync 0 "$1" -audiofile "$2"

Here is a site where you can download files from Dailymotion, Vimeo, FB, TW, Vine, Aol Video, Rumble,com, Upstream.
http://savevideo.me/ (works even with Dillo 3.0.5)

Offline vinceASPECT

  • Hero Member
  • *****
  • Posts: 810
Re: youtube-dl
« Reply #37 on: September 19, 2019, 08:00:09 AM »
Right...........thanks neo...

always handy to keep things to a minimum on a long term basis.

i will try it

Thanks

V

« Last Edit: September 19, 2019, 08:24:59 AM by vinceASPECT »

Offline vinceASPECT

  • Hero Member
  • *****
  • Posts: 810
Re: youtube-dl
« Reply #38 on: September 19, 2019, 09:40:43 AM »
Also there is this lite youtube reflector

https://hooktube.com/

seems useful

thanks

Vin

Offline neonix

  • Wiki Author
  • Sr. Member
  • *****
  • Posts: 407
Re: youtube-dl
« Reply #39 on: October 22, 2019, 02:34:42 PM »
Another site for youtube http://www.convertinmp4.com
It don't require javascript, and offer only 360p and 720p mp4.

Offline vinceASPECT

  • Hero Member
  • *****
  • Posts: 810
Re: youtube-dl
« Reply #40 on: October 23, 2019, 04:11:34 PM »
Hello,

well thanks

That is something actually needed......yeah .....

i think with live TV  (system to system) and Satellite......they call it
transcoding........Live.

Well.....converting.. ... ...

being resourceful maybe

Thx



Offline neonix

  • Wiki Author
  • Sr. Member
  • *****
  • Posts: 407
Re: youtube-dl
« Reply #41 on: February 13, 2020, 12:17:10 PM »
This site https://video.genyt.net/Yjv06RjL4ng works with Dillo 3.1-dev and Opera 12.16.

Offline vinceASPECT

  • Hero Member
  • *****
  • Posts: 810
Re: youtube-dl
« Reply #42 on: October 24, 2020, 05:36:22 PM »
hello,

i wonder if anybody can share  a method by which they can enhance the commands below so that it results in  one single command that can play 2 simultaneous feeds from youtube-dl into a single mplayer instance. (audio feed + video feed)

if you know how , please could you publish it here?...thanks.


essentially therefor , a method, where-by, youtube-dl can simultaneously open and stream  2 different feeds into a single mplayer instance.

---------------------------------------------------------

so, the example command below shows how mplayer can deal with 2 different simultaneous feeds.

(a)
mplayer -vo x11 -zoom -really-quite -autosync 0 "the video link" -audiofile "the audio link"

--------------------------------------------------------
the command below shows youtube-dl grabbing ONE feed and streaming it to mplayer.....how do we make it grab TWO different feeds & stream them into the single mplayer instance in the command  (a) above.....?

(b)
youtube-dl -f 160 -o - "the youtube video link" | mplayer -

(this command  in (b) is an example command & it is visible when you install  "get_youtube-dl.tcz" and execute the script "get_latest_youtube-dl.sh" .....)


so for example, how do we simultaneously grab  feeds 160 and 249 from youtube-dl....... and stream them into the single mplayer command in (a) above?

it does not absolutely have to be one single command as the goal.
It could be two commands in sequence, one after the other.

thanks

v


« Last Edit: October 24, 2020, 05:41:25 PM by vinceASPECT »

Offline jazzbiker

  • Hero Member
  • *****
  • Posts: 934
Re: youtube-dl
« Reply #43 on: October 25, 2020, 01:06:18 AM »
Hi, vinceASPECT!

Thanks for the useful reciepts. By the way, what youtube-dl version are You using? As You know youtube-dl repos and mirrors where shut down recently. Mine is 2020.09.20.

Ha a nice Core!

Offline vinceASPECT

  • Hero Member
  • *****
  • Posts: 810
Re: youtube-dl
« Reply #44 on: October 25, 2020, 05:44:38 AM »
hello,

um....the same version as you.

i did not know it was shut down.....hmmm


thanks

v
« Last Edit: October 25, 2020, 05:52:52 AM by vinceASPECT »