Comments (16)
I am working on this.
The setup script was never intended to work on Windows. (For example, it calls pkgconfig
, a Unix utility.)
The key difficulty is linking PyAV to the libraries that it requires: this is simply harder to do on Windows than it is on Unix/OSX. If you can help, please share anything you learn in issue #34.
from pyav.
My experience building Python extensions for Windows is effectively zero, and I personally have no idea where to start. (I'm not a Windows user, if it wasn't obvious.)
I don't think there is anything stopping PyAV from supporting Windows, but I personally will not be able to maintain it, or reliably test it. Unfortunately, I don't think Travis supports Windows. It would be really awesome if there could be some sort of automatic verification that goes along with Windows support, so that we can make sure we don't break it in the future.
from pyav.
I have heard that ContinuumIO is working on something like this. Meanwhile, I set up 32-bit and 64-bit Windows 7 Virtual Machines on my MacBook. I have no particular expertise, but I have wasted many hours trying to make Python packages work on Windows for my collaborators. I'm ready to learn how to do this right.
from pyav.
This just in from the conda mailing list: a working example of continuous integration builds on Windows "Appveyor," a .NET-based answer to Travis-CI. As with Travis, open-source builds are free.
https://ci.appveyor.com/project/rmcgibbo/python-appveyor-conda-example
Seems likely that the big projects will adopt this if it's good. Something to watch....
from pyav.
A link for future ref. when one of us gets back to this: http://zeranoe.com/scripts/mingw_w64_build/mingw-w64-build-3.6.2
from pyav.
Hi,
unfortunately I still have problems with setting up PyAV for Windows. Here some system specs for clarification
- Windows 8 x64 in a VM
- Python27 32-bit
- TDM-GCC Toolchain for 32-bit (http://tdm-gcc.tdragon.net/)
Further I use my own build of ffmpeg that I cross-compiled with Ubuntu 14.04 LTS as mentioned in my previous post.
The PKG_CONFIG_PATH is set to the corresponding folder of my ffmpeg build.
Running make build-mingw32
starts building av\codec. However the process holds when generating the codec.pyd
file with some undefined references:
Did someone already experience this issue? Maybe there is a missing dependency for the setup.py?
Best,
Michael
from pyav.
I finally figured out how to build PyAV for Windows. The problem above was caused by my Python version. I had 2.7.10 installed, which was not compatible. Installing an older version (I chose 2.7.6) solved that problem.
from pyav.
The Python version matters, huh? Interesting...
from pyav.
Trying to set up PyAV on windows here too. For me, the ideal solution would be a bdist-wheel on PyPI built against the official windows shared ffmeg build.
from pyav.
like that? https://github.com/MichaelBarz/PyAV/tree/master/dist ;)
from pyav.
Sure (except I need the 64-bit one). I've modified setup.py to be able to build on windows without ffmpeg source, and using either MSVC python compiler or MinGW. I'll clean it up and PR tomorrow.
from pyav.
Hi,
I would love to use pyAV on my windows 64bit, 2.7.11 |Anaconda 2.3.0 (64-bit) configuration.
I have tried to follow the instructions here and here. I compiled ffmpeg but I can't make sense out of the sparse instructions for pyAV installation.
Can anyone provide a step by step command list that works on a windows machine or perhaps a wheel file?
from pyav.
I was wondering if you were able to find the step by step command list or a wheel file for a windows 64bit version...
from pyav.
hey @vidartf did you manage to create this that PR? still have this diff around?
from pyav.
Hey. My original PRs are here: https://github.com/mikeboers/PyAV/pulls?q=is%3Apr+author%3Avidartf+is%3Aclosed . Some of these are marked as closed instead of merged, because the repo owner rewrote them partly (so not sure if any commits in repo are in my name). I have no memory of this as it is quite a long while ago. Also, I think this was originally merged, so if it is again not working you might have to do something else.
from pyav.
@vidartf I do end end up rewriting history a bit with PRs, but I try very hard to retain original authorship information (often I'll be the "committer" and the author is the author; I'm getting better at it. 😛).
I'm pretty sure everything found in that link was incorporated in some form or another.
from pyav.
Related Issues (20)
- ffmpeg Vulkan Video API/decoder and CUDA
- error: OpenCV HOT 1
- Typing error HOT 6
- When I define and set pts and dts myself, the value of tbr will become 100 HOT 7
- How do I write to webp? HOT 5
- Allow building extensions without recompiling av HOT 3
- Add S12M_TIMECODE to av.sidedata.sidedata.Type Enum
- AV on Jetson Nano Ubuntu 18.04 - fails after install HOT 2
- Update some documentation links HOT 6
- Can't use analyzeduration options with rtmp url HOT 1
- Building whl files HOT 1
- Build wheel use my own ffmpeg, but can't find the av.libs path. HOT 1
- pkg-config returned flags we don't understand: -Wl,-rpath,... HOT 1
- Resource temporary unavailable issue when retiming audio HOT 1
- Functional Difference In Data Stream between AV 11.0.0 and AV 12.0.0 HOT 1
- AV 12.0.0 decoded frames do not match source as in AV 11.0.0 (potential colorspace issue) HOT 3
- Missing shared object file after upgrading to Python 3.12 HOT 1
- frame.index is deprecated HOT 1
- Provide Apple M1 binaries for pypy HOT 2
- Compatibility with NumPy 2.0? HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyav.