Comments (4)
it seems to be a general issue with ffmpeg not accepting the "-command ''"
syntax.
The fix would be:
if ($argument == "''") $command_string = $command;
Original comment by [email protected]
on 14 Oct 2009 at 6:34
from phpvideotoolkit.
When you say a better result is acheived with
$this->addCommand('-qmin', 3);
$this->addCommand('-qmax', 6);
$this->addCommand('-r', 25);
do you mean that it works or the video is of better quality?
Original comment by [email protected]
on 15 Dec 2009 at 10:13
from phpvideotoolkit.
This error happens for params, with empty args? Such as "-sameq". So the
desision to
fix this bug is change line:
$command_string = trim($command.($argument ? ' '.$argument : ''));
to:
$command_string = trim($command.($argument !== "''" ? ' '.$argument : ''));
in _combineCommands function.
Tested on ubuntu.
Original comment by fedulov.ivan
on 27 Feb 2010 at 8:51
from phpvideotoolkit.
PHPVideoToolkit has been updated to version 2.
Original comment by [email protected]
on 20 Mar 2013 at 11:37
- Changed state: WontFix
from phpvideotoolkit.
Related Issues (10)
- problem with getting abbreviations HOT 8
- Does not work on FreeBSD HOT 8
- Problem with how "-an" is escaped causing ffmpeg to fail HOT 3
- extracting single frame HOT 2
- error while watermarking videos HOT 1
- Bug on line 1997 in php5 version HOT 5
- Error in strict mode HOT 3
- Incorrect variable name in PHPVideoToolkit::getFileInfo() - Line 869 HOT 3
- Invalid video dimensions returned (0x30355) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phpvideotoolkit.