PyFFMPEG2 alpha and windows

17 views
Skip to first unread message

nouvel

unread,
Oct 22, 2009, 7:32:26 AM10/22/09
to pyffmpeg-dev
Dear PyFfmpeg /developpers,

I have finally done the necessary work for PyFFMPEG2alpha to work
under windows.

Basically, there was some issues with cython that does not work the
same under windows and linux...
So that some virtual functions failed to be virtual as they ought to
be under windows....

Now, this problem is solved and the resulting package seems to work
well under windows.

To install pyffmpeg2alpha under windows, you need to proceed as
follow :
0) Install Python
1) Download cygwin
2) Download and install MINGW + MSYS
3) Download the last build of FFMPEG for window sand save it your
MSYS home directory, you need DLL, and development files
4) From MSYS, Upgrade Cython with easy_install -U cython
5) From cygwin ,get by SVN the latest version of pyffmpeg2-alpha
(special branch of pyffmpeg)
6) Copy the dll of ffmpeg and library files to the source directory
of pyffmpeg / or to appropriate place in windows/system
6) From MSYS, Run python setup-win.py install (setup-win.py and
setup.py) will be merged soon
7) Install PyQT4 and run playvideo_nosound on a video file to check
whether everything has worked correctly

I think the fact that this version now work under windows too, is
putting pyffmpeg2 at the same level as previous pyffmpeg. I believe we
should considering delaying the next interesting features (such as
playblack of network streams to a future release), and that we should
try to finalize this version to make it public.

I would be happy if you could help me to spot out the remaining
problems.

Bertrand

Sébastien Campion

unread,
Nov 7, 2009, 5:00:05 AM11/7/09
to pyffmp...@googlegroups.com
Good news,
i have a question about the FFMPEG version, you talk about lastest SVN version to build pyffmpeg2 under windows.
But FFMpeg API can change very quickly and it's often a problem for a lot of users, what do you think about using FFMPEG 0.5 version instead of svn trunk version ?

Sébastien

2009/10/22 nouvel <bertran...@gmail.com>

Bertrand Nouvel

unread,
Nov 8, 2009, 11:32:22 PM11/8/09
to pyffmp...@googlegroups.com
Hello sebastien,

Thanks for your comment,
when I was talking of pyffmpeg SVN, I was meaning "PyFFMPEG" not "FFMPEG".

However, it is really true that we should be careful about the evolution of FFMPEG, and it is also true that I suggested the latest build,
and you're right that I should advise to use a stable build rather than a SVN build. So I will correct this in my explanation.

By the way, once you had some problem opening some MPEG file, If you remember what file it was,
 I would be very thankful to you, if you could  send me a similar file a part of this file so I can test, and see why
you did not manage to open the file you were refering to.

Bertrand


2009/11/7 Sébastien Campion <sebastie...@gmail.com>
Reply all
Reply to author
Forward
0 new messages