TheBusinessAlchemist
Newbie
- Apr 3, 2023
- 38
- 29
Making a video "unique" in the eyes of the TikTok algorithm is a reccuring topic here.
Many of us want to take a video, play with it's metadata and edit it with automation to have tens of duplicates ready to be posted, all unique in the eyes of TikTok.
In order to effectively bypass the TikTok Detection Algorithm, we need to understand and speculate about how it works and come up with potential fixes.
Let's use this thread to share all the tools and techniques we use to make our videos unique and the metadata we use to give more "trust" to the videos thus more reach.
Tools I use :
I'm not an expert on the topic, it's all speculation, so if you have relevant info please share it below
Improving Our Methods:
If you have any suggestion to help the many of us here to destroy the TikTok Detection Algorithm, post below and let's discuss other ways to get over the TikTok algorithm.
That's all, if you have any question (related or not to the code provided), don't hesitate to ask!
Many of us want to take a video, play with it's metadata and edit it with automation to have tens of duplicates ready to be posted, all unique in the eyes of TikTok.
In order to effectively bypass the TikTok Detection Algorithm, we need to understand and speculate about how it works and come up with potential fixes.
Let's use this thread to share all the tools and techniques we use to make our videos unique and the metadata we use to give more "trust" to the videos thus more reach.
Tools I use :
- ffmpeg : a tool to convert, apply filters, speed up, change metadata and modify in general all types of media files.
- python : a programming language to automate all my ffmpeg work in bulk. I use the "ffmpeg-python" library to make it easy to bulk edit thousands of videos with ffmpeg using python.
- exiftool : a command line tool to check metadata of all my videos. Usage : exiftool video.mp4 for example. Works on Unix based, not sure if available on Windows.
I'm not an expert on the topic, it's all speculation, so if you have relevant info please share it below
- Hashing : the algorithm probably hashes every video (list of pixels) into a unique hash. If even one pixel of the video changes, the hash is completely different.
- Checking neighbor pixels : the algorithm probably checks the neighbor pixels of each video to see if, for example, the video has been slightly moved, cropped, or zoomed.
- Metadata : the algorithm probably checks if the metadata of the video is from a trusted source and if it unique or used thousands of times.
- File name : the algorithm maybe checks file name, comparing it to the typical file name used when editing on TikTok or CapCut to evaluate the trust of the video.
- Zooming in on the video : this method generates a zoomed duplicate of the original video, completely changing the hash. The pixels aren't the same anymore.
- Flipping the video : this method, while generating a unique hash, also completely bypasses a neighbor pixels algorithm.
- Speeding up the video : completely changes the hash. Not sure if very effective though.
- Removing metadata : this method at least makes the video "unique" to TikTok. Note: TikTok could consider this as a spam as very few original videos have no metadata.
- Adding trusted metadata : adding metadata generated by TikTok's editor or CapCut or some trusted metadata in general may help giving the video a boost of trust, TikTok thinking the video was manually edited on their platforms.
- Changing file name : changing file name to a typical file name generated by TikTok or CapCut.
Python:
# Install ffmpeg, then run pip install ffmpeg-python
import ffmpeg
import os
# Put the videos you want to process in the "videos" folder
DIR = "videos"
def flip_video(path):
try:
(
ffmpeg.input(path)
.filter("hflip")
.output(
# Multiple ways to change metadata here
# 1. map_metadata=-1 - removes all metadata generated by FFMpeg
# 2. metadata="title=METADATA MAN"" - adds the metadata you want to add.
# To add multiple metadata params, just use the syntax below
path.replace(
".mp4",
"_flipped.mp4",
# map_metadata=-1,
# metadata="title=METADATA MAN",
{
"metadata:g:0": "title=My Title",
"metadata:g:1": "artist=Me",
"metadata:g:2": "album=X",
"metadata:g:3": "year=2019",
},
)
)
.run()
)
return True
except ffmpeg.Error as e:
print(e.stderr)
return False
def main():
files = os.listdir(DIR)
for file in files:
path = os.path.join(DIR, file)
flip_video(path)
if __name__ == "__main__":
main()
If you have any suggestion to help the many of us here to destroy the TikTok Detection Algorithm, post below and let's discuss other ways to get over the TikTok algorithm.
That's all, if you have any question (related or not to the code provided), don't hesitate to ask!