Questions

FFMPEG - Convert video files to FLV using FFMPEG command and Downloads ffmpeg.exe file

What is FFMPEG ?FFMPEG is a used to convert audion, video and images from one formats to another one and also supports grabbing and encoding in real time from a TV card.  FFMPEG is a gross platform and FFMPEG is developed under Linux.

Note: Here you can download the ffmpeg.exe for windows


Convert FLV vidoe to jpg image
The following command to you can convert FLV vidoe to jpg image.

ffmpeg -i video.flv -an -r 1 -y -s  120x120  video.jpg 


Convert AVI video format to FLV
The following command to you can convert AVI video format to FLV.
ffmpeg -i video.avi -ar 22050 -ab 32 -f flv -s 220x120 video.flv


Convert particular frame to jpg
The following command to you can Convert particular frame to jpg image

ffmpeg -i video.flv -an -ss 00:00:03 -t 00:00:01 -r 1 -y -s 120x120  video.jpg  


PHP example:

exec("c\sekar\ffmpeg.exe -i s.mov -ar 22050 -ab 32 -f flv -s 320×240 video.flv");

Your Answers

Your Name:
Your Answers :
<> is a code tag
Preview
Enter the verification code:

Answers

ankush
Oct 16 12 09:21:48
<?php
error_reporting(0); ob_start();
?>

Turk
Sep 11 11 03:50:00
In awe of that asnewr! Really cool!

satya
Mar 12 11 05:42:17
I need FFMPEG installation in hosting server, not in my localhost

Amol Lad
May 14 10 01:14:38
Hello Everyone,
Please follow the step's given in the below url for installation :
http://www.vidionline.com/php/7-how-to-install-ffmpeg-on-windows

I have followed it and running ffmpeg oriented commands successfully over windows server, like converting all video formats into flv, generating thumbnails, viewing video usinf any flash player, etc.

Deepak
Feb 19 10 05:43:48
my videos are getting displayed on my localhost ....but not getting displayed when i run from the server.....its getting playesd on the server....but the thubnails are not displayed....

i get this error
Warning: exec() has been disabled for security reasons in /home/"some folder name"/public_html/filename.php on line 197

bonny
Sep 30 09 10:02:31
hi dear,
can you explain the various parameters user in exec command

radha
Aug 21 09 05:15:54
hi budy,

Can you explain how to install the software in the server .

jeyaram
Jul 31 09 12:53:07
Linux

jeyaram
Jul 31 09 12:51:25
hi budy,

Can you explain how to install the software in the server .

Sekar
Jun 06 09 11:25:52
Hi Srinivasu, For windows server, you just downloaded the ffmpeg.exe files and placed the in your home directory and execute the file like exec("c\sekar\ffmpeg.exe -i s.mov -ar 22050 -ab 32 -f flv -s 320×240 video.flv"); or using system() command. I hope it will help you.

srinivasu
Jun 06 09 06:45:17
hi,
sam i need conversion of any video to '.flv' using FFMPeg on fly in php code. this is need to done by uploading a video

srinivasu
Jun 01 09 06:55:56
hi,
can you explain how to write in php windows server for conversion of video files into flv using ffmpeg

sam
Aug 28 08 02:56:09
hi damu,
If you window user, you download the ffmpeg and use the above commands in MSDOS prompt.
Note: FFMpeg available in linux server. that's all :)

damu
Aug 28 08 02:40:39
hi budy,

Can you explain how to install the software in the server .