WordRider Home
Youtube Olympic Video
November 14, 2014 01:23AM
Having problems downloading some Olympic videos from Youtube. I get Error - No Available Youtube media.

Here are two videos that won't download for me.
[www.youtube.com]
[www.youtube.com]

Here are two videos that download fine.
[www.youtube.com]
[www.youtube.com]

Using 0.9u4, Youtube plugin 2.6.2
Re: Youtube Olympic Video
November 14, 2014 10:18AM
The videos use HLS which is not supported yet.
Re: Youtube Olympic Video
November 14, 2014 05:20PM
SMorate Wrote:
-------------------------------------------------------
> Having problems downloading some Olympic videos from Youtube.
> I get Error - No Available Youtube media.
>
> Here are two videos that won't download for me.
> [www.youtube.com]

tong2shot Wrote:
-------------------------------------------------------
> The videos use HLS which is not supported yet.

@SMorate

If you want desperately those "Apple HLS" (do look it up...) youtube videos,
then you can use the CLI tool FFmpeg, that does support saving HLS streams.
You just have to detect/identify the manifest file for a chosen quality variant of
the video (if you don't understand what I'm saying, google "save HLS streams
with ffmpeg").

For your first video [v=evR2SqPuEK4] and quality=480p,
Firefox's web console (with search term .m3u8) reveals
that the corresponding manifest file is:

https://manifest.googlevideo.com/api/manifest/hls_playlist/id/7af4764aa3ee10ae/itag/94/source/youtube/requiressl/yes/ratebypass/yes/pfa/1/pbr/yes/gir/yes/clen/1177860496/lmt/1347714159854370/dur/8074.440/hls_chunk_host/r5---sn-4vguioxu-n3be.googlevideo.com/gcr/gr/playlist_type/DVR/ms/au/mv/m/mm/31/pmbypass/yes/dover/2/keepalive/yes/fexp/902031,907259,908595,927622,932404,934939,942483,943909,947209,947215,948124,952302,952605,952901,953912,957103,957105,957201/mt/1415982961/upn/xtUIBlwLNaM/sver/3/cpn/l2KuhqueIC5NRbZB/ip/[your IP address]/ipbits/0/expire/1416004721/sparams/ip,ipbits,expire,id,itag,source,requiressl,ratebypass,pfa,pbr,gir,clen,lmt,dur,hls_chunk_host,gcr,playlist_type,ms,mv,mm,pmbypass/signature/3CEC5EA5D827B5D0726BF5858A6098C86A7696A9.23744143BB3648CF2F1B2B7F097127AE1652EE6C/key/dg_yt0/file/index.m3u8

The above code is only valid for a short while and also contains your IP address at the time of its generation;
you can't just copy&paste and use it on your system; you have to generate "your" version of the manifest URL.
Then use the following FFmpeg command:

ffmpeg -i "[very long string].m3u8" -c copy video.ts

It may not take 2h15min (the duration of the video), but the "saving" process takes a lot of time...
The end result is an mpegts file, which plays fine with VLC & recent versions of MPC-HC.
If you so wish, you can remux to the MP4 or Matroska containers:

ffmpeg -i video.ts -c:v copy -c:a copy -bsf:a aac_adtstoasc video.mp4
ffmpeg -i video.ts -c:v copy -c:a copy video.mkv

EDIT: I have attached the MediaInfo report for the remuxed-to-MP4 end file.



Edited 1 time(s). Last edit at 11/14/2014 05:42PM by TVjunkie.
Attachments:
open | download - GA11 Appar. Finals & VC - Gymnastics Artistic - 06 August 2012 - London 2012 Olympic Games[480p].mp4.txt (4.1 KB)
Re: Youtube Olympic Video
November 14, 2014 06:47PM
Thank you both for the replies. I know nothing of Apple HLS, so I've some reading to do. I do have ffmpeg though so I'll follow your instructions and see if I can grab the vid. Thanks again.
Re: Youtube Olympic Video
December 03, 2014 01:24PM
Don't know why this (m4v) can't be downloaded ?

please take a look, thanks..

[www.youtube.com]

=
Re: Youtube Olympic Video
December 03, 2014 02:05PM
affter333 Wrote:
-------------------------------------------------------
> Don't know why this (m4v) can't be downloaded ?
>
> please take a look, thanks..
>
> [www.youtube.com]
>
> =

I assume you want to download 1080p. Yes, I just checked the video can't be downloaded. I got HTTP status code 410.
Quote
410 Gone Indicates that the resource requested is no longer available and will not be available again. This should be used when a resource has been intentionally removed and the resource should be purged. Upon receiving a 410 status code, the client should not request the resource again in the future. Clients such as search engines should remove the resource from their indices. Most use cases do not require clients and search engines to purge the resource, and a "404 Not Found" may be used instead.

There are 2 types 1080p videos provided by YouTube : MP4 and WebM, the plugin will choose MP4. But in this case, the MP4 version is "Gone" or not available as the HTTP status code indicated.
Sorry, only registered users may post in this forum.

Click here to login