0
()
submitted a long while ago by @ to c/@
you are viewing a single comment's thread
view the rest of the comments
[-] theKalash@feddit.ch 1 points 1 year ago

Maybe you could use version control like git to merge the files. But resolving any merge conflicts would probably be impossible.

I'm a bit high and just spitballing. Hopefully someone will come along and tell me how stupid the idea is and why :D

[-] candyman337@sh.itjust.works 3 points 1 year ago

Lol, I think git only works in that level for text based files

[-] theKalash@feddit.ch 1 points 1 year ago

I easily handles pictures and soundfiles. I see no reason why I wouldn't work with video files. In the end, everything is a text file.

[-] candyman337@sh.itjust.works 4 points 1 year ago* (last edited 1 year ago)

It can recognize if a non text file is there or not, or if the size has changed but not much else. And the big difference is most text based formats are binary while media files are not

[-] theKalash@feddit.ch 0 points 1 year ago* (last edited 1 year ago)

Just for the fun of it I tried. You can add video files to git, no problem. Gives "large file" warning, but that's no problem unless you're trying to look at a diff with GUI client.

Everything is a binary file if you go down deep enough.

[-] candyman337@sh.itjust.works 4 points 1 year ago

Yes you can add it but it will not let you edit lines of code. And no the data is stored in hex format, it can't be read binarily, have you ever tried to open a media file in a text editor?

[-] theKalash@feddit.ch 1 points 1 year ago

I can open it in a text editor just fine. And you can edit it. In fact, in my example file I used I see big sections of "0000" compared to other sections that look like "712c 10a3 14bb 2980 0005 1c46 25b8 0040".

I'd post some screenshots but lemmy gives me errors. But that might actually be viable, the more that I think of it.

[-] exu@feditown.com 2 points 1 year ago

Well, good luck manually editing a picture/video I guess

[-] Longpork_afficianado@lemmy.nz 1 points 1 year ago

I believe in that case you may be able to merge the two files by dumping a hex of each, then running a diff on the two hexes and substituting valid hexes into any zero blocks.

I'm actually kind of curious about writing a script to handle this now that I'm presented with it. Can you link the two torrents for me so I can take a crack?

[-] theKalash@feddit.ch 2 points 1 year ago

Can you link the two torrents for me so I can take a crack?

I'm not the OP.

[-] seeder@lemmy.dbzer0.com 1 points 1 year ago

I sent u a PM :)

this post was submitted on 01 Jan 0001
0 points (NaN% liked)

0 readers
0 users here now

founded a long while ago