Revert "Revert "Remove Fileinfo and adjust several thing""
Revert "Remove video support code and doing code formatting"