Notes

I do not really understand the encoding options ENCOPTS. I’ve picked them up from various other posts and it looks to me, I can get reasonable results.

Using the option -nosound may desynchronize the video from the audio stream, the the video output-framerate is wrong.Watch out for warnings “duplicate frame” and check the length of the video stream and audio track!

For sharpening, use: -vf unsharp=l5x5:1.0:c5x5:1.0, but test the result!