ffmpeg-php-user Mailing List for ffmpeg-php extension (Page 7)
Brought to you by:
tkirby
You can subscribe to this list here.
2005 |
Jan
|
Feb
(2) |
Mar
(14) |
Apr
(6) |
May
(23) |
Jun
(5) |
Jul
(1) |
Aug
(7) |
Sep
(4) |
Oct
|
Nov
(10) |
Dec
(3) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
(1) |
2007 |
Jan
|
Feb
(1) |
Mar
(13) |
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
(5) |
Oct
(1) |
Nov
(4) |
Dec
(2) |
2008 |
Jan
(6) |
Feb
(23) |
Mar
(30) |
Apr
(23) |
May
(17) |
Jun
(10) |
Jul
(22) |
Aug
(18) |
Sep
(10) |
Oct
(4) |
Nov
|
Dec
(14) |
2009 |
Jan
(24) |
Feb
(4) |
Mar
|
Apr
(1) |
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
From: dtra F. <dt...@fa...> - 2005-11-09 09:44:58
|
ok, never mind, i got it installed now it was looking in a ffmpeg directory, when the directory was called ffmpeg-php just renamed it, and hopefully can get it going now -----Original Message----- From: ffm...@li... [mailto:ffm...@li...]On Behalf Of dtra FYF Sent: Wednesday, 9 November 2005 7:36 PM To: ffm...@li... Subject: RE: [Ffmpeg-php-user] installation issues i ahave now also tried to install into the php binary but now get this error message make: *** No rule to make target `/export/downloads/php-5.0.3/ext/ffmpeg/ffmpeg.c', needed by `ext/ffmpeg/ffmpeg.lo'. i followed the instructions exactly as on ffmpeg-php.sourceforge.net i do not see any file called ffmpeg.lo -----Original Message----- From: ffm...@li... [mailto:ffm...@li...]On Behalf Of dtra FYF Sent: Monday, 7 November 2005 12:31 PM To: ffm...@li... Subject: [Ffmpeg-php-user] installation issues hi all i've got php5.0.3 installed with the bundled gd library i'm trying to install ffmpeg-php as a dynamic module on this redhat9 box and i followed the instructions on the ffmpeg-php site to install but i'm getting this error when i try to run the test_ffmpeg.php file Warning: dl() [function.dl]: Unable to load dynamic library './ffmpeg.so' - ./ffmpeg.so: cannot open shared object file: No such file or directory in /export/httpdocs/ffmpeg/test_ffmpeg.php on line 17 Can't load extension /usr/lib/20041030/ffmpeg.so the ffmpeg.so file does exist and it is in that directory i had the php source in /export/downloads/php-5.0.3 i copied the ffmpeg-php directory to /export/downloads/php-5.0.3/ext then followed the rest of the instructions, and it all seemed to go well but it doesn't want to load at runtime does anyone know what i am doing wrong? thanks dave ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Ffmpeg-php-user mailing list Ffm...@li... https://lists.sourceforge.net/lists/listinfo/ffmpeg-php-user ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Ffmpeg-php-user mailing list Ffm...@li... https://lists.sourceforge.net/lists/listinfo/ffmpeg-php-user |
From: dtra F. <dt...@fa...> - 2005-11-09 08:36:42
|
i ahave now also tried to install into the php binary but now get this error message make: *** No rule to make target `/export/downloads/php-5.0.3/ext/ffmpeg/ffmpeg.c', needed by `ext/ffmpeg/ffmpeg.lo'. i followed the instructions exactly as on ffmpeg-php.sourceforge.net i do not see any file called ffmpeg.lo -----Original Message----- From: ffm...@li... [mailto:ffm...@li...]On Behalf Of dtra FYF Sent: Monday, 7 November 2005 12:31 PM To: ffm...@li... Subject: [Ffmpeg-php-user] installation issues hi all i've got php5.0.3 installed with the bundled gd library i'm trying to install ffmpeg-php as a dynamic module on this redhat9 box and i followed the instructions on the ffmpeg-php site to install but i'm getting this error when i try to run the test_ffmpeg.php file Warning: dl() [function.dl]: Unable to load dynamic library './ffmpeg.so' - ./ffmpeg.so: cannot open shared object file: No such file or directory in /export/httpdocs/ffmpeg/test_ffmpeg.php on line 17 Can't load extension /usr/lib/20041030/ffmpeg.so the ffmpeg.so file does exist and it is in that directory i had the php source in /export/downloads/php-5.0.3 i copied the ffmpeg-php directory to /export/downloads/php-5.0.3/ext then followed the rest of the instructions, and it all seemed to go well but it doesn't want to load at runtime does anyone know what i am doing wrong? thanks dave ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Ffmpeg-php-user mailing list Ffm...@li... https://lists.sourceforge.net/lists/listinfo/ffmpeg-php-user |
From: dtra F. <dt...@fa...> - 2005-11-07 01:30:55
|
hi all i've got php5.0.3 installed with the bundled gd library i'm trying to install ffmpeg-php as a dynamic module on this redhat9 box and i followed the instructions on the ffmpeg-php site to install but i'm getting this error when i try to run the test_ffmpeg.php file Warning: dl() [function.dl]: Unable to load dynamic library './ffmpeg.so' - ./ffmpeg.so: cannot open shared object file: No such file or directory in /export/httpdocs/ffmpeg/test_ffmpeg.php on line 17 Can't load extension /usr/lib/20041030/ffmpeg.so the ffmpeg.so file does exist and it is in that directory i had the php source in /export/downloads/php-5.0.3 i copied the ffmpeg-php directory to /export/downloads/php-5.0.3/ext then followed the rest of the instructions, and it all seemed to go well but it doesn't want to load at runtime does anyone know what i am doing wrong? thanks dave |
From: Todd K. <ffm...@gm...> - 2005-09-22 22:01:29
|
On 9/22/05, Michael Weck <mi...@we...> wrote: > > Hi, > > I am trying to build this on Redhat Enterprise Linux 3 and PHP 4.3.2 and > am getting the following build errors when I tried building from the > release 0.4.6 and grabbing the latest from CVS. I have pasted the make > output below. which version of ffmpeg? Any help would be appreciated. > > Regards, > > Mike > > > 0.4.6 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D > /bin/sh /root/ffmpeg-php-0.4.6/libtool --mode=3Dcompile gcc -I. > -I/root/ffmpeg-php-0.4.6 -DPHP_ATOM_INC -I/root/ffmpeg-php-0.4.6/include > -I/root/ffmpeg-php-0.4.6/main -I/root/ffmpeg-php-0.4.6 > -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/Zend > -I/usr/include/php/TSRM -I/usr/local/include/ffmpeg -DHAVE_CONFIG_H -g > -O2 -Wall -fno-strict-aliasing -prefer-pic -c > /root/ffmpeg-php-0.4.6/ffmpeg_animated_gif.c -o ffmpeg_animated_gif.lo > gcc -I. -I/root/ffmpeg-php-0.4.6 -DPHP_ATOM_INC > -I/root/ffmpeg-php-0.4.6/include -I/root/ffmpeg-php-0.4.6/main > -I/root/ffmpeg-php-0.4.6 -I/usr/include/php -I/usr/include/php/main > -I/usr/include/php/Zend -I/usr/include/php/TSRM > -I/usr/local/include/ffmpeg -DHAVE_CONFIG_H -g -O2 -Wall > -fno-strict-aliasing -c /root/ffmpeg-php-0.4.6/ffmpeg_animated_gif.c > -fPIC -DPIC -o ffmpeg_animated_gif.lo > /root/ffmpeg-php-0.4.6/ffmpeg_animated_gif.c: In function > `zif_ffmpeg_animated_gif': > /root/ffmpeg-php-0.4.6/ffmpeg_animated_gif.c:170: `AVFMT_NOOUTPUTLOOP' > undeclared (first use in this function) > /root/ffmpeg-php-0.4.6/ffmpeg_animated_gif.c:170: (Each undeclared > identifier is reported only once > /root/ffmpeg-php-0.4.6/ffmpeg_animated_gif.c:170: for each function it > appears in.) > make: *** [ffmpeg_animated_gif.lo] Error 1 > > > > CVS > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D > /bin/sh /root/ffmpeg-php/libtool --mode=3Dcompile gcc -I. > -I/root/ffmpeg-php -DPHP_ATOM_INC -I/root/ffmpeg-php/include > -I/root/ffmpeg-php/main -I/root/ffmpeg-php -I/usr/include/php > -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM > -I/usr/local/include/ffmpeg -DHAVE_CONFIG_H -g -O2 -Wall > -fno-strict-aliasing -prefer-pic -c > /root/ffmpeg-php/ffmpeg_animated_gif.c -o ffmpeg_animated_gif.lo > gcc -I. -I/root/ffmpeg-php -DPHP_ATOM_INC -I/root/ffmpeg-php/include > -I/root/ffmpeg-php/main -I/root/ffmpeg-php -I/usr/include/php > -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM > -I/usr/local/include/ffmpeg -DHAVE_CONFIG_H -g -O2 -Wall > -fno-strict-aliasing -c /root/ffmpeg-php/ffmpeg_animated_gif.c -fPIC > -DPIC -o ffmpeg_animated_gif.lo > /root/ffmpeg-php/ffmpeg_animated_gif.c: In function > `_php_add_video_stream': > /root/ffmpeg-php/ffmpeg_animated_gif.c:82: incompatible types in > assignment > /root/ffmpeg-php/ffmpeg_animated_gif.c: In function > `_php_open_movie_file': > /root/ffmpeg-php/ffmpeg_animated_gif.c:116: incompatible types in > initialization > /root/ffmpeg-php/ffmpeg_animated_gif.c: In function > `zif_ffmpeg_animated_gif': > /root/ffmpeg-php/ffmpeg_animated_gif.c:170: `AVFMT_NOOUTPUTLOOP' > undeclared (first use in this function) > /root/ffmpeg-php/ffmpeg_animated_gif.c:170: (Each undeclared identifier > is reported only once > /root/ffmpeg-php/ffmpeg_animated_gif.c:170: for each function it appears > in.) > /root/ffmpeg-php/ffmpeg_animated_gif.c: In function > `_php_free_ffmpeg_animated_gif': > /root/ffmpeg-php/ffmpeg_animated_gif.c:266: incompatible type for > argument 1 of `avcodec_close' > /root/ffmpeg-php/ffmpeg_animated_gif.c: In function `_php_addframe': > /root/ffmpeg-php/ffmpeg_animated_gif.c:324: incompatible types in > assignment > make: *** [ffmpeg_animated_gif.lo] Error 1 > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download it for free - -and be entered to win a 42" plasma tv or your ver= y > own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Ffmpeg-php-user mailing list > Ffm...@li... > https://lists.sourceforge.net/lists/listinfo/ffmpeg-php-user > |
From: Michael W. <mi...@we...> - 2005-09-22 20:21:20
|
Hi, I am trying to build this on Redhat Enterprise Linux 3 and PHP 4.3.2 and am getting the following build errors when I tried building from the release 0.4.6 and grabbing the latest from CVS. I have pasted the make output below. Any help would be appreciated. Regards, Mike 0.4.6 ==================================================== /bin/sh /root/ffmpeg-php-0.4.6/libtool --mode=compile gcc -I. -I/root/ffmpeg-php-0.4.6 -DPHP_ATOM_INC -I/root/ffmpeg-php-0.4.6/include -I/root/ffmpeg-php-0.4.6/main -I/root/ffmpeg-php-0.4.6 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM -I/usr/local/include/ffmpeg -DHAVE_CONFIG_H -g -O2 -Wall -fno-strict-aliasing -prefer-pic -c /root/ffmpeg-php-0.4.6/ffmpeg_animated_gif.c -o ffmpeg_animated_gif.lo gcc -I. -I/root/ffmpeg-php-0.4.6 -DPHP_ATOM_INC -I/root/ffmpeg-php-0.4.6/include -I/root/ffmpeg-php-0.4.6/main -I/root/ffmpeg-php-0.4.6 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM -I/usr/local/include/ffmpeg -DHAVE_CONFIG_H -g -O2 -Wall -fno-strict-aliasing -c /root/ffmpeg-php-0.4.6/ffmpeg_animated_gif.c -fPIC -DPIC -o ffmpeg_animated_gif.lo /root/ffmpeg-php-0.4.6/ffmpeg_animated_gif.c: In function `zif_ffmpeg_animated_gif': /root/ffmpeg-php-0.4.6/ffmpeg_animated_gif.c:170: `AVFMT_NOOUTPUTLOOP' undeclared (first use in this function) /root/ffmpeg-php-0.4.6/ffmpeg_animated_gif.c:170: (Each undeclared identifier is reported only once /root/ffmpeg-php-0.4.6/ffmpeg_animated_gif.c:170: for each function it appears in.) make: *** [ffmpeg_animated_gif.lo] Error 1 CVS ====================================================== /bin/sh /root/ffmpeg-php/libtool --mode=compile gcc -I. -I/root/ffmpeg-php -DPHP_ATOM_INC -I/root/ffmpeg-php/include -I/root/ffmpeg-php/main -I/root/ffmpeg-php -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM -I/usr/local/include/ffmpeg -DHAVE_CONFIG_H -g -O2 -Wall -fno-strict-aliasing -prefer-pic -c /root/ffmpeg-php/ffmpeg_animated_gif.c -o ffmpeg_animated_gif.lo gcc -I. -I/root/ffmpeg-php -DPHP_ATOM_INC -I/root/ffmpeg-php/include -I/root/ffmpeg-php/main -I/root/ffmpeg-php -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM -I/usr/local/include/ffmpeg -DHAVE_CONFIG_H -g -O2 -Wall -fno-strict-aliasing -c /root/ffmpeg-php/ffmpeg_animated_gif.c -fPIC -DPIC -o ffmpeg_animated_gif.lo /root/ffmpeg-php/ffmpeg_animated_gif.c: In function `_php_add_video_stream': /root/ffmpeg-php/ffmpeg_animated_gif.c:82: incompatible types in assignment /root/ffmpeg-php/ffmpeg_animated_gif.c: In function `_php_open_movie_file': /root/ffmpeg-php/ffmpeg_animated_gif.c:116: incompatible types in initialization /root/ffmpeg-php/ffmpeg_animated_gif.c: In function `zif_ffmpeg_animated_gif': /root/ffmpeg-php/ffmpeg_animated_gif.c:170: `AVFMT_NOOUTPUTLOOP' undeclared (first use in this function) /root/ffmpeg-php/ffmpeg_animated_gif.c:170: (Each undeclared identifier is reported only once /root/ffmpeg-php/ffmpeg_animated_gif.c:170: for each function it appears in.) /root/ffmpeg-php/ffmpeg_animated_gif.c: In function `_php_free_ffmpeg_animated_gif': /root/ffmpeg-php/ffmpeg_animated_gif.c:266: incompatible type for argument 1 of `avcodec_close' /root/ffmpeg-php/ffmpeg_animated_gif.c: In function `_php_addframe': /root/ffmpeg-php/ffmpeg_animated_gif.c:324: incompatible types in assignment make: *** [ffmpeg_animated_gif.lo] Error 1 |
From: Todd K. <ffm...@gm...> - 2005-09-19 17:32:43
|
Those errors are coming from ffmpeg so you might try searching the ffmpeg= =20 mailing list archives at... http://dir.gmane.org/gmane.comp.video.ffmpeg.devel http://dir.gmane.org/gmane.comp.video.ffmpeg.user ...to see if anything similar has been reported. If you don't find anything= =20 you could try to reproduce the errors with the ffmpeg binary and, if you=20 can, send a bug report to ffm...@li...<Ffm...@li...> The ffmpeg guys usually fix these things pretty quick if you give them a=20 reproducable bug report. Make sure your read the bug reporting guidelines= =20 first at http://ffmpeg.sourceforge.net/ffmpeg-bugreport.html Hope this helps, -Todd On 9/17/05, Brad Daily <bra...@gm...> wrote: >=20 > I got this up and running the other night, using the cvs for both > ffmpeg and ffmpeg-php. Using the ffmpeg_movie functions works like a > charm with the FLV files we are working with. The ffmpeg_frame > functions also work, but only on about 60% of the files. The other 40% > throw internal server errors. When I look in the logs, I see about > 1500 lines per error like this: >=20 > [flv @ 0x40aee110]get_buffer() failed (-1 979 1 0x8b63720) >=20 > and this: >=20 > [flv @ 0x40aee110]get_buffer() failed (uv stride mismatch) >=20 > It finally ends with a premature end of script headers error on > php.cgi. The interesting thing is that all of these files are encoded > from the same machine with the same settings, yet they have different > results. Any ideas? >=20 >=20 > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download it for free - -and be entered to win a 42" plasma tv or your ver= y > own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Ffmpeg-php-user mailing list > Ffm...@li... > https://lists.sourceforge.net/lists/listinfo/ffmpeg-php-user > |
From: Brad D. <bra...@gm...> - 2005-09-17 16:12:18
|
I got this up and running the other night, using the cvs for both ffmpeg and ffmpeg-php. Using the ffmpeg_movie functions works like a charm with the FLV files we are working with. The ffmpeg_frame functions also work, but only on about 60% of the files. The other 40% throw internal server errors. When I look in the logs, I see about 1500 lines per error like this: [flv @ 0x40aee110]get_buffer() failed (-1 979 1 0x8b63720) and this: [flv @ 0x40aee110]get_buffer() failed (uv stride mismatch) It finally ends with a premature end of script headers error on php.cgi. The interesting thing is that all of these files are encoded from the same machine with the same settings, yet they have different results. Any ideas? |
From: Prashant N. <pra...@gm...> - 2005-08-21 05:06:14
|
Hi Todd. Thanks for your prompt reply. I have tried using the cvs version of ffmpeg-php but am still getting the same error. Will wait for the 0.4.6 release to see if that works. Thanks again! --=20 Best regards, Prashant Nadarajan On 8/21/05, Todd Kirby <ffm...@gm...> wrote: > > Ah yes. This is due to yet another API breakage by the ffmpeg guys. I > checked in a fix for it a couple days ago so try running the cvs > version of ffmpeg-php. There's instructions for checking out anonymous > cvs at http://ffmpeg-php.sourceforge.net. >=20 > I'll probably put out a 0.4.6 release to fix this on monday. >=20 > Let me know if that doesn't work for any reason. >=20 > Thanks for the feedback. >=20 > -Todd >=20 >=20 > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practic= es > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & Q= A > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Ffmpeg-php-user mailing list > Ffm...@li... > https://lists.sourceforge.net/lists/listinfo/ffmpeg-php-user > |
From: Todd K. <ffm...@gm...> - 2005-08-20 21:18:03
|
On 8/20/05, Prashant Nadarajan <pra...@gm...> wrote: > Hi. >=20 > I'm getting the following error when trying to run 'make': >=20 > find . -name \*.lo | xargs rm -f > find . -name \*.o | xargs rm -f > find . -name \*.la | xargs rm -f > find . -name \*.a | xargs rm -f > find . -name \*.so | xargs rm -f > find . -name .libs -a -type d|xargs rm -rf > rm -f libphp4.la modules/* libs/* > /bin/sh /home/prashant/ffmpeg-php/libtool --mode=3Dcompile gcc -I. > -I/home/prashant/ffmpeg-php -DPHP_ATOM_INC > -I/home/prashant/ffmpeg-php/include -I/home/prashant/ffmpeg-php/main > -I/home/prashant/ffmpeg-php -I/usr/include/php -I/usr/include/php/main > -I/usr/include/php/Zend -I/usr/include/php/TSRM -I/usr/include/ffmpeg > -DHAVE_CONFIG_H -g -O2 -Wall -fno-strict-aliasing -prefer-pic -c > /home/prashant/ffmpeg-php/ffmpeg.c -o ffmpeg.lo > gcc -I. -I/home/prashant/ffmpeg-php -DPHP_ATOM_INC > -I/home/prashant/ffmpeg-php/include -I/home/prashant/ffmpeg-php/main > -I/home/prashant/ffmpeg-php -I/usr/include/php -I/usr/include/php/main > -I/usr/include/php/Zend -I/usr/include/php/TSRM -I/usr/include/ffmpeg > -DHAVE_CONFIG_H -g -O2 -Wall -fno-strict-aliasing -c > /home/prashant/ffmpeg-php/ffmpeg.c -fPIC -DPIC -o ffmpeg.lo > /bin/sh /home/prashant/ffmpeg-php/libtool --mode=3Dcompile gcc -I. > -I/home/prashant/ffmpeg-php -DPHP_ATOM_INC > -I/home/prashant/ffmpeg-php/include -I/home/prashant/ffmpeg-php/main > -I/home/prashant/ffmpeg-php -I/usr/include/php -I/usr/include/php/main > -I/usr/include/php/Zend -I/usr/include/php/TSRM -I/usr/include/ffmpeg > -DHAVE_CONFIG_H -g -O2 -Wall -fno-strict-aliasing -prefer-pic -c > /home/prashant/ffmpeg-php/ffmpeg_movie.c -o ffmpeg_movie.lo > gcc -I. -I/home/prashant/ffmpeg-php -DPHP_ATOM_INC > -I/home/prashant/ffmpeg-php/include -I/home/prashant/ffmpeg-php/main > -I/home/prashant/ffmpeg-php -I/usr/include/php -I/usr/include/php/main > -I/usr/include/php/Zend -I/usr/include/php/TSRM -I/usr/include/ffmpeg > -DHAVE_CONFIG_H -g -O2 -Wall -fno-strict-aliasing -c > /home/prashant/ffmpeg-php/ffmpeg_movie.c -fPIC -DPIC -o > ffmpeg_movie.lo > /home/prashant/ffmpeg-php/ffmpeg_movie.c: In function `_php_get_stream_in= dex': > /home/prashant/ffmpeg-php/ffmpeg_movie.c:84: request for member > `codec_type' in something not a structure or union > /home/prashant/ffmpeg-php/ffmpeg_movie.c: In function > `_php_get_decoder_context': > /home/prashant/ffmpeg-php/ffmpeg_movie.c:407: request for member > `codec_id' in something not a structure or union > /home/prashant/ffmpeg-php/ffmpeg_movie.c:415: warning: assignment from > incompatible pointer type > /home/prashant/ffmpeg-php/ffmpeg_movie.c: In function `_php_get_framecoun= t': > /home/prashant/ffmpeg-php/ffmpeg_movie.c:584: request for member > `time_base' in something not a structure or union > /home/prashant/ffmpeg-php/ffmpeg_movie.c: In function `_php_get_framerate= ': > /home/prashant/ffmpeg-php/ffmpeg_movie.c:617: request for member > `time_base' in something not a structure or union > /home/prashant/ffmpeg-php/ffmpeg_movie.c:617: request for member > `time_base' in something not a structure or union > /home/prashant/ffmpeg-php/ffmpeg_movie.c: In function `_php_get_framewidt= h': > /home/prashant/ffmpeg-php/ffmpeg_movie.c:663: request for member > `width' in something not a structure or union > /home/prashant/ffmpeg-php/ffmpeg_movie.c: In function `_php_get_frameheig= ht': > /home/prashant/ffmpeg-php/ffmpeg_movie.c:691: request for member > `height' in something not a structure or union > make: *** [ffmpeg_movie.lo] Error 1 >=20 >=20 >=20 > I have already compiled a cvs build of ffmpeg with '--enabled-shared' > and '----prefix=3D/usr'. >=20 > I have tried the solutions provided in the INSTALL file and also the > stuff at http://sourceforge.net/forum/forum.php?thread_id=3D1214281&forum= _id=3D417245 > . I'm using PHP 4.3.2 and Red Hat Enterprise Linux. >=20 > Any help would be much appreciated. Thanks in advance. Ah yes. This is due to yet another API breakage by the ffmpeg guys. I checked in a fix for it a couple days ago so try running the cvs version of ffmpeg-php. There's instructions for checking out anonymous cvs at http://ffmpeg-php.sourceforge.net. I'll probably put out a 0.4.6 release to fix this on monday. Let me know if that doesn't work for any reason. Thanks for the feedback. -Todd |
From: Prashant N. <pra...@gm...> - 2005-08-20 19:19:23
|
Hi.=20 I'm getting the following error when trying to run 'make': find . -name \*.lo | xargs rm -f find . -name \*.o | xargs rm -f find . -name \*.la | xargs rm -f find . -name \*.a | xargs rm -f find . -name \*.so | xargs rm -f find . -name .libs -a -type d|xargs rm -rf rm -f libphp4.la modules/* libs/* /bin/sh /home/prashant/ffmpeg-php/libtool --mode=3Dcompile gcc -I. -I/home/prashant/ffmpeg-php -DPHP_ATOM_INC -I/home/prashant/ffmpeg-php/include -I/home/prashant/ffmpeg-php/main -I/home/prashant/ffmpeg-php -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM -I/usr/include/ffmpeg=20 -DHAVE_CONFIG_H -g -O2 -Wall -fno-strict-aliasing -prefer-pic -c /home/prashant/ffmpeg-php/ffmpeg.c -o ffmpeg.lo gcc -I. -I/home/prashant/ffmpeg-php -DPHP_ATOM_INC -I/home/prashant/ffmpeg-php/include -I/home/prashant/ffmpeg-php/main -I/home/prashant/ffmpeg-php -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM -I/usr/include/ffmpeg -DHAVE_CONFIG_H -g -O2 -Wall -fno-strict-aliasing -c /home/prashant/ffmpeg-php/ffmpeg.c -fPIC -DPIC -o ffmpeg.lo /bin/sh /home/prashant/ffmpeg-php/libtool --mode=3Dcompile gcc -I. -I/home/prashant/ffmpeg-php -DPHP_ATOM_INC -I/home/prashant/ffmpeg-php/include -I/home/prashant/ffmpeg-php/main -I/home/prashant/ffmpeg-php -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM -I/usr/include/ffmpeg=20 -DHAVE_CONFIG_H -g -O2 -Wall -fno-strict-aliasing -prefer-pic -c /home/prashant/ffmpeg-php/ffmpeg_movie.c -o ffmpeg_movie.lo gcc -I. -I/home/prashant/ffmpeg-php -DPHP_ATOM_INC -I/home/prashant/ffmpeg-php/include -I/home/prashant/ffmpeg-php/main -I/home/prashant/ffmpeg-php -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM -I/usr/include/ffmpeg -DHAVE_CONFIG_H -g -O2 -Wall -fno-strict-aliasing -c /home/prashant/ffmpeg-php/ffmpeg_movie.c -fPIC -DPIC -o ffmpeg_movie.lo /home/prashant/ffmpeg-php/ffmpeg_movie.c: In function `_php_get_stream_inde= x': /home/prashant/ffmpeg-php/ffmpeg_movie.c:84: request for member `codec_type' in something not a structure or union /home/prashant/ffmpeg-php/ffmpeg_movie.c: In function `_php_get_decoder_context': /home/prashant/ffmpeg-php/ffmpeg_movie.c:407: request for member `codec_id' in something not a structure or union /home/prashant/ffmpeg-php/ffmpeg_movie.c:415: warning: assignment from incompatible pointer type /home/prashant/ffmpeg-php/ffmpeg_movie.c: In function `_php_get_framecount'= : /home/prashant/ffmpeg-php/ffmpeg_movie.c:584: request for member `time_base' in something not a structure or union /home/prashant/ffmpeg-php/ffmpeg_movie.c: In function `_php_get_framerate': /home/prashant/ffmpeg-php/ffmpeg_movie.c:617: request for member `time_base' in something not a structure or union /home/prashant/ffmpeg-php/ffmpeg_movie.c:617: request for member `time_base' in something not a structure or union /home/prashant/ffmpeg-php/ffmpeg_movie.c: In function `_php_get_framewidth'= : /home/prashant/ffmpeg-php/ffmpeg_movie.c:663: request for member `width' in something not a structure or union /home/prashant/ffmpeg-php/ffmpeg_movie.c: In function `_php_get_frameheight= ': /home/prashant/ffmpeg-php/ffmpeg_movie.c:691: request for member `height' in something not a structure or union make: *** [ffmpeg_movie.lo] Error 1 I have already compiled a cvs build of ffmpeg with '--enabled-shared' and '----prefix=3D/usr'. I have tried the solutions provided in the INSTALL file and also the stuff at http://sourceforge.net/forum/forum.php?thread_id=3D1214281&forum_i= d=3D417245 . I'm using PHP 4.3.2 and Red Hat Enterprise Linux. Any help would be much appreciated. Thanks in advance. Prashant |
From: Rob C. <ro...@ma...> - 2005-08-16 15:38:22
|
mm you say you wnat to convert a .avi but you use blabla.mov, which=20 seems to be a Quicktime... try blahblah.avi Nicolas Guitton wrote: > Hello, > > I try to convert .avi or .mov movie into .3gp in order to see it on pho= ne. > > But, I have this error : > > ./*ffmpeg** -i* blabla.mov -s qcif -r 12 -ac 1 -ar 8000 -b 30 -ab 12=20 > blabla.3gp > >=20 > >ffmpeg version CVS [.........] > >Input [.........] > >Output #0, 3gp, to =91/blabla.3gp=92:=20 > > Stream #0.0 -> Video: h263, yuv420p, 176x144, 12.00 fps, q=3D2-31, 30 = kb/s > > Stream #0.1 -> Audio: 0x0000x 8000 Hz, mono, 12 kb/s > >Stream mapping: > > Stream #0.0 -> #0.0 > > Stream #0.1 -> #0.1 > >[h263 @ 0x832948c]removing common factors from framerate > >Unsupported codec for output stream #0.1 > > If somebody could help me. > > Thanks. > |
From: Nicolas G. <ni...@di...> - 2005-08-16 13:38:08
|
Hello, I try to convert .avi or .mov movie into .3gp in order to see it on phone. But, I have this error : ./ffmpeg -i blabla.mov -s qcif -r 12 -ac 1 -ar 8000 -b 30 -ab 12 blabla.3gp ffmpeg version CVS [.........] Input [.........] Output #0, 3gp, to '/blabla.3gp': Stream #0.0 -> Video: h263, yuv420p, 176x144, 12.00 fps, q=2-31, 30 kb/s Stream #0.1 -> Audio: 0x0000x 8000 Hz, mono, 12 kb/s Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1 [h263 @ 0x832948c]removing common factors from framerate Unsupported codec for output stream #0.1 If somebody could help me. Thanks. |
From: Javier R. <jv...@ya...> - 2005-08-08 15:30:37
|
Hi, I tell you a litle more, I work with Slackware 10.1, and install ffmpeg on the linux and ffmpeg-php in the /ext of my php but when I put the test page in my browser this show a white page... On Mon, 2005-08-08 at 12:07 +0000, Javier Ramirez wrote: > Hello, I can't make to found ffmpeg-php, and I don't have any idea to > make this. > Please can you help me ? > > Javier Ramirez |
From: Javier R. <jv...@ya...> - 2005-08-08 15:10:18
|
Hello, I can't make to found ffmpeg-php, and I don't have any idea to make this. Please can you help me ? Javier Ramirez |
From: Kyle S. <web...@sa...> - 2005-07-28 04:30:40
|
I'm interested in finding a programmer(s) that has worked with video type sites in Php before to start a project. I prefer not to post many details about the project. Job will require a complete site but willing to hire others for design and such. Decent budget and revenue sharing available and in some cases preferred. Requires extracting frames from video (which will most likely use previous technology), membership/payment system, streaming, uploading and downloading different types of video. Teams and offshore companies welcome. E-mail me at kschumacher 'at' bluebaywebdesign.com if you think you qualify and want more details. |
From: Todd K. <ffm...@gm...> - 2005-06-20 21:58:52
|
On 6/20/05, Erasmus Schr=F6der <era...@he...> wrote: > I can't get toGDImage to work. > I scanned the ffmpeg_frame methods: >=20 > << > Methods available in ffmpeg_frame: > getwidth > getheight > resize > crop > >> >=20 > There's no toGDImage() function in there. What could possibly be the > error? >=20 >=20 > Thanks a lot if you can answer! There's an open bug report about ffmpeg-php not correctly detecting gd in some cases. I haven't as yet been able to reproduce this with my setup. If you want, you can test to see if ffmpeg-php is not detecting gd correctly by putting... #define HAVE_LIBGD20 ... after all of the #include lines at the top of ffmpeg_frame.c and then recompiling. If the detection is screwed up then you should end up with a version of ffmpeg-php that has the gd stuff included and working, otherwise, youl'll end up with a version that has gd functions, but they won't function correctly when called. Let me know how it turns out as this could help me debug the gd detection s= tuff. Thanks for the feedback! -Todd |
From: Alexey P. <pe...@gc...> - 2005-06-20 11:22:47
|
Try to compile GD and ZLIB to PHP as static (NOT shared) libraries. That means configure PHP as: ./configure ... --with-gd --with-zlib make install > I can't get toGDImage to work. > I scanned the ffmpeg_frame methods: > << > Methods available in ffmpeg_frame: > getwidth > getheight > resize > crop >>> > There's no toGDImage() function in there. What could possibly be the > error? > Thanks a lot if you can answer! -- Alexey Petrov |
From: <era...@he...> - 2005-06-20 11:13:36
|
I can't get toGDImage to work. I scanned the ffmpeg_frame methods: << Methods available in ffmpeg_frame: getwidth getheight resize crop >> There's no toGDImage() function in there. What could possibly be the=20 error? Thanks a lot if you can answer! ---------------- SYSTEM: PHP 4.3.11 (cgi) (built: Jun 6 2005 14:41:33) Copyright (c) 1997-2004 The PHP Group Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies with GD Support enabled GD Version bundled (2.0.28 compatible) and ffmpeg-php version 0.4.3 libavcodec version FFmpeg0.4.9-pre1b4718 libavformat version FFmpeg0.4.9-pre1b4616 on Apache/2.0.52 (Fedora) --------------- Erasmus Schr=F6der University of Helsinki |
From: Todd K. <ffm...@gm...> - 2005-06-13 17:58:20
|
On 6/10/05, Alexey Petrov <pe...@gc...> wrote: > I've found, that frame search in ffmpeg-php works only by looking > through all frames in the movie... It takes a lot of CPU time and disk > I/O's to just catch 1 frame from the middle of typical movie (700 MB), > which usual contain about 100'000 frames. > The solution is: seek to the nearest keyframe (by movie's index) > and start search for needed frame from that point. New function > getNextKeyFrame() from CVS-version doesn't help in that situation, > because uses full-search too... But I suppose, fast seek is > already realised in FFMPEG library. I tried implementing it a while back but had problems getting to the exact frame I wanted. Yes ffmpeg supports seeking.but it doesn't work for all formats. I have some code around somewhere that implements seeking. It still has some major problems though. It doesn't gracefully fall back to the linear search method if seek fails and sometimes returns one frame off from the requested frame. I need to play around with it some more, but I haven't had the time to work on ffmepg-php lately. >=20 > PS: I write phpVideoBrowser, based on ffmpeg-php. > Implemented features: > - Browse files/dirs as on FTP server > - View tech. info about movies > - Catch random frames from movies (only from first 2000 frames because > of the subject) >=20 > Demo-site is here: > http://alexey.homeftp.net:4080/browser/ > (sorry, only russian interface yet, codepage CP1251 ;) >=20 > Description of specific movie: > ("Monsters Inc." extras: "Mike's New Car") > http://alexey.homeftp.net:4080/browser/info.php?file=3D/%CC%F3%EB%FC%F2%F= 4%E8%EB%FC%EC%FB/%C7%E0%F0%F3%E1%E5%E6%ED%FB%E5/%CA%EE%F0%EF%EE%F0%E0%F6%E8= %DF%20%CC%EE%ED%F1%F2%F0%EE%E2/extras/Mike%27s%20NewCar.avi >=20 Fun! > -- > Alexey Petrov >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. How far can you sho= tput > a projector? How fast can you ride your desk chair down the office luge t= rack? > If you want to score the big prize, get to know the little guy. > Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=3D20 > _______________________________________________ > Ffmpeg-php-user mailing list > Ffm...@li... > https://lists.sourceforge.net/lists/listinfo/ffmpeg-php-user > |
From: Alexey P. <pe...@gc...> - 2005-06-10 14:37:29
|
I've found, that frame search in ffmpeg-php works only by looking through all frames in the movie... It takes a lot of CPU time and disk I/O's to just catch 1 frame from the middle of typical movie (700 MB), which usual contain about 100'000 frames. The solution is: seek to the nearest keyframe (by movie's index) and start search for needed frame from that point. New function getNextKeyFrame() from CVS-version doesn't help in that situation, because uses full-search too... But I suppose, fast seek is already realised in FFMPEG library. PS: I write phpVideoBrowser, based on ffmpeg-php. Implemented features: - Browse files/dirs as on FTP server - View tech. info about movies - Catch random frames from movies (only from first 2000 frames because of the subject) Demo-site is here: http://alexey.homeftp.net:4080/browser/ (sorry, only russian interface yet, codepage CP1251 ;) Description of specific movie: ("Monsters Inc." extras: "Mike's New Car") http://alexey.homeftp.net:4080/browser/info.php?file=/%CC%F3%EB%FC%F2%F4%E8%EB%FC%EC%FB/%C7%E0%F0%F3%E1%E5%E6%ED%FB%E5/%CA%EE%F0%EF%EE%F0%E0%F6%E8%DF%20%CC%EE%ED%F1%F2%F0%EE%E2/extras/Mike%27s%20NewCar.avi -- Alexey Petrov |
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 > > > |
From: Andy <an...@ac...> - 2005-05-10 21:02:49
|
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.for test_media/test.avi duration = 107374.488668 seconds frame count = 0 frame rate = 0.000 fps comment = title = author = copyright = frame height = 0 pixels frame width = 0 pixels has audio = No --refresh-- test_media/test.avi duration = 39930311.25718 seconds frame count = 0 frame rate = 0.000 fps comment = title = author = copyright = frame height = 0 pixels frame width = 0 pixels has audio = 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-20020429/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 = agement/ffmpeg/test_media/robot.avi duration = 73019.34932 seconds frame count = 0 frame rate = 0.000 fps comment = title = author = copyright = frame height = 0 pixels frame width = 0 pixels has audio = No Warning: Can't find video stream in agement/ffmpeg/test_media/robot.avi in /www/htdocs/home-management/ffmpeg/test_ffmpeg.php on line 75 get pixel format = yuv420p get video codec = get audio codec = get audio channels = get bit rate = 3 kb/s get frame = false Warning: Can't find video stream in agement/ffmpeg/test_media/robot.avi in /www/htdocs/home-management/ffmpeg/test_ffmpeg.php on line 89 get frame number = 0 -------------------- DEBUG: /www/htdocs/home-management/ffmpeg/test_media/test.avi file name = agement/ffmpeg/test_media/test.avi duration = 39930311.25718 seconds frame count = 0 frame rate = 0.000 fps comment = title = author = copyright = frame height = 0 pixels frame width = 0 pixels has audio = 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 = yuv420p get video codec = get audio codec = get audio channels = get bit rate = -1837036 kb/s get frame = 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 = 0 -------------------- DEBUG: /www/htdocs/home-management/ffmpeg/test_media/Ballad of the Sneak.mp3 file name = agement/ffmpeg/test_media/Ballad of the Sneak.mp3 duration = 73014.524032 seconds frame count = 0 frame rate = 0.000 fps comment = title = author = copyright = frame height = 0 pixels frame width = 0 pixels has audio = No Warning: Can't find video stream in agement/ffmpeg/test_media/Ballad of the Sneak.mp3 in /www/htdocs/home-management/ffmpeg/test_ffmpeg.php on line 75 get pixel format = yuv420p get video codec = get audio codec = get audio channels = get bit rate = 3 kb/s get frame = false Warning: Can't find video stream in agement/ffmpeg/test_media/Ballad of the Sneak.mp3 in /www/htdocs/home-management/ffmpeg/test_ffmpeg.php on line 89 get frame number = 0 -------------------- |
From: Steve B. <sb...@ew...> - 2005-05-07 13:46:02
|
getFrame seems to periodically fail to find a frame. in _php_get_av_frame:1013 (about), ffmovie_ctx->frame_number gets incremented even if avcodec_decode_video returns got_frame==0. So, the frame numbers that the loops sees are discontinuous. If the frame you are looking for happens to be one that doesn't decode, the loop won't exit until the end of the file which an error. Either putting the increment inside the got_frame loop, which I did, or changing the wanted_frame if's inside the loop to <= would fix the problem. I don't know enough about why a frame won't decode to know the right way to fix this. Steve --- ffmpeg_movie.c 3 May 2005 16:14:39 -0000 1.30 +++ ffmpeg_movie.c 7 May 2005 13:40:46 -0000 @@ -1010,8 +1010,8 @@ avcodec_decode_video(decoder_ctx, frame, &got_frame, packet.data, packet.size); - ffmovie_ctx->frame_number++; if (got_frame) { + ffmovie_ctx->frame_number++; /* FIXME: * With the addition of the keyframe logic, this loop is * getting a little too tricky. wanted_frame is way |
From: Steve B. <sb...@ew...> - 2005-05-06 14:56:02
|
On Thu, 2005-05-05 at 07:44 -0400, Steve Brown wrote: > getFrame.phpt test fails w/ > togdimage(): supplied resource is not a valid Image resource in /var/www/html/test/getFrame.php > > I saw an earlier post with this problem specific to BSD, but the > remedy, cooking up my own php, isn't really appealing. > > The php imagecreatetruecolor function seems to work fine. Test also attached. > > I instrumented a few things and everything looks reasonable down through > setting up the function return in toGDImage. ZEND_FETCH_RESOURCE, for some reason > doesn't seem to agree, probably with the return_value arg and doesn't return. > > I'm running the stuff listed below with the cvs ffmpeg-php. > > I think this is a pretty vanilla setup. > > Any ideas? > > Steve It looks like the call to ZEND_GET_RESOURCE_TYPE_ID to get the type id for "gd" in register_ffmpeg_frame_class happens before "gd" gets registered. So, it returns 0, probably an error. I tossed in a couple of calls later on to be sure that le_gd really gets set and things now seem to work. There's probably a more elegant solution. A patch is attached. Steve |
From: Daniel B. <bo...@io...> - 2005-05-05 18:20:20
|
http://www.mplayerhq.hu/~michael/ffmpeg-doxy/libavformat_2dv_8c-source.ht= ml dv_timecode reports the timecode they are calling it LTC, which is linear time code -----Original Message----- From: Todd.Kirby [mailto:dou...@pa...] Sent: Wed 5/4/2005 8:25 PM To: ffm...@li... Cc:=09 Subject: Re: [Ffmpeg-php-user] timecode Daniel Bondurant wrote: >timecode as in SMTP timecode. > >HH:MM:SS:FFF > >the actual time associated with each frame. =20 >it's hard to calculate when the framerate is 29.97 because of the drop = frames. I belive ffmpeg already reports this information. > > =20 > Where in ffmpeg does it report that? I can create a $frame->getPresentationTimestamp() and then you can do whatever math you want in php to get your preferred formatting. I'd rather provide the simplest accessor possoble to php so that folks who want a different view of the timestamp don't have to parse a formatted string to get the info. -Todd ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, = 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=3D20 _______________________________________________ Ffmpeg-php-user mailing list Ffm...@li... https://lists.sourceforge.net/lists/listinfo/ffmpeg-php-user |