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
  #1  
Old 03-27-2016, 12:08 AM
meisa meisa is offline
Junior Member
 
Join Date: Mar 2016
Posts: 5
meisa is on a distinguished road
Default

how to download videos from yahoo!7 ?


hi everyone .
I tried to download from this site : https://au.tv.yahoo.com/plus7 with some programs but i failed ! can anyone help me please . this is very important for me
there is one of videos from this site :
https://au.tv.yahoo.com/plus7/all-sa...sode-46/#page1
Reply With Quote
  #2  
Old 03-30-2016, 02:17 AM
nyancat nyancat is offline
Junior Member
 
Join Date: Mar 2016
Posts: 9
nyancat is on a distinguished road
Default

Re: how to download videos from yahoo!7 ?


https://greasyfork.org/en/scripts/88...d-details/code

Install the above script, you'll need Tampermonkey on Chrome or Greasemonkey on Firefox. When you watch a video on Plus7 you'll get a FFMPEG button at the top, click on it, followed by the resolution and it will give you the command to enter into Command Prompt to download the stream via FFMPEG.
Reply With Quote
  #3  
Old 04-01-2016, 07:22 PM
meisa meisa is offline
Junior Member
 
Join Date: Mar 2016
Posts: 5
meisa is on a distinguished road
Default

Re: how to download videos from yahoo!7 ?


Quote:
Originally Posted by nyancat View Post
https://greasyfork.org/en/scripts/88...d-details/code

Install the above script, you'll need Tampermonkey on Chrome or Greasemonkey on Firefox. When you watch a video on Plus7 you'll get a FFMPEG button at the top, click on it, followed by the resolution and it will give you the command to enter into Command Prompt to download the stream via FFMPEG.
thanks for your answer but yet i have problem . i used Greasemonkey and then installed the script . after thad i opend the +7 link and with " user scripts commands " in Greasemonkey i got this :
ffmpeg -i "https://secure.brightcove.com/services/mobile/streaming/index/rendition.m3u8?assetId=4653030887001&expiration=14 59814460000&token=7ee19f9f573cd8ec6cdf3a675ff7c46d f77c6848" -c copy All_Saints__Season_1__episode_46.ts

now the problem is that i dont know what should i do with this and how that will be used in command prompt !

Last edited by meisa : 04-02-2016 at 06:32 PM.
Reply With Quote
  #4  
Old 04-01-2016, 08:28 PM
nyancat nyancat is offline
Junior Member
 
Join Date: Mar 2016
Posts: 9
nyancat is on a distinguished road
Default

Re: how to download videos from yahoo!7 ?


I'm assuming you're using Windows. So, grab the latest version of FFMPEG from here:
https://ffmpeg.zeranoe.com/builds/wi...in32-static.7z

You may need 7-Zip to extract the file if you cannot open it.

Now, open the bin folder from the files you just extracted. You should see ffmpeg, ffplay and ffprobe inside. Click on the address bar at the top and copy the entire path.



