473,889 Members | 2,193 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 2554

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
8549
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
1320
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 with admin privileges. Any help here pls ?
1
10887
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,...
0
10439
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9598
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7991
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7148
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
6021
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4642
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
2
4248
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3252
bsmnconsultancy
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...

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.