PDA

View Full Version : I'm going crazy! $mov = new ffmpeg_movie(); Don't work


Patrick
09-12-2008, 06:29 PM
Why this code doesn't work now. It doesn't work since 1 months.

$mov = new ffmpeg_movie($uploadfile);

$frame = $mov->getFrameCount()/2;

$ff_frame = $mov->getFrame($frame);
if ($ff_frame) {
$gd_image = $ff_frame->toGDImage();
if ($gd_image) {

imagejpeg($gd_image, $jpgdest);


imagedestroy($gd_image);

}
}


I have opened a tickets but nothing else for resolved the probleme :( I do to copy a frame manualy after a member upload a video !!! I'm going crazy :s

APT-SarahP
09-14-2008, 02:13 PM
Do you get any error message at all?

You should check paths to your upload dir and make sure they are correct.

Patrick
09-16-2008, 09:41 PM
I have the correct PATH !!! The code was worked fine during the time i'm with APTHOST, but It doesn't work since 1 months.

Patrick
09-22-2008, 04:32 PM
I found the probleme !!! It is toGDImage();

Why this fonction of ffmpeg don't work ??? It's an usual fonction of ffmpeg.

It make an Internal error

APT-Joe
09-22-2008, 06:10 PM
Did this work before Sep 17 ?

The reason I ask is because on Sep 17 we have changed spartan's ffmpeg to use the H.264 Codec for HD quality videos.

If it worked before this date, then we know what to blame, but if still didn't work before this date, then we may need to investigate further.

But I need to know if it worked before or not, as the box does have GD compiled.

Thanks.

Patrick
09-22-2008, 07:52 PM
Did this work before ~20Aout !!!

http://www.prise1.com/tmp/index.php

APT-Joe
09-22-2008, 11:21 PM
Try now. And test any ffmpeg features, if its all ok we will go ahead and deploy on all boxes.

Patrick
09-23-2008, 03:41 AM
I would like to thank Russell Rademacher (Level 3 Engineering) to resolve this issue by install the stable version 5.3.1-1 of ffmpeg-php !

Now i will be sane ;)

sebi123
07-17-2009, 11:30 AM
You should check paths to your upload dir and make sure they are correct.
_______________________
web hosting provider consumer reports (http://www.webhostserviceproviders.com)
Wordpress Themes (http://www.wpthemespress.com)
fast ways to lose weight (http://www.bestweightlossbook.com/blog/)
Doctor Reviews (http://www.sickawayfromhome.com/about/)

sebi123
12-22-2009, 01:14 AM
Do you get any error message at all?

You should check paths to your upload dir and make sure they are correct.






Large Mortgage Loan (http://www.themortgagebroker.co.uk/large-mortgage-loan.html)
Beach Cruiser (http://www.beachbikes.net)

sebi123
01-14-2010, 03:42 PM
You should check paths to your upload dir and make sure they are correct.
___________________________
Saab 9-5 Turbo (http://www.turbochargerpros.com/Saab_9-5_turbo.html)ford focus cars (http://www.autotrader.co.uk/EDITORIAL/CARS/FEATURES/ford_focus_car_review.html)| skate shoes (http://www.dvsshoes.com) gem necklace (http://www.palmbeachjewelers.com/gemstone-necklace.aspx)