kanryu's pyffmpeg with ffmpeg-0.8.4

88 views
Skip to first unread message

Adam Ryan

unread,
Sep 27, 2011, 4:19:18 PM9/27/11
to pyffmpeg

Hi, I just installed ffmpeg-0.8.4 and built kanryu's pyffmpeg but the
test fails:

python testInstalledPyFFmpeg.py
Traceback (most recent call last):
File "testInstalledPyFFmpeg.py", line 17, in <module>
testVideo()
File "testInstalledPyFFmpeg.py", line 10, in testVideo
mp.open("test.mp4",pf.TS_VIDEO_PIL)
File "pyffmpeg.pyx", line 1530, in pyffmpeg.FFMpegReader.open
(pyffmpeg.c:13892)
assert(fmt!=NULL)
AssertionError
Segmentation fault

I messed about earlier with mhaller's pyffmpeg and after a number of
updates (before I found kanryu's) I ended up with pretty much the same
as above.

Does anyone have a pyffmpeg working with 0.8.4? Any advice on getting
this up to date?

I tried tweaking the FFMpegReader.open method but I'm new to cython
and not a c programmer so I'm kind of at a loss. But I'm willing to
put in some time if I could just get a nudge in the right direction...

Cheers, -Adam

KATO Kanryu

unread,
Sep 28, 2011, 7:00:02 AM9/28/11
to pyff...@googlegroups.com
Hi,

> Hi, I just installed ffmpeg-0.8.4 and built kanryu's pyffmpeg...

pyffmpeg of mine, That supports only under FFmpeg version git-d1be646 via libav.

libav and has been forked from ffmpeg.
Currently, libav and ffmpeg are not incompatible.

If you want build the pyffmpeg,
you should the README carefully, and build it with the specified
version of ffmpeg.

That’s too cumbersome :(

So, I'm developping pipeffmpeg, using only ffmpeg at command-line with pipes.

Enjoy!

Kanryu.

Bertrand Nouvel

unread,
Sep 28, 2011, 8:07:42 AM9/28/11
to pyff...@googlegroups.com
Hi,

Sorry I  have been obviously away from pyffmpeg for a while.

There is a few issues we have to think about in pyffmpeg:

* one is indeed being better at building pyffmpeg.
    There is many operating systems Win32, Win64, Linux, Mac OsX and many python version 2.6, 2.7, 2.8, 3.0, 3.1, 3.2 ... 
     Ideally we should provide binary package for everyone / clean install scripts for everyone...
     However, it is clearly difficult to maintain, and ambitious...
     It would be nice if we can think at setting up a build environment for all the platforms.

* an other one are the changes in ffmpeg API, since it has been created the code of 
   pyffmpeg have been changed quite a few times to match the new API that hopefully
   work better and better.. 

* if we manage to solve the having a way to have regular build on all platforms issue, we can also add tests, and with these test we can check our source remain stable

* there has been a few branching of the project to reflect evolutions and so far no merge has been done... to work on a merge seems important too.

* somehow, it should be time to think about pyffmpeg as a project and to see 

Kanryu it is good news you start pipeffmpeg since it matches your need for an easy installation.
However I feel there is still need for a better version of pyffmpeg as library, because it clearly allows 
to run more fast. And also it allow things that are meant to be more complicated with the command line :
extracting motion vectors, working on sound, seeking many times ...

Has anyone idea on the build issue ? a service ? which operating systems are you using ? would any one accept the responsability of building 
binary package for one platform ? Which platform are you using ? (Personally Linux 64 and Windows 64)

There are after many design issues in pyffmpeg. But I reserve this for another mail.

Bertrand

2011/9/28 KATO Kanryu <k.ka...@gmail.com>
Hi,

> Hi, I just installed ffmpeg-0.8.4 and built kanryu's pyffmpeg...

pyffmpeg of mine, That supports only under FFmpeg version git-d1be646 via libav.

libav and  has been forked from ffmpeg.
Currently, libav and ffmpeg are not incompatible.

If you want , 
build the pyffmpeg,
you should the README carefully, and build it with the specified
version of ffmpeg.

That’s too cumbersome :(

So, I'm developping pipeffmpeg, using only ffmpeg at command-line with pipes.

Enjoy!

Kanryu.

--
You received this message because you are subscribed to the Google Groups "pyffmpeg" group.
To post to this group, send email to pyff...@googlegroups.com.
To unsubscribe from this group, send email to pyffmpeg+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pyffmpeg?hl=en.


Martin Haller

unread,
Sep 28, 2011, 9:42:46 AM9/28/11
to pyff...@googlegroups.com
Hello Bertrand and others.

That sounds good ... like a kind of roadmap, but time of contributing people is very limited. That's currently the main problem.  

Best regards,
Martin
Reply all
Reply to author
Forward
0 new messages