Hello,
i'm trying to download multiple ts files with ffmpeg.
I have the m3u8 file but i am getting "HTTP error 403 Forbidden" all the time.
There are 4 videos on the page, i am trying to download the first video on top off the page.
http://karadayiserija.blogspot.nl/2014/09/karadayi-77-epizoda.html
ffmpeg output:
sradic@ubuntu-E6400:~/bin$ cd ~/bin && ./ffmpeg -i "http://c1.vkcache.com/sec/Rm1j4_a-istMFGW77tF25A/1414224000/hls-vod-s4/flv/api/files/videos/2014/09/30/14121074033a78e.mp4.m3u8" -c copy ~/videos/76.tsffmpeg version 2.4.git Copyright (c) 2000-2014 the FFmpeg developers
built on Oct 24 2014 21:07:12 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
configuration: --prefix=/home/sradic/ffmpeg_build --extra-cflags=-I/home/sradic/ffmpeg_build/include --extra-ldflags=-L/home/sradic/ffmpeg_build/lib --bindir=/home/sradic/bin --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-x11grab
libavutil 54. 11.100 / 54. 11.100
libavcodec 56. 9.100 / 56. 9.100
libavformat 56. 10.100 / 56. 10[/COLOR].100
libavdevice 56. 1.100 / 56. 1.100
libavfilter 5. 2.100 / 5. 2.100
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100
[http @ 0x3aa95a0] HTTP error 403 Forbidden
http://c1.vkcache.com/sec/Rm1j4_a-istMFGW77tF25A/1414224000/hls-vod-s4/flv/api/files/v...a78e.mp4.m3u8: Server returned 403 Forbidden (access denied)
What am i doing wrong?
Thanx in advance
+ Reply to Thread
Results 1 to 22 of 22
-
-
Is this the correct video?
Try livestreamer instead of ffmpeg;Code:http://www.balkanje.com/embed.php?vid=ad0ce2c8b
Code:livestreamer "hls://c1.vkcache.com/sec/Rm1j4_a-istMFGW77tF25A/1414224000/hls-vod-s4/flv/api/files/videos/2014/09/30/14121074033a78e.mp4.m3u8" best -o output.ts
Last edited by blimey; 24th Oct 2014 at 18:32.
-
I have the same problem (http error 403 forbidden) with the video hosted on this page: http://tv.sport1.de/player/player.php?id=s518931 I've tried with ffmpeg, which returns me the same error encountered by beo59. Also, I'm not having any luck with livestreamer, no matter the string I put in.
It looks like the site is geoblocked outside of Germany, unfortunately.
This is the m3u8 file ( http://sport1_event02-lh.akamaihd.net/i/EVENT02_1@140377/index_2500_av-b.m3u8 ) and this is the manifest file (http://sport1_event02-lh.akamaihd.net/z/EVENT02_1@140377/manifest.f4m ), hoping this will be enough info for someone to be able to help me. Thanks in advance -
AnonymousGuest
I can download the video with this command:
Code:livestreamer "hds://sport1_event02-lh.akamaihd.net/z/EVENT02_1@140377/manifest.f4m?start=1414608960&end=1414614900&start=1414916938&hdnea=st=1414917838~exp=1414918138~acl=/*~hmac=ffd27911abc5aa41e0d9a2b5198043b6845a42b3348ad91e23f8b5073b691896&g=LQUGOLVWUVYS&hdcore=3.2.0&plugin=jwplayer-3.2.0.1 pvswf=http://tv.sport1.de/player/jw66/jwplayer66.flash.swf" best -o 01.flv
F4M:Code:[cli][info] Found matching plugin stream for URL hds://sport1_event02-lh.akamaihd.net/z/EVENT02_1@140377/manifest.f4m?start=1414608960&end=1414614900&start=1414916938&hdnea=st=1414917838~exp=1414918138~acl=/*~hmac=ffd27911abc5aa41e0d9a2b5198043b6845a42b3348ad91e23f8b5073b691896&g=LQUGOLVWUVYS&hdcore=3.2.0&plugin=jwplayer-3.2.0.1 pvswf=http://tv.sport1.de/player/jw66/jwplayer66.flash.swf [cli][info] Available streams: 1328k, 2628k (best), 340k (worst), 640k [cli][info] Opening stream: 2628k (hds)
Note: The link expires soon.Code:http://sport1_event02-lh.akamaihd.net/z/EVENT02_1@140377/manifest.f4m?start=1414608960&end=1414614900&start=1414916938&hdnea=st=1414917838~exp=1414918138~acl=/*~hmac=ffd27911abc5aa41e0d9a2b5198043b6845a42b3348ad91e23f8b5073b691896&g=LQUGOLVWUVYS&hdcore=3.2.0&plugin=jwplayer-3.2.0.1
-
@nullacht:it works. I didn't have a clue about the pvswf... part of the command line. Very good,I learned something new...thanks again for your help
-
@nullacht : can I bother you again for another video on this same site? on this page ( http://tv.sport1.de/player/player.php?id=s399344 ) I am not having any luck with livestreamer using the same command line that seems to be working on pretty much every other video.
As soon as I enter the string i get a "[cli][info] stream ended" response, with only 1kb of data downloaded. Other videos on the same site give me no problems, just this one.
These videos are archived for a short time only, that's why I would really appreciate any help here. Thanks -
-
@blimey I've tried for at least 10 times with both the hls and hds command lines yesterday without any success..Tried again this morning and it worked on my first try, don't really know how or why, or what I might have done differently though...feeling quite silly now..thanks for having taken the time to look into this
-
Hey buddy hat's very commen error most of the time faced because our public IP gets restricted from accessing from the content or page but by simply using HackBS|GOM VPN trick*you can easily bypass such issues without any hassle.. It' s worth trying!!
-
Hello everyone.
I get the error 403 Forbidden when accessing this video:
http://kdsajkcasadjsab77676das99saghdshhdds.sitenow.me/live/plus0_cec1693/playlist.m3u...Q&e=1508518105
If i'm not wrong, the referer is http://www.dinostream.pw
But i cannot access to the video with
Maybe I have to insert something more in the header... but is strange because with php curl and only this referer it works. Can someone help me, please?Code:livestreamer --http-header "Referer=http://www.dinostream.pw" "hlsvariant://http://kdsajkcasadjsab77676das99saghdshhdds.sitenow.me/live/plus0_cec1693/playlist.m3u8?st=R65_yFlokIoUtEDamJZGuQ&e=1508518105" best
-
Hi Everyone,
I am able to play the video using link https://www.livestreamrecorder.com/video/k0qilxmek1myodz7tqj9ybse/playlist.m3u8 on the browser but unable to download streams using ffmpeg command I use to enter in the command line. I used to be able to download them until yesterday.
ffmpeg -i https://www.livestreamrecorder.com/video/k0qilxmek1myodz7tqj9ybse/playlist.m3u8 -c copy "C:\DL\238887612_04-24-2026, 4.26 PM.mp4
[https @ 000002033e5c7680] HTTP error 403 Forbidden
[in#0 @ 000002033e5c6f00] Error opening input: Server returned 403 Forbidden (access denied)
Error opening input file https://www.livestreamrecorder.com/video/k0qilxmek1myodz7tqj9ybse/playlist.m3u8.
Error opening input files: Server returned 403 Forbidden (access denied)
I'm not from a tech background. -
Below is the URL
https://www.livestreamrecorder.com/bigo/238887612/video/k0qilxmek1myodz7tqj9ybse
Thank You. -
The m3u8 URL contains a cookie, that's why you can't download the video.
Code:ffmpeg -user_agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:150.0) Gecko/20100101 Firefox/150.0" -headers "Cookie: view_session=ZnA6YjkyYmE3ZTliZTEwNzJmODA4NGIzN2UyMzE5NjEyZDQ.1777225419.nsF5QprlRyuu0o4-n9p87XcC59iFUEZs4ZCPxEAWltM; _pxvid=b92ba7e9be1072f8084b37e2319612d4" -referer "https://www.livestreamrecorder.com/bigo/238887612/video/k0qilxmek1myodz7tqj9ybse" -i "https://www.livestreamrecorder.com/video/k0qilxmek1myodz7tqj9ybse/playlist.m3u8" -c copy "playlist.mp4"
-
So does this mean they made it a view only on the browser and restricted the downloads? Is there a way to bypass this?
-
Cookies are required here → they represent your user login.
Normal solution: use a tool that retrieves your session (cookies exported from the browser).
After that you can download with IDM.
[Attachment 92111 - Click to enlarge] -
Thank you so much for all this.
I'm not from a technical background so I just want to run by you what I understood from everything you shared so far.
The site got updated with a cookie that only allows downloads after the user is signed in. So now I need to sign in to my account, extract my session info along with my login via tools like AgentAuth (aka Romek), Cookie Importer (Firefox extension), kooky (Go library + CLI) and then put that information into a download manager where it allows the video downloads because now it validates my login info based on thee session info I extracted.
My apologies for making this so long, I just want to make sure I got it correctly.
Thank you once again. -
Thank you for the quick response, it did work with the 1st file but then it gave the forbidden error for the 2nd file. May be they blocked it this way too. Thanks you everyone for spending your precious time on this and helping me.


Quote

