Solved

Use PHP to Combine Two Videos, or convert two video files to one flash video file

Posted on 2010-11-30
4
372 Views
Last Modified: 2012-05-10
Hello -

Does anyone know of any classes, programs, etc that I can install on my server or call to merge two video files together, or to convert two video files to one flash video file?

Here's some info:
1. I don't need to worry about the file format that comes in - I can control exactly what I get
2. The one file that gets created can be any common type - for me the big challenge is creating one.

Ideally, I'm planning on doing something like this:

A. User uploads video
B. Video hits my server - gets combined with my 10 second clip (like a commercial for my server)
C. I save one file to my archives, and make that one file available for download.

Any/all help is appreciated!

Thanks!

*Awarding 500 points on this because it's both fun and challenging! Thanks!!
0
Comment
Question by:RSPANGLER_AVTIA
  • 2
4 Comments
 
LVL 3

Expert Comment

by:flubbard
Comment Utility
It looks like MING might give you some options, but it is a wrapper.  I'm guessing that PHP might not be the best as it is an interpreted language and would probably be much slower.  I would think that you would be better to pass it through a back end process.  You can use mencoder among other options.

hth -flub
0
 
LVL 17

Accepted Solution

by:
Dushan911 earned 500 total points
Comment Utility
0
 

Author Closing Comment

by:RSPANGLER_AVTIA
Comment Utility
Awesome- thank you for the information! That last link did it - you'd think that more people would be doing this out there!!

Many thanks!!
0
 
LVL 17

Expert Comment

by:Dushan911
Comment Utility
It's pleasure and Thanks for the points and Grade A.  
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Both Easy and Powerful How easy is PHP? http://lmgtfy.com?q=how+easy+is+php (http://lmgtfy.com?q=how+easy+is+php)  Very easy.  It has been described as "a programming language even my grandmother can use." How powerful is PHP?  http://en.wikiped…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now