Multi-Generation Video


Here is a test which some on this forum may find of interest. It studies the effects of copying a video clip over several generations. The videos were generated using this ffmpeg script (for h.265). The script was modified for other codecs.

ffmpeg  -i C0068.mp4 -y -c:v libx265  -an  gen_2.mp4

ffmpeg  -i gen_2.mp4 -y -c:v libx265  -an  gen_3.mp4

ffmpeg  -i gen_3.mp4 -y -c:v libx265  -an  gen_4.mp4

ffmpeg  -i gen_4.mp4 -y -c:v libx265  -an  gen_5.mp4

ffmpeg  -i gen_5.mp4 -y -c:v libx265  -an  gen_6.mp4

ffmpeg  -i gen_6.mp4 -y -c:v libx265  -an  gen_7.mp4

ffmpeg  -i gen_7.mp4 -y -c:v libx265  -an  gen_8.mp4

ffmpeg  -i gen_8.mp4 -y -c:v libx265  -an  gen_9.mp4

ffmpeg  -i gen_9.mp4 -y -c:v libx265  -an  gen_10.mp4

ffmpeg  -i gen_10.mp4 -y -c:v libx265  -an  gen_11.mp4

ffmpeg  -i gen_11.mp4 -y -c:v libx265  -an  gen_12.mp4

When the script is finished we have a 12th-generation video.

here is the original h.264 video from the camera:[]

Here are the 12th-generation videos for various codecs. NOTE: All of these videos play back correctly on VLC. You may have to download these files to your machine and play them locally using VLC or a similar player.






Here is an even better presentation on video compression: