Using FFMPEG for online video hosting

I searched for using FFMPEG and PHP. I noticed that you can use FFMPEG with HTML5. I read the documentation on the FFMPEG website and that is far from the case. I have an open source document "prepade" .php file that stores information in a database and tells it to execute the ffmpeg function. However, they use mp4box and FLVtool2.

Array of video size, frame rate, etc. pretty easy to understand. When designing this from scratch, I really don't know where to start.

I defined the variables that will be written after the file is downloaded, then I will check if the file exists and writes it to the database.

The real question is using mp4box and flvtool2 to convert all videos to .flv so you can use flowplayer or jwplayer and then report to convert.

EDIT: Sorry to edit, I saw a lot of posts on the same issue, but they all refer to older software versions, are php porting to newer versions (maybe they could find out on their website if they had a more detailed howto for website streaming)

+5
source share
2 answers

I'm not sure I fully understand your question, but I will do my best to give you useful information.

, FFMPEG HTML5. - FFMPEG,

HTML5 <video>, , , H.264, Google, Mozilla WebM Project VP8.

mp4box flvtool2 .flv, flowplayer jwplayer, .

flowplayer - FLV, ( , -) H.264.

  • FFMPEG FLV, flowplayer.
  • flvtool2 FLV- ( ) .

, flowplayer.

FFMPEG x264 FLV FFMPEG

+2

. , FFmpeg .flv. , , . :

C:> ffmpeg -i myvideo.mp4 -ar 22050 myvideo.flv

FFMpeg .

0

All Articles