LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-04-2007, 10:32 PM   #1
everity
LQ Newbie
 
Registered: Aug 2007
Posts: 2

Rep: Reputation: 0
Need software to convert videos from various formats


I have a client who wants to set up a web site to accept videos in various formats, convert them into one format, and then have them streamed. I'm pretty experienced with PHP/MySQL/Javascript, but I have almost no experience when it comes to videos.

The videos are going to relate to various products, and will be less than 2 minutes and 30 seconds long. They do not need to be high-quality, but it does need to be very simple for end users, both those uploading videos, and those viewing them.

Any advice on how feasible this would be, and on how to accomplish it, would be much appreciated. The client's budget to get it set up is $1500, but he is willing to spend a lot more for a good solution if necessary.
 
Old 08-05-2007, 06:40 AM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
You would use mencoder to do something like that. It can convert every format MPlayer plays (which is pretty much everything, for all intents and purposes) into whatever codec you specify.

I suppose it wouldn't be too difficult to do, just save the video upload on the server some place, run your mencoder command against it (you would want to experiment with that first, to find the ideal settings for the output video), and then delete the old video.

Though I can't say that I am experienced enough with things like PHP to give you a practical example of it, but the theory is simple enough.
 
Old 08-05-2007, 11:23 AM   #3
everity
LQ Newbie
 
Registered: Aug 2007
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks MS3FGX, for pointing me in the right direction. I'll go ahead and do some research on mencoder. Much appreciated!
 
Old 08-05-2007, 04:37 PM   #4
bijit1709
Member
 
Registered: Oct 2006
Location: Costa Rica, Escazu
Distribution: Slackware 12.0 (2.6.21.5)
Posts: 67

Rep: Reputation: 15
What you can use is ffmpeg to convert any video format.
eg.
Code:
ffmpeg -i jokes.flv -ab 56 -ar 22050 -b 500  -s 320×240 jokes.mpg
ffmpeg -i jokes.mpg -ar 22050 -ab 32 -f flv -s 320x240 -aspect 4:3 -y jokes.flv
Just check the man page on how to convert different types of ext.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Convert .flv (Google Videos) to .mpg using ffmpeg LXer Syndicated Linux News 0 07-25-2007 06:31 AM
LXer: How to convert YouTube videos to DivX or XviD LXer Syndicated Linux News 0 08-30-2006 07:03 PM
command line utility to convert between formats like .doc, .sxw, .rtf and others? bigtpumped Linux - Software 1 09-12-2005 09:54 PM
How to convert between different video formats in linux Prasun Linux - Software 4 04-14-2005 02:40 PM
Software to convert image formats? bruno buys Linux - Software 2 10-08-2004 09:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration