MGTCVideoRecordManager.h 959 B

1234567891011121314151617181920212223242526272829
  1. //
  2. // MGTCVideoRecordManager.h
  3. // BuguLive
  4. //
  5. // Created by 宋晨光 on 2019/7/4.
  6. // Copyright © 2019年 xfg. All rights reserved.
  7. //
  8. //音视频分离
  9. #import <Foundation/Foundation.h>
  10. NS_ASSUME_NONNULL_BEGIN
  11. @interface MGTCVideoRecordManager : NSObject
  12. /** 截取视频的背景音乐 */
  13. + (void)dM_VideoManager_getBackgroundMiusicWithVideoUrl:(NSURL*)videoUrl newFile:(NSString*)newFile completion:(void(^)(NSString*data))completionHandle;
  14. /** 截取视频的无声音视频 */
  15. + (void)dM_VideoManager_RemoveVideoWithVideoUrl:(NSURL*)videoUrl newFile:(NSString*)newFile completion:(void(^)(NSString*data))completionHandle;
  16. /** 给视频添加水印 */
  17. ///使用AVfoundation添加水印
  18. + (void)AVsaveVideoPath:(NSURL*)videoPath WithWaterImg:(UIImage*)img WithCoverImage:(UIImage*)coverImg WithQustion:(NSString*)question WithFileName:(NSString*)fileName completion:(void(^)(NSString*data))completionHandle;;
  19. @end
  20. NS_ASSUME_NONNULL_END