this post was submitted on 17 Jul 2023
24 points (90.0% liked)

Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ

54627 readers
652 users here now

⚓ Dedicated to the discussion of digital piracy, including ethical problems and legal advancements.

Rules • Full Version

1. Posts must be related to the discussion of digital piracy

2. Don't request invites, trade, sell, or self-promote

3. Don't request or link to specific pirated titles, including DMs

4. Don't submit low-quality posts, be entitled, or harass others



Loot, Pillage, & Plunder

📜 c/Piracy Wiki (Community Edition):


💰 Please help cover server costs.

Ko-Fi Liberapay
Ko-fi Liberapay

founded 1 year ago
MODERATORS
 

Recently my NAS took some physical damage and the HDDs are not too happy about it. Most of my video files are partially corrupted. Meaning, they report some errors when checked with ffmpeg[^1], and when you watch them they'll sometimes freeze or skip a few seconds, but they're not so corrupt they won't play. So, the vast majority of the file is fine. I'd prefer to avoid re-downloading all of my media when such a small fraction of the total file is damaged.

Is there any way to only download chunks of the file that have errors?

In the mean time, I can repack and ignore errors[^2] so that the freezing/pausing stops during playback, but it'll still skip parts or otherwise act up.

[^1]: ffmpeg -v error -i $vidfile -map 0:1 -f null - [^2]: ffmpeg -i $vidfile -c copy $newvidfile

top 5 comments
sorted by: hot top controversial new old
[–] ollie@lemmy.world 18 points 1 year ago (1 children)

yes, when adding the torrent in your client, save it to the same place and run a recheck. it'll see what's missing and download it

[–] 133arc585@lemmy.ml 1 points 1 year ago (1 children)

Oh cool! I had considered that as maybe being an option but I wasn't sure if it would actually work or not. I can't afford a VPN right now so I wasn't going to try, I figured I'd go ahead and ask so when I can get one running I can jump right in.

Now, will it know the difference between "missing" and "corrupt"?

[–] Instrument_Data@livellosegreto.it 5 points 1 year ago (1 children)

If you are using torrent then yeah, each file will be checked and the bad parts redownloaded.
Missing or corrupted does not matter.
Each torrent divides its content in a lot of small parts. Correct one are kept, anything else redownloaded. Simple and effective.

[–] 133arc585@lemmy.ml 2 points 1 year ago

Awesome thank you so much. I'm glad it is going to be easy to fix then.

Now, one thing I'm not sure of is: how do I find the exact torrent to use? By now there's no way I have a magnet link or torrent file, and due to file renaming for my media library I doubt I'd be able to identify an exact release anyway.

[–] blaq_stoo@lemmy.world 1 points 1 year ago

There's no disk checking tool you can scan it with? I'd connect it directly to my PC and run chkdsk /f /r and let it try to repair it that way. Obviously I don't know your os setup and etc. But guess downloading at torrents is going to get real annoying real fast.