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 6 2284
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
2008/5/28 Diez B. Roggisch <de***@nospam.w eb.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
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
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
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/
"Mathieu Prevot" <ma************ @gmail.comwrote :
2008/5/28 Diez B. Roggisch <de***@nospam.w eb.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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 MIME::Decoder
with an encoding of 'x-uuencode' and then call the encode method as,
my $decoder = new MIME::Decoder('x-uuencode');
$decoder->encode(@data, @uudata);
However, the encode method only accepts STREAMs as arguments. Obviously I
|
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 with any email coming from every single email
client, I mean for any kind of email.
Thanks.
Gerardo.
|
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 of course is Alt+numbers),
and I've heard these characters called Windows Character
Set, but I don't know the "official" name for them (which
would be much appreciated if anyone did know). There is
supposedly a decoder that will allow me to...
|
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 a raw data format
used in astronomy.
Anyway, I followed the example in the PIL documentation online, and I
also had a look at the FITs image stub file included with PIL 1.1.5. I
cooked up something that should work (or nearly work), but I keep...
|
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 on Linux (Suse
Linux v10.0). I obtained and built the JPEG libraries (jpeg-6b) without
any problem. The tests for the installation work fine. I built Python
2.4.2 from the sources but with no special options, just 'out of the
box'. This works...
| |
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 thumbnail. This is, a faster way to generate thumbnails.
Do you know some free class, component or piece of code that I can
|
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 coded to a
particular template.
Doug Stell, celiadoug@mchsi.com
|
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
|
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, http://effbot.org/imagingbook/decoder.htm, that I use an unsigned little endian 16 bit decoder in the calling of the function.
My segment that is called looks like this:
img2=Image.fromstring("L",(512,512),dummystring2,"raw", "F;16")
However I run...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |