Deprecated struct members in unstable Libav builds (e.g. AVStream.r_frame_rate)
Created by: michaeljoelphillips
Greetings,
I've attempted to install PyAV with pip as well as compile it from source and I get the following errors.
building 'av.video.stream' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_AVFORMAT_CLOSE_INPUT=1 -Iinclude -I/usr/include/python2.7 -Ibuild/temp.linux-x86_64-2.7/include -c /home/nomad/build/av/src/av/video/stream.c -o build/temp.linux-x86_64-2.7/home/nomad/build/av/src/av/video/stream.o
/home/nomad/build/av/src/av/video/stream.c: In function ‘__pyx_pf_2av_5video_6stream_11VideoStream_12guessed_rate___get__’:
/home/nomad/build/av/src/av/video/stream.c:2549:90: error: ‘struct AVStream’ has no member named ‘r_frame_rate’
error: command 'gcc' failed with exit status 1
Downloading/unpacking av
Running setup.py egg_info for package av
Could not find ['avcodec', 'avutil', 'avcodec'] with ctypes.util.find_library
Could not find ['avformat'] with ctypes.util.find_library
Could not find ['avutil'] with ctypes.util.find_library
I'm assuming I'm missing a dependency or something, but to the best of my knowledge, I have all of the correct development packages for the dependencies listed in the wiki. Any and all help is appreciated.