Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   Video stream recording (http://stream-recorder.com/forum/forumdisplay.php?f=4)
-   -  

some new youtube videos are now impossible to keep ????

(http://stream-recorder.com/forum/showthread.php?t=18348)

shantiq 05-30-2014 04:11 AM

some new youtube videos are now impossible to keep ????


 
some youtube videos are now impossible to keep ????


or are they?


any good ideas? tried mediapimp video downloadhelper and youtube-dl but it seems there is now an option for uploader to block all that

anyone knows how to circumvent ?

i wanted all 5 of these; in fact i only just trying to play them through mpv and vlc since browsers on Ubuntu make hd a stutter-fest

but those will not even play through mpv and vlc


so i need to download them to see them with no stutter



how does one? i am on ubuntu but it must affect other platforms too since it is a yt issue


thanx in advance


and here is the guilty party


https://www.youtube.com/playlist?lis...u9vbFSNh8BWkON


example:
Quote:

youtube-dl -t qPK67Px8sR8
[youtube] Setting language
[youtube] qPK67Px8sR8: Downloading video webpage
[youtube] qPK67Px8sR8: Downloading video info webpage
[youtube] qPK67Px8sR8: Extracting video information
[youtube] qPK67Px8sR8: Encrypted signatures detected.
ERROR: unable to download video
also

Quote:

mpv https://www.youtube.com/watch?v=qPK67Px8sR8
Playing: https://www.youtube.com/watch?v=qPK67Px8sR8
[quvi] Checking URL...
[quvi] server response code 403 (conncode=0)
[cache] Cache size set to 320 KiB
Cache fill: 20.62% (67584 bytes)
[ffmpeg] tls: A TLS packet with unexpected length was received.
Failed to recognize file format.
and


Quote:

cvlc https://www.youtube.com/watch?v=qPK67Px8sR8
VLC media player 2.0.8 Twoflower (revision 2.0.8a-0-g68cf50b)
[0xd97798] dummy interface: using the dummy interface module...
[0x7f5404005d38] gnutls tls client error: A TLS packet with unexpected length was received.
[0x7f5404001438] main access error: Read error: Connection reset by peer
[0xefe608] main playlist: stopping playback
[0xefe608] main playlist: stopping playback
[0x7f5404f369a8] access_http access error: error: HTTP/1.1 403 Forbidden
[0x7f5404f369a8] access_http access error: error: HTTP/1.1 403 Forbidden
[0x7f5404f369a8] access_mms access error: error: HTTP/1.1 403 Forbidden
[0x7f5408000d68] main input error: open of `http://r4---sn-8pgbpohxqp5-auoe.goog...%2Cexpire&mt=1

blimey 05-30-2014 04:29 AM

Re: some new youtube videos are now impossible to keep ????


 
did you try (browser extensions) without ssl?

no issues on windows for all qualities using http.

shantiq 05-30-2014 04:46 AM

Re: some new youtube videos are now impossible to keep ????


 
thanx for prompt reply blimey but can you be a little detailed here please
are you saying you can download these easily on Windows? or do you mean just play them?

what is ssl ? this? and how would i change my settings in regards to that?


i use chromium and ssl is mentioned here




should i tick server revocation ? what does it do and mean?


further advice would be welcome


thanx shan


PS let me clarify so we know what is not working

the videos play in the browser but badly as flash is rubbish on linux

for me a good workaround always is to play the url through vlc or mpv
or to download the video with youtube-dl mediapimp or video downloadhelper and play in a player


but many new yt vids will not do this and a code 403 appears as can be seen above

blimey 05-30-2014 04:58 AM

Re: some new youtube videos are now impossible to keep ????


 
What I mean is, use http instead of https in the youtube video url.

For example, use;
Code:

http://www.youtube.com/watch?v=qPK67Px8sR8
instead of;

Code:

https://www.youtube.com/watch?v=qPK67Px8sR8

shantiq 05-30-2014 05:08 AM

Re: some new youtube videos are now impossible to keep ????


 
oh i see .... sadly no difference


Quote:

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


Exiting... (No files played)
shantiq@shantiq-00000000000000000000000:~$ youtube-dl -t http://www.youtube.com/watch?v=qPK67Px8sR8
[youtube] Setting language
[youtube] qPK67Px8sR8: Downloading video webpage
[youtube] qPK67Px8sR8: Downloading video info webpage
[youtube] qPK67Px8sR8: Extracting video information
[youtube] qPK67Px8sR8: Encrypted signatures detected.
ERROR: unable to download video

bat999 05-30-2014 05:51 AM

Re: some new youtube videos are now impossible to keep ????


 
Quote:

Originally Posted by shantiq (Post 67967)
oh i see .... sadly no difference

Hi
Seems to be working OK for me. :)
Code:

@Xubuntu:~$ cat /etc/issue
Ubuntu 14.04

Code:

@Xubuntu:~$ youtube-dl --version
2014.05.19

Code:

@Xubuntu:~$ 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.
[youtube] qPK67Px8sR8: Downloading js player vfldOnicU
[info] Available formats for qPK67Px8sR8:
format code 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)

Code:

@Xubuntu:~$ youtube-dl -f 18 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.
[download] Destination: Daughter - 'Shallows' (Live @ Air Studios)-qPK67Px8sR8.mp4
[download] 100% of 27.30MiB in 00:11


shantiq 05-30-2014 05:54 AM

FFox


 
thanx again blimey so tried video downloadhelper on FF and this is what happens




are you saying you can download on your Windows setup with say mediapimp and video downloadhelper or similar and no prob? in which case this is not a YT issue but an ubuntu problem or maybe just my setup; trying to understand here why i can play these urls or download

shantiq 05-30-2014 05:59 AM

youtube-dl


 
ok bat so it is my setup :) but why can i not even play url through vlc or mpv? that is the mystery to me?


i get



Quote:

youtube-dl -F https://www.youtube.com/watch?v=qPK67Px8sR8
[youtube] Setting language
[youtube] qPK67Px8sR8: Downloading video webpage
[youtube] qPK67Px8sR8: Downloading video info webpage
[youtube] qPK67Px8sR8: Extracting video information
[youtube] qPK67Px8sR8: Encrypted signatures detected.
Available formats:
22 : mp4 [720x1280]
18 : mp4 [360x640]
43 : webm [360x640]
5 : flv [240x400]
17 : mp4 [144x176]
137 : mp4 [1080p] (DASH Video)
248 : webm [1080p] (DASH Video)
136 : mp4 [720p] (DASH Video)
247 : webm [720p] (DASH Video)
135 : mp4 [480p] (DASH Video)
244 : webm [480p] (DASH Video)
134 : mp4 [360p] (DASH Video)
243 : webm [360p] (DASH Video)
133 : mp4 [240p] (DASH Video)
242 : webm [240p] (DASH Video)
160 : mp4 [192p] (DASH Video)
140 : mp4 [128k] (DASH Audio)
171 : webm [128k] (DASH Audio)

denobis 05-30-2014 06:46 AM

Re: some new youtube videos are now impossible to keep ????


 
Try atresdownloader, no problem with signature encryption

shantiq 05-30-2014 07:48 AM

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.


All times are GMT -6. The time now is 08:54 PM.