top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Which is the best codec to capture audio/video in PHP?

+3 votes
662 views

I am very keen to know that which one is the best codec and how to use with the best one out of FFmpeg, avconv and Gstreamer ?

posted Mar 26, 2014 by Riteshwar

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

Up to my knowledge FFmpeg is a complete solution to record, convert and stream audio and video. It includes libavcodec, the leading audio/video codec library. FFmpeg is developed under Linux, but it can compiled under most operating systems, including Windows.

answer Mar 26, 2014 by Swati Arora
Similar Questions
+1 vote

I'm writing a PHP extension now in c/c++. User uploads a file (could be POST or PUT method, but I can limit it to POST only). I need to capture the file data while being uploaded, without writing it to disk on the server. I need to process the data and (maybe, depending on a situation) send it somewhere else or save it to disk.
Of course I know, that I can process the file after it has been uploaded (saved on disk on the server), but I would like to avoid it. I also need to do something opposite: I need to generate a file "on the fly" and send it
to the user. All metadata of the generated file is known beforehand (e.g. size, name).

I've been searching around for some time now and I could not find anything even close to the solution. Is there any example(s) or existing PHP extension that do(es) something like this (at least something simmilar) ? If you could give me any pointers that would be awesome.

+2 votes

Hello,

Can any one provide me sample code or links for video upload and retrieve and play in php.

Database is mySQL

+1 vote

which is the best open source platform to build social application like FB, twitter, Quara etc.

...