K-S-V / Scripts

Collection of my scripts
GNU General Public License v3.0
635 stars 227 forks source link

Spaces in filenames? #65

Closed BrotherMaynerd closed 8 years ago

BrotherMaynerd commented 8 years ago

I've attempted to download a stream that apparently is an .mp4 file encoded and streamed. Here's the command I've used unsuccessfully to retrieve and compile the fragments:

php AdobeHDS.php --manifest "https://fms2.spcollege.edu/hds-vod/mycourses/McFadden_Stephen/diana%202.mp4.f4m" --delete

The script runs along claiming success, but debug mode shows it's actually skipping every fragment "due to discontinuity, Type: 1"

I was able to download one video clip from this site that did not have any spaces in the filenames. I just tried replacing the %20 in the filename which caused the script to be unable to find the manifest file. Using a download manager extension, I was able to determine the name of the fragment files, the first of which is:

https://fms2.spcollege.edu/hds-vod/mycourses/McFadden_Stephen/diana%202.mp4Seg1-Frag1

Am I just out of luck getting this script to work with files that have spaces in the names?