fixed pid so that ffmpep will be sigtermed and not screen