python - Is there an alternative to PyMedia -


is there alternative pymedia decode different video formats , able extract frames images further processing?

currently have able following (not working code extract, give idea):

demuxer = muxer.demuxer(format) streams = demuxer.parse(open(video).read(buffer_size)) codec = vcodec.decoder(codec)  stream in streams:     frame = codec.decode(stream[1])     fdata = frame.convert(2)     img = image.fromstring("rgb", fdata.size, fdata.data)     # ...further processing of image... 

you can try pyffmpeg https://code.google.com/p/pyffmpeg/...


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -