imsparsh / pyffmpeg

Automatically exported from code.google.com/p/pyffmpeg
0 stars 0 forks source link

Cannot build pyffmpeg #14

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. svn checkout http://pyffmpeg.googlecode.com/svn/trunk/ pyffmpeg
2. python setup.py install --prefix=$HOME/local
3.

What is the expected output? 

What do you see instead?
/home/nwagner/local/lib64/python2.6/site-packages/Pyrex/Compiler/Errors.py:17:
DeprecationWarning: BaseException.message has been deprecated as of Python
2.6                                                                       

  self.message = message                                                  

running install                                                           

running build                                                             

running build_ext                                                         

pyrexc pyffmpeg.pyx --> pyffmpeg.c                                        

/home/nwagner/local/lib64/python2.6/site-packages/Pyrex/Compiler/Scanning.py:39:
DeprecationWarning: the md5 module is deprecated; use hashlib instead     

  import md5                                                              

building 'pyffmpeg' extension                                             

creating build                                                            

creating build/temp.linux-x86_64-2.6                                      

/usr/bin/gcc -fno-strict-aliasing -DNDEBUG -fmessage-length=0 -O2 -Wall
-D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables
-fasynchronous-unwind-tables -g -fwrapv -fPIC -I/usr/include/libavcodec/
-I/usr/include/libavformat -I/usr/include/libavutil
-I/usr/include/libswscale -I/usr/include/python2.6 -c pyffmpeg.c -o
build/temp.linux-x86_64-2.6/pyffmpeg.o                  
pyffmpeg.c:30:25: error: mathematics.h: Datei oder Verzeichnis nicht
gefunden                                                
pyffmpeg.c:31:20: error: avutil.h: Datei oder Verzeichnis nicht gefunden  

pyffmpeg.c:32:21: error: swscale.h: Datei oder Verzeichnis nicht gefunden 

pyffmpeg.c:33:21: error: avcodec.h: Datei oder Verzeichnis nicht gefunden 

pyffmpeg.c:34:22: error: avformat.h: Datei oder Verzeichnis nicht gefunden

pyffmpeg.c:35:18: error: avio.h: Datei oder Verzeichnis nicht gefunden    

pyffmpeg.c:83: error: field ‘packet’ has incomplete type                  

pyffmpeg.c:94: warning: ‘struct AVPicture’ declared inside parameter list 

pyffmpeg.c:94: warning: its scope is only this definition or declaration,
which is probably not what you want                
pyffmpeg.c:95: warning: ‘struct AVPicture’ declared inside parameter list 

pyffmpeg.c: In function ‘__pyx_f_8pyffmpeg_8pyffmpeg_py_av_register_all’: 

pyffmpeg.c:267: warning: implicit declaration of function ‘av_register_all’

pyffmpeg.c: In function
‘__pyx_f_8pyffmpeg_8pyffmpeg_11VideoStream___cinit__’:                    

pyffmpeg.c:291: warning: implicit declaration of function
‘avcodec_alloc_frame’                                              
pyffmpeg.c:291: warning: assignment makes pointer from integer without a
cast                                                
pyffmpeg.c: In function ‘__pyx_f_8pyffmpeg_8pyffmpeg_11VideoStream_dump’: 

pyffmpeg.c:330: warning: implicit declaration of function ‘dump_format’   

pyffmpeg.c: In function ‘__pyx_f_8pyffmpeg_8pyffmpeg_11VideoStream_open’: 

pyffmpeg.c:364: warning: implicit declaration of function
‘av_open_input_file’                                               
pyffmpeg.c:388: warning: implicit declaration of function
‘av_find_stream_info’                                              
pyffmpeg.c:412: error: dereferencing pointer to incomplete type           

pyffmpeg.c:414: error: dereferencing pointer to incomplete type           

pyffmpeg.c:414: error: ‘CODEC_TYPE_VIDEO’ undeclared (first use in this
function)                                            
pyffmpeg.c:414: error: (Each undeclared identifier is reported only once  

pyffmpeg.c:414: error: for each function it appears in.)                  

pyffmpeg.c:444: error: dereferencing pointer to incomplete type           

pyffmpeg.c:447: warning: implicit declaration of function
‘avcodec_find_decoder’                                             
pyffmpeg.c:447: error: dereferencing pointer to incomplete type           

