Re: [Ffmpeg-php-user] problems with framecount & duration
Brought to you by:
tkirby
From: Todd K. <ffm...@gm...> - 2005-05-19 20:32:08
|
Ok, I've been seeing some strangeness like this lately. I ended up reverting to 4/29/05 cvs of ffmpeg and that cleared it up. I haven't had time to investigate much further yet. -Todd On 5/10/05, Todd Kirby <ffm...@gm...> wrote: > Hmm, the libavcodec build number reported is way old, but thats > probably an error also. >=20 > I've gotten strange resuilts like this when I forget to run 'make > clean && ./configure' after updating cvs for ffmpeg and/or ffmpeg-php. >=20 > -Todd >=20 > On 5/10/05, Andy <an...@ac...> wrote: > > Hi All, > > FFMPEG version: FFMpeg-20050430.tar.bz2 > > ffmpeg-php version: from nightly CVS (10/May/2005) > > webserver: lighttpd > > php build as CGI binary version: 4.3.11 > > > > Compiled ffmpeg, compiled ffmpeg-php as a shared extension. > > All went OK, it installed the shared extension ok: > > Installing shared extensions: /www/php2/lib/php/extensions/no-debug= -non-zts-20020429/ > > > > I ran the test_ffmpeg.php file, and am getting very strange errors, a > > large number of fields are showing up as 0 > > The duration field seems to change everytime I refresh the page. E.g.fo= r > > test_media/test.avi > > duration =3D 107374.488668 seconds > > frame count =3D 0 > > frame rate =3D 0.000 fps > > comment =3D > > title =3D > > author =3D > > copyright =3D > > frame height =3D 0 pixels > > frame width =3D 0 pixels > > has audio =3D No > > > > --refresh-- > > test_media/test.avi > > duration =3D 39930311.25718 seconds > > frame count =3D 0 > > frame rate =3D 0.000 fps > > comment =3D > > title =3D > > author =3D > > copyright =3D > > frame height =3D 0 pixels > > frame width =3D 0 pixels > > has audio =3D No > > > > The total output for test_ffmpeg.php is here, any help please? I had > > this working before doing a server rebuild and upgrading > > php/ffmpeg/ffmpeg-php so i'm not sure where I've messed up!! > > > > Regards, > > Andy > > > > test_ffmpeg.php output: > > > > libavcodec version number: 1032 > > libavcodec build number: 4680 > > > > Functions available in /www/php2/lib/php/extensions/no-debug-non-zts-20= 020429/ffmpeg.so extension: > > > > Methods available in class ffmpeg_movie: > > ffmpeg_movie > > getduration > > getframecount > > getframerate > > getfilename > > getcomment > > gettitle > > getauthor > > getartist > > getcopyright > > getalbum > > getgenre > > getyear > > gettracknumber > > getframewidth > > getframeheight > > getframenumber > > getpixelformat > > getbitrate > > hasaudio > > getnextkeyframe > > getframe > > getvideocodec > > getaudiocodec > > getaudiochannels > > -------------------- > > > > file name =3D agement/ffmpeg/test_media/robot.avi > > duration =3D 73019.34932 seconds > > frame count =3D 0 > > frame rate =3D 0.000 fps > > comment =3D > > title =3D > > author =3D > > copyright =3D > > frame height =3D 0 pixels > > frame width =3D 0 pixels > > has audio =3D No > > > > Warning: Can't find video stream in agement/ffmpeg/test_media/robot.av= i in /www/htdocs/home-management/ffmpeg/test_ffmpeg.php on line 75 > > > > get pixel format =3D yuv420p > > get video codec =3D > > get audio codec =3D > > get audio channels =3D > > get bit rate =3D 3 kb/s > > get frame =3D false > > > > Warning: Can't find video stream in agement/ffmpeg/test_media/robot.av= i in /www/htdocs/home-management/ffmpeg/test_ffmpeg.php on line 89 > > > > get frame number =3D 0 > > > > -------------------- > > > > DEBUG: /www/htdocs/home-management/ffmpeg/test_media/test.avi > > file name =3D agement/ffmpeg/test_media/test.avi > > duration =3D 39930311.25718 seconds > > frame count =3D 0 > > frame rate =3D 0.000 fps > > comment =3D > > title =3D > > author =3D > > copyright =3D > > frame height =3D 0 pixels > > frame width =3D 0 pixels > > has audio =3D No > > > > Warning: Can't find video stream in agement/ffmpeg/test_media/test.avi= in /www/htdocs/home-management/ffmpeg/test_ffmpeg.php on line 75 > > > > get pixel format =3D yuv420p > > get video codec =3D > > get audio codec =3D > > get audio channels =3D > > get bit rate =3D -1837036 kb/s > > get frame =3D false > > > > Warning: Can't find video stream in agement/ffmpeg/test_media/test.avi= in /www/htdocs/home-management/ffmpeg/test_ffmpeg.php on line 89 > > > > get frame number =3D 0 > > > > -------------------- > > > > DEBUG: /www/htdocs/home-management/ffmpeg/test_media/Ballad of the Snea= k.mp3 > > file name =3D agement/ffmpeg/test_media/Ballad of the Sneak.mp3 > > duration =3D 73014.524032 seconds > > frame count =3D 0 > > frame rate =3D 0.000 fps > > comment =3D > > title =3D > > author =3D > > copyright =3D > > frame height =3D 0 pixels > > frame width =3D 0 pixels > > has audio =3D No > > > > Warning: Can't find video stream in agement/ffmpeg/test_media/Ballad o= f the Sneak.mp3 in /www/htdocs/home-management/ffmpeg/test_ffmpeg.php on li= ne 75 > > > > get pixel format =3D yuv420p > > get video codec =3D > > get audio codec =3D > > get audio channels =3D > > get bit rate =3D 3 kb/s > > get frame =3D false > > > > Warning: Can't find video stream in agement/ffmpeg/test_media/Ballad o= f the Sneak.mp3 in /www/htdocs/home-management/ffmpeg/test_ffmpeg.php on li= ne 89 > > > > get frame number =3D 0 > > > > -------------------- > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by Oracle Space Sweepstakes > > Want to be the first software developer in space? > > Enter now for the Oracle Space Sweepstakes! > > http://ads.osdn.com/?ad_id=3D7393&alloc_id=3D16281&op=3Dclick > > _______________________________________________ > > Ffmpeg-php-user mailing list > > Ffm...@li... > > https://lists.sourceforge.net/lists/listinfo/ffmpeg-php-user > > > |