getting error ndefined method ffmpeg_frame::resize

246 views
Skip to first unread message

sreenadh

unread,
Oct 29, 2008, 7:18:11 PM10/29/08
to ffmpeg-php
Hi,

we are getting the following error from ffmpeg-php it seems.

Fatal error: Call to undefined method ffmpeg_frame::resize()

Please advise. In one other thread in this group,

http://groups.google.com/group/ffmpeg-php/browse_thread/thread/74693c771e6c07df/750464fabbd9f39a

I could see that resize is one of the methods available in class
'ffmpeg_frame' wher as it is not listed in our ffmpeg_frame class.

Methods available in class 'ffmpeg_frame':
togdimage
getwidth
getheight
iskeyframe
getpresentationtimestamp
getpts

Anyone knows about this ? Thanks for the help in advance.

Todd Kirby

unread,
Oct 29, 2008, 7:38:06 PM10/29/08
to ffmpe...@googlegroups.com
resize is not available in ffmpeg-php-0.6.0 (see changelog). I would recommend just using gd to resize. If you need resize, use older ffmpeg-php with swscale disabled in ffmpeg.

-T-

sreenadh

unread,
Oct 29, 2008, 9:26:01 PM10/29/08
to ffmpeg-php
Hi Todd,

Thanks for the details !. Sorry for posting without checking the
changelog
Thanks again.

On Oct 30, 4:38 am, "Todd Kirby" <ffmpeg....@gmail.com> wrote:
> resize is not available in ffmpeg-php-0.6.0 (see changelog). I would
> recommend just using gd to resize. If you need resize, use older ffmpeg-php
> with swscale disabled in ffmpeg.
>
> -T-
>
> On Wed, Oct 29, 2008 at 4:18 PM, sreenadh <sreenadhme...@gmail.com> wrote:
>
> > Hi,
>
> > we are getting the following error from ffmpeg-php it seems.
>
> > Fatal error: Call to undefined method ffmpeg_frame::resize()
>
> > Please advise. In one other thread in this group,
>
> >http://groups.google.com/group/ffmpeg-php/browse_thread/thread/74693c...
Reply all
Reply to author
Forward
0 new messages