PHP Video Toolbox 0.1.3 (Default branch)


 
Thread Tools Search this Thread
Special Forums News, Links, Events and Announcements Software Releases - RSS News PHP Video Toolbox 0.1.3 (Default branch)
# 1  
Old 04-07-2008
PHP Video Toolbox 0.1.3 (Default branch)

PHP Video Toolbox is a PHP class that wraps around the FFmpeg, FLVTools2, and Mencoder programs to allow PHP developers to manipulate and convert video files in an easy-to-use object-oriented way. It also currently provides FFmpeg-PHP emulation in pure PHP, so you wouldn't need to compile and install the module. It isn't intended as a FFmpeg-PHP replacement, only an alternative solution. It is recommended that if you make heavy use of the FFmpeg-PHP functionality you should install the module, as it is more efficient. License: BSD License (original) Changes:
Pure PHP based emulation of FFmpeg-PHP was added. New examples were added. secondsToTimecode was reworked to provide better timecode manipulation. Image sequence outputs were reworked to provide more options for naming the sequences. More information was added to getFileInfo and getFFmpegInfo and fixes were made for them.Image

More...
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question
GMP_HAMDIST(3)								 1							    GMP_HAMDIST(3)

gmp_hamdist - Hamming distance

SYNOPSIS
int gmp_hamdist (GMP $a, GMP $b) DESCRIPTION
Returns the hamming distance between $a and $b. Both operands should be non-negative. PARAMETERS
o $a -Either a GMP number resource in PHP 5.5 and earlier, a GMP object in PHP 5.6 and later, or a numeric string provided that it is possible to convert the latter to a number. It should be positive. o $b -Either a GMP number resource in PHP 5.5 and earlier, a GMP object in PHP 5.6 and later, or a numeric string provided that it is possible to convert the latter to a number. It should be positive. RETURN VALUES
A GMP number resource in PHP 5.5 and earlier, or a GMP object in PHP 5.6 and later. EXAMPLES
Example #1 gmp_hamdist(3) example <?php $ham1 = gmp_init("1001010011", 2); $ham2 = gmp_init("1011111100", 2); echo gmp_hamdist($ham1, $ham2) . " "; /* hamdist is equivalent to: */ echo gmp_popcount(gmp_xor($ham1, $ham2)) . " "; ?> The above example will output: 6 6 SEE ALSO
gmp_popcount(3), gmp_xor(3). PHP Documentation Group GMP_HAMDIST(3)