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

WPF: binding viewmodel property of type DateTime to Calendar inside ItemsControl -

java - Getting corefrences with Standard corenlp package -

jQuery clickable div with working mailto link inside -