Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • P PyAV
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 37
    • Issues 37
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 26
    • Merge requests 26
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • PyAV
  • PyAV
  • Issues
  • #52
Closed
Open
Issue created Sep 17, 2014 by Administrator@rootContributor

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.

Assignee
Assign to
Time tracking