pyffmpeg.c:447: warning: assignment makes pointer from integer without a
cast                                                
pyffmpeg.c:465: error: dereferencing pointer to incomplete type           

pyffmpeg.c:465: error: ‘CODEC_CAP_TRUNCATED’ undeclared (first use in this
function)                                         
pyffmpeg.c:467: error: dereferencing pointer to incomplete type           

pyffmpeg.c:467: error: dereferencing pointer to incomplete type           

pyffmpeg.c:467: error: ‘CODEC_FLAG_TRUNCATED’ undeclared (first use in this
function)                                        
pyffmpeg.c:473: warning: implicit declaration of function ‘avcodec_open’  

pyffmpeg.c: At top level:                                                 

pyffmpeg.c:508: warning: ‘struct AVPicture’ declared inside parameter list

pyffmpeg.c: In function
‘__pyx_f_8pyffmpeg_8pyffmpeg_11VideoStream_ConvertToRGBA’:                

pyffmpeg.c:523: warning: assignment makes pointer from integer without a
cast                                                
pyffmpeg.c:541: error: dereferencing pointer to incomplete type           

pyffmpeg.c:544: error: dereferencing pointer to incomplete type           

pyffmpeg.c:547: warning: implicit declaration of function
‘avpicture_get_size’                                               
pyffmpeg.c:547: error: ‘PIX_FMT_RGBA32’ undeclared (first use in this
function)                                              
pyffmpeg.c:553: warning: implicit declaration of function ‘avpicture_fill’

pyffmpeg.c:556: warning: implicit declaration of function ‘sws_getContext’

pyffmpeg.c:556: error: dereferencing pointer to incomplete type           

pyffmpeg.c:556: error: ‘SWS_BICUBIC’ undeclared (first use in this
function)                                                 
pyffmpeg.c:556: warning: assignment makes pointer from integer without a
cast                                                

Original issue reported on code.google.com by nils...@googlemail.com on 17 Sep 2009 at 6:09

GoogleCodeExporter commented 9 years ago
you just need to install al the following libraries (ubuntu pkg):
  libavcodec-dev
  libavformat-dev
  libavutil-dev
  libswscale-dev
  zlib1g-dev
  libbz2-dev

it works for me

Original comment by luigi.ta...@gmail.com on 22 Sep 2009 at 4:14

GoogleCodeExporter commented 9 years ago
I have intalled several packages (opensuse 11.1)

python setup.py install --prefix=$HOME/local
/home/nwagner/local/lib64/python2.6/site-packages/Pyrex/Compiler/Errors.py:17:
DeprecationWarning: BaseException.messagehas been deprecated as of Python 2.6
  self.message = message
running install
running build
running build_ext
building 'pyffmpeg' extension
creating build
creating build/temp.linux-x86_64-2.6
/usr/bin/gcc -fno-strict-aliasing -DNDEBUG -fmessage-length=0 -O2 -Wall
-D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables 
-fasynchronous-unwind-tables -g
-fwrapv -fPIC -I/usr/include/libavcodec/ -I/usr/include/libavformat
-I/usr/include/libavutil -I/usr/include/libswscale -I/usr/include/python2.6 -c
pyffmpeg.c -o build/temp.linux-x86_64-2.6/pyffmpeg.o
pyffmpeg.c: In function 
‘__pyx_f_8pyffmpeg_8pyffmpeg_11VideoStream_ConvertToRGBA’:
pyffmpeg.c:547: error: ‘PIX_FMT_RGBA32’ undeclared (first use in this 
function)
pyffmpeg.c:547: error: (Each undeclared identifier is reported only once
pyffmpeg.c:547: error: for each function it appears in.)
pyffmpeg.c: In function 
‘__pyx_f_8pyffmpeg_8pyffmpeg_11VideoStream_GetCurrentFrame’:
pyffmpeg.c:824: error: ‘PIX_FMT_RGBA32’ undeclared (first use in this 
function)
pyffmpeg.c: In function 
‘__pyx_f_8pyffmpeg_8pyffmpeg_11VideoStream___next_frame’:
pyffmpeg.c:948: warning: ‘avcodec_decode_video’ is deprecated (declared at
/usr/include/libavcodec/avcodec.h:3262)
pyffmpeg.c: In function 
‘__pyx_f_8pyffmpeg_8pyffmpeg_11VideoStream_build_index_full’:
pyffmpeg.c:1183: warning: passing argument 1 of ‘url_feof’ from 
incompatible pointer type
pyffmpeg.c:1240: warning: ‘avcodec_decode_video’ is deprecated (declared at
/usr/include/libavcodec/avcodec.h:3262)
pyffmpeg.c: In function 
‘__pyx_f_8pyffmpeg_8pyffmpeg_11VideoStream_build_index_fast’:
pyffmpeg.c:1471: warning: passing argument 1 of ‘url_feof’ from 
incompatible pointer type
error: command '/usr/bin/gcc' failed with exit status 1

