Reputation: 2105
I'm interested in installing ffmpeg
or somesuch on my server so I can upload files, automatically encode them to FLV and then serve up a embedded player to use on my pages.
The problem is that I don't know where to start. I don't want to have to spend days coding a web based encoding service, as I'm more interested in using an out of the box solution.
My research so far has led me to FFMPEG
and possibly Gallery2
: it has a ffmpeg
integrated and the gallery 2 framework provides user accounts and FTP upload facilities.
Is anyone aware of other open source encoding solutions which you can install on Linux?
Upvotes: 0
Views: 7144
Reputation: 14888
You should check out the docs for your chosen encoder, I have used ffmpeg successfully in the past. Then your workflow looks something like this.
ffmpeg was really easy to get up and running with a couple of command line arguments.
Upvotes: 0
Reputation: 657
You could also have a look at VLC since it can transcode and act as a server for your FLV streams. The main application is a user interface to playback the video but it can be invoked from the command-line to do the serving - rather than playing.
Also there is libvlc which is the C library upon which VLC is written. VLC is based upon ffmpeg and might just make your life a little easier.
Upvotes: 0
Reputation: 36832
There is also memcoder
, that does the same thing that ffmpeg
does, but you will have to code the glue that binds ffmpeg
/memcoder
, PHP
and the uploaded videos together.
The general workflow would be something like:
post
CLI
command with all the desired parameters and store the file in another known locationUpvotes: 0