By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,136 Members | 1,054 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,136 IT Pros & Developers. It's quick & easy.

Flash Decoder

P: n/a
Hi everyone,i wanted to build a flash decoder using python can
somebody tell me which library to use and what steps should i follow
to make a flash(video) decoder?By a decoder i mean that i need to
display all the pixel values of each frame.Waiting for your replies.
Regards
Ankit Anand
Jun 27 '08 #1
Share this Question
Share on Google+
6 Replies


P: n/a
Ankit wrote:
Hi everyone,i wanted to build a flash decoder using python can
somebody tell me which library to use and what steps should i follow
to make a flash(video) decoder?By a decoder i mean that i need to
display all the pixel values of each frame.Waiting for your replies.
Check out libffmpeg. It should be accessible using python by various means,
including gstreamer or ctypes.

This is however a rather advanced topic.

Diez
Jun 27 '08 #2

P: n/a
2008/5/28 Diez B. Roggisch <de***@nospam.web.de>:
Ankit wrote:
>Hi everyone,i wanted to build a flash decoder using python can
somebody tell me which library to use and what steps should i follow
to make a flash(video) decoder?By a decoder i mean that i need to
display all the pixel values of each frame.Waiting for your replies.

Check out libffmpeg. It should be accessible using python by various means,
including gstreamer or ctypes.

This is however a rather advanced topic.

Diez
I think you might want make an ffmpeg/libffmpeg python wrap. It could
be really useful, and faster than a pure python decoder. Even for fun.

Cheers
Mathieu
Jun 27 '08 #3

P: n/a
Thanks for replying guys but could you be a little more specific like
in terms of steps i shd follow to make the decoder and also how is
ffmpeg/libffmpeg going to help..
Regards
Ankit Anand
Jun 27 '08 #4

P: n/a
2008/5/28 Ankit <an************@gmail.com>:
Thanks for replying guys but could you be a little more specific like
in terms of steps i shd follow to make the decoder and also how is
ffmpeg/libffmpeg going to help..
You can start by getting familiar with ffmpeg [1] by playing with it
and glance at its libraries (I call them libffmpeg, but they have
their specific name) allow you to do. Keep in mind that libraries
contain frequently used functions and are written so they can be
reused, shared by other/news softwares eg. the one you want. Start by
opening a flash video eg one .flv [2] file from youtube with a first
python script that use the right component(s) of libffmpeg. Python
allows you to use C libraries.

Mathieu

[1] http://ffmpeg.mplayerhq.hu/documentation.html
[2] http://en.wikipedia.org/wiki/Flv
Jun 27 '08 #5

P: n/a
2008/5/28 ankit anand <an************@gmail.com>:
hmm i am more interested in .swf format and more specifically i would like
to have all the pixel values of all the frames can i do that using this
library?
Not with ffmpeg. You can check out the code from Gnash [1] or Swfdec
[2] or start you swf decoder from scratch using Adobe specification
[3] on the swf format.

Happy coding !
Mathieu

[1] http://en.wikipedia.org/wiki/Gnash
[2] http://en.wikipedia.org/wiki/Swfdec
[3] http://www.adobe.com/devnet/swf/
Jun 27 '08 #6

P: n/a
"Mathieu Prevot" <ma************@gmail.comwrote:
2008/5/28 Diez B. Roggisch <de***@nospam.web.de>:
>Ankit wrote:
>>Hi everyone,i wanted to build a flash decoder using python can
somebody tell me which library to use and what steps should i
follow to make a flash(video) decoder?By a decoder i mean that
i need to display all the pixel values of each frame.Waiting
for your replies.

Check out libffmpeg. It should be accessible using python by
various means, including gstreamer or ctypes.

This is however a rather advanced topic.

Diez

I think you might want make an ffmpeg/libffmpeg python wrap. It
could be really useful, and faster than a pure python decoder.
Even for fun.

Cheers
Mathieu
--
http://mail.python.org/mailman/listinfo/python-list

It even already exists. There is a binary interface that is
maintained alongside pyglet:

http://code.google.com/p/avbin/

and then ctypes wrapper for that interface in pyglet:

http://code.google.com/p/pyglet/sour...glet/media/avb
in.py
http://www.pyglet.org/doc/programmin...and_video.html

I haven't used either one, but it's where I would start.
Max

Jun 27 '08 #7

This discussion thread is closed

Replies have been disabled for this discussion.