![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
♥ ♦ ♣ ♠
Industry Role:
Join Date: Sep 2002
Posts: 10,591
|
![]() Does someone have a method for checking the dimensions of a video, not using meta data? Here's the thing... I have some videos that don't have metadata, FLV&WMV for the same video... In Windows, the size of the WMV shows up as 320x240, but not the FLV. It's safe to assume that each FLV is the same size as the corresponding WMV.
How do I read this size info that Windows sees in PHP?
__________________
![]() ![]() ![]() "I'm selflessly supporting the common good, but only coincidentally looking out for No.1." |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Too lazy to set a custom title
Industry Role:
Join Date: May 2004
Location: West Coast, Canada.
Posts: 10,217
|
You could install ffpmeg or mencoder on your server, exec it and then parse the output.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Industry Role:
Join Date: Mar 2003
Location: San Diego
Posts: 32,258
|
![]()
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Now choke yourself!
Industry Role:
Join Date: Apr 2006
Posts: 12,085
|
So, you want to get these numbers.. by osmosis?
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Industry Role:
Join Date: Aug 2006
Location: Poland
Posts: 9,229
|
you can use ffmpeg-php extension or you can look for a class called getid3
__________________
Mechanical Bunny Media Mechbunny Tube Script | Mechbunny Webcam Aggregator Script | Custom Web Development |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Do Fun Shit.
Industry Role:
Join Date: Dec 2004
Location: OC
Posts: 13,393
|
ffmpeg-php = win
__________________
![]() “I have the simplest tastes. I am always satisfied with the best.” -Oscar Wilde |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Too lazy to set a custom title
Industry Role:
Join Date: Aug 2002
Posts: 55,372
|
if you are using ffmpeg-php check out
getduration getframewidth getframeheight
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence. ![]() WP Stuff |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 | |
Too lazy to set a custom title
Industry Role:
Join Date: Aug 2002
Posts: 55,372
|
Quote:
<? $movie = new ffmpeg_movie('trailer.flv'); $height = $movie->getframeheight(); $width = $movie->getframewidth(); echo "$width x $height"; ?>
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence. ![]() WP Stuff |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
♥ ♦ ♣ ♠
Industry Role:
Join Date: Sep 2002
Posts: 10,591
|
Mmmmm.... That's sexy.
__________________
![]() ![]() ![]() "I'm selflessly supporting the common good, but only coincidentally looking out for No.1." |
![]() |
![]() ![]() ![]() ![]() ![]() |