Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > Video stream recording
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #11  
Old 08-23-2012, 12:39 PM
pankyk86 pankyk86 is offline
Junior Member
 
Join Date: Aug 2012
Posts: 10
pankyk86 is on a distinguished road
Default

Re: Olympic official streaming videos, i'm going crazy, i can't download it! help


i downloaded builds "static" but this program is like arabic for me, i don't understand how to play, i click on ffmpeg icon but it appears just for 1 second a black window......
Reply With Quote
  #12  
Old 08-23-2012, 02:16 PM
nwtim nwtim is offline
Member
 
Join Date: Aug 2012
Posts: 59
nwtim is on a distinguished road
Default

Re: Olympic official streaming videos, i'm going crazy, i can't download it! help


Quote:
Originally Posted by pankyk86 View Post
i downloaded builds "static" but this program is like arabic for me, i don't understand how to play, i click on ffmpeg icon but it appears just for 1 second a black window......
ffmpeg.exe by itself will not do anything. That's why you're seeing a black window pop open and then close. It's an executable that needs arguments. You can see a listing of all the arguments it can deal with by opening a command window, navigate to a folder containing ffmpeg.exe, and type ffmpeg --help at the command prompt. It'll race by, so you could use the |more pipe (eg. ffmpeg --help|more) or just scroll back up to the command to read from the top.

I find the easiest way to deal with this kind of command line executable is to write a batch file, especially when dealing with lots of text like some of the URLs we have to deal with.

Do to this, I create a new text file with a line of text starting with the letters rem (remark) with a comment about the use of the file - usually just the subject of the video to be processed. On the next line I type in the ffmpeg command line that I wish to process. You don't have to, but I often put a last line in the file with the pause command so I can see any feedback in the command window before it closes. Then I save it as a batch file (eg. file.bat) and place it in the same folder as ffmpeg.exe. Make sure you have room for the new video file there, or else add a path to the output filename (spaces require that the output name is surrounded in quotes) where you know there's enough free space.

Code:
rem - 2012 Olympics Track & Field Men's 100 Meter Final
ffmpeg.exe -i "http://www.youtube.com/api/manifest/hls_playlist/id/.../key/ck1/file/index.m3u8" -c copy newvideo.ts
pause
Once you've got a batch file in the folder you've chose for ffmpeg and the video, you will not need to use the command prompt window. Just double-click on the batch file.

Does that make sense?
Reply With Quote
  #13  
Old 08-23-2012, 04:01 PM
pankyk86 pankyk86 is offline
Junior Member
 
Join Date: Aug 2012
Posts: 10
pankyk86 is on a distinguished road
Default

Re: Olympic official streaming videos, i'm going crazy, i can't download it! help


Quote:
Originally Posted by nwtim View Post
ffmpeg.exe by itself will not do anything. That's why you're seeing a black window pop open and then close. It's an executable that needs arguments. You can see a listing of all the arguments it can deal with by opening a command window, navigate to a folder containing ffmpeg.exe, and type ffmpeg --help at the command prompt. It'll race by, so you could use the |more pipe (eg. ffmpeg --help|more) or just scroll back up to the command to read from the top.

I find the easiest way to deal with this kind of command line executable is to write a batch file, especially when dealing with lots of text like some of the URLs we have to deal with.

Do to this, I create a new text file with a line of text starting with the letters rem (remark) with a comment about the use of the file - usually just the subject of the video to be processed. On the next line I type in the ffmpeg command line that I wish to process. You don't have to, but I often put a last line in the file with the pause command so I can see any feedback in the command window before it closes. Then I save it as a batch file (eg. file.bat) and place it in the same folder as ffmpeg.exe. Make sure you have room for the new video file there, or else add a path to the output filename (spaces require that the output name is surrounded in quotes) where you know there's enough free space.

Code:
rem - 2012 Olympics Track & Field Men's 100 Meter Final
ffmpeg.exe -i "http://www.youtube.com/api/manifest/hls_playlist/id/.../key/ck1/file/index.m3u8" -c copy newvideo.ts
pause
Once you've got a batch file in the folder you've chose for ffmpeg and the video, you will not need to use the command prompt window. Just double-click on the batch file.

Does that make sense?
thanks, it remains difficult to understand for me because i don't have a "great" experience in this :/ but for example in this video http://www.youtube.com/watch?v=78btYWiv_xM where is the ..api/manifest....? how can i take this link? i'm sorry, i'm a disaster!! maybe the best solution is someone who download video for me and then upload on a file sharging site
Reply With Quote
  #14  
Old 08-23-2012, 06:10 PM
nwtim nwtim is offline
Member
 
Join Date: Aug 2012
Posts: 59
nwtim is on a distinguished road
Default

Re: Olympic official streaming videos, i'm going crazy, i can't download it! help


