ffmpeg php win32扩展的初步调试 php_ffmpeg.dll下载

ffmpeg php win32初步调试,有一些问题,现把调试内容发上来,大家一起参考参考.

ffmpeg-php version string: 0.5.2.1
ffmpeg-php build date string: FFMPEG_PHP_BUILD_DATE_STRING
libavcodec build number: 3353344
libavcodec version number: 3353344

Methods available in class 'ffmpeg_movie':
__construct
getduration
getframecount
getframerate
getfilename
getcomment
gettitle
getauthor
getartist
getcopyright
getalbum
getgenre
getyear
gettracknumber
getframewidth
getframeheight
getframenumber
getpixelformat
getbitrate
hasaudio
hasvideo
getnextkeyframe
getframe
getvideocodec
getaudiocodec
getaudiochannels
getaudiosamplerate
getaudiobitrate
getvideobitrate
getpixelaspectratio
getpixelaspectratio
getvideobitrate
getaudiobitrate
getaudiosamplerate
getaudiochannels
getaudiocodec
getvideocodec
getframe
getnextkeyframe
hasvideo
hasaudio
getbitrate
getpixelformat
getframenumber
getframeheight
getframewidth
gettracknumber
getyear
getgenre
getalbum
getcopyright
getartist
getauthor
gettitle
getcomment
getfilename
getframerate
getframecount
getduration
__construct

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

file name = E:\www\htdocs\ffmpeg-php-0.6.0/tests/test_media/16Hz-20kHz-Exp-1f-5sec.mp3
duration = 5.37599992752 seconds
frame count = 0
frame rate = 0.000 fps
comment = a small test file
title = Test mp3
author = Alexander Thomas
copyright = 
get bit rate = 64000
has audio = Yes

Fatal error:  Call to undefined method ffmpeg_movie::getAudioStreamId() in E:\www\htdocs\ffmpeg-php-0.6.0\test_ffmpeg.php on line 49


由于版本问题,这里有些方法还没有支持到.ffmpeg-php扩展安装方法稍后再说.

你可能感兴趣的:(html,PHP)