Newest 'ffmpeg' Questions - Stack Overflow
Les articles publiés sur le site
-
Installing ffmpeg for php
2 février 2016, par Joe ScottoI've been searching the internet for over 3 days now and cannot find anything that has a clear explanation of how to install ffmpeg for php. I currently have ffmpeg installed correctly on my Mac command line but as to how to use it in my php scripts is beyond me. How do I install ffmpeg for php? Any help would be great. Thanks.
-
How to make ffmpeg run from laravel cron
2 février 2016, par Ninka LuchkoI have a laravel command that generates summary jpeg file (contact sheet) from a video file, using
exec('ffmpeg ...')
.When I call it from command-line (like this:
php artisan file:generate
orsu - nginx -s /bin/sh -c 'php artisan file:generate'
) it works, but if I have it in the crontab, it doesn't work.Any ideas?
-
adobe premiere command line calls for encoding/decoding [on hold]
2 février 2016, par rishi007bansodIs there any command line instruction set for adobe premiere like that we have in ffmpeg encoder. I basically need to replace encoding tasks done by ffmpeg encoder in my program by adobe premiere encoder. So are there any command line instructions that can set encoding parameters(e.g. gop size, frame rate, quality parameter) in adobe premiere.
-
Android OpenCV trim .mp4 video file
2 février 2016, par AlexI am developing an app for Android platform using Unity 3d. My task is to trim .mp4 video file. So, for this I decided to implement a third party lib and use it from Android native Activity via plugin for Unity.
Here are some options I have already tried, but the did not work:
- mp4parser lib. I know it is open source, but I haven't found any working example of using the source code of this lib in Android project. I am always getting a runtime error (attribute ftyp not found). Using this lib in form of .jar works from Eclipse Android project, but fails in Unity 3d: when calling MovieCreator.build method this lib throws a NullReferenceException in BoxPropertyImpl.class.
- ffmpeg lib. I have already found a working project. I am able to trim the video from Android activity, but when returning to Unity player it freezes forever.
My next option is to try OpenCV lib. Have anyone made video trimming with this lib on Android platform?
Thanks for any help!
-
video snapshot generating horizontally in node js.
2 février 2016, par iamI am using FFMPEG for generating snapshot of video but problem is that snapshot is capturing horizontally i want it to vertical.
code
pathToFile = path+name; pathToSnapshot = path+'sshot.jpg'; // Also a default node module require('child_process').exec(('ffmpeg -i '+ pathToFile +' -vframes 1 -s 450x450 -ss 02 '+ pathToSnapshot), function () {});