Bug#608926: [php-maint] Bug#608926: php5-ffmpeg: Loop while using the extension with FLV files

2011-01-10 Thread Saulo Soares de Toledo
I think this is a problem from ffmpeg-php lib, not Debian.
Debian its our local server. This PHP application need be deployed in a
CentOS server (external server). After install the same version of the lib,
I got the same error. I installed 0.6.0 version: same problem. Then, I got
the trunk version and installed here (Debian) and at CentOS server, both
solved.

At moment, I can't regride the lib version at server because there are
projects here running and needing this library working, I will not have
permission to do this for now. I will try recreate the problem in another
machine to put here.

If somebody more can try recreate, here are the steps:

1) Install Apache + PHP 5 + php5-ffmpeg

2) At server root, put any FLV file and a php file with this content (change
the FLV filename at php file):

?php

header(Content-Type: image/jpeg);

$movie = new ffmpeg_movie(flv_file_name_here.flv);
$height = $movie-getFrameHeight ();
$width = $movie-getFrameWidth ();

$image = imagecreatetruecolor ( $width , $height ) ;
$frame = new ffmpeg_frame($image);
$frame = $movie-getFrame(100);
$image = $frame-toGDImage();

imagejpeg($image, null, 100);
?

3) If an image of frame 100 appear, sucess! But will be a loop and Apache
logs will show the message.


Saulo

2011/1/4 Raphael Geissert geiss...@debian.org

 tag 608926 moreinfo
 thanks

 On 4 January 2011 23:18, Saulo Soares de Toledo saulotol...@gmail.com
 wrote:
  I'm just using $movie = new ffmpeg_movie('someFLVFile.flv') and my
 script
  enter in a loop. Apache logs shows me a lot of messages like this:

 I would need more information, like what does the script do after
 creating the ffmpeg_movie object? what version of ffmpeg are you
 using?

  *** glibc detected *** /usr/sbin/apache2: corrupted double-linked list:
  *** 0x026574a0 ***

 Please generate a backtrace and paste it here. You can find
 instructions to do so at
 http://bugs.php.net/bugs-generating-backtrace.php

  = { laEntry 2 }
  Cannot adopt OID in UCD-SNMP-MIB: laIndex ::= { laEntry 1 }
 

 That comes from snmp (via php5-snmp maybe) and is irrelevant.

 Cheers,
 --
 Raphael Geissert - Debian Developer
 www.debian.org - get.debian.net



Bug#608926: [php-maint] Bug#608926: php5-ffmpeg: Loop while using the extension with FLV files

2011-01-04 Thread Raphael Geissert
tag 608926 moreinfo
thanks

On 4 January 2011 23:18, Saulo Soares de Toledo saulotol...@gmail.com wrote:
 I'm just using $movie = new ffmpeg_movie('someFLVFile.flv') and my script
 enter in a loop. Apache logs shows me a lot of messages like this:

I would need more information, like what does the script do after
creating the ffmpeg_movie object? what version of ffmpeg are you
using?

 *** glibc detected *** /usr/sbin/apache2: corrupted double-linked list:
 *** 0x026574a0 ***

Please generate a backtrace and paste it here. You can find
instructions to do so at
http://bugs.php.net/bugs-generating-backtrace.php

 = { laEntry 2 }
 Cannot adopt OID in UCD-SNMP-MIB: laIndex ::= { laEntry 1 }


That comes from snmp (via php5-snmp maybe) and is irrelevant.

Cheers,
-- 
Raphael Geissert - Debian Developer
www.debian.org - get.debian.net



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org