Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Viewster: uncomplete video file #6057
Comments
|
Which URL are you trying to download? |
|
Both videos give "Oops, this content is not available in your country :(". Do you have a non-georestricted example? Or, what's your location? I may try to find a proxy. |
|
@yan12125 for me it works via tor through US exit node. |
|
yes i download the videos with US IP. |
|
Well, for me the downloaded file can be played in VLC to the last second. What player are you using? Did you get any error messages either in downloading or from the player? My file is 571426074 bytes with MD5 b8321050ac8307bc58e15800d579e125. If you have an identical file, it could be the problem from your player rather than youtube-dl. |
|
i'm using mpv. |
|
i download the two files again. Exiting... (End of file) the output of ffplay after seeking to the last section: output of cvlc: Merlin—Season Two - The Curse of Corneli - Episode 1-1244-16928-001-the-curse-of-corneli.flv: Merlin—Season Two - The Once and Future - Episode 2-1244-16928-002-the-once-and-future.flv |
|
Thanks confirmed. Stopping and restarting a F4M downloading causes errors in both VLC and mpv. |
|
i think the problem happen because when i stop the download the last downloaded segment isn't complete and when i continue the download the f4m downloader suppose that it's complete than it continue from the next segment. |
|
From my tests, setting |
|
it depends on the last segment when you stop the download if it's complete there is no problem but if it's not complete than when resume the download, the f4m downloader can't resume it than it pass keeping it incompete, the final video will stop at the at the last complete segment. |
|
I suspected that was the reason, I have checked it and it fixes it. With the change, if the last segment is not completely downloaded it's fully redownloaded when resuming. |
|
when the downloader resume a download it send the Range header and expect the server to return something like that:
but in the case of viewster it return something like that(it doesn't contain the Content-Range header):
because of that i think the HttpFD doesn't check for the response if it contain Content-Range may be because the response code is 200.
|
when i download videos from the viewster the last part of the video is missing.
in the video player it show the right duration but when i reach to about the last 10-20% of the video the player fail and get closed.
i'm not sure but i think the problem is reletad to the f4m downloader may be it doesn't get the right number of segments to download.