[PD] pidip and ffmpeg compilation

Yves Degoyon ydegoyon at free.fr
Wed Dec 6 16:47:25 CET 2006


yes, sorry. i don't use ffmpeg anymore since a while
and do not follow ffmpeg changes,
so, err, can tell you :
'feel free to fix it' ?

( i know it's a bad answer but all i can do )

suerte,
sevy

Patrick wrote:

>dear list
>
>i've downloaded the svn version of ffmpeg and configured it
>with: ./configure --enable-mp3lame --enable-libogg --enable-vorbis
>--enable-gpl
>
>i tried also manipulating the "Makefile" and added the variables:
>
>/usr/local/src/pd/ffmpeg/libavutil/libavutil.a in PDP_PIDIP_LIBS
>and 
>-I/usr/loacal/src/pd/ffmpeg/libavutil in PDP_PIDIP_INCLUDES
>
>
>but i got allways after a:
>
>./configure  --with-pd=../../ --with-pdp=../pdp/
>--with-ffmpeg=../../../ffmpeg-svn/
>
>make clean
>make ( and make CC=gcc-3.4 )
>
>........many, many.....
>/usr/local/src/pd/ffmpeg-svn/libavformat/avformat.h:251: warning:
>‘AVFrac’ is deprecated
>pdp_live~.c: In function ‘pdp_live_decode_packet’:
>pdp_live~.c:282: error: request for member ‘codec_type’ in something not
>a structure or union
>pdp_live~.c:297: warning: passing argument 1 of ‘avcodec_decode_audio’
>from incompatible pointer type
>pdp_live~.c:297: warning: passing argument 3 of ‘avcodec_decode_audio’
>from incompatible pointer type
>pdp_live~.c:342: error: request for member ‘channels’ in something not a
>structure or union
>pdp_live~.c:343: error: request for member ‘sample_rate’ in something
>not a structure or union
>pdp_live~.c:347: error: request for member ‘channels’ in something not a
>structure or union
>pdp_live~.c:349: error: request for member ‘sample_rate’ in something
>not a structure or union
>pdp_live~.c:354: error: request for member ‘channels’ in something not a
>structure or union
>pdp_live~.c:400: error: request for member ‘width’ in something not a
>structure or union
>pdp_live~.c:401: error: request for member ‘height’ in something not a
>structure or union
>pdp_live~.c:403: error: request for member ‘frame_rate’ in something not
>a structure or union
>pdp_live~.c:410: warning: passing argument 1 of ‘avcodec_decode_video’
>from incompatible pointer type
>pdp_live~.c:410: warning: passing argument 3 of ‘avcodec_decode_video’
>from incompatible pointer type
>pdp_live~.c:411: error: request for member ‘pix_fmt’ in something not a
>structure or union
>pdp_live~.c:414: error: request for member ‘pix_fmt’ in something not a
>structure or union
>pdp_live~.c:445: error: request for member ‘width’ in something not a
>structure or union
>pdp_live~.c:446: error: request for member ‘height’ in something not a
>structure or union
>pdp_live~.c: In function ‘pdp_live_connect_to_url’:
>pdp_live~.c:589: error: ‘AVFormatParameters’ has no member named
>‘image_format’
>pdp_live~.c:651: error: request for member ‘codec_type’ in something not
>a structure or union
>pdp_live~.c:655: error: request for member ‘codec_type’ in something not
>a structure or union
>pdp_live~.c:658: error: request for member ‘codec_id’ in something not a
>structure or union
>pdp_live~.c:658: error: request for member ‘bit_rate’ in something not a
>structure or union
>pdp_live~.c:660: error: request for member ‘sample_rate’ in something
>not a structure or union
>pdp_live~.c:660: error: request for member ‘channels’ in something not a
>structure or union
>pdp_live~.c:663: error: request for member ‘codec_type’ in something not
>a structure or union
>pdp_live~.c:666: error: request for member ‘codec_id’ in something not a
>structure or union
>pdp_live~.c:667: error: request for member ‘bit_rate’ in something not a
>structure or union
>pdp_live~.c:669: error: request for member ‘frame_rate’ in something not
>a structure or union
>pdp_live~.c:670: error: request for member ‘width’ in something not a
>structure or union
>pdp_live~.c:671: error: request for member ‘height’ in something not a
>structure or union
>pdp_live~.c:685: error: request for member ‘codec_id’ in something not a
>structure or union
>pdp_live~.c:699: warning: passing argument 1 of ‘avcodec_open’ from
>incompatible pointer type
>pdp_live~.c: In function ‘pdp_live_disconnect’:
>pdp_live~.c:782: warning: passing argument 1 of ‘avcodec_close’ from
>incompatible pointer type
>pdp_live~.c: In function ‘pdp_live_perform’:
>pdp_live~.c:938: warning: passing argument 2 of
>‘pdp_packet_pass_if_valid’ from incompatible pointer type
>make[1]: *** [pdp_live~.o] Error 1
>make[1]: Leaving directory
>`/usr/local/src/pd/pd/externals/pidip/modules'
>make: *** [pdp_pidip_all] Error 2
>
>
>_______________________________________________
>PD-list at iem.at mailing list
>UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
>
>
>  
>





More information about the Pd-list mailing list