Sample Header Ad - 728x90

Change the fingerprint of a video file with ffmpeg without re encoding it

0 votes
0 answers
622 views
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.
Asked by Leon D (136 rep)
Jul 2, 2023, 08:21 PM