[SCRIPT] Changing md5 is not enough, do this instead

What is "set FileFormat"? I have folder with 90 jpg images, so set it at jpg, but didint work, then I set it at png and edited the same folder with 90 jpg images. It edited but only 15 ( from 90 ) and saved photos as jpg. I think something is broken.

The script will only edit the file format you specify. Make sure that the pictures are in jpg and not jpeg or anything else. Replace according to your values and it should work. I tested the script multiple times, and there doesn't appear to be any issues in it.

Make sure you enter the correct folders' paths as well.

If it edited 15 pictures when set to png that means you have 15 pictures that use the png format in the folder you specified.
 
With modern day algorithms' ability to detect duplicate images with machine vision without the need to use any hashing it became easy to detect reposting.

The script below will change the image by adding a few effects that'll make it almost unrecognizable to machines but not change it much for the human eye, simply follow the instructions:

1) Download ffmpeg from here: https://ffmpeg.zeranoe.com/builds/

2) Extract the file ffmpeg.exe to "C:\Program Files\ffmpeg\ffmpeg.exe"

3) In the same folder create a new .txt file and rename it to "edit.bat" (remove the .txt)

4) Open the new edit.bat file and copy the script below to it:

Code:
::Replace png with whatever file format you have. (mp4, ts, jpg, etc.)
set FileFormat=png

::Directory where you have your unedited files. (Make sure you end it with a "\")
set UneditFilesDirectory=C:\Program Files\ffmpeg\png\

::Directory where you want your edited files to be saved (Make sure you end it with a "\")
set EditedFilesDirectory=C:\Program Files\ffmpeg\png2\

for %%d in ("%UneditFilesDirectory%*.%FileFormat%") do "C:\Program Files\ffmpeg\ffmpeg.exe" -i "%%d"  -map_metadata -1 -vf "eq=brightness=0.06:saturation=1.1:contrast=1.4,lenscorrection=k1=-0.02:k2=0.01" "%EditedFilesDirectory%%%~nd.%FileFormat%"

Replace "png", "C:\Program Files\ffmpeg\png\" and "C:\Program Files\ffmpeg\png2\" with your correlating values.

You can use the script for images or videos, each has to be done individually.

This will remove all metadata, change colors a little and distort shapes and objects in a way where it's harder for machine vision to detect.

This might not work properly if your image or video contains any subtitles or similar small text as it will distort the lines and letters.

You can also do something similar to watermark videos, let me know if you're interested in seeing that.
This helps a ton with seo. Simply letting G know that your images are unique, is a big plus in their eyes!
 
Are the changes always the same for the same picture, or can I create multiple variations of the same picture?
 
Has anyone checked the processed image in google reverse image search. On mobile right now so can't test ffmpeg library
 
With modern day algorithms' ability to detect duplicate images with machine vision without the need to use any hashing it became easy to detect reposting.

The script below will change the image by adding a few effects that'll make it almost unrecognizable to machines but not change it much for the human eye, simply follow the instructions:

1) Download ffmpeg from here: https://ffmpeg.zeranoe.com/builds/

2) Extract the file ffmpeg.exe to "C:\Program Files\ffmpeg\ffmpeg.exe"

3) In the same folder create a new .txt file and rename it to "edit.bat" (remove the .txt)

4) Open the new edit.bat file and copy the script below to it:

Code:
::Replace png with whatever file format you have. (mp4, ts, jpg, etc.)
set FileFormat=png

