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

need help for downloading ultra music festival live on youtube please

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

MrDream 03-24-2013 12:53 PM

Re: need help for downloading ultra music festival live on youtube please


 
this is the url that i found :

http://www.youtube.com/api/manifest/...QmsyRUVU/sver/

i need the rest pof the url ? where i found it

synopeas 03-24-2013 02:24 PM

Re: need help for downloading ultra music festival live on youtube please


 
There should be url starting "http://www.youtube.com/api/manifest/hls_variant/". That's the one you want to find.
I use Firefox17 with CacheViewer Continued addon to retrieve the file from the browser cache. Then you'll be able to see the complete url for the stream you want.
The url you just posted is incomplete and for the lowest bandwidth. It should end with .m3u8

For now try this:-

ffmpeg -i "http://www.youtube.com/api/manifest/hls_playlist/id/p8KFjGLe1CU.1/itag/95/source/yt_live_broadcast/ratebypass/yes/live/1/cmbypass/yes/newshard/yes/gir/yes/playlist_type/LIVE/maudio/1/pmbypass/yes/cp/U0hVSVFSVl9LTUNONV9JTFpDOjBzYTdhRzkyejc5/sver/3/upn/gM4RDZbXIl0/fexp/902000,919512,913605,931202,900821,900823,931203,9 31401,908529,930803,920201,929602,930101,930603,90 0824,910223/cpn/Bby-sOIwQbPcGy3d/ip/*.*.*.*/ipbits/8/expire/1364178263/sparams/ip,ipbits,expire,id,itag,source,ratebypass,live,cm bypass,newshard,gir,playlist_type,maudio,pmbypass, cp/signature/37A0AB53D3216643F24C8792DF2937E12DCD6685.24C0B67A0 722FCDF88CA5F9CC7A2725889800B87/key/dg_yt0/file/index.m3u8" -c copy seg.ts

Put your ip address in place of the 4 stars.

MrDream 03-24-2013 06:22 PM

Re: need help for downloading ultra music festival live on youtube please


 
thanks a lot my bro i start to download the stream with ffmpeg & i made a batch with all the code
but he download a tones of files in the cmd window & when i pause it or close it the small files with compressed in the mpeg ts file & when i play it i found craches in the video & audio & the video stop many times during paly
how i can solve this problem

synopeas 03-25-2013 05:51 AM

Re: need help for downloading ultra music festival live on youtube please


 
It sounds like a bandwidth problem. I don't know how fast your connection is but the link I gave you was for the best quality, i.e. fastest connection.

Were you watching the clip on YouTube at the same time as downloading? If so, that could account for it.

MrDream 03-25-2013 06:46 AM

Re: need help for downloading ultra music festival live on youtube please


 
Quote:

Originally Posted by synopeas (Post 60976)
It sounds like a bandwidth problem. I don't know how fast your connection is but the link I gave you was for the best quality, i.e. fastest connection.

Were you watching the clip on YouTube at the same time as downloading? If so, that could account for it.

i restart download the event early this morning when they rebroadcast the event but the qualtiy is bad 240p
i want to know how can i chose & know the qualtity that i download it from the url catch by firefox(ctrl +shift +k) & put in ffmpeg
how can i found all the resolutions 360p,480p,720p & chose the resolution that i need to be downloaded ?

synopeas 03-25-2013 08:17 AM

Re: need help for downloading ultra music festival live on youtube please


 
OK, if you're using the Web Console, put the word manifest in the filter. Then change the quality setting in the YouTube player to what ever you want.

The different quality streams are identified by different numbers:-
BANDWIDTH=390000,RESOLUTION=426x240 is number 92
BANDWIDTH=1337000,RESOLUTION=640x360 is number 93
BANDWIDTH=1390000,RESOLUTION=854x480 is number 94
BANDWIDTH=3405200,RESOLUTION=1280x720 is number 95

Mouse over the lines in the console and look for the number, e.g:-
"http://www.youtube.com/api/manifest/hls_playlist/id/p8KFjGLe1CU.1/itag/95/..."

MrDream 03-25-2013 08:42 AM

Re: need help for downloading ultra music festival live on youtube please


 
Quote:

Originally Posted by synopeas (Post 60987)
OK, if you're using the Web Console, put the word manifest in the filter. Then change the quality setting in the YouTube player to what ever you want.

The different quality streams are identified by different numbers:-
BANDWIDTH=390000,RESOLUTION=426x240 is number 92
BANDWIDTH=1337000,RESOLUTION=640x360 is number 93
BANDWIDTH=1390000,RESOLUTION=854x480 is number 94
BANDWIDTH=3405200,RESOLUTION=1280x720 is number 95

Mouse over the lines in the console and look for the number, e.g:-
"http://www.youtube.com/api/manifest/hls_playlist/id/p8KFjGLe1CU.1/itag/95/..."

i really thank you for all your effort with me synopeas :)
can i play the video in hd 720 for one minute & catch the url to download hight quality video & back again to 360 on live stream to watch the event live because the speed of my bandwidth isn't faster & i can't watch the event live in hd
or i can catch the url video & edit the quality manually by writing 95 for example

synopeas 03-25-2013 09:46 AM

Re: need help for downloading ultra music festival live on youtube please


 
You can't just change the number. There are other bits that are different as well.

Just change the quality in the player and wait for it to start playing. As soon as it does you can change it straight back to low quality. The link you want should be the one at the bottom of the list.

It may be possible to stop the YouTube player altogether and just use vlc to watch the stream from the file as it's downloading. I think that should work. That way you would be using all your bandwidth to download and still be able to watch it more or less as it's happening.

MrDream 03-25-2013 10:15 AM

Re: need help for downloading ultra music festival live on youtube please


 
Quote:

Originally Posted by synopeas (Post 60990)
You can't just change the number. There are other bits that are different as well.

Just change the quality in the player and wait for it to start playing. As soon as it does you can change it straight back to low quality. The link you want should be the one at the bottom of the list.

It may be possible to stop the YouTube player altogether and just use vlc to watch the stream from the file as it's downloading. I think that should work. That way you would be using all your bandwidth to download and still be able to watch it more or less as it's happening.

i understand from your descriptions that i should play the stream in hd & catch the url & back to low quality again ? yes or not :)
but how i can watch the stream on vlc ?! by the url.m3u8 catched or by the ts file that ffmpeg creating during download
note that the file creating by ffmpeg is still 0 kb during downloading & when i stop the downloading or close cmd window it compress the millions of small files in cmd in video.ts & become a big video that i can watch
& i have another note : the player doesn't show the time remaing of the video, it show 00:00 during watching video downloded


synopeas 03-25-2013 11:42 AM

Re: need help for downloading ultra music festival live on youtube please


 
Yes to your first question.

I meant play the .ts file you are saving with vlc. I did say I wasn't sure and I can't find a live stream at the moment so can't check it.

As for the 00:00 problem, I can remember that happening with live streams I've saved in the past. I just tried a few old .ts files I have and they played fine with vlc and showed the total time and time elapsed. Either the newer version of vlc handles .ts files better, or I fixed the files, I can't remember.


All times are GMT -6. The time now is 02:34 PM.