[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


File: 1780088682636.jpg (88 KB, 714x732)
88 KB JPG
>video torrent
>stalls at 99.8%
>missing block is literally the first one
>won't play/can't remux
why
>>
Anytime this has happens I consider if it's worth trying to bruteforce the chunk over the span of years and reviving the swarm. But it's usually too large to be reasonable. I wonder if it could be distributed though.
>>
>>108970628
Anon it's time to stop larping /g/ and install a proper torrent client such as Deluge so you can fully download your torrents without them stalling.
>>
>>108970774
That's not how bittorrent works. If nobody is hosting the data you won't be able to fetch it regardless of client.
>>
>>108970648
If you're missing a 16KB segment you're already looking at 2^131072 possible combinations you'd have to brute force and accounting for the fact that SHA-1 implies an average of 2^160 tries to find a collision and SHA-256 2^256 there's still an ungodly number of technically correct hashes for the segment that would still fail when trying to restore the full file so yeah nah. Unless you are beyond cosmically lucky (like a once in the lifetime of our physical universe type of chance) no chance in hell sadly.
>>
>>108970628
>why
Idk, but perhaps that is what that person wanted. They want you to seed for like a month or half a year before you get the final part.
>>
>>108970648
>>108970905
That's a cool idea, but it is very likely that you can apply generative AI to solve it. Afaik, it's mostly metadata there, it often includes some meaningless reserved bits all over the place etc. So if you reconstruct the format of that first 16kb block and leave empty those places where useful payload is supposed to go, you're already onto something. Even bruteforcing from there would be way easier, although it is still a meme.
Then instead of bruteforcing you can try typical values where possible etc.
Would maybe take you half a day to figure that shit out if you really needed that. But do you really need that?
>>
>>108971253
Yeah, the first couple KBs of a video file would be mainly the file header and a bunch of padding. You can likely deduct the headers from the later stream blocks.
That way you should be able to get something that works but you'd be unlikely to ever match the original SHA.
>>
>>108971253
Yeah you could absolutely narrow it down depending on exactly what segment of the torrent is missing but you're still looking at astronomical odds of success.
>>
>>108970628
sequential
>>
>>108971253
In this case, it's 512kb blocks. It is an mp4 so I assume it is just headers but eh I have no idea how to prompt chatgpt to "fill in the missing bytes"
>>
>>108970628
Time to get on a private tracker
>>
>>108972252
sorry not gonna troon out
>>
ok so I found the full file on archive.org
and interestingly the first block in the torrent version isn't incomplete, it's corrupted, I copied over the full version and thought I could seed it after a recheck but it didn't verify the filled block. probably shitty corruption due to stupid archive.org crap allowing people to change file contents after upload
>>
>>108972203
I assume you can vibe slop a bunch of scripts to generate the first block. Point is to guess the correct parameters that were supposed to be in the header to decode the media correctly. So you'd have to feed each result to some mock video player, idk. If it errors, you try another combination etc.
There probably is more to it, but I'm not good with ffmpeg flag bull shit. Still I'm pretty sure you would figure it out if you have dedication to try and maybe to ask around.
>>108971285
>you'd be unlikely to ever match the original SHA
For sure. But if the goal is to just make it play whatever is left of the video, it should be possible.
>>
>>108970628
Most torrent clients worth using let you download the first and last parts of a torrent first, or to download in sequential order.
>>
File: 1761128011173984.jpg (17 KB, 561x561)
17 KB JPG
>>108972203
>512kb blocks
>It is an mp4
You're fucked. Checking through a few mp4s the first 16-64 bytes are ftyp and its payload and beyond that it already becomes unpredictable from file to file. No way you're brute forcing that before the heat death of the universe.
>>
you may be able to recover the video by extracting the raw h.264 stream and brute-forcing sps/pps parameters.
much easier if you have a working donor video that was encoded the same you can transplant sps/pps from.



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.