I am searching for a way to edit a video file to not have the same fingerprint anymore. It should not have a high CPU impact and all the tracks of the original file should be copied (so it needs map 0) Do you have better ideas or a working prompt for me?

So far I experimented with removing the last frame and adding an empty subtitle track, but the ChatGPT generated commands did not work or have unwanted side effects.

For subtitle this was the best I could get: ffmpeg -i "$file" -f srt -i "$subtitle_file" -map 0 -map 1 -c copy -scodec mov_text -metadata:s:s:0 language=eng -metadata:s:s:0 handler_name="Empty Subtitle" "$output_file" where i first created an "empty" subtitle file and then it should add this, but the output file did not have the subtitle.

And for removing the frame I got this: ffmpeg -i "$file" -vf "select='not(mod(n,1))',setpts='N/(24*TB)'" -c:v copy -an -sn -y "${file%.*}_frame_removed.${file##*.}" but here it gave me an error aboutFiltering and streamcopy cannot be used together.

  • 2
    What is a fingerprint in this context? Commented Jul 2, 2023 at 22:53
  • @MarcusMüller something like a hash, that changes, whenever the file is edited. But not only on file level, but rater looks at the (video-) content itself.
    – Leon D
    Commented Jul 3, 2023 at 6:45
  • We need an actual definition of what that is, otherwise it's impossible to say. Commented Jul 3, 2023 at 7:04
  • The problem is, that I don't know it 100% myself, what is sufficient. But I think my two examples should be sufficient to change the fingerprint.
    – Leon D
    Commented Jul 3, 2023 at 7:23
  • 2
    maybe you can try ffmpeg -i xxx.mp4 -c copy -metadata title="new title" out.mp4 to change something with the metadata, which will change the file's checksum Commented Jul 5, 2023 at 9:38


You must log in to answer this question.

Browse other questions tagged .