![]() What you'll be doing in the code is creating a watermark, then retrieving the watermark ID and referencing it when you upload a video that you want to display your watermark on. upload ( video_id, file ) print ( "Uploaded Video", video_response ) Code walkthrough Step 1: Import the Video and the Watermark file to Filmora9 The foremost step is to trace the Import button on the interface and add files, i.e. Step 1: Upload a video Click on the Upload menu to import the video from local file or click the From URL option to paste the YouTube video link. create ( video_creation_payload ) video_id = api_response file = open ( "test_vid45.mp4", "rb" ) video_response = videos_api. Follow the mentioned steps to add watermarks to your video. ![]() upload ( file ) pprint ( api_response ) pprint ( api_response ) watermark_id = api_response videos_api = VideosApi ( client ) video_creation_payload = api_response = videos_api. ![]() connect ( ) watermarks_api = WatermarksApi ( client ) file = open ( 'logo_orange.png', 'rb' ) # file_type | The. AuthenticatedApiClient ( "your API key here" ) client. ![]()
0 Comments
Leave a Reply. |