pulse00 / ffmpeg-bundle Goto Github PK
View Code? Open in Web Editor NEWSymfony bundle to provide PHP-FFmpeg as a Symfony service
License: Other
Symfony bundle to provide PHP-FFmpeg as a Symfony service
License: Other
Hello,
Is this project abandoned?
How can we use it on Symfony4?
PHP-FFMpeg/PHP-FFMpeg release 0.8.0 version.
Need add support.
Hello
I have some script, which create video.
exec('
ffmpeg -y -i white.mp4 -i love.png -i facebook.jpg -filter_complex "
[1:v]format=rgba, scale=380:-1[v1];
[2:v]format=rgba, scale=50:-1[v2];
[0][v1]overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2:shortest=1[ov1];
[ov1][v2]overlay=(main_w-overlay_w)/2-40:(main_h-overlay_h)/2+15:shortest=1" -c:v libx264 love.mp4
');
How I can run this script by your bundle. Thanks for your help
The symfony/process components provides a easy to use ExecutableFinder
(https://github.com/symfony/process/blob/master/ExecutableFinder.php) which would help you to make this library more intuitiv to use. You could simple use it to set the default value of the configuration. If someone would like to use another binary he can override it.
my config :
Symfony 3
FFMpeg 3
In file Audio.php (src/FFMpeg/Media/Audio.php) line 79
$filters->add(new SimpleFilter(array('-acodec', $format->getAudioCodec())));
makes trouble about encoding
I replace this line by :
$filters->add(new SimpleFilter(array('-c:a:1', $format->getAudioCodec())));
and it works like a charm.
Do you know why ?
Thx !
test
test
test
Hi,
Firstly thanks for the work :)
I am having problems to get running the bundle. When I call the service I get an error with the FFMpeg construct method.
$ffmpeg = $this->container->get('dubture_ffmpeg.ffmpeg');
Catchable Fatal Error: Argument 1 passed to FFMpeg\FFMpeg::__construct() must be an instance of FFMpeg\Driver\FFMpegDriver, string given, called in /var/www/some-project.com/app/cache/dev/appDevDebugProjectContainer.php on line 693 and defined in /var/www/some-project.com/vendor/php-ffmpeg/php-ffmpeg/src/FFMpeg/FFMpeg.php line 28
Maybe the ffmpeg-bundle is not updated? or I'm doing something wrong?
Thanks
Hi i just installed your bundle and found some issue..
at installation readme section there is note about enabling bundle
new Dubture\FFmpegBundle\FFmpegBundle(),
which isnt correct.. correct classname is new Dubture\FFmpegBundle\DubtureFFmpegBundle(),
(or you just forgot to rename the file?)
Update PHP-FFMpeg to 0.5.x
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.