Off-Topic > Off-Topic - Tiny Core Lounge

youtube-dl

(1/9) > >>

vinceASPECT:
Hello,

does anybody know the command that both shows all of the file types
available for a particular youtube movie link......and then can also show the url
of any of the listed file type option(s) that you choose....(not to actually download it)....

i can't quite get it.......i know "g" is somehow related to the url's

thx

V

Misalf:

--- Code: ---youtube-dl --list-formats "$URL"

--- End code ---

--- Code: ---youtube-dl -g --cookies /tmp/ytcookie --format 22 "$URL"

--- End code ---
If it doesn't work I can post the script I made to automate this. Might be a little messy though.

vinceASPECT:
yes thankyou...i figured out an approach

youtube-dl -f 17 -g (then the youtube movie link here)

this above just shows me the URL the file type assigned the listing number of 17 from a list of
about 19 different file types......

it's unusual becausae the list numbering has no real meaning.....so the positions that interest
me are 17 and 251

the listing just has no meaning or logical counting

eg (list below)

340--- some file type
26 -----some file type
----
---
----
---
290 ----some file type
---
---
215......mp4 360 file type
----
----
17 .......3gp 144 file type
----
-----

there are about 19 list entries in total

V

Misalf:
Yep. Numbers.
Maybe the attached script is useful for you in some way. ;)

vinceASPECT:
uh....yeah. -----i also tried to play live youtube videos in mplayer. First off i used youtube-dl with the live movie link and it listed some possible feeds. I grabbed one of the feeds  (93) and it then showed me the "DOTmu8" styled link for that feed.

Mplayer only played that video feed link for 10 secs then sputtered out  a "can't reverse seek in a stream" error.  I tried many switches like -cache etc but there was no improvement.......does anybody know how to solve that error pls?l

Played great for 10 secs....

Navigation

[0] Message Index

[#] Next page

Go to full version