Team, Here is the issue details, If we set Buffer_Length to 1000 (1 second) then captured video for 6 seconds If we set 2 Seconds as buffer_ Length then captured video for 7 seconds. How to create a video with the exact buffer_length?
Buffer Length VideoSize
250 milliseconds 21 seconds
500 milliseconds 21 seconds
1000 6 Seconds
2000 7 Seconds
3000 9 Seconds
here is my sample code:
overwolf.media.replays.turnOn({
“highlights” : {
“enable” : true,
“requiredHighlights” : [“kill”]
},
“settings” : {
“gif_as_video”: false,
“max_quota_gb” : 2,
“video” : {
“sub_folder_name” : “C:\Users\91994\Videos\Overwolf”,
“auto_calc_kbps”:true,
“fps” :30,
“width” :1920,
“height” : 1080,
“max_kbps” : 100,
“buffer_length”:2000,
“frame_interval”: 30,
“test_drop_frames_interval”:100,
“notify_dropped_frames_ratio”: 30,
“max_file_size_bytes” : 10000000,
“include_full_size_video” : false,
“override_overwolf_setting”:true,
“disable_when_sht_not_supported” : false ,
“indication_position”: overwolf.streaming.enums.IndicationPosition.BottomLeftCorner,
“indication_type”:overwolf.streaming.enums.IndicationType.DotAndTimer,
“use_app_display_name” : true
}
}
}, function(status) {
self.logLine(self._eventsLog, "Video Capture Callback Status : " + JSON.stringify(status, null, 2) , true);
});