473,386 Members | 1,830 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,386 software developers and data experts.

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 2527

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.comwrote:
>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.comwrote:
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.python, 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.comwrote:
>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.python, then i assume its related to
python and thats what my brain did!
Aug 10 '06 #5
"Ch3ru5" <mu********@gmail.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
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...
1
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...
0
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...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
marktang
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,...
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...

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.