ffmpeg-php

PHP Fatal error: Maximum execution time of 60 seconds exceeded in C:\xampp\htdocs\vendor\symfony\process\Pipes\WindowsPipes.php on line 140

不打扰是莪最后的温柔 提交于 2021-01-29 11:10:15
问题 Error when i upload video more than 15MB using ajax and Laravel Its show me this error : PHP Fatal error: Maximum execution time of 60 seconds exceeded in C:\xampp\htdocs\vendor\symfony\process\Pipes\WindowsPipes.php on line 140 I use Ffmpeg and Symfony/process the error in symfony windowsPipes.php in laravel So what is problem? 回答1: You can set max_execution_time in your php.ini: max_execution_time=300 Or, in your PHP code: ini_set('max_execution_time', 300); // 5 minutes Setting it to zero

how to use or import ffmpeg in a laravel controller

人走茶凉 提交于 2021-01-07 01:27:05
问题 i have already installed the laravel-ffmpeg via composer in my project composer require pbmedia/laravel-ffmpeg then i added class to config/app.php file as documentation says // config/app.php 'providers' => [ ... ProtoneMedia\LaravelFFMpeg\Support\ServiceProvider::class, ... ]; 'aliases' => [ ... 'FFMpeg' => ProtoneMedia\LaravelFFMpeg\Support\FFMpeg::class ... ]; then publish this config file php artisan vendor:publish --provider="ProtoneMedia\LaravelFFMpeg\Support\ServiceProvider" now my

Unable to load FFProbe in laravel app

人盡茶涼 提交于 2019-12-12 04:21:12
问题 i have a problem when i upload a video with a form in my server. In the moment of upload, the aplication, must to convert the format of the video to mp4. In my notebook, this convertion work fine but when i try to convert a video in the server, i receive this error: ExecutableNotFoundException in FFProbeDriver.php line 50: Unable to load FFProbe This is my form: {!! Form::open(['route' =>'upload.store', 'method'=>'POST', 'files'=> true ]) !!} <div class = "form-group" style ="display: none;">

How can I use php-FFMpeg in laravel 4?

你。 提交于 2019-12-10 17:48:38
问题 I am new to Laravel 4. I have installed php-ffmpeg in my local Laravel setup, but I need help on how to use this ffmpeg with Laravel 4? 回答1: Assuming that you already have ffmpeg installed on your localhost server, then in Laravel, you need to set the paths for the ffmpeg and ffprobe binaries, like so: $ffmpeg = FFMpeg\FFMpeg::create(array( 'ffmpeg.binaries' => '/usr/local/Cellar/ffmpeg/2.1.3/bin/ffmpeg', 'ffprobe.binaries' => '/usr/local/Cellar/ffmpeg/2.1.3/bin/ffprobe', 'timeout' => 3600, /

php-ffmpeg get video duration

时光怂恿深爱的人放手 提交于 2019-12-10 15:35:32
问题 When I try to get the duration of a video using the php-ffmpeg wrapper and ffprobe, I get a huge object instead of just the duration. $ffprobe = FFMpeg\FFProbe::create(); $ffprobe->format($this->videoFile) ->get('duration'); $this->videoFile is /home/admin/........./5422346433.mp4 So it points to right file and the duration is listed in the giant object down in [[-show_format-/home/admin/web/admin.simplewebevents.com/public_html/cron/649652027.mp4][1]] => Array ( [0] => FFMpeg\FFProbe

How can i create thumbnail and convert video into mp4 in php without ffmpeg? [closed]

独自空忆成欢 提交于 2019-12-10 12:27:44
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed last year . I need to uploaded video convert into mp4 and also create thumbnail image. I am try with ffmpeg but many hosting provide not intalled ffmpeg. So now i need to that features without using ffmpeg i want do it. Any know ? How can i do without ffmpeg ? 回答1: You don't need to "install"

Install FFMPEG on WAMP

三世轮回 提交于 2019-12-08 11:48:46
问题 I've probably spent over 12 hours trying to install FFMPEG on WAMP. I'm aware that other people have had this question answered on this site, however it does not work for my setup. I have tried the below: Download ffmpeg_new Copy php_ffmpeg.dll from the php5 folder to the C:\wamp\bin\php\php5.2.9-2\ext Copy files from common to the windows/system32 folder Add extension=php_ffmpeg.dll to php.ini file Restarted all services (Apache, PHP...) My current setup is PHP 5.2.1, Apache 2.0.63. I have a

Im getting error “deprecated pixel format used, make sure you did set range correctly using ffmpeg”.. can someone check my code below?

南笙酒味 提交于 2019-12-06 17:23:36
问题 This is my code using ffmpeg i want to have video thumbnail but im not familiar in ffmpeg can someone know the error i got. [swscaler @ 0x7ff8da028c00] deprecated pixel format used, make sure you did set range correctly Output #0, mjpeg, to 'image.jpg': Metadata: major_brand : mp42 minor_version : 0 compatible_brands: isommp42 encoder : Lavf56.36.100 Stream #0:0(und): Video: mjpeg, yuvj420p(pc), 320x240 [SAR 4:3 DAR 16:9], q=2-31, 200 kb/s, 1 fps, 1 tbn, 1 tbc (default) Metadata: creation