[FFmpeg-user] Issues after deploying FFMPEG
david at davidfavor.com
Mon Nov 4 13:10:15 CET 2013
Sandeep Tummala wrote:
> We are developing a video-sharing website where users can upload videos and select the thumbnail frame from a video as a poster.
> For supporting the above functionality, we are using FFMPEG framework for processing the video to get a thumbnail and video duration.
> Process is successful when uploading videos of size less than 140 MB. If the video size is more FFMPEG processing is failed due to Gateway Timeout error.
> I checked with hostgator team thinking it is a server issue but after checking the logs they say its nothing wrong from server and it my be an issue in deployment of FFMPEG
> 07:40:01 PM 1607740 260036 13.92 0 0 0 0 0.00 0
> 07:50:02 PM 1620700 247076 13.23 0 0 0 0 0.00 0
> 08:00:01 PM 1619376 248400 13.30 0 0 0 0 0.00 0
> Average: 1631192 236584 12.67 0 0 0 0 0.00 0
> I didn't understand what logs say but posting it for your reference.
> Time taken for uploading a movie - 1 minute
> Time taken for processing a video using FFMPEG for same video - 6 minutes
> Why are we using FFMPEG ?
> 1) Capture a thumbnail from a video
> 2) Duration of the video
> Server Specifications
> Hosting : Hostgator
> CPU :2.69 GHZ
> RAM: 1824 MB
> Disk space :80GB
> Bandwidth : 1425 GB
> Thank you in advance for the solution. Prompt response will be appreciated and is a great help to me.
Run your command from the command line (not inside PHP).
Submit your full log.
One note. If you're using HostGator, likely they provide a very old ffmpeg.
Check 'ffmpeg -version' and if your version is really old...
Building the current release (2.1) is a great starting point.
Love Living Well Doing What You Love?
http://DavidFavor.com/books can help!
More information about the ffmpeg-user