.sh_functions: make joinvids() into joinmedia() and use ffmpeg to join any type of media files