finally making the grey scaled video works fine