Uniqueizing video with ffmpeg | My experience in creating YouTube Doorways

If you want to generate 1 million unique videos reusing the same video, you need to put something random into the video each time.

Add the following to vf options and replace bold variables.

drawtext=text='yourrandomvariabletext':fontsize=1:fontcolor=black:x=(w-text_w)/2:y=(h-text_h)/2:fontfile=pathtofontfile.ttf

It will add text that you should randomize using a programming language of your choice.

Changing contrast and similar will result in duplicates early. Plus it may influence video looks with diverse values.
 
valuable information for people who have to make so many content from few content. specially good for people who wants to do farming
 
If you want to generate 1 million unique videos reusing the same video, you need to put something random into the video each time.

Add the following to vf options and replace bold variables.

drawtext=text='yourrandomvariabletext':fontsize=1:fontcolor=black:x=(w-text_w)/2:y=(h-text_h)/2:fontfile=pathtofontfile.ttf

It will add text that you should randomize using a programming language of your choice.

Changing contrast and similar will result in duplicates early. Plus it may influence video looks with diverse values.
Wrong.

If you want to generate million videos, you need speed.

How to do that?

1. Generate a unique video based on original video.

Take original video as input. Let's call it "originalVideo.mp4".
Make 1 second long video off the original video using seeking. https://trac.ffmpeg.org/wiki/Seeking
Name output something like "firstSecondOfOriginalVideo.mp4"

ffmpeg -ss 00:00:01 -i originalVideo.mp4 -frames:v 1 firstSecondOfOriginalVideo.mp4

2. Modify "firstSecondOfOriginalVideo.mp4", so it contains unique data.

Add some text to it. Do whatever you want with it, so it is unique.
Name output something like "firstSecondOfOriginalVideoEdited.mp4"

The rerender of one second video shouldn't take more than a few seconds.

3. Concatenate edited, unique one second of original video with the original video

Use https://trac.ffmpeg.org/wiki/Concatenate#demuxer to concatenate both videos without rerendering, thus saving time and CPU resources.

Following points 2 and 1 you should create a file named list.txt and put that data there:

file 'originalVideo.mp4'
file 'firstSecondOfOriginalVideoEdited.mp4'

Then concatenate both videos using

ffmpeg -f concat -safe 0 -i list.txt -c copy uniquevideo.mp4

The CPU usage will go down drastically. New video will be ready in several seconds with one new, unique part which is 1 second with random data. Important part is we aren't adding much new, so the whole video doesn't contain something irrelevant.
 
Last edited:
anyone has sample of created different videos using the same?
 
Audacity is a popular audio software. Watch YouTube tutorial videos about audacity.
That is understood sir, the issue is what settings are needed to optimize audio to deal with copyright, right now I discovered 10 channels on YT sharing copyright content, they are just live from Sep 2023 and now they have 400K+ Sub, Monetized, earning $4.5K+ per month, I have List, videos, channel names, what is common between videos, how they are promoting, I just want to know how they are doing that, daily they post videos, I altered a same video, found the video files they are using, but after my upload and two times trimming while upload still the video is blocked and copyrights holder is Sony Pictures, the same video they are using, even after finding original video, after consuming 30 minutes on original Channel, The Original Channel video have 26K Views and the channel in question is having 4M+ views, It's just making me crazy if they are earning why not me :(
 
Wrong.

If you want to generate million videos, you need speed.

How to do that?

1. Generate a unique video based on original video.

Take original video as input. Let's call it "originalVideo.mp4".
Make 1 second long video off the original video using seeking. https://trac.ffmpeg.org/wiki/Seeking
Name output something like "firstSecondOfOriginalVideo.mp4"

ffmpeg -ss 00:00:01 -i originalVideo.mp4 -frames:v 1 firstSecondOfOriginalVideo.mp4

2. Modify "firstSecondOfOriginalVideo.mp4", so it contains unique data.

Add some text to it. Do whatever you want with it, so it is unique.
Name output something like "firstSecondOfOriginalVideoEdited.mp4"

The rerender of one second video shouldn't take more than a few seconds.

3. Concatenate edited, unique one second of original video with the original video

Use https://trac.ffmpeg.org/wiki/Concatenate#demuxer to concatenate both videos without rerendering, thus saving time and CPU resources.

Following points 2 and 1 you should create a file named list.txt and put that data there:

file 'originalVideo.mp4'
file 'firstSecondOfOriginalVideoEdited.mp4'

Then concatenate both videos using

ffmpeg -f concat -safe 0 -i list.txt -c copy uniquevideo.mp4

The CPU usage will go down drastically. New video will be ready in several seconds with one new, unique part which is 1 second with random data. Important part is we aren't adding much new, so the whole video doesn't contain something irrelevant.
not working anymore do you have any updated method ?
 
Back
Top