TikTok Mass Posting - Video Uniqueness, Metadata, TikTok Duplicate Detection Algorithm

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 :
  • 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.
Potential TikTok Detection Methods :
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.
Potential Workarounds :
  • 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.
Copy And Paste Code To Try FFMpeg Filters :
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()
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!

Looks good enough!
 
I have a script that solves this and makes every video totally unique - frame by frame - and adds meta data of the geo you want automatically, as if it was recorded in city / country x to match the GEO of your audience. Is that of any interest?
I guess it's totally useful
 
I have a script that solves this and makes every video totally unique - frame by frame - and adds meta data of the geo you want automatically, as if it was recorded in city / country x to match the GEO of your audience. Is that of any interest?
I would be interested!!!
 
I have a script that solves this and makes every video totally unique - frame by frame - and adds meta data of the geo you want automatically, as if it was recorded in city / country x to match the GEO of your audience. Is that of any interest?
yup
 
I have a script that solves this and makes every video totally unique - frame by frame - and adds meta data of the geo you want automatically, as if it was recorded in city / country x to match the GEO of your audience. Is that of any interest?
That's interesting and this script will be really helpful, can I DM you?
 
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 :
  • 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.
Potential TikTok Detection Methods :
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.
Potential Workarounds :
  • 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.
Copy And Paste Code To Try FFMpeg Filters :
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()
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!
hello bro @TheBusinessAlchemist
I have try your code in the vscode.exe ,but there is a error when running——“TypeError: 'dict' object cannot be interpreted as an integer”,I wonder how to debug? I am very glad to get your reply and advice.can I contact you through tele: @FreelancerFromChina
 

Attachments

  • 微信图片_20231004025254.png
    微信图片_20231004025254.png
    181.2 KB · Views: 311
I have a script that solves this and makes every video totally unique - frame by frame - and adds meta data of the geo you want automatically, as if it was recorded in city / country x to match the GEO of your audience. Is that of any interest?
What’s the highest number of views you got with this script?
 
J'ai un script qui résout ce problème et rend chaque vidéo totalement unique - image par image - et ajoute automatiquement les métadonnées de la géo que vous souhaitez, comme si elle avait été enregistrée dans la ville/pays x pour correspondre à la GEO de votre audience. Est-ce que cela présente un quelconque intérêt ?
J'ai un script qui résout ce problème et rend chaque vidéo totalement unique - image par image - et ajoute automatiquement les métadonnées de la géo que vous souhaitez, comme si elle avait été enregistrée dans la ville/pays x pour correspondre à la GEO de votre audience. Est-ce que cela présente un quelconque intérêt ?
Où est ce qu'on peut te contacter ?
 
J'ai un script qui résout ce problème et rend chaque vidéo totalement unique - image par image - et ajoute automatiquement les métadonnées de la géo que vous souhaitez, comme si elle avait été enregistrée dans la ville/pays x pour correspondre à la GEO de votre audience. Est-ce que cela présente un quelconque intérêt ?
Do you have any mail, social media so I can talk with you ?
 
I have a script that solves this and makes every video totally unique - frame by frame - and adds meta data of the geo you want automatically, as if it was recorded in city / country x to match the GEO of your audience. Is that of any interest?
I'm truly interested in. Can I send you a private message?
 
I have a script that solves this and makes every video totally unique - frame by frame - and adds meta data of the geo you want automatically, as if it was recorded in city / country x to match the GEO of your audience. Is that of any interest?
Please let me know more about this. Do you think it also works on Instagram?

On the broader topic, did anybody try to run a video through an upscaler to see if it is unique in the eyes of TikTok?
 
Python:
import ffmpeg
import os

# Assuming the videos you want to process are in the "videos" folder
DIR = "videos"

def flip_video(path):
    try:
        output_path = path.replace(".mp4", "_flipped.mp4")
        (
            ffmpeg.input(path)
            .filter("hflip")
            .output(
                output_path,
                map_metadata='-1',
                **{
                    "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:
        if file.endswith('.mp4'):  # Ensure only .mp4 files are processed
            path = os.path.join(DIR, file)
            flip_video(path)

if __name__ == "__main__":
    main()


I think this shsould work
 
Back
Top