mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
transcoding gop
This commit is contained in:
@@ -29,7 +29,6 @@ echo '<?xml version="1.0" encoding="utf-8"?>'; ?>
|
||||
<?php endforeach; ?>
|
||||
<?php foreach ($this->getParam('subtitles', []) as $subtitle):?>
|
||||
<AdaptationSet group="<?php if (isset($subtitle['id'])): echo $subtitle['id']; endif;?>" contentType="text" lang="<?php if (isset($subtitle['code'])): echo $subtitle['code']; endif;?>" mimeType="text/vtt">
|
||||
<Role value="main" />
|
||||
<Representation id="<?php if (isset($subtitle['id'])): echo $subtitle['id']; endif;?>" bandwidth="1000">
|
||||
<BaseURL><?php if (isset($subtitle['baseUrl'])): echo $subtitle['baseUrl']; endif;?></BaseURL>
|
||||
</Representation>
|
||||
|
||||
@@ -370,10 +370,10 @@ class TranscodingV1 extends Worker
|
||||
'-r', '24',
|
||||
'-b_strategy', '1',
|
||||
'-bf', '3',
|
||||
'-g', '2'
|
||||
'-g', '120'
|
||||
];
|
||||
|
||||
$segmentSize = 8;
|
||||
$segmentSize = 10;
|
||||
|
||||
if ($stream === 'dash') {
|
||||
$dash = $video->dash()
|
||||
|
||||
Reference in New Issue
Block a user