View Single Post
  #10  
Old 05-30-2014, 07:48 AM
shantiq shantiq is offline
shan
 
Join Date: Jan 2012
Posts: 33
shantiq is on a distinguished road
Default

ok sort of solved but still no good on mpv vlc downloadhelper mediapimp ;;;


so my youtube-dl was out of date


cured that:


Quote:
sudo wget https://yt-dl.org/downloads/2014.05.19/youtube-dl -O /usr/local/bin/youtube-dl
--2014-05-30 13:11:14-- https://yt-dl.org/downloads/2014.05.19/youtube-dl
Resolving yt-dl.org (yt-dl.org)... 95.143.172.170, 2001:1a50:11:0:5f:8f:acaa:177
Connecting to yt-dl.org (yt-dl.org)|95.143.172.170|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 470816 (460K) [application/octet-stream]
Saving to: ‘/usr/local/bin/youtube-dl’

100%[================================================== ================================================== =================>] 470,816 40.7KB/s in 11s

2014-05-30 13:11:33 (40.7 KB/s) - ‘/usr/local/bin/youtube-dl’ saved [470816/470816]

shantiq@shantiq-00000000000000000000000:~$ sudo chmod a+x /usr/local/bin/youtube-dl

shantiq@shantiq-00000000000000000000000:~$ youtube-dl --version
2014.05.19

then it WORKS!


Quote:
youtube-dl -F https://www.youtube.com/watch?v=qPK67Px8sR8
[youtube] Setting language
[youtube] qPK67Px8sR8: Downloading webpage
[youtube] qPK67Px8sR8: Downloading video info webpage
[youtube] qPK67Px8sR8: Extracting video information
[youtube] qPK67Px8sR8: Encrypted signatures detected.
[info] Available formats for qPK67Px8sR8:
format QUOTE extension resolution note
171 webm audio only DASH audio , audio@ 48k (worst)
140 m4a audio only DASH audio , audio@128k
160 mp4 144p DASH video , video only
242 webm 240p DASH video , video only
133 mp4 240p DASH video , video only
243 webm 360p DASH video , video only
134 mp4 360p DASH video , video only
244 webm 480p DASH video , video only
135 mp4 480p DASH video , video only
247 webm 720p DASH video , video only
136 mp4 720p DASH video , video only
248 webm 1080p DASH video , video only
137 mp4 1080p DASH video , video only
17 3gp 176x144
36 3gp 320x240
5 flv 400x240
43 webm 640x360
18 mp4 640x360
22 mp4 1280x720 (best)


BUT BEST here means 720p or to go to -f 137 for 1080p and get best audio which stops at 128k whn the audio in -f 22 in in fact 192k


see


Quote:
mediainfo "Daughter - 'Shallows' (Live @ Air Studios)-qPK67Px8sR8.mp4"
General
Complete name : Daughter - 'Shallows' (Live @ Air Studios)-qPK67Px8sR8.mp4
Format : MPEG-4
Format profile : Base Media / Version 2
QUOTEc ID : mp42
File size : 91.4 MiB
Duration : 7mn 31s
Overall bit rate mode : Variable
Overall bit rate : 1 699 Kbps
EnQUOTEd date : UTC 2014-04-17 10:50:26
Tagged date : UTC 2014-04-17 10:50:26
gsst : 0
gstd : 451488
gssd : B3EFE2487HH1401452190829553
gshh : r4---sn-8pgbpohxqp5-auoe.googlevideo.com

Video
ID : 1
Format : AVC
Format/Info : Advanced Video QUOTEc
Format profile : High@L3.1
Format settings, CABAC : Yes
Format settings, ReFrames : 1 frame
QUOTEc ID : avc1
QUOTEc ID/Info : Advanced Video Coding
Duration : 7mn 31s
Bit rate : 1 504 Kbps
Maximum bit rate : 5 789 Kbps
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 25.000 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.065
Stream size : 81.0 MiB (89%)
Tagged date : UTC 2014-04-17 10:50:32

Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio QUOTEc
Format profile : LC
QUOTEc ID : 40
Duration : 7mn 31s
Bit rate mode : Variable
Bit rate : 192 Kbps
Maximum bit rate : 201 Kbps

Channel count : 2 channels
Channel positions : Front: L R
Sampling rate : 44.1 KHz
Compression mode : Lossy
Stream size : 10.3 MiB (11%)
Title : IsoMedia File Produced by Google, 5-11-2011
EnQUOTEd date : UTC 2014-04-17 10:50:30
Tagged date : UTC 2014-04-17 10:50:32


so the proper workaround is to download -f 137 for 1080p and -f 22 strip the audio for 192k then mux both right palaver ::]]


But I thnk I shall stay with best so 720p and 192k


so here goes:



Quote:
youtube-dl -t qPK67Px8sR8 ; youtube-dl -t vM1xYO1NlrA ; youtube-dl -t Pmv3oRVhHlg ; youtube-dl -t gzI_GrBP2HM ; youtube-dl -t Bqy0tD6mCPs ;
and if you want to extract 192k

Quote:
for f in *.mp4 ; do ffmpeg -i "$f" -vn "${f%.*}.m4a"; done
then for 1080p do this

Quote:
youtube-dl -t -f 137 qPK67Px8sR8 ; youtube-dl -t -f 137 vM1xYO1NlrA ; youtube-dl -t -f 137 Pmv3oRVhHlg ; youtube-dl -t -f 137 gzI_GrBP2HM ; youtube-dl -t -f 137 Bqy0tD6mCPs ;

then mux eACH PAIR

Quote:
ffmpeg -i 1080.mp4 -i 192.m4a -c copy 1980-192.mp4
so yea right palaver ::]]








BUT why do i get this on vlc?

Quote:
vlc http://www.youtube.com/watch?v=vM1xYO1NlrA
VLC media player 2.0.8 Twoflower (revision 2.0.8a-0-g68cf50b)
[0x1c76108] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
"sni-qt/15136" WARN 13:50:08.648 void StatusNotifierItemFactory::connectToSnw() Invalid interface to SNW_SERVICE
[0x1ebb5c8] main playlist: stopping playback
[0x1ebb5c8] main playlist: stopping playback
[0x7f59e00014d8] access_http access error: error: HTTP/1.1 403 Forbidden

and this on mpv

Quote:
mpv http://www.youtube.com/watch?v=vM1xYO1NlrA
Playing: http://www.youtube.com/watch?v=vM1xYO1NlrA
[quvi] Checking URL...
[quvi] server response QUOTE 403 (connQUOTE=0)
[cache] Cache size set to 320 KiB
Cache fill: 20.62% (67584 bytes)
Failed to recognize file format.
Reply With Quote