Now open Command Prompt and then enter the following (don't forget the quotes):
Code:
cd /d "<right-click and paste here>"
Obviously, paste the path after the first quote and add a quote at the end.

So for me it looks something like this:
Code:
cd /d "C:\Users\nyancat\Desktop\ffmpeg-20160330-git-be746ae-win32-static\bin"
Now, press Enter and then copy-paste the FFMPEG command from your browser and press Enter.
Reply With Quote
  #5  
Old 04-02-2016, 06:39 PM
meisa meisa is offline
Junior Member
 
Join Date: Mar 2016
Posts: 5
meisa is on a distinguished road
Default

Re: how to download videos from yahoo!7 ?


Quote:
Originally Posted by nyancat View Post
I'm assuming you're using Windows. So, grab the latest version of FFMPEG from here:
https://ffmpeg.zeranoe.com/builds/wi...in32-static.7z

You may need 7-Zip to extract the file if you cannot open it.

Now, open the bin folder from the files you just extracted. You should see ffmpeg, ffplay and ffprobe inside. Click on the address bar at the top and copy the entire path.



Now open Command Prompt and then enter the following (don't forget the quotes):
Code:
cd /d "<right-click and paste here>"
Obviously, paste the path after the first quote and add a quote at the end.

So for me it looks something like this:
Code:
cd /d "C:\Users\nyancat\Desktop\ffmpeg-20160330-git-be746ae-win32-static\bin"
Now, press Enter and then copy-paste the FFMPEG command from your browser and press Enter.
Unfortunately I did all of this but I got error in command : [hls,applehttp @ 0000000000626fc0] Failed to open segment of playlist 0
[http @ 00000000004f80e0] HTTP error 403 Forbidden
Reply With Quote
  #6  
Old 04-02-2016, 11:14 PM
tergards tergards is offline
Junior Member
 
Join Date: Mar 2015
Posts: 4
tergards is on a distinguished road
Default

Re: how to download videos from yahoo!7 ?


Quote:
Originally Posted by meisa View Post
Unfortunately I did all of this but I got error in command : [hls,applehttp @ 0000000000626fc0] Failed to open segment of playlist 0
[http @ 00000000004f80e0] HTTP error 403 Forbidden
I managed to download (or at least start download, I didn't try get the whole thing) it using these tools:
youtube-dl
ffmpeg
Now youtube-dl may be unnecessary for you since you seem to have the download URL, though it is missing aspects mine have. Normally I can just use youtube-dl to download these types of videos but on this site it did not work as usual.
I should note that this method needs no Flash Player, nor actually browser (if you've got the link in hand)

My steps

To get the master .m3u8:
youtube-dl:
Code:
youtube-dl 'https://au.tv.yahoo.com/plus7/all-saints-season-1/-/watch/27065009/all-saints-season-1-episode-46/#page1' -g
Response:
Code:
http://c.brightcove.com/services/mobile/streaming/index/master.m3u8?videoId=4652682300001
To get the resolution:
Download the link it gave you
Code:
#EXTM3U
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=340000,RESOLUTION=480x270
https://secure.brightcove.com/services/mobile/streaming/index/rendition.m3u8?assetId=4653019613001&expiration=1459914060000&token=650a2b8e9a46a61b9385f1ea68838d1aa109d35e&videoId=4652682300001
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=696000,RESOLUTION=480x270
https://secure.brightcove.com/services/mobile/streaming/index/rendition.m3u8?assetId=4653019673001&expiration=1459914060000&token=2cd5fa70bf6edd99cb94091ef735e1567cc06ae7&videoId=4652682300001
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=996000,RESOLUTION=630x354
https://secure.brightcove.com/services/mobile/streaming/index/rendition.m3u8?assetId=4653025998001&expiration=1459914060000&token=0f47e8952120a0d3807e65c9bf1e1c6ef32ae10d&videoId=4652682300001
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1328000,RESOLUTION=960x540
https://secure.brightcove.com/services/mobile/streaming/index/rendition.m3u8?assetId=4653026943001&expiration=1459914060000&token=3cf22eef848bd116811df2cbebec01cdd624908d&videoId=4652682300001
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1628000,RESOLUTION=1280x720
https://secure.brightcove.com/services/mobile/streaming/index/rendition.m3u8?assetId=4653030887001&expiration=1459914060000&token=705efeaaedac7ee0dace23a5592dc0963983f898&videoId=4652682300001
Each of these URLs is a link to the same video just in different resolution, the bottom being the biggest resolution (and thus filesize) and top being the smallest. The first three links are pretty tiny in resolution so you will probably want the 540p link or the 720p for better view-ability.

To download do your FFMPEG command.
Code:
ffmpeg -i "https://secure.brightcove.com/services/mobile/streaming/index/rendition.m3u8?assetId=4653026943001&expiration=1459914060000&token=3cf22eef848bd116811df2cbebec01cdd624908d&videoId=4652682300001" -c copy "All_Saints__Season_1__episode_46.ts"
I suggest you replicate these steps and not simply copy my final command since the token(?) may have expired.

Differences between your link you posted, and mine:
Code:
Yours
https://secure.brightcove.com/services/mobile/streaming/index/rendition.m3u8?assetId=4653030887001&expiration=14 59814460000&token=7ee19f9f573cd8ec6cdf3a675ff7c46d f77c6848
Mine
https://secure.brightcove.com/services/mobile/streaming/index/rendition.m3u8?assetId=4653026943001&expiration=1459914060000&token=3cf22eef848bd116811df2cbebec01cdd624908d&videoId=4652682300001
(Your link has spaces and no &VideoID)


Now if that doesn't work, I'm not sure why, but these are possible reasons:
1. The m3u8 it gave you has expired and you must get the link again
2. It is geoblocked and you are not in Australia
3. You've got spaces in the URL somewhere they are not meant to be.

Last edited by tergards : 04-02-2016 at 11:36 PM. Reason: More info
Reply With Quote
  #7  
Old 04-02-2016, 11:38 PM
surya987 surya987 is offline
Senior Member
 
Join Date: May 2014
Location: India
Posts: 280
surya987 is on a distinguished road
Default

Re: how to download videos from yahoo!7 ?


Simply put FFMPEG.exe and youtube-dl.exe in the same folder and run command

Code:
youtube-dl 'https://au.tv.yahoo.com/plus7/all-saints-season-1/-/watch/27065009/all-saints-season-1-episode-46/#page1'
it will automatically start downloading via ffmpeg no need to copy paste data...

Thanks
Reply With Quote
  #8  
Old 04-03-2016, 12:18 AM
tergards tergards is offline
Junior Member
 
Join Date: Mar 2015
Posts: 4
tergards is on a distinguished road
Default

Re: how to download videos from yahoo!7 ?


Quote:
Originally Posted by surya987 View Post
Simply put FFMPEG.exe and youtube-dl.exe in the same folder and run command

Code:
youtube-dl 'https://au.tv.yahoo.com/plus7/all-saints-season-1/-/watch/27065009/all-saints-season-1-episode-46/#page1'
it will automatically start downloading via ffmpeg no need to copy paste data...

Thanks
Weird
I tried that multiple times and it always halted at 47kb and did nothing further. Much simpler if it works for them, too.
Reply With Quote
  #9  
Old 04-03-2016, 12:32 AM
surya987 surya987 is offline
Senior Member
 
Join Date: May 2014
Location: India
Posts: 280
surya987 is on a distinguished road
Default

Re: how to download videos from yahoo!7 ?


EDIT:--

YUP right... BTW it download me till 5mb and got stuck so ideal way is to just fetch the m3u8 from youtube-dl and use it in livestreamer or ffmpeg...you got to be quick to use the m3u8 as it expire very soon...

Thanks
Reply With Quote
  #10  
Old 04-03-2016, 04:06 AM
nyancat nyancat is offline
Junior Member
 
Join Date: Mar 2016
Posts: 9
nyancat is on a distinguished road
Default

Re: how to download videos from yahoo!7 ?


I apologise for my "broken" method, it's been a while since I've downloaded off Plus7, I just assumed the script still produced correct output. I tried it again for myself and it worked fine with no 403 errors.

Code:
ffmpeg -i "https://secure.brightcove.com/services/mobile/streaming/index/rendition.m3u8?assetId=4653030887001&expiration=1459933920000&token=399241f6724a42cff3e3ebd2c6329f747d7569b6" -c copy All_Saints__Season_1__episode_46.ts
ffmpeg version N-77715-gfc703f5 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 5.2.0 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib
  libavutil      55. 12.100 / 55. 12.100
  libavcodec     57. 21.100 / 57. 21.100
  libavformat    57. 21.101 / 57. 21.101
  libavdevice    57.  0.100 / 57.  0.100
  libavfilter     6. 23.100 /  6. 23.100
  libswscale      4.  0.100 /  4.  0.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
Input #0, hls,applehttp, from 'https://secure.brightcove.com/services/mobile/streaming/index/rendition.m3u8?assetId=4653030887001&expiration=1459933920000&token=399241f6724a42cff3e3ebd2c6329f747d7569b6':
  Duration: 00:45:24.00, start: 9.945333, bitrate: 0 kb/s
  Program 0
    Metadata:
      variant_bitrate : 0
    Stream #0:0: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:1: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 190 kb/s
Output #0, mpegts, to 'All_Saints__Season_1__episode_46.ts':
  Metadata:
    encoder         : Lavf57.21.101
    Stream #0:0: Video: h264 ([27][0][0][0] / 0x001B), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 25 fps, 25 tbr, 90k tbn, 90k tbc
    Stream #0:1: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, 190 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame=68090 fps=369 q=-1.0 Lsize=  593767kB time=00:45:23.66 bitrate=1785.9kbits/s speed=14.8x
video:498566kB audio:43429kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 9.552109%
Anyway, I tested with youtube-dl as well and it works fine for me and downloads in whole. You guys are probably region restricted or something because Plus7 is intended for Australian viewers.

Code:
youtube-dl "https://au.tv.yahoo.com/plus7/all-saints-season-1/-/watch/27065009/all-saints-season-1-episode-46/#page1"
[generic] #page1: Requesting header
WARNING: Falling back on generic information extractor.
[generic] #page1: Downloading webpage
[generic] #page1: Extracting information
[generic] Brightcove video detected.
[download] Downloading playlist: Watch All Saints: Season 1, episode 46 - Yahoo7
[generic] playlist Watch All Saints: Season 1, episode 46 - Yahoo7: Collected 1 video ids (downloading 1 of them)
[download] Downloading video 1 of 1
[brightcove:legacy] ref:27065009: Downloading webpage
[brightcove:legacy] ref:27065009: Extracting information
[download] Destination: All Saints - Season 1, episode 46-4652682300001.mp4
ffmpeg version N-77715-gfc703f5 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 5.2.0 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib
  libavutil      55. 12.100 / 55. 12.100
  libavcodec     57. 21.100 / 57. 21.100
  libavformat    57. 21.101 / 57. 21.101
  libavdevice    57.  0.100 / 57.  0.100
  libavfilter     6. 23.100 /  6. 23.100
  libswscale      4.  0.100 /  4.  0.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
Input #0, hls,applehttp, from 'https://secure.brightcove.com/services/mobile/streaming/index/rendition.m3u8?assetId=4653030887001&expiration=1459933500000&token=77b461ba3bfe1dbaa582d1a2f445632b2ce9a461':
  Duration: 00:45:24.00, start: 9.945333, bitrate: 0 kb/s
  Program 0
    Metadata:
      variant_bitrate : 0
    Stream #0:0: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:1: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 190 kb/s
[mp4 @ 06028b40] Codec for stream 0 does not use global headers but container format requires global headers
[mp4 @ 06028b40] Codec for stream 1 does not use global headers but container format requires global headers
Output #0, mp4, to 'file:All Saints - Season 1, episode 46-4652682300001.mp4.part':
  Metadata:
    encoder         : Lavf57.21.101
    Stream #0:0: Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 25 fps, 25 tbr, 90k tbn, 90k tbc
    Stream #0:1: Audio: aac (LC) ([64][0][0][0] / 0x0040), 48000 Hz, stereo, 190 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame=68090 fps=250 q=-1.0 Lsize=  542625kB time=00:45:23.66 bitrate=1632.1kbits/s speed=  10x
video:498566kB audio:42556kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.277707%
[ffmpeg] Downloaded 555648166 bytes
[download] 100% of 529.91MiB
[download] Finished downloading playlist: Watch All Saints: Season 1, episode 46 - Yahoo7
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 02:18 PM.


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