fixed possible NP in ffmpeg wrapper
fixed DAL db path handling