Utilisation of the non deprecated functions of the last versions of ffmpeg.