473,586 Members | 2,695 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Regd:Video Converter Programming

Hi,
I want to write an avi to flv converter in php but i am a complete
newbie to it.

I would like to know the basic flow of entire process of how a
converter code is written
(ie. the basic algorithm ) .

Example: "You first create an flv stream , then compress the avi code ,
then copy that code into the flv stream created ."

The above flow may or may not be correct but what i want to know is
this flow .

Any good tutorials or resources where i can learn the basics.

Thank You,
Raja.

Aug 9 '06 #1
5 2536

Ch3ru5 wrote:
Hi,
I want to write an avi to flv converter in php but i am a complete
newbie to it.

I would like to know the basic flow of entire process of how a
converter code is written
(ie. the basic algorithm ) .

Example: "You first create an flv stream , then compress the avi code ,
then copy that code into the flv stream created ."

The above flow may or may not be correct but what i want to know is
this flow .

Any good tutorials or resources where i can learn the basics.
via a Google search for "python video convert" i found the following

http://pymedia.org/

Cheers

Aug 9 '06 #2
On 2006-08-09, placid <Bu****@gmail.c omwrote:
>I want to write an avi to flv converter in php but i am a complete
newbie to it.
via a Google search for "python video convert" i found the following

http://pymedia.org/
Except he wants to write it in PHP.

Not sure why he's asking us about it here in c.l.python.

--
Grant Edwards grante Yow! Like I always
at say -- nothing can beat
visi.com the BRATWURST here in
DUSSELDORF!!
Aug 9 '06 #3

Grant Edwards wrote:
On 2006-08-09, placid <Bu****@gmail.c omwrote:
I want to write an avi to flv converter in php but i am a complete
newbie to it.
via a Google search for "python video convert" i found the following

http://pymedia.org/

Except he wants to write it in PHP.

Not sure why he's asking us about it here in c.l.python.

well if i see a post on comp.lang.pytho n, then i assume its related to
python and thats what my brain did!

Aug 9 '06 #4
HI,
Thanks all for replies . I am sorry for a confusion of the question .
But what i wanted to know is in general in any programming language ,
how you go about writing a video converter .

The basic flow of code . that's it . I will look into the resources in
a particular language of my choice later .
I am not clear as to how to proceed in any language .

placid wrote:
Grant Edwards wrote:
On 2006-08-09, placid <Bu****@gmail.c omwrote:
>I want to write an avi to flv converter in php but i am a complete
>newbie to it.
via a Google search for "python video convert" i found the following
>
http://pymedia.org/
Except he wants to write it in PHP.

Not sure why he's asking us about it here in c.l.python.


well if i see a post on comp.lang.pytho n, then i assume its related to
python and thats what my brain did!
Aug 10 '06 #5
"Ch3ru5" <mu********@gma il.comwrote:
>
Thanks all for replies . I am sorry for a confusion of the question .
But what i wanted to know is in general in any programming language ,
how you go about writing a video converter .
The problem is that converting between video formats requires LOTS of
manipulation of bitfields: pull 3 bits from here, pull 6 bits from here,
insert 9 bits there. That kind of manipulation is easier in some languages
than in others.

For example, it makes sense in C and C++. It can be done in Python,
although not as efficiently. It would be difficult in PHP.
>The basic flow of code . that's it . I will look into the resources in
a particular language of my choice later .
The basic flow depends on what formats you are converting between. To to
MPEG-to-AVI, for instance, you would normally go through the whole MPEG
decompression process to get to a series of bitmaps, then go through the
whole AVI compression process to get a movie.

If you are on Windows, you almost certainly want to use DirectShow to do
this job. There is a DirectShow interface for Python.
--
- Tim Roberts, ti**@probo.com
Providenza & Boekelheide, Inc.
Aug 12 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
8539
by: muppadivya | last post by:
Hi, I want to write an avi to flv converter in php but i am a complete newbie to it. I would like to know the process of how a converter code is written (ie. the basic algorithm ) . Any good tutorials or resources where i can learn the basics. Thank You,
1
388
by: Ch3ru5 | last post by:
Hi, I want to write an avi to flv converter in php but i am a complete newbie to it. I would like to know the basic flow of entire process of how a converter code is written (ie. the basic algorithm ) . Example: "You first create an flv stream , then compress the avi code , then copy that code into the flv stream created ."
0
1306
by: sudhivns | last post by:
Can anybody help me with info on: 1. How to retrieve all the users configured in Exchange server 2. How to retrieve the mails of each user I have used SMAPI to read the mails based on the profile name. But i wanted to read the mails of all users (configured in the exchange server). This application will run in the Exchange server machine...
0
7836
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...
0
8336
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
8212
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 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...
0
6606
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5710
isladogs
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...
0
5389
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3863
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2343
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
1
1447
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.