Jump to content

Convert Files?


Recommended Posts

I have been wanting to learn how to convert videos

to .flv for awhile, and since it can't be done with PHP,

can someone point me to a language that can do it?

And maybe give me a tutorial on doing something like

this? I was thinking that Perl might be able to do this

but I whenever I google this subject I just get sent

to websites that offer programs that do it for you. And

I want my server to do it after a user uploads a video.

Can anyone help me with this?

Link to comment
Share on other sites

I want my server to do it after a user uploads a video.

 

Then the easiest way is to make sure your server has the right software installed (ffmpeg comes to mind). Lots of programming languages use other tools / programs to do alot of there dirty work. What do you think a php extension is? It's basically just an interface to some other software.

 

I know there is no ffmpeg extension, but its quite simple to use it via the exec function. If you wanted to go ahead and write an extension for it, C is the language you would need to learn.

 

o can anyone point me to a tutorial

on how to use ffmpeg?

 

the manual.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.