Quote:
Originally Posted by pankyk86 View Post
thanks, it remains difficult to understand for me because i don't have a "great" experience in this :/ but for example in this video http://www.youtube.com/watch?v=78btYWiv_xM where is the ..api/manifest....? how can i take this link? i'm sorry, i'm a disaster!! maybe the best solution is someone who download video for me and then upload on a file sharging site
The URL for such programs often have an expiration date and they can be machine specific. I've found that to be the case with all the NBCOlympics videos that are served in 5-second chunks.

You won't be able to download/transcode (that's pretty much what ffmpeg is doing) the video without the proper URL, but there are numerous tools to do this. It's not completely trivial, as sometimes you have refresh the page and/or restart the video in order for the URL to be detected, but for these Olympics videos you're looking for the URL that ends in .m3u8. There are many ways to grab that URL. I happen to use the web console in Firefox (ctrl-shift-k) and enter m3u8 in the filter box in the upper right corner. The URL generally pops up right at the beginning of the video and that's all you need.

Don't give up - you're about to get this and then you'll be helping others.
Reply With Quote
  #15  
Old 08-23-2012, 06:33 PM
pankyk86 pankyk86 is offline
Junior Member
 
Join Date: Aug 2012
Posts: 10
pankyk86 is on a distinguished road
Default

Re: Olympic official streaming videos, i'm going crazy, i can't download it! help


Quote:
Originally Posted by nwtim View Post
The URL for such programs often have an expiration date and they can be machine specific. I've found that to be the case with all the NBCOlympics videos that are served in 5-second chunks.

You won't be able to download/transcode (that's pretty much what ffmpeg is doing) the video without the proper URL, but there are numerous tools to do this. It's not completely trivial, as sometimes you have refresh the page and/or restart the video in order for the URL to be detected, but for these Olympics videos you're looking for the URL that ends in .m3u8. There are many ways to grab that URL. I happen to use the web console in Firefox (ctrl-shift-k) and enter m3u8 in the filter box in the upper right corner. The URL generally pops up right at the beginning of the video and that's all you need.

Don't give up - you're about to get this and then you'll be helping others.
thanks for all your help and patience, i'm looking for the m3u8
Reply With Quote
  #16  
Old 08-23-2012, 06:37 PM
pankyk86 pankyk86 is offline
Junior Member
 
Join Date: Aug 2012
Posts: 10
pankyk86 is on a distinguished road
Default

Re: Olympic official streaming videos, i'm going crazy, i can't download it! help


now i have this 3 :
http://www.youtube.com/api/manifest/...ile/index.m3u8 [HTTP/1.1 200 OK 141ms]

[01:34:54.805] GET http://www.youtube.com/api/manifest/...ile/index.m3u8 [HTTP/1.1 200 OK 150ms]

--
[01:35:10.479] GET http://www.youtube.com/api/manifest/...ile/index.m3u8 [HTTP/1.1 200 OK 136ms]

what is the most important and what is the next step now?
Reply With Quote
  #17  
Old 08-24-2012, 08:24 PM
quackeroats quackeroats is offline
Junior Member
 
Join Date: Aug 2012
Posts: 12
quackeroats is on a distinguished road
Default

Re: Olympic official streaming videos, i'm going crazy, i can't download it! help


Code:
ffmpeg -i http://www.youtube.com/api/manife
st/hls_variant/upn/BAK-PHP-zoU/sparams/id%2Cip%2Cipbits%2Cmaudio%2Cplaylist_type
%2Cpmbypass%2Cexpire/playlist_type/CLEAN/maudio/1/ip/209.197.20.248/ipbits/8/sig
nature/525A248DB3E26B0667C8A52013007E37840DC7FB.D52F09F1B969DED333C040DCE9E3E8E0
A1227A46/sver/3/source/yt_live_broadcast/expire/1345881156/key/yt1/pmbypass/yes/
id/016fd0b7d484de1f/file/index.m3u8 -c copy out.ts
ffmpeg version N-35709-g7d531e8, Copyright (c) 2000-2011 the FFmpeg developers
  built on Dec 12 2011 13:50:00 with gcc 4.6.2
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-ru
ntime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libope
ncore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --en
able-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger -
-enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwben
c --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-
libxvid --enable-zlib
  libavutil    51. 32. 0 / 51. 32. 0
  libavcodec   53. 43. 0 / 53. 43. 0
  libavformat  53. 24. 0 / 53. 24. 0
  libavdevice  53.  4. 0 / 53.  4. 0
  libavfilter   2. 53. 0 /  2. 53. 0
  libswscale    2.  1. 0 /  2.  1. 0
  libpostproc  51.  2. 0 / 51.  2. 0
