Re: Converting MP3 to FLV On-The-Fly
| From: | hessiess at hessiess dot com | Date: | Sun, 07 Jun 2009 18:23:24 +0000 |
| Subject: | Re: Converting MP3 to FLV On-The-Fly | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-293714@lists.php.net to get a copy of this message | ||
These is a PHP binding for FFMPEG here:
http://ffmpeg-php.sourceforge.net/, though most of
the tutorials you will
find are for the C API, for example http://www.dranger.com/ffmpeg/, which
demonstrates how to implement a media player.
Personally I would just skip using the API and use the CLI program to
convert the media, and cache/ serve from the resulting file, much easier
to implement.
> I thought of using FFMPEG but I have a bit of experience with it.
> Any links or more specific directions would be great.
>
> On Sun, Jun 7, 2009 at 7:48 PM, <hessiess@hessiess.com> wrote:
>
>> > Hi Lista
>> >
>> > I'm trying to figure how I can turn MP3 files into FLV files on the
>> fly
>> > using PHP.
>> > I'm having a server and I can install 3rd party software in order to
>> > accomplish this conversion.
>> >
>> > I have never dealt before with music file comression or anything
>> similar
>> > so
>> > I don't know what I should look after or where I should look.
>> >
>> > Any idea would be very appreciated!
>> >
>> > Thanks!
>> > Nitsan
>> >
>>
>> You may want to use some sort of caching, converting media formats is
>> very
>> computationally demanding. You could use FFMPEG to do the conversion.
>>
>>
>