Spupng timing and ffmpeg Intigration

corrected spupng timing on basis of mail in the mailing list
i have also included ffmpeg intigration code