Pull from up

ffmpeg gives a different output for audio files than for video files.
With this change we get the duration of audio files properly avoiding program halt.
Also, really protect program from halting when file's duration is unknown for
some reason.