Resolution Display Size and Video Size

The place for "I can't figure out how to..." questions.
Post Reply
Skyonex_
User
Posts: 1
Joined: Thu Oct 05, 2006 8:40 pm

Resolution Display Size and Video Size

Post by Skyonex_ » Fri Oct 06, 2006 11:26 am

Help me please to solve my problem with resolution_x and resolution_y params. I have too many video files (mp4, 3gp formats) with Display Size = 320x240 and Video Size = (128x96, 176x144, 320x240, etc.)

I try to generate my pages with this code:

$res_x=@$ThisFileInfo['video']['resolution_x'];
$res_y=@$ThisFileInfo['video']['resolution_y'];

But always get: 320x240. It seems like getid3 show me only Display Size param. But I need Video Size. Can I get it?

Allan Hansen
getID3() v2 developer
Posts: 445
Joined: Sun May 04, 2003 2:22 pm
Location: Holmegaard, Denmark

Post by Allan Hansen » Fri Oct 06, 2006 11:33 am

Try using a

Code: Select all

print "<pre>";
print_r($ThisFileInfo());
die();
and see if you can find the information somewhere in the ['video'] key.

If it is not there, then getID3() cannot extract that information.

Post Reply