MaxBlum
02-21-2016, 01:57 PM
Im new to ffmpeg and need a little help. I went to page of the video I wanted, right clicked and clicked on inspect. Then went to the Network tab and found the f4m manifest. Opened the C prompt. Dragged ffmpeg into C prompt. Hit space bar and Pasted in the f4m manifest typed -i ( "http://amc350888def-vh.akamaihd.net/z/AMC_Networks_-_AMC/623451203738/650/411/BCS_201_D1_623452739,604_mp4_video_1280x720_243200 0_primary_audio_6,606_mp4_video_1920x1080_8000000_ primary_audio_8,605_mp4_video_1920x1080_5000000_pr imary_audio_7,603_mp4_video_1280x720_1800000_prima ry_audio_5,602_mp4_video_960x540_1200000_primary_a udio_4,601_mp4_video_640x360_568000_primary_audio_ 3,600_mp4_video_480x270_400000_primary_audio_2,599 _mp4_video_416x234_168000_primary_audio_1,.mp4.csm il/manifest.f4m?hdnea=st=1456086613~exp=1456086703~ac l=/z/AMC_Networks_-_AMC/623451203738/650/411/BCS_201_D1_623452739*~hmac=64e546301b0decd39bdaf13 445355b6cfdeb12df26828312fca3f75955a878d0&g=IMKBKASMFPGG&hdcore=3.5.0" -c copy video.mp4 ) and pressed enter. Then it says Unable to find a suitable output format.
What am I doing wrong?
Or if someone could steer me a to walkthrough or tutorial for downloading videos using ffmpeg.
Thanks
AnoX007
02-21-2016, 02:18 PM
what's the site??
MaxBlum
02-21-2016, 02:38 PM
amc.com
MaxBlum
02-21-2016, 02:41 PM
Max yes talking this
http://www.amc.com/shows/better-call-saul/full-episodes/season-02/episode-01/switch
Max yes turning off flash you yes getting mp4 1080p yes.
Not sure what you are trying to say.
biezom
02-21-2016, 03:33 PM
Not sure what you are trying to say.
hi
http://link.theplatform.com/s/M_UwQC/media/eWibk2EnHgyO?formats=mpeg4&format=SMIL&callback=jquery
shawn1122
02-21-2016, 04:03 PM
Can you provide a direct link to the video on AMC's site?
FFmpeg has built-in Apple HLS support (files that end with .m3u8) but does not handle Adobe HDS streams. This particular video looks like an HDS stream. You can tell by filetype of the master or manifest playlist. When you see master.m3u8, FFmpeg is your tool of choice. When you see manifest.f4m (as is the case here), you should use AdobeHDS.php. You can read more here: https://github.com/K-S-V/Scripts/wiki
Basically you need to install php, download AdobeHDS.php, navigate to that folder in a command prompt and type "php AdobeHDS.php "Your Link Here"" and it should download without issue.
If you're using firefox, you can search for the extension HDS Link detector. The extension will create the correct command for you, which you just need to paste into the command prompt.
MaxBlum
02-21-2016, 04:57 PM
Thank you for the help shawn1122
http://www.amc.com/shows/better-call-saul/full-episodes/season-02/episode-01/switch
shawn1122
02-21-2016, 05:20 PM
php AdobeHDS.php --manifest "http://amc350888def-vh.akamaihd.net/z/AMC_Networks_-_AMC/623451203738/650/411/BCS_201_D1_623452739,604_mp4_video_1280x720_243200 0_primary_audio_6,606_mp4_video_1920x1080_8000000_ primary_audio_8,605_mp4_video_1920x1080_5000000_pr imary_audio_7,603_mp4_video_1280x720_1800000_prima ry_audio_5,602_mp4_video_960x540_1200000_primary_a udio_4,601_mp4_video_640x360_568000_primary_audio_ 3,600_mp4_video_480x270_400000_primary_audio_2,599 _mp4_video_416x234_168000_primary_audio_1,.mp4.csm il/manifest.f4m?hdnea=st=1456100114~exp=1456100204~ac l=/z/AMC_Networks_-_AMC/623451203738/650/411/BCS_201_D1_623452739*~hmac=b6a995f7839f24cf76ae096 089a2ff7fa9460a64333fb15d6d42596da0e5f92f&g=DDLJNJPXRBBW&hdcore=3.5.0" --delete --auth "hdntl=exp=1456186545~acl=%2fz%2fAMC_Networks_-_AMC%2f623451203738%2f650%2f411%2fBCS_201_D1_62345 2739*~data=hdntl~hmac=397ca52eea9fb7a140724bd8d600 5423e6c695618d7b54e51c66aa52baf93de3&als=0,3,NaN,2,0,NaN,0,0,0,40,f,0,2882.81,f,s,DDLJN JPXRBBW,3.5.0,40&hdcore=3.5.0" --useragent "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:44.0) Gecko/20100101 Firefox/44.0"
KSV Adobe HDS Downloader
Processing manifest info....
Quality Selection:
Available: 8122 5123 2524 1892 1292 661 461 229
Selected : 8122
Fragments Total: 480, First: 1, Start: 1, Parallel: 8
Downloading 9/480 fragments
Works like a charm using HSD Link Detector and AdobeHDS.php
MaxBlum
02-21-2016, 06:02 PM
Alright Ive done everything you said and this is whats happen http://oi64.tinypic.com/122kcap.jpg
shawn1122
02-21-2016, 09:13 PM
Did you follow the instructions on https://github.com/K-S-V/Scripts/wiki for installing PHP? He specifically requests that you install version 5.4 though the latest version is 7. Also make sure to include PHP.ini in the install folder. It also looks like you need to navigate to the folder where you've saved AdobeHDS.php. I recommend storing it in it's own folder since all of the fragments and the final video file will be saved there. You can download AdobeHDS from here: https://github.com/K-S-V/Scripts. Just download the ZIP and extract AdobeHDS.php to the folder of your choosing.
One you get PHP installed properly and the script running, that link will fail you (if its the one I posted) since the authentication on it has already expired. You will need to get your own link either by using "Inspect" like you did earlier or by using the HDS Link Detector extension for Firefox.
If PHP isn't installing properly, you can use a standalone version of AdobeHDS, though unfortunately this is also run by command line. It can be downloaded here: https://drive.google.com/file/d/0B2E25BLPjcHhTFd0LWlwRl9nN1k/view. With this file you won't need to install PHP, simply extract the .exe in the x86 folder to any folder of your choosing. Navigate to that folder in the command prompt and enter your command. Instead of the command starting with "php Adobehds.php", it will now simply begin with "adobehds" for example:
adobehds --manifest "http://amc350888def-vh.akamaihd.net/z/AMC_Networks_-_AMC/623451203738/650/411/BCS_201_D1_623452739,604_mp4_video_1280x720_243200 0_primary_audio_6,606_mp4_video_1920x1080_8000000_ primary_audio_8,605_mp4_video_1920x1080_5000000_pr imary_audio_7,603_mp4_video_1280x720_1800000_prima ry_audio_5,602_mp4_video_960x540_1200000_primary_a udio_4,601_mp4_video_640x360_568000_primary_audio_ 3,600_mp4_video_480x270_400000_primary_audio_2,599 _mp4_video_416x234_168000_primary_audio_1,.mp4.csm il/manifest.f4m?hdnea=st=1456100114~exp=1456100204~ac l=/z/AMC_Networks_-_AMC/623451203738/650/411/BCS_201_D1_623452739*~hmac=b6a995f7839f24cf76ae096 089a2ff7fa9460a64333fb15d6d42596da0e5f92f&g=DDLJNJ PXRBBW&hdcore=3.5.0" --delete --auth "hdntl=exp=1456186545~acl=%2fz%2fAMC_Networks_-_AMC%2f623451203738%2f650%2f411%2fBCS_201_D1_62345 2739*~data=hdntl~hmac=397ca52eea9fb7a140724bd8d600 5423e6c695618d7b54e51c66aa52baf93de3&als=0,3,NaN,2 ,0,NaN,0,0,0,40,f,0,2882.81,f,s,DDLJNJPXRBBW,3.5.0 ,40&hdcore=3.5.0" --useragent "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:44.0) Gecko/20100101 Firefox/44.0"
Though again, you would need to get your own URL and I recommend using HDS Link Detector to do so.
MaxBlum
02-22-2016, 06:34 AM
First off I want to thank you again for going out of your way to help me withthis . You didn't have to do this, and really appreciate it.
I re-did AdobeHDS.php and couldnt get it to work, but I got the standalone version of AdobeHDS to work on fxnetwork and ifc. No luck with AMC, It says access denied. I tried the HDS Link detector code but it didnt work. I also found this:
ttp://amc350886pmd-tkn.download.theplatform.com.edgesuite.net/default/AMC_Networks_-_AMC/623451203738/650/411/BCS_201_D1_623452739606_mp4_video_1920x1080_800000 0_primary_audio_8.mp4?authToken=st=1456148196~exp= 1456148286~acl=/default/AMC_Networks_-_AMC/623451203738/650/411/BCS_201_D1_623452739606_mp4_video_1920x1080_800000 0_primary_audio_8.mp4*~hmac=36da2c96eb7ce11a267f63 2d6eb44fbf85fb9855b8027a11931f24a8bef30fd6
Any ideas for ABC.com. I was able to find these:
http://content.uplynk.com/ext/d874124ecca24c88a3c9575e78686acf/10052571.m3u8?exp=1456142393&ct=a&eid=10052571&oid=d874124ecca24c88a3c9575e78686acf&iph=d36b15426e197c3ace07a7f8cc79247c11e645f8b7a2c1 b05fdb2e005e141615&rays=eabcdfg&euid={{53246514-4785-4A78-99F9-8431E59377CD}}_007_0_001_lf&sig=47fd0932b0d87085b8e1e2a2bfd1ed9e014613e2281f71 852fb58b8afddb2506&ad.cping=1&referer=abc.go.com
and
hhttp://cdnapi.kaltura.com/p/585231/sp/58523100/playManifest/entryId/0_dqftgqjd/flavorId/0_0an70lk5/format/http/protocol/http/cdnHost/cdnbakmi.kaltura.com/storageId/1561/uiConfId/8628152/tags/uplynk/a/a.f4m?referrer=aHR0cDovL2FiYy5nby5jb20vc2hvd3MvbmF zaHZpbGxlL2VwaXNvZGUtZ3VpZGUvc2Vhc29uLTA0LzktdGhyZ WVzLWEtY3Jvd2Q=&playbackContext=brand=001&eid=10052571&device=001&euid=%7B%7B53246514-4785-4A78-99F9-8431E59377CD%7D%7D_007_0_001_lf&ct=a&rays=eabcdfg
but neither worked in ffmpeg.
biezom
02-22-2016, 06:44 AM
First off I want to thank you again for going out of your way to help me withthis . You didn't have to do this, and really appreciate it.
I re-did AdobeHDS.php and couldnt get it to work, but I got the standalone version of AdobeHDS to work on fxnetwork and ifc. No luck with AMC, It says access denied. Any ideas for ABC.com. I was able to find these:
http://content.uplynk.com/ext/d874124ecca24c88a3c9575e78686acf/10052571.m3u8?exp=1456142393&ct=a&eid=10052571&oid=d874124ecca24c88a3c9575e78686acf&iph=d36b15426e197c3ace07a7f8cc79247c11e645f8b7a2c1 b05fdb2e005e141615&rays=eabcdfg&euid={{53246514-4785-4A78-99F9-8431E59377CD}}_007_0_001_lf&sig=47fd0932b0d87085b8e1e2a2bfd1ed9e014613e2281f71 852fb58b8afddb2506&ad.cping=1&referer=abc.go.com
and
http://cdnapi.kaltura.com/p/585231/sp/58523100/playManifest/entryId/0_dqftgqjd/flavorId/0_0an70lk5/format/http/protocol/http/cdnHost/cdnbakmi.kaltura.com/storageId/1561/uiConfId/8628152/tags/uplynk/a/a.f4m?referrer=aHR0cDovL2FiYy5nby5jb20vc2hvd3MvbmF zaHZpbGxlL2VwaXNvZGUtZ3VpZGUvc2Vhc29uLTA0LzktdGhyZ WVzLWEtY3Jvd2Q=&playbackContext=brand=001&eid=10052571&device=001&euid=%7B%7B53246514-4785-4A78-99F9-8431E59377CD%7D%7D_007_0_001_lf&ct=a&rays=eabcdfg
but neither worked in ffmpeg.
hi
try
livestreamer "hlsvariant://http://cdnapi.kaltura.com/p/585231/sp/58523100/playManifest/entryId/0_dqftgqjd/flavorId/0_0an70lk5/format/url/protocol/http" best -o video.ts
MaxBlum
02-22-2016, 06:53 AM
hi
try
livestreamer "hlsvariant://http://cdnapi.kaltura.com/p/585231/sp/58523100/playManifest/entryId/0_dqftgqjd/flavorId/0_0an70lk5/format/url/protocol/http" best -o video.ts
Wow thanks. It worked.
Could explain you found this link: hlsvariant://http://cdnapi.kaltura.com/p/585231/sp/58523100/playManifest/entryId/0_dqftgqjd/flavorId/0_0an70lk5/format/url/protocol/http
biezom
02-22-2016, 07:02 AM
Wow thanks. It worked.
Could explain you found this link: hlsvariant://http://cdnapi.kaltura.com/p/585231/sp/58523100/playManifest/entryId/0_dqftgqjd/flavorId/0_0an70lk5/format/url/protocol/http
you found this
http://cdnapi.kaltura.com/p/585231/sp/58523100/playManifest/entryId/0_dqftgqjd/flavorId/0_0an70lk5/format/http/protocol/http/..........................................
just a little change
http://cdnapi.kaltura.com/p/585231/sp/58523100/playManifest/entryId/0_dqftgqjd/flavorId/0_0an70lk5/format/url/protocol/http
nota "flavorId/0_0an70lk5" is not useful so it works with just
http://cdnapi.kaltura.com/p/585231/sp/58523100/playManifest/entryId/0_dqftgqjd/format/url/protocol/http
MaxBlum
02-22-2016, 07:30 AM
you found this
http://cdnapi.kaltura.com/p/585231/sp/58523100/playManifest/entryId/0_dqftgqjd/flavorId/0_0an70lk5/format/http/protocol/http/..........................................
just a little change
http://cdnapi.kaltura.com/p/585231/sp/58523100/playManifest/entryId/0_dqftgqjd/flavorId/0_0an70lk5/format/url/protocol/http
nota "flavorId/0_0an70lk5" is not useful so it works with just
http://cdnapi.kaltura.com/p/585231/sp/58523100/playManifest/entryId/0_dqftgqjd/format/url/protocol/http
Worked great again. Thanks.
Can you help with this one:
hhttp://amc350888def-vh.akamaihd.net/z/AMC_Networks_-_AMC/623451203738/650/411/BCS_201_D1_623452739,604_mp4_video_1280x720_243200 0_primary_audio_6,606_mp4_video_1920x1080_8000000_ primary_audio_8,605_mp4_video_1920x1080_5000000_pr imary_audio_7,603_mp4_video_1280x720_1800000_prima ry_audio_5,602_mp4_video_960x540_1200000_primary_a udio_4,601_mp4_video_640x360_568000_primary_audio_ 3,600_mp4_video_480x270_400000_primary_audio_2,599 _mp4_video_416x234_168000_primary_audio_1,.mp4.csm il/manifest.f4m?hdnea=st=1456150992~exp=1456151082~ac l=/z/AMC_Networks_-_AMC/623451203738/650/411/BCS_201_D1_623452739*~hmac=93f92944cb44dd25084966b f992a87acedd2e98baf9fac1e48603c84c473b54c&g=LVJPMWRPOVYN&hdcore=3.5.0
biezom
02-22-2016, 08:05 AM
Worked great again. Thanks.
Can you help with this one:
hhttp://amc350888def-vh.akamaihd.net/z/AMC_Networks_-_AMC/623451203738/650/411/BCS_201_D1_623452739,604_mp4_video_1280x720_243200 0_primary_audio_6,606_mp4_video_1920x1080_8000000_ primary_audio_8,605_mp4_video_1920x1080_5000000_pr imary_audio_7,603_mp4_video_1280x720_1800000_prima ry_audio_5,602_mp4_video_960x540_1200000_primary_a udio_4,601_mp4_video_640x360_568000_primary_audio_ 3,600_mp4_video_480x270_400000_primary_audio_2,599 _mp4_video_416x234_168000_primary_audio_1,.mp4.csm il/manifest.f4m?hdnea=st=1456150992~exp=1456151082~ac l=/z/AMC_Networks_-_AMC/623451203738/650/411/BCS_201_D1_623452739*~hmac=93f92944cb44dd25084966b f992a87acedd2e98baf9fac1e48603c84c473b54c&g=LVJPMWRPOVYN&hdcore=3.5.0
open this link and copy the url with the bitrate that you want
http://link.theplatform.com/s/M_UwQC/media/eWibk2EnHgyO?formats=mpeg4&format=SMIL&callback=jquery
then
livestreamer "httpstream://URL-FOUNDED" best -o video.mp4
example (you can't use the same url it's an example you need find your own url with link.theplatform...)
livestreamer "httpstream://http://amc350886pmd-tkn.download.theplatform.com.edgesuite.net/default/AMC_Networks_-_AMC/623451203738/650/411/BCS_201_D1_623452739606_mp4_video_1920x1080_800000 0_primary_audio_8.mp4?authToken=st=1456153419~exp= 1456153509~acl=/default/AMC_Networks_-_AMC/623451203738/650/411/BCS_201_D1_623452739606_mp4_video_1920x1080_800000 0_primary_audio_8.mp4*~hmac=77e08b1b924c18f52d0b98 a23073231fa04a1aec08f13328b4d1ab603d86408d" best -o video.mp4
>>>>
[cli][info] Found matching plugin stream for URL httpstream://http://amc350886pmd-tkn.download.theplatform.com.edgesuite.net/default/AMC_Networks_-_AMC/623451203738/650/411/BCS_201_D1_623452739606_mp4_video_1920x1080_800000 0_primary_audio_8.mp4?authToken=st=1456153419~exp= 1456153509~acl=/default/AMC_Networks_-_AMC/623451203738/650/411/BCS_201_D1_623452739606_mp4_video_1920x1080_800000 0_primary_audio_8.mp4*~hmac=77e08b1b924c18f52d0b98 a23073231fa04a1aec08f13328b4d1ab603d86408d
[cli][info] Available streams: live (worst, best)
[cli][info] Opening stream: live (http)
[download][video.mp4] Written 6.2 MB (12s @ 499.7 KB/s)
MaxBlum
02-22-2016, 04:14 PM
open this link and copy the url with the bitrate that you want
http://link.theplatform.com/s/M_UwQC/media/eWibk2EnHgyO?formats=mpeg4&format=SMIL&callback=jquery
then
livestreamer "httpstream://URL-FOUNDED" best -o video.mp4
example (you can't use the same url it's an example you need find your own url with link.theplatform...)
livestreamer "httpstream://http://amc350886pmd-tkn.download.theplatform.com.edgesuite.net/default/AMC_Networks_-_AMC/623451203738/650/411/BCS_201_D1_623452739606_mp4_video_1920x1080_800000 0_primary_audio_8.mp4?authToken=st=1456153419~exp= 1456153509~acl=/default/AMC_Networks_-_AMC/623451203738/650/411/BCS_201_D1_623452739606_mp4_video_1920x1080_800000 0_primary_audio_8.mp4*~hmac=77e08b1b924c18f52d0b98 a23073231fa04a1aec08f13328b4d1ab603d86408d" best -o video.mp4
>>>>
[cli][info] Found matching plugin stream for URL httpstream://http://amc350886pmd-tkn.download.theplatform.com.edgesuite.net/default/AMC_Networks_-_AMC/623451203738/650/411/BCS_201_D1_623452739606_mp4_video_1920x1080_800000 0_primary_audio_8.mp4?authToken=st=1456153419~exp= 1456153509~acl=/default/AMC_Networks_-_AMC/623451203738/650/411/BCS_201_D1_623452739606_mp4_video_1920x1080_800000 0_primary_audio_8.mp4*~hmac=77e08b1b924c18f52d0b98 a23073231fa04a1aec08f13328b4d1ab603d86408d
[cli][info] Available streams: live (worst, best)
[cli][info] Opening stream: live (http)
[download][video.mp4] Written 6.2 MB (12s @ 499.7 KB/s)
This is what Im getting now .
http://oi66.tinypic.com/2wh2tzt.jpg
biezom
02-22-2016, 05:09 PM
This is what Im getting now .
http://oi66.tinypic.com/2wh2tzt.jpg
maybe not fast enough because the url expire quickly ~60 seconds
MaxBlum
02-22-2016, 08:01 PM
maybe not fast enough because the url expire quickly ~60 seconds
Got it to work, but it only did the first 1:00 out of 48:00
http://oi65.tinypic.com/2uhn1io.jpg
Sometime this when I try a different link
http://oi64.tinypic.com/11wc1vl.jpg
Also not sure where you got this
http://link.theplatform.com/s/M_UwQC/media/eWibk2EnHgyO?formats=mpeg4&format=SMIL&callback=jquery
Ive just been using url sniffers
biezom
02-22-2016, 09:32 PM
Got it to work, but it only did the first 1:00 out of 48:00
http://oi65.tinypic.com/2uhn1io.jpg
Sometime this when I try a different link
http://oi64.tinypic.com/11wc1vl.jpg
Also not sure where you got this
http://link.theplatform.com/s/M_UwQC/media/eWibk2EnHgyO?formats=mpeg4&format=SMIL&callback=jquery
Ive just been using url sniffers
ok sorry i hadn't check if it was complete
so try hls protocol instead of progressive protocol
it seems ok
livestreamer "hlsvariant://link.theplatform.com/s/M_UwQC/media/eWibk2EnHgyO?mbr=true&manifest=m3u" best -o video.ts
MaxBlum
02-22-2016, 10:24 PM
ok sorry i hadn't check if it was complete
so try hls protocol instead of progressive protocol
it seems ok
livestreamer "hlsvariant://link.theplatform.com/s/M_UwQC/media/eWibk2EnHgyO?mbr=true&manifest=m3u" best -o video.ts
Didnt work at first, but now it is. (EDIT: Didnt work, it only got 13 min) You're Awesome thanks.
Know anything about this one
http://fxvcms-f.akamaihd.net/z/FX_Networks/989/851/Crime_Story_103_HD_Clean_AUTH_movie_14554497043,39 _4,41_6,42_9,44_14,46_19,47_26,28000.mp4.csmil/key_AQBENMHNaEZ7lnXry1YC2fu6BadXSD5MvVdqg3ppNqb1Y/pOOQvDjGQnOiGn3ahJbdt+u0j5?guid=OGMCBGYMOACC&hdntl=exp=1456291059~acl=/z/FX_Networks/989/851/Crime_Story_103_HD_Clean_AUTH_movie_14554497043*~d ata=hdntl~hmac=cbe53964e006f39a58d5a6d680b0e1be92f b947666c7a7bea578243c5ec1d4de&hdcore=3.5.0
vBulletin® , Copyright ©2000-2025, Jelsoft Enterprises Ltd.