473,396 Members | 1,805 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,396 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 2262
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,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.