[PD] pidip and ffmpeg compilation

Yves Degoyon ydegoyon at free.fr
Mon Dec 18 23:55:04 CET 2006


yeh, hans,
but i guess pidip is compiled _without_ ffmpeg
which has been a hell to follow anyway
with so many unstable releases, buggy, crashing ...
so i gave up ...

if you really want experimental support of ffmepg in pidip,
that's with --with-ffmpeg=/path/to/ffmpeg

but i haven't tried this for years ( am i so old ? )

well, suerte a los jovenes,
good instructions anyway ..

sevy

Hans-Christoph Steiner wrote:

>
> pidip is included in the nightly builds for GNU/Linux, including the  
> Ubuntu Dapper build.
>
> http://autobuild.puredata.info
>
> .hc
>
> On Dec 18, 2006, at 12:18 AM, John Harrison wrote:
>
>> Tonight I headed down this same path, doing the equivalent of  adding 
>> the variables and getting the same errors. I have concluded  that 
>> pidip compiles only with the ffmpeg sources Yves provides on  the 
>> pidip web page:
>> http://ydegoyon.free.fr/pidip.html
>>
>> I put rather terse directions for compiling for ubuntu Dapper on a  
>> wiki:
>> http://cratel.wichita.edu/cratel/cratel_PiDiP_ubuntu
>>
>> These were adapted from earlier directions I put for compiling on  
>> ubuntu Breezy:
>> http://wikihost.org/wikis/techartsound/wiki/ubuntu_breezy
>>
>> -John
>>
>> Yves Degoyon wrote:
>>
>>> 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
>>>>
>>>>
>>>>
>>>
>>>
>>> _______________________________________________
>>> PD-list at iem.at mailing list
>>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/ 
>>> listinfo/pd-list
>>>
>>
>>
>> _______________________________________________
>> PD-list at iem.at mailing list
>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/ 
>> listinfo/pd-list
>
>
>
> ------------------------------------------------------------------------
>
> As we enjoy great advantages from inventions of others, we should be  
> glad of an opportunity to serve others by any invention of ours; and  
> this we should do freely and generously.         - Benjamin Franklin
>
>
>
> _______________________________________________
> 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