mafintosh / peerflix

Streaming torrent client for node.js
MIT License
6.18k stars 674 forks source link

Some downloaded files are damaged. #209

Open githubtefo opened 9 years ago

githubtefo commented 9 years ago

Sometimes the video files are completely downloaded but have some incomplete parts. This broken files produce an error during reproduction, like "End of file" on mplayer or cuts on VLC. Is there any way to avoid this behavior or to repair the file? Thanks!

maelswarm commented 9 years ago

Over the past month I've been getting this. I'm using VLC.

mafintosh commented 9 years ago

How often does this happen? Which version of peerflix are you using?

maelswarm commented 9 years ago

For me it has occurred on both 0.30 and 0.30.1. Most of the time I'll just get a few rotted frames, but sometimes it's like it hits EOF.

Although they probably don't correlate, this did start after I installed El Capitan.

Update Now thinking on this more, I think it started on 0.30.1. I'll check tonight.

githubtefo commented 9 years ago

peerflix --version v0.30.0

npm --version 1.4.28

Ubuntu 12.04_x86

It's occurs approximately one out five times. If I take the completed file and put into Transmission, there are a little percentage (less than 1%) of incomplete download. When Transmission finishes, the file just works fine.

maelswarm commented 9 years ago

npm v2.7.4 osx 10.11

Twice out of twice I got pixrot and incomplete download with 0.30.0. I was able to download the same magnet link in whole with 0.29.2; however, I still got a lot of pixrot.