473,287 Members | 1,964 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,287 software developers and data experts.

Flash Decoder

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
6 2255
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
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
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
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
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
"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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: S Etchelecu | last post by:
I'm having trouble understanding the MIME::Decoder usage. Within the context of a MIME email handling program I have an array, @data, and I want to uuencode it. I thought I could instantiate a...
2
by: Geru | last post by:
Hi there!, I'm looking for a Perl Module that does email decoder. I mean something that I put the email file and the Module returns the Message, Subject, Headers, etc, etc. And it should work...
0
by: Whitney | last post by:
I'm not sure which category this would fall under, but I assumed that something dealing with languages would be as good a place as any. I was sent a message using characters such as Z|¥" (which...
8
by: jbrewer | last post by:
I'm trying to read in a FITs image file for my research, and I decided that writing a file decoder for the Python imaging library would be the easiest way to accomplish this for my needs. FITs is...
3
by: Peter | last post by:
I have a problem which seems to come up from time to time but I can't find anything relevant in the archives. I have used PIL v1.1.5 with no problem on Windows for some time but now wish to put it...
0
by: jordi_ramis | last post by:
Hi, I'm looking for a FREE jpeg decoder class or component that lets me: - Load the jpeg from a stream (file). - As an option not to load ALL the jpeg, only the necessary part to make a...
6
by: Doug Stell | last post by:
Can anyone provide guidance on building an ASN.1 decoder and encoder in Python? This does not have to be a general purpose implementation, drivenf from an ASN.1 template. It can be dedicated hard...
1
by: =?Utf-8?B?c2Fz?= | last post by:
when i try to put my tv on media center it displays a message saying video decoder is currently in use by another application what does it mean -- sas
6
by: Nebulism | last post by:
Hey everyone, I am currently creating images pixel by pixel. This is too slow for many images. Anyways, I want to use the fromstring module in the Image library. I have read at this url,...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.