Closed infohassan closed 3 years ago
Hi,
You can do this by using ->setHlsTime(5)
$video->hls()
->setHlsBaseUrl('https://bucket.s3-us-west-1.amazonaws.com/videos') // Add a base URL
->setHlsTime(5) // Set Hls Time. Default value is 10
->setHlsAllowCache(false) // Default value is true
->x264()
->addRepresentations([$r_360p, $r_480p, $r_720p])
->save();
You can only set the segment duration. You can use @aumkarthakur 's solution. Thanks @aumkarthakur
How do i set the segment size of .ts files generated while HLS conversion?