::Directory where you have your unedited files. (Make sure you end it with a "\")
set UneditFilesDirectory=C:\Program Files\ffmpeg\png\

::Directory where you want your edited files to be saved (Make sure you end it with a "\")
set EditedFilesDirectory=C:\Program Files\ffmpeg\png2\

for %%d in ("%UneditFilesDirectory%*.%FileFormat%") do "C:\Program Files\ffmpeg\ffmpeg.exe" -i "%%d"  -map_metadata -1 -vf "eq=brightness=0.06:saturation=1.1:contrast=1.4,lenscorrection=k1=-0.02:k2=0.01" "%EditedFilesDirectory%%%~nd.%FileFormat%"

Replace "png", "C:\Program Files\ffmpeg\png\" and "C:\Program Files\ffmpeg\png2\" with your correlating values.

You can use the script for images or videos, each has to be done individually.

This will remove all metadata, change colors a little and distort shapes and objects in a way where it's harder for machine vision to detect.

This might not work properly if your image or video contains any subtitles or similar small text as it will distort the lines and letters.

You can also do something similar to watermark videos, let me know if you're interested in seeing that.

Thanks for share.
 
Good share but after converting my images they still showed up in google search. I took care of this by adding a horizontal flip to the .bat file. Just add hflip to the end of this line:
Code:
"eq=brightness=0.06:saturation=1.1:contrast=1.4,lenscorrection=k1=-0.02:k2=0.01,hflip"

Also, remember to run the .bat file as Administrator if you're doing this from program files on Win 10.

Anyways, thanks for the share OP.
 
can i use this script for the same photo again and again for reposting in instagram ?
 
Can this still be done?, can't find this download it is now only possible to download source code and I am not to technical..
 
Hallo ...does anyone have the code to zoom in/out the video every 5-10 seconds, and the code to get rid of 10-15 seconds of video parts every 10 seconds throughout the video??
 
Which build of ffmpeg would you suggest to use now? The original link is down
Also, is there an updated method or is it still pretty much valid?
Thank you
 
Last edited:
With modern day algorithms' ability to detect duplicate images with machine vision without the need to use any hashing it became easy to detect reposting.

The script below will change the image by adding a few effects that'll make it almost unrecognizable to machines but not change it much for the human eye, simply follow the instructions:

1) Download ffmpeg from here: https://ffmpeg.zeranoe.com/builds/

2) Extract the file ffmpeg.exe to "C:\Program Files\ffmpeg\ffmpeg.exe"

3) In the same folder create a new .txt file and rename it to "edit.bat" (remove the .txt)

4) Open the new edit.bat file and copy the script below to it:

Code:
::Replace png with whatever file format you have. (mp4, ts, jpg, etc.)
set FileFormat=png

::Directory where you have your unedited files. (Make sure you end it with a "\")
set UneditFilesDirectory=C:\Program Files\ffmpeg\png\

::Directory where you want your edited files to be saved (Make sure you end it with a "\")
set EditedFilesDirectory=C:\Program Files\ffmpeg\png2\

for %%d in ("%UneditFilesDirectory%*.%FileFormat%") do "C:\Program Files\ffmpeg\ffmpeg.exe" -i "%%d"  -map_metadata -1 -vf "eq=brightness=0.06:saturation=1.1:contrast=1.4,lenscorrection=k1=-0.02:k2=0.01" "%EditedFilesDirectory%%%~nd.%FileFormat%"

Replace "png", "C:\Program Files\ffmpeg\png\" and "C:\Program Files\ffmpeg\png2\" with your correlating values.

You can use the script for images or videos, each has to be done individually.

This will remove all metadata, change colors a little and distort shapes and objects in a way where it's harder for machine vision to detect.

This might not work properly if your image or video contains any subtitles or similar small text as it will distort the lines and letters.

You can also do something similar to watermark videos, let me know if you're interested in seeing that.
Can I use this system, which deletes the metadata and makes changes to the video, including, if I am not mistaken, changing the MD5 hash of the same file, and then republish the content on Instagram or TikTok without either platform restricting the visibility of my video?
 
I tried using this script on a photo downloaded from Instagram. I did not change the MD5 hash, as making significant changes, such as adding various filters or other changes, should result in a change of the hash. Moreover, the profile to which I reposted the photo had already been used to repost other photos, to which I made no changes. Basically, I do not know whether any decrease in engagement or interactions may be due to the fact that Instagram may have applied a restriction on the visibility of my previous posts, as well as the fact that my account is new. As for posting, it was done from my PC, not my mobile phone. Please let me know if I have done everything correctly. Should you have any suggestions for me or open a discussion on the matter, highlighting possible factors that could undermine my visibility, I will be happy to participate in it. I am open to any suggestions and constructive discussion. In the meantime, I will keep you updated on the results. I would like to thank the original author of the post for sharing this script.
 
Last edited:
Back
Top