AAndyProgram / SCrawler

🏳️‍🌈 Media downloader from any sites, including Twitter, Reddit, Instagram, Threads, Facebook, OnlyFans, YouTube, Pinterest, PornHub, XHamster, XVIDEOS, ThisVid etc.
https://discord.gg/uFNUXvFFmg
GNU General Public License v3.0
1.21k stars 81 forks source link

[BUG] PH downloads have multiple little pauses throughout the video #173

Closed spacejockey8 closed 8 months ago

spacejockey8 commented 9 months ago

Describe the bug

To Reproduce Multiple pornhub videos are like this.

It's not as bad as the site 9xbuddy.xyz, but it's not as smooth as saveporn.net. The pause is still noticeable.

AAndyProgram commented 9 months ago

Links?

AAndyProgram commented 9 months ago

Join our Discord server: https://discord.gg/uFNUXvFFmg

spacejockey8 commented 9 months ago

Links?

Split second pause around 11 seconds for these: https://www.pornhub.com/view_video.php?viewkey=ph5f21aa22ec78a https://www.pornhub.com/view_video.php?viewkey=ph6014b4fb29de3

Some other links work completely fine: https://www.pornhub.com/view_video.php?viewkey=ph632b4fa3a078e

AAndyProgram commented 9 months ago

I see. I took note. I'm not sure I can fix it. I need to look at the m3u8 files, but I doubt I'm seeing anything strange.

AAndyProgram commented 8 months ago

I don't see any differences in m3u8 files. I'm using ffmpeg to merge parts of a file. I suggest you parse the m3u8 files and merge them using ffmpeg. If you find a solution, I'm ready to return to this issue. I'll close this for now.

I'm using this command.

ffmpeg -i Part1.ts -i Part2.ts -c copy OutputFile.mp4