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

New to ffmpeg need help

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

MaxBlum 02-21-2016 01:57 PM

New to ffmpeg need help


 
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=IMKBKA SMFPGG&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

Re: New to ffmpeg need help


 
what's the site??

MaxBlum 02-21-2016 02:38 PM

Re: New to ffmpeg need help


 
amc.com

MaxBlum 02-21-2016 02:41 PM

Re: New to ffmpeg need help


 
Quote:

Originally Posted by stinkfoot (Post 82730)
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

Re: New to ffmpeg need help


 
Quote:

Originally Posted by MaxBlum (Post 82731)
Not sure what you are trying to say.

hi

Code:

http://link.theplatform.com/s/M_UwQC/media/eWibk2EnHgyO?formats=mpeg4&format=SMIL&callback=jquery

shawn1122 02-21-2016 04:03 PM

Re: New to ffmpeg need help


 
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

Re: New to ffmpeg need help


 
Thank you for the help shawn1122

http://www.amc.com/shows/better-call...sode-01/switch

shawn1122 02-21-2016 05:20 PM

Re: New to ffmpeg need help


 
Quote:

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=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"
Quote:

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

Re: New to ffmpeg need help


 
Alright Ive done everything you said and this is whats happen

shawn1122 02-21-2016 09:13 PM

Re: New to ffmpeg need help


 
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/0B2E...lwRl9nN1k/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:

Quote:

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.


All times are GMT -6. The time now is 07:00 PM.