Moved the button for selecting a video file into a separate function.
Removed extra code.
A simple working graphical interface with which you can transcode any video to mp4.