By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,404 Members | 1,987 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,404 IT Pros & Developers. It's quick & easy.

php ming size problem

P: n/a
I'm working with ming. I am generating a very tiny movie; about 72
frames at a 120x120 pixel resolution.

I am setting the dimension to 2400, 2400:

$m->setDimension(2400,2400);

but the player reports the movie to be 48000, 48000.

Obviously this presents a problem on playback - is there something I am
missing?

Should I be setting a max and min frame size or something?

--Yan
May 15 '07 #1
Share this Question
Share on Google+
3 Replies


P: n/a
On 16.05.2007 00:06 CptDondo wrote:
I'm working with ming. I am generating a very tiny movie; about 72
frames at a 120x120 pixel resolution.

I am setting the dimension to 2400, 2400:

$m->setDimension(2400,2400);

but the player reports the movie to be 48000, 48000.

Obviously this presents a problem on playback - is there something I am
missing?

Should I be setting a max and min frame size or something?

--Yan
Are you using ming_setScale?

--
gosha bine

extended php parser ~ http://code.google.com/p/pihipi
blok ~ http://www.tagarga.com/blok
May 16 '07 #2

P: n/a
gosha bine wrote:
On 16.05.2007 00:06 CptDondo wrote:
>I'm working with ming. I am generating a very tiny movie; about 72
frames at a 120x120 pixel resolution.

I am setting the dimension to 2400, 2400:

$m->setDimension(2400,2400);

but the player reports the movie to be 48000, 48000.

Obviously this presents a problem on playback - is there something I
am missing?

Should I be setting a max and min frame size or something?

--Yan

Are you using ming_setScale?
No; should I be? The PHP ming docs say:
Warning

This function is currently not documented; only the argument list is available.
Not much help there. :-(

--Yan
May 16 '07 #3

P: n/a
On 16.05.2007 17:35 CptDondo wrote:
gosha bine wrote:
>On 16.05.2007 00:06 CptDondo wrote:
>>I'm working with ming. I am generating a very tiny movie; about 72
frames at a 120x120 pixel resolution.

I am setting the dimension to 2400, 2400:

$m->setDimension(2400,2400);

but the player reports the movie to be 48000, 48000.

Obviously this presents a problem on playback - is there something I
am missing?

Should I be setting a max and min frame size or something?

--Yan

Are you using ming_setScale?

No; should I be? The PHP ming docs say:
>Warning

This function is currently not documented; only the argument list is
available.

Not much help there. :-(

--Yan
ming_setscale tells how many twips per pixel we want. Default is 20, and
from your post it looked like it's changed somewhere. What does the
following print for you?

ming_setscale(20);
ming_useswfversion(7);
$m=new SWFMovie();
$m->setDimension(123,456);
$m->add(new SWFShape());
$m->save('tmp.swf');
print_r(getimagesize('tmp.swf'));


--
gosha bine

extended php parser ~ http://code.google.com/p/pihipi
blok ~ http://www.tagarga.com/blok
May 16 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.