473,327 Members | 2,069 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

php ming size problem

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
3 1411
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: eric | last post by:
Greetings! I've installed Apache 2.0.xx and PHP 4.3.2. I want to use Ming as a module to PHP. The instructions that came with Ming say to: as a php module (unix) download php_ming.so.gz...
0
by: jmdeschamps | last post by:
Hello to all, I'm trying to get binaries for Ming but can't find them FOR PYTHON... Yes I know its a PHP group, but i believe someone as made a binary of Ming that is symbolically linked to PHP...
1
by: jmdeschamps | last post by:
I've tried to follow gerhard lead from:...
2
by: titouille | last post by:
Hello everybody !! anyone has try to build ming0.3beta1 for python 2.3.3 under windows ?? Since three days, I try to build it with mingw32, and finally, I am stopped with C declarations error...
9
by: nasim | last post by:
Hi please Help me for using SWF Flash file in Visual C++ 6.0. How I can Use SWF Flash files in Visual C++ 6.0, and how to manipulate SWF Flash files in Visual C++ 6.0. thanks nasim
0
by: universalbitmapper | last post by:
Hi, I just apt-get installed php5 and many libs, including php5-ming. When I try: "#php5 -v" I get the error: "Unable to load ..ming.so" But I checked, it sits right there where php5...
0
by: tdurham | last post by:
Is there a way to import or insert external movie clips, images, and variable pairs into an SWF at PHP runtime, rather than at SWF runtime? Everything that I've read in the Ming documentation is...
4
by: daz.diamond | last post by:
hoping someone can help ... how do I install ming (with python) on win32? have downloaded the tar.gz of ming-0.3.0 which doesn't have a handy self-installer, and I'm absolutely foxed as to what...
1
by: Daniel Nogradi | last post by:
It might be slightly off topic here but couldn't find a more suitable place for this question: I'm trying to build the python binding for ming -- http://ming.sf.net -- but for some reason the...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.