Thread: ffmpeg
View Single Post
Old 6th May 2009
carpman carpman is offline
Shell Scout
 
Join Date: Jul 2008
Posts: 94
Default

Ok this turning into a bit of struggle, now when trying to build the original app ffmpeg i get
Code:
License: unredistributable
Creating config.mak and config.h...
===>  Building for ffmpeg-2008.07.27_10
gmake: *** virtual memory exhausted.  Stop.
*** Error code 1

Stop in /usr/ports/multimedia/ffmpeg.
*** Error code 1

Stop in /usr/ports/multimedia/ffmpeg.

I find this is due to fact that ffmpeg needs gmake-3.81 and my system only 3.80, so update this but now get

cd /usr/ports/multimedia/ffmpeg/ && make install clean
Code:
===>  Building for ffmpeg-2008.07.27_10
cd ./libavutil/ && ln -sf libavutil.so.1 libavutil.so
cc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I. -I"/usr/ports/multimedia/ffmpeg/work/ffmpeg-2008-07-27" -pipe -march=pentium3 -O3 -ffast-math -fno-finite-math-only -fomit-frame-pointer -fno-strict-aliasing -msse -I/usr/local/include -fomit-frame-pointer -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -O3 -fno-math-errno         -c -o libavcodec/libx264.o libavcodec/libx264.c
cc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I. -I"/usr/ports/multimedia/ffmpeg/work/ffmpeg-2008-07-27" -pipe -march=pentium3 -O3 -ffast-math -fno-finite-math-only -fomit-frame-pointer -fno-strict-aliasing -msse -I/usr/local/include -fomit-frame-pointer -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -O3 -fno-math-errno         -c -o libavcodec/aac_ac3_parser.o libavcodec/aac_ac3_parser.c
libavcodec/libx264.c: In function `X264_init':
libavcodec/libx264.c:165: error: structure has no member named `b_bframe_adaptive'
libavcodec/libx264.c:230: error: structure has no member named `b_bidir_me'
libavcodec/libx264.c:231: error: structure has no member named `b_bframe_rdo'
libavcodec/libx264.c:256: error: structure has no member named `psz_rc_eq'
gmake: *** [libavcodec/libx264.o] Error 1
gmake: *** Waiting for unfinished jobs....
*** Error code 1

Stop in /usr/ports/multimedia/ffmpeg.
*** Error code 1

Stop in /usr/ports/multimedia/ffmpeg.
This has been harder to track down on google though!

any ideas

cheers
Reply With Quote