DV AVI frame extraction with Python?

I

Igor

Can anybody point at package for Python that can allow to open DV AVI
file and extract frames from it? Preferrably frames should be
converted into PIL images or saved as files in one of the standard
formats.

It seems like pyMedia can probably do this. If it's so, can anybody
point at code samples for AVI manipulation in pyMedia? Unfortunately
the documentation seems to be very skimpy.

Thank you
--Igor
 
R

Roger Binns

Igor said:
Can anybody point at package for Python that can allow to open DV AVI
file and extract frames from it?

You can use ffmpeg (which pymedia is based on) to convert the file
to a motion jpeg (tell it use extension mjpeg). A motion jpeg file
is roughly each frame as a seperate jpeg image all concatenated together.

Roger
 
I

Igor

You can use ffmpeg (which pymedia is based on) to convert the file
to a motion jpeg (tell it use extension mjpeg). A motion jpeg file
is roughly each frame as a seperate jpeg image all concatenated together.

Thank you, Roger. It could be a solution. But I would still try to
find conversion as lossles as possible.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top