Answer the question
In order to leave comments, you need to log in
Why is there no sound from ios devices after compression with ffmpeg?
I compress video using Laravel library for FFMPEG.
$lowBitrateFormat = (new X264('aac', 'libx264'))->setKiloBitrate(700);
FFMpeg::fromDisk($this->video->disk)
->open($this->video->path)
->addFilter(function ($filters) {
$filters->clip(TimeCode::fromSeconds(0), TimeCode::fromSeconds(30));
})
->export()
->toDisk('local')
->inFormat($lowBitrateFormat)
->save('public/downloadable/'.$this->video->id . '.mp4');
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question