TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 12-12-2008, 09:10 PM   #1 (permalink)
The Addict
 
sarmenhb's Avatar
 
Join Date: Jan 2008
Location: los angeles
Posts: 309
Thanks: 44
sarmenhb is on a distinguished road
Default FFmpeg server side

hi, im learning how to convert video formats into FLV and FFmpeg does the trick. but what im wondering is would FFmpeg be the only method to do this? i'm running it locally and it seems to be taking forever, although i'm converting a 500mb video. just wondering if you guys have tried other methods.. thanks
__________________
no signature set
sarmenhb is offline  
Reply With Quote
Old 12-12-2008, 10:51 PM   #2 (permalink)
La Vida es Sueño
Advanced Programmer Top Contributor 
 
Wildhoney's Avatar
 
Join Date: Sep 2007
Location: Oldham
Posts: 2,280
Thanks: 90
Wildhoney is on a distinguished road
Default

You're converting a video which is going to be slow. You will need a LOT of CPU resources to really consider converting videos, especially of sizes in the range of 500 megabytes. YouTube, I suspect, have hundreds upon hundreds of servers dedicated entirely to the conversion of videos to the FLV format.

If you've attempted to ever rip a DVD you will notice your CPU remains at a constant 100% throughout the process. I overheated my CPU one night by ripping a DVD. It was never the same again after that.

If you're going to be constantly processing videos then unless you have a lot of money to spend on servers, I honestly think you should find a better solution. However, if you're just looking to convert a batch of AVIs to the FLV format to upload to a website, then that'll be fine. Just don't be surprised that your CPU remains at 100% throughout. Also ensure you have more than adequate heating if you're going to leave your computer alone whilst it's doing this. With that said, you don't have much choice with that as everything becomes far too slow.
__________________
The man who comes back through the Door in the Wall will never be quite the same as the man who went out.
Send a message via AIM to Wildhoney Send a message via MSN to Wildhoney Send a message via Yahoo to Wildhoney
Wildhoney is offline  
Reply With Quote
Old 12-13-2008, 12:05 AM   #3 (permalink)
how quixotic are you?
 
ETbyrne's Avatar
 
Join Date: Dec 2007
Location: Lapeer, MI
Posts: 445
Thanks: 37
ETbyrne is on a distinguished road
Default

Quote:
Also ensure you have more than adequate heating if you're going to leave your computer alone whilst it's doing this.
Lol you mean cooling, right? And yeah I agree with wildhoney, video conversion takes up a ton of resources and should be avoided if possible in a web environment.
__________________
Dingo Web Systems > http://www.dingocode.com
My Website > http://www.evanbot.com
ETbyrne is offline  
Reply With Quote
Old 12-13-2008, 01:10 AM   #4 (permalink)
The Addict
 
sarmenhb's Avatar
 
Join Date: Jan 2008
Location: los angeles
Posts: 309
Thanks: 44
sarmenhb is on a distinguished road
Default

then the guys who have youtube like websites are they using FFmpeg to convert uploaded videos to flv? i talked to a friend who has apgia.com and he says he has a dedicated server, and i'm waiting for one of his employees to sign on so i can ask him what video convertion their using but is it most likely FFmpeg?


thanks
__________________
no signature set
sarmenhb is offline  
Reply With Quote
Old 12-13-2008, 12:48 AM   #5 (permalink)
La Vida es Sueño
Advanced Programmer Top Contributor 
 
Wildhoney's Avatar
 
Join Date: Sep 2007
Location: Oldham
Posts: 2,280
Thanks: 90
Wildhoney is on a distinguished road
Default

Lol! Yes, I meant cooling. Let's hope not too many people take that advice and place a radiator next to their computers.
__________________
The man who comes back through the Door in the Wall will never be quite the same as the man who went out.
Send a message via AIM to Wildhoney Send a message via MSN to Wildhoney Send a message via Yahoo to Wildhoney
Wildhoney is offline  
Reply With Quote
Old 12-13-2008, 01:53 AM   #6 (permalink)
La Vida es Sueño
Advanced Programmer Top Contributor 
 
Wildhoney's Avatar
 
Join Date: Sep 2007
Location: Oldham
Posts: 2,280
Thanks: 90
Wildhoney is on a distinguished road
Default

Yes, or Mencoder 2 is another common one I came across quite often.
__________________
The man who comes back through the Door in the Wall will never be quite the same as the man who went out.
Send a message via AIM to Wildhoney Send a message via MSN to Wildhoney Send a message via Yahoo to Wildhoney
Wildhoney is offline  
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP socket based communication with a python server tripy Advanced PHP Programming 7 07-15-2009 08:20 PM
ldap server Gibou Advanced PHP Programming 4 07-10-2008 10:38 AM
Install ffmpeg with lame on a shared server. thegrayman Libraries & Extensions 2 02-08-2008 02:00 PM
Running a Server CMellor The Lounge 9 12-31-2007 10:15 PM


All times are GMT. The time now is 10:18 AM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design