|
|
Mozy Online Backup: 2GB Free. Automatic. Secure.
Subject: Re: PHP module failure - msg#00017
List: web.ming.general
> A while ago we tried to setup a new server based on a suse distro, and I
> tried my
> best to make it even compile (on the machine, and with the accompanying devel
> packages)
> It turned out that it did not work too well (all actionscripts messed up,
> until I ran flex and bison
> locally and uploaded the .c files)
> Unfortunately I was not able to run gdb on this box, and I gave up. A short
> time later we made
> a fresh start using next suse package (and changing the server hardware specs
> too),
> and this time the older php ming file compiled and worked well. I dont know
> exactly which
> php version caused the trouble ... and I hope I will never see it again
Thanks Wolfgang for the reply. I think this calls for drastic action
of one sort or another.
Andras
===========================================================================
Major Andras
e-mail: andras@xxxxxxxxxxxxxxxxxxxxx
www: http://andras.webhop.org/
===========================================================================
Was this page helpful?
Thread at a glance:
Previous Message by Date:
click to view message preview
Re: Strange installation problem
Am Donnerstag, 25. September 2003 18:54 schrieben Sie:
> However, the problem remains to understand why other command-line tools
> like listswf or swfparse from the macromedia SDK refuse to recognize
> this file as legal SWF... Is it normal ?
Looking with khexedit into out.swf: CWS4...
Your out.swf is compressed. There is no check in ming that swf4 and swf5
files shouldn't be compressed because compression was introduced with version
6. (flash mx).
Try -1 as compresslevel. 0 means using compression algorithm. I made a
screenshot of your file and the uncompressed file out3.swf.
(using cws2fws you can find in util/ in ming-cvs).
You can see that your file out.swf, the upper khexeditorwindow, is a
compressed swf, the lower shows the uncompressed swf. You can see too, that
the content of the uncompressed swf (the green) is unchanged if
compresslevel=0. Just a few bytes are added by compress2().
Looking at ming wiki I see that I made a small mistake:
"Level 0 means no compression."
Better: Level -1 means no compression. Level 0 means: Use compression
algorithm, but don't do any real compression.
peterdd
out.png
Description: PNG image
_______________________________________________
ming-fun mailing list
ming-fun@xxxxxxxxxx
http://www.opaque.net/mailman/listinfo/ming-fun
Next Message by Date:
click to view message preview
Re: Problem by streaming big mp3-File
Hi,
I dont know what happened with that function. I think it would create a
50meg flash with the mp3 embedded.
If your willing to use flash 6 and 0.3a-dev then this example will
create a small flash movie and stream the mp3 file.
Try something like this in the button example.
It compiles on Win32, Perl 5.8, Ming 0.3a-dev.
It plays with Flash 6 on IE 6, Moz 1.4.
Streaming is good on cable/DSL but not so great on 56k. You wuold just
need to make a loader that buffers enough before starting.
SWF::useSWFVersion(6);
#my $sng1='http://home.mayn.de/rhelms/KULTURFORUM_LINUX.MP3';
my $sng1='http://home.mayn.de/rhelms/KULTURFORUM_LINUX.MP3';
$m->add(new SWF::Action("sndClip1=new
Sound();sndClip1.loadSound('$sng1',true);sndClip.setVolume(100);sndClip1.start();"));
--- Ruprecht Helms <rhelms@xxxxxxx> wrote:
Hi,
how can I write a script that can stream me a big mp3-file. the file is
a cutting of a broadcastproduction and around 50 MB in Size.
By using an examplecode I get this error
Fatal error: Call to undefined function: streammp3() in
/usr/local/apache/htdocs/linuxsendung.php on line 4
Here the code:
<?
$m = new SWFMovie();
$m->setRate(12.0);
$m->streamMp3(fopen("http://home.mayn.de/rhelms/KULTURFORUM_LINUX.MP3",
"rb"));
// 11.85 seconds at 12.0 fps = 142 frames
$m->setFrames(141);
header('Content-type: application/x-shockwave-flash');
$m->output();
?>
How can I fix the problem.
Regards,
Ruprecht
_______________________________________________
ming-fun mailing list
ming-fun@xxxxxxxxxx
http://www.opaque.net/mailman/listinfo/ming-fun
Previous Message by Thread:
click to view message preview
Re: PHP module failure
Hi,
I built this strange php ming version you were talking of.
A while ago we tried to setup a new server based on a suse distro, and I tried
my
best to make it even compile (on the machine, and with the accompanying devel
packages)
It turned out that it did not work too well (all actionscripts messed up, until
I ran flex and bison
locally and uploaded the .c files)
Unfortunately I was not able to run gdb on this box, and I gave up. A short
time later we made
a fresh start using next suse package (and changing the server hardware specs
too),
and this time the older php ming file compiled and worked well. I dont know
exactly which
php version caused the trouble ... and I hope I will never see it again
Wolfgang
Next Message by Thread:
click to view message preview
remove objects
Hello, I have a frame with this
for($i2=0; $i2 < $files; $i2++)
{
.
|
|