Any idea ?

Original comment by nils...@googlemail.com on 28 Sep 2009 at 6:26

GoogleCodeExporter commented 9 years ago
PIX_FMT_RGBA32 define does not exists anymore, I think it should be renamed to
PIX_FMT_RGBA

Original comment by sher...@gmail.com on 15 Nov 2009 at 12:28

GoogleCodeExporter commented 9 years ago
Yup, replacing that works.

Original comment by heiko.we...@googlemail.com on 22 Nov 2009 at 5:11

GoogleCodeExporter commented 9 years ago
i have tried everything that has been mentioned on this forum about this 
issue...
my program crashes saying 'gcc failed'

iago@iago-laptop:~/pyffmpeg/stable$ sudo python setup.py install 
--prefix=$HOME/local
running install
running build
running build_ext
building 'pyffmpeg' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall 
-Wstrict-prototypes -
fPIC -I/usr/include/libavcodec/ -I/usr/include/libavformat 
-I/usr/include/libavutil -
I/usr/include/libswscale -I/usr/include/python2.5 -c pyffmpeg.c -o 
build/temp.linux-
i686-2.5/pyffmpeg.o
pyffmpeg.c:30:25: error: mathematics.h: No such file or directory
pyffmpeg.c:31:20: error: avutil.h: No such file or directory
pyffmpeg.c:32:21: error: swscale.h: No such file or directory
pyffmpeg.c:33:21: error: avcodec.h: No such file or directory
pyffmpeg.c:34:22: error: avformat.h: No such file or directory
pyffmpeg.c:35:18: error: avio.h: No such file or directory
pyffmpeg.c:81: error: field ‘packet’ has incomplete type
pyffmpeg.c:92: warning: ‘struct AVPicture’ declared inside parameter list
pyffmpeg.c:92: warning: its scope is only this definition or declaration, which 
is 
probably not what you want
pyffmpeg.c:93: warning: ‘struct AVPicture’ declared inside parameter list
pyffmpeg.c: In function ‘__pyx_f_8pyffmpeg_py_av_register_all’:
pyffmpeg.c:135: warning: implicit declaration of function ‘av_register_all’
pyffmpeg.c: In function ‘__pyx_f_8pyffmpeg_11VideoStream___cinit__’:
pyffmpeg.c:159: warning: implicit declaration of function 
‘avcodec_alloc_frame’
pyffmpeg.c:159: warning: assignment makes pointer from integer without a cast
pyffmpeg.c: In function ‘__pyx_f_8pyffmpeg_11VideoStream_dump’:
pyffmpeg.c:198: warning: implicit declaration of function ‘dump_format’
pyffmpeg.c: In function ‘__pyx_f_8pyffmpeg_11VideoStream_open’:
pyffmpeg.c:248: warning: implicit declaration of function 
‘av_open_input_file’
pyffmpeg.c:274: warning: implicit declaration of function 
‘av_find_stream_info’
pyffmpeg.c:300: error: dereferencing pointer to incomplete type
pyffmpeg.c:302: error: dereferencing pointer to incomplete type
pyffmpeg.c:302: error: ‘CODEC_TYPE_VIDEO’ undeclared (first use in this 
function)
pyffmpeg.c:302: error: (Each undeclared identifier is reported only once
pyffmpeg.c:302: error: for each function it appears in.)
pyffmpeg.c:334: error: dereferencing pointer to incomplete type
pyffmpeg.c:337: warning: implicit declaration of function 
‘avcodec_find_decoder’
pyffmpeg.c:337: error: dereferencing pointer to incomplete type
pyffmpeg.c:337: warning: assignment makes pointer from integer without a cast
pyffmpeg.c:357: error: dereferencing pointer to incomplete type
pyffmpeg.c:357: error: ‘CODEC_CAP_TRUNCATED’ undeclared (first use in this 
function)
pyffmpeg.c:359: error: dereferencing pointer to incomplete type
pyffmpeg.c:359: error: dereferencing pointer to incomplete type
pyffmpeg.c:359: error: ‘CODEC_FLAG_TRUNCATED’ undeclared (first use in this 
function)
pyffmpeg.c:365: warning: implicit declaration of function ‘avcodec_open’
pyffmpeg.c: At top level:
pyffmpeg.c:411: warning: ‘struct AVPicture’ declared inside parameter list
pyffmpeg.c: In function ‘__pyx_f_8pyffmpeg_11VideoStream_ConvertToRGBA’:
pyffmpeg.c:427: warning: assignment makes pointer from integer without a cast
pyffmpeg.c:447: error: dereferencing pointer to incomplete type
pyffmpeg.c:450: error: dereferencing pointer to incomplete type
pyffmpeg.c:453: warning: implicit declaration of function 
‘avpicture_get_size’
pyffmpeg.c:453: error: ‘PIX_FMT_RGBA’ undeclared (first use in this 
function)
pyffmpeg.c:459: warning: implicit declaration of function ‘avpicture_fill’
pyffmpeg.c:462: warning: implicit declaration of function ‘sws_getContext’
pyffmpeg.c:462: error: dereferencing pointer to incomplete type
pyffmpeg.c:462: error: ‘SWS_BICUBIC’ undeclared (first use in this function)
pyffmpeg.c:462: warning: assignment makes pointer from integer without a cast
pyffmpeg.c:485: warning: implicit declaration of function ‘sws_scale’
pyffmpeg.c:485: error: dereferencing pointer to incomplete type
pyffmpeg.c:485: error: dereferencing pointer to incomplete type
pyffmpeg.c:485: error: dereferencing pointer to incomplete type
pyffmpeg.c:485: error: dereferencing pointer to incomplete type
pyffmpeg.c:488: warning: implicit declaration of function ‘sws_freeContext’
pyffmpeg.c: At top level:
pyffmpeg.c:513: warning: ‘struct AVPicture’ declared inside parameter list
pyffmpeg.c: In function ‘__pyx_f_8pyffmpeg_11VideoStream_ConvertToRGB24’:
pyffmpeg.c:529: warning: assignment makes pointer from integer without a cast
pyffmpeg.c:549: error: dereferencing pointer to incomplete type
pyffmpeg.c:552: error: dereferencing pointer to incomplete type
pyffmpeg.c:555: error: ‘PIX_FMT_RGB24’ undeclared (first use in this 
function)
pyffmpeg.c:564: error: dereferencing pointer to incomplete type
pyffmpeg.c:564: error: ‘SWS_BICUBIC’ undeclared (first use in this function)
pyffmpeg.c:564: warning: assignment makes pointer from integer without a cast
pyffmpeg.c:587: error: dereferencing pointer to incomplete type
pyffmpeg.c:587: error: dereferencing pointer to incomplete type
pyffmpeg.c:587: error: dereferencing pointer to incomplete type
pyffmpeg.c:587: error: dereferencing pointer to incomplete type
pyffmpeg.c: In function ‘__pyx_f_8pyffmpeg_11VideoStream_SaveFrame’:
pyffmpeg.c:641: error: dereferencing pointer to incomplete type
pyffmpeg.c:644: error: dereferencing pointer to incomplete type
pyffmpeg.c:647: warning: passing argument 2 of ‘((struct 
__pyx_obj_8pyffmpeg_VideoStream *)__pyx_v_self)->__pyx_vtab->ConvertToRGB24’ 
from 
incompatible pointer type
pyffmpeg.c:699: error: dereferencing pointer to incomplete type
pyffmpeg.c:699: error: dereferencing pointer to incomplete type
pyffmpeg.c:716: error: dereferencing pointer to incomplete type
pyffmpeg.c:719: warning: implicit declaration of function ‘av_free’
pyffmpeg.c: In function ‘__pyx_f_8pyffmpeg_11VideoStream_GetCurrentFrame’:
pyffmpeg.c:762: warning: passing argument 2 of ‘((struct 
__pyx_obj_8pyffmpeg_VideoStream *)__pyx_v_self)->__pyx_vtab->ConvertToRGBA’ 
from 
incompatible pointer type
pyffmpeg.c:765: error: ‘PIX_FMT_RGBA’ undeclared (first use in this 
function)
pyffmpeg.c:765: error: dereferencing pointer to incomplete type
pyffmpeg.c:765: error: dereferencing pointer to incomplete type
pyffmpeg.c:768: error: dereferencing pointer to incomplete type
pyffmpeg.c:777: error: dereferencing pointer to incomplete type
pyffmpeg.c:778: error: dereferencing pointer to incomplete type
pyffmpeg.c:784: error: dereferencing pointer to incomplete type
pyffmpeg.c:809: error: dereferencing pointer to incomplete type
pyffmpeg.c: In function ‘__pyx_f_8pyffmpeg_11VideoStream___next_frame’:
pyffmpeg.c:874: warning: implicit declaration of function ‘av_read_frame’
pyffmpeg.c:898: warning: implicit declaration of function 
‘avcodec_decode_video’
pyffmpeg.c:922: error: ‘AV_NOPTS_VALUE’ undeclared (first use in this 
function)
pyffmpeg.c:933: error: dereferencing pointer to incomplete type
pyffmpeg.c:936: warning: implicit declaration of function ‘av_free_packet’
pyffmpeg.c:939: warning: implicit declaration of function ‘av_rescale’
pyffmpeg.c:939: error: ‘AV_TIME_BASE’ undeclared (first use in this 
function)
pyffmpeg.c:939: error: dereferencing pointer to incomplete type
pyffmpeg.c:939: error: dereferencing pointer to incomplete type
pyffmpeg.c: In function ‘__pyx_f_8pyffmpeg_11VideoStream_build_index_full’:
pyffmpeg.c:1110: error: dereferencing pointer to incomplete type
pyffmpeg.c:1113: error: ‘AV_TIME_BASE’ undeclared (first use in this 
function)
pyffmpeg.c:1113: error: dereferencing pointer to incomplete type
pyffmpeg.c:1116: warning: implicit declaration of function ‘av_seek_frame’
pyffmpeg.c:1116: error: ‘AVSEEK_FLAG_BACKWARD’ undeclared (first use in 
this 
function)
pyffmpeg.c:1139: warning: implicit declaration of function 
‘avcodec_flush_buffers’
pyffmpeg.c:1167: warning: implicit declaration of function ‘url_feof’
pyffmpeg.c:1167: error: dereferencing pointer to incomplete type
pyffmpeg.c:1212: error: ‘AV_NOPTS_VALUE’ undeclared (first use in this 
function)
pyffmpeg.c:1223: error: dereferencing pointer to incomplete type
pyffmpeg.c:1252: error: dereferencing pointer to incomplete type
pyffmpeg.c:1252: error: ‘FF_I_TYPE’ undeclared (first use in this function)
pyffmpeg.c:1259: error: dereferencing pointer to incomplete type
pyffmpeg.c:1259: error: ‘FF_P_TYPE’ undeclared (first use in this function)
pyffmpeg.c:1266: error: dereferencing pointer to incomplete type
pyffmpeg.c:1266: error: ‘FF_B_TYPE’ undeclared (first use in this function)
pyffmpeg.c:1273: error: dereferencing pointer to incomplete type
pyffmpeg.c:1273: error: ‘FF_S_TYPE’ undeclared (first use in this function)
pyffmpeg.c:1280: error: dereferencing pointer to incomplete type
pyffmpeg.c:1280: error: ‘FF_SI_TYPE’ undeclared (first use in this function)
pyffmpeg.c:1287: error: dereferencing pointer to incomplete type
pyffmpeg.c:1287: error: ‘FF_SP_TYPE’ undeclared (first use in this function)
pyffmpeg.c:1317: error: dereferencing pointer to incomplete type
pyffmpeg.c: In function ‘__pyx_f_8pyffmpeg_11VideoStream_build_index_fast’:
pyffmpeg.c:1417: error: dereferencing pointer to incomplete type
pyffmpeg.c:1420: error: ‘AVSEEK_FLAG_BACKWARD’ undeclared (first use in 
this 
function)
pyffmpeg.c:1446: error: ‘AV_TIME_BASE’ undeclared (first use in this 
function)
pyffmpeg.c:1446: error: dereferencing pointer to incomplete type
pyffmpeg.c:1455: error: dereferencing pointer to incomplete type
pyffmpeg.c:1455: error: ‘AVDISCARD_NONKEY’ undeclared (first use in this 
function)
pyffmpeg.c:1458: error: dereferencing pointer to incomplete type
pyffmpeg.c:1475: error: dereferencing pointer to incomplete type
pyffmpeg.c:1512: error: ‘AV_NOPTS_VALUE’ undeclared (first use in this 
function)
pyffmpeg.c:1523: error: dereferencing pointer to incomplete type
pyffmpeg.c:1540: error: dereferencing pointer to incomplete type
pyffmpeg.c:1540: error: ‘AVDISCARD_ALL’ undeclared (first use in this 
function)
pyffmpeg.c:1543: error: dereferencing pointer to incomplete type
pyffmpeg.c:1543: error: ‘AVDISCARD_DEFAULT’ undeclared (first use in this 
function)
pyffmpeg.c: In function ‘__pyx_f_8pyffmpeg_11VideoStream_GetFrameTime’:
pyffmpeg.c:1603: error: ‘AV_TIME_BASE’ undeclared (first use in this 
function)
pyffmpeg.c: In function ‘__pyx_f_8pyffmpeg_11VideoStream_GetFramePts’:
pyffmpeg.c:1665: error: dereferencing pointer to incomplete type
pyffmpeg.c:1668: error: dereferencing pointer to incomplete type
pyffmpeg.c:1668: error: ‘AV_TIME_BASE’ undeclared (first use in this 
function)
pyffmpeg.c:1668: error: dereferencing pointer to incomplete type
pyffmpeg.c:1668: error: dereferencing pointer to incomplete type
pyffmpeg.c:1674: error: ‘AVSEEK_FLAG_BACKWARD’ undeclared (first use in 
this 
function)
pyffmpeg.c:1700: error: dereferencing pointer to incomplete type
pyffmpeg.c:1700: error: ‘AVDISCARD_BIDIR’ undeclared (first use in this 
function)
pyffmpeg.c:1703: error: dereferencing pointer to incomplete type
pyffmpeg.c:1737: error: dereferencing pointer to incomplete type
pyffmpeg.c:1737: error: ‘AVDISCARD_DEFAULT’ undeclared (first use in this 
function)
pyffmpeg.c:1740: error: dereferencing pointer to incomplete type
pyffmpeg.c: In function ‘__pyx_f_8pyffmpeg_11VideoStream_GetFrameNo’:
pyffmpeg.c:1789: error: dereferencing pointer to incomplete type
pyffmpeg.c:1792: error: dereferencing pointer to incomplete type
pyffmpeg.c:1792: error: dereferencing pointer to incomplete type
pyffmpeg.c:1845: error: ‘AVSEEK_FLAG_BACKWARD’ undeclared (first use in 
this 
function)
pyffmpeg.c: In function ‘initpyffmpeg’:
pyffmpeg.c:2171: error: invalid use of undefined type ‘struct AVRational’
pyffmpeg.c:2174: error: invalid use of undefined type ‘struct AVRational’
pyffmpeg.c:2174: error: ‘AV_TIME_BASE’ undeclared (first use in this 
function)
error: command 'gcc' failed with exit status 1

Original comment by prat.ni...@gmail.com on 13 Jan 2010 at 12:25

GoogleCodeExporter commented 9 years ago
pyffmpeg.c:30:25: error: mathematics.h: No such file or directory
pyffmpeg.c:31:20: error: avutil.h: No such file or directory
pyffmpeg.c:32:21: error: swscale.h: No such file or directory
pyffmpeg.c:33:21: error: avcodec.h: No such file or directory
pyffmpeg.c:34:22: error: avformat.h: No such file or directory
pyffmpeg.c:35:18: error: avio.h: No such file or directory

These messages are meaning that we are not able to find these find on your 
computers.

There may be two reasons for this : 

1) You don't have these files. Then, you have to install them. You are a Linux 
user ?
Then use the package from your distribution and install FFMPEG development 
headers.
You are a Mac/Windows user go and and download FFMPEG and build it.

Or
2) You have these files on your computer, but "setup.py" cannot find then, then 
you
must edit setup.py. There are some variables in the setup.py that you may 
change to
specify where the include files are. Idem for libraries. 

Original comment by bertrand...@gmail.com on 13 Jan 2010 at 12:57