The length on some downloaded videos is about double the correct length #2403
Unanswered
HeathenSkwerl
asked this question in
Help and Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Your question
I've been downloading videos with video-downloadhelper on PornHub for a bit and it generally works pretty good (yeah, sometimes it times out and doesn't want to finish--annoying, but I can usually work around) However, I've hit a few where the length of the download isn't correct--In one case, the video is 7:48 seconds, but the downloaded copies are 15:33 seconds. During the download process, you can watch the progress bar reach the end, but then it resets to the beginning without ending the download. It never shows any additional progress, but it does finish. Notably it doesn't do this for every quality preset of the video that's available, just three of the four.
I'd just trim the resulting video files, but they also don't play back properly (super fast and skips most of the frames). If I manually advance with the seek bar in Media Player Classic, it does look like all of the video is present. In lieu of fixing the issue, I'd also be happy with instruction on how to repair the downloaded video files.
Edit: If at all helps, I did discover how to repair the downloaded files. ffmpeg can do it with the following command:
ffmpeg -i input.mp4 -fps_mode drop -map 0:v -vcodec copy output.mp4
Perhaps that will help you track down the issue.
Additional edit: After more imspection, it seems that the audio track on some of these seems to be corrupted when downloaded. The 240p versions are not corrupt (for whatever reason), so downloading them and using ffmpeg to extract the videos from the corrupt files and merge them with the audio from the non-corrupted ones yields a working video. But I would love to know why this is happening.
I'd be happy to provide the PornHub link privately if you request but it isn't something I'm comfortable posting publicly.
Addon & CoApp version and details
version: 9.5.0.1
channel: stable
build date: 2025-05-16
build options: linuxlic: false, noyt: true, browser: chrome
lang: en-US
license: accepted
key (only 16 first characters): a9addd955f284869
platform: x86-64 win
UA: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36
coapp: yes. Info:
{
"id": "net.downloadhelper.coapp",
"name": "VdhCoApp",
"version": "2.0.19",
"binary": "C:\Program Files\DownloadHelper CoApp\vdhcoapp.exe",
"displayName": "VdhCoApp",
"description": "Video DownloadHelper companion app",
"target": {
"os": "windows",
"arch": "x86_64",
"node": "18"
},
"home": "C:\Users\",
"converterBinary": "C:\Program Files\DownloadHelper CoApp\ffmpeg.exe",
"converterBase": "ffmpeg",
"converterBaseVersion": "c30f360955"
}
Beta Was this translation helpful? Give feedback.
All reactions