[http @ 01CAF100] Key 'pb' not found.
[http @ 01CAF100] Error parsing options string ,ipbits,expire,id,itag,source,rat
ebypass,cmbypass,playlist_type,maudio,pmbypass/signature/6BA0E95DF9DA4DB1652A499
C146790C8CDE1082F.3843FAE1174BDB5492E92A7834A9E7E0B6E3691F/key/ck1/file/index.m3
u8
http://www.youtube.com/api/manifest/...arams/id%2Cip%
2Cipbits%2Cmaudio%2Cplaylist_type%2Cpmbypass%2Cexpire/playlist_type/CLEAN/maudio
/1/ip/209.197.20.248/ipbits/8/signature/525A248DB3E26B0667C8A52013007E37840DC7FB
.D52F09F1B969DED333C040DCE9E3E8E0A1227A46/sver/3/source/yt_live_broadcast/expire
/1345881156/key/yt1/pmbypass/yes/id/016fd0b7d484de1f/file/index.m3u8: Not enough
 space
anyone has this issue>?
Reply With Quote
  #18  
Old 08-24-2012, 11:46 PM
nwtim nwtim is offline
Member
 
Join Date: Aug 2012
Posts: 59
nwtim is on a distinguished road
Default

Re: Olympic official streaming videos, i'm going crazy, i can't download it! help


Quote:
Originally Posted by pankyk86 View Post
now i have this 3 :
http://www.youtube.com/api/manifest/...ile/index.m3u8 [HTTP/1.1 200 OK 141ms]

[01:34:54.805] GET http://www.youtube.com/api/manifest/...ile/index.m3u8 [HTTP/1.1 200 OK 150ms]

--
[01:35:10.479] GET http://www.youtube.com/api/manifest/...ile/index.m3u8 [HTTP/1.1 200 OK 136ms]

what is the most important and what is the next step now?
I usually take the last one, as it's the one that pops up the moment I click on the 1080p HD option of the quality gear in the video.
Reply With Quote
  #19  
Old 08-24-2012, 11:51 PM
nwtim nwtim is offline
Member
 
Join Date: Aug 2012
Posts: 59
nwtim is on a distinguished road
Default

Re: Olympic official streaming videos, i'm going crazy, i can't download it! help


Quote:
Originally Posted by quackeroats View Post
Code:
ffmpeg -i http://www.youtube.com/api/manife
st/hls_variant/upn/BAK-PHP-zoU/sparams/id%2Cip%2Cipbits%2Cmaudio%2Cplaylist_type
%2Cpmbypass%2Cexpire/playlist_type/CLEAN/maudio/1/ip/209.197.20.248/ipbits/8/sig
nature/525A248DB3E26B0667C8A52013007E37840DC7FB.D52F09F1B969DED333C040DCE9E3E8E0
A1227A46/sver/3/source/yt_live_broadcast/expire/1345881156/key/yt1/pmbypass/yes/
id/016fd0b7d484de1f/file/index.m3u8 -c copy out.ts
ffmpeg version N-35709-g7d531e8, Copyright (c) 2000-2011 the FFmpeg developers
  built on Dec 12 2011 13:50:00 with gcc 4.6.2
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-ru
ntime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libope
ncore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --en
able-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger -
-enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwben
c --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-
libxvid --enable-zlib
  libavutil    51. 32. 0 / 51. 32. 0
  libavcodec   53. 43. 0 / 53. 43. 0
  libavformat  53. 24. 0 / 53. 24. 0
  libavdevice  53.  4. 0 / 53.  4. 0
  libavfilter   2. 53. 0 /  2. 53. 0
  libswscale    2.  1. 0 /  2.  1. 0
  libpostproc  51.  2. 0 / 51.  2. 0
[http @ 01CAF100] Key 'pb' not found.
[http @ 01CAF100] Error parsing options string ,ipbits,expire,id,itag,source,rat
ebypass,cmbypass,playlist_type,maudio,pmbypass/signature/6BA0E95DF9DA4DB1652A499
C146790C8CDE1082F.3843FAE1174BDB5492E92A7834A9E7E0B6E3691F/key/ck1/file/index.m3
u8
http://www.youtube.com/api/manifest/...arams/id%2Cip%
2Cipbits%2Cmaudio%2Cplaylist_type%2Cpmbypass%2Cexpire/playlist_type/CLEAN/maudio
/1/ip/209.197.20.248/ipbits/8/signature/525A248DB3E26B0667C8A52013007E37840DC7FB
.D52F09F1B969DED333C040DCE9E3E8E0A1227A46/sver/3/source/yt_live_broadcast/expire
/1345881156/key/yt1/pmbypass/yes/id/016fd0b7d484de1f/file/index.m3u8: Not enough
 space
anyone has this issue>?
I did when I ran out of free space on the drive I was writing to.
Reply With Quote
  #20  
Old 08-25-2012, 10:25 AM
pankyk86 pankyk86 is offline
Junior Member
 
Join Date: Aug 2012
Posts: 10
pankyk86 is on a distinguished road
Default

Re: Olympic official streaming videos, i'm going crazy, i can't download it! help


Quote:
Originally Posted by nwtim View Post
I usually take the last one, as it's the one that pops up the moment I click on the 1080p HD option of the quality gear in the video.
ok the last one, and now? what i have to do with this link? next step?
Reply With Quote
Reply Post New Thread
Tags:



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 09:00 AM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons