Find Jobs
Hire Freelancers

Tiny PHP code to get few attributes from the FLV header

$30-250 USD

In Progress
Posted about 14 years ago

$30-250 USD

Paid on delivery
Your goal is to develop a tiny PHP script, which will provide function getFLVmetadata() (not a class, just function). function getFLVmetadata( $flv_filename [string] ) { ... ... return array("width"=>$width, "height"=>$height, "duration"=>$duration_seconds); } The function will simply read a file given by $flv_filename and parse its FLV header data, then it will return array, which consists of the three attributes described above (video width, video height, duration in seconds) Your code does NOT need to implement a proper AMF parser, just get the three attributes and return. If the given filename is not a valid FLV video, the function will return an empty array(). You can define any other function you need in order to parse the metadata efficiently, however, you must prefix all your other functions with FLV_ prefix. Do not use classes, just functions. Do not use any existing code, write everything from scratch. I expect the result to be a small PHP script (with, say, 200 lines of code max)
Project ID: 667892

About the project

3 proposals
Remote project
Active 14 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hello Sir, See PM for sample of product. Regards, Naveesh Doolhur
$50 USD in 0 day
4.9 (9 reviews)
4.6
4.6
User Avatar
Hello there please check PM.
$40 USD in 0 day
4.9 (10 reviews)
3.2
3.2
3 freelancers are bidding on average $55 USD for this job
User Avatar
Hi, I can do this within 2 days. Thanks.
$75 USD in 2 days
4.5 (6 reviews)
3.7
3.7

About the client

Flag of CZECH REPUBLIC
Sumperk, Czech Republic
5.0
67
Payment method verified
Member since Apr 5, 2009

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.