[FFmpeg-user] Difference in ffmpeg command execution time

Vivek Jain vivek.jain at mindtickle.com
Fri Feb 24 09:08:33 EET 2017


Hi,

On trying to create video using ffmpeg as per command below, it takes much
more time (around 6 minutes) on AWS lambda and EC2 instances where as it
takes just 2 minutes on my local mac.

I understand run time differs on CPU, but I am not able to figure out what
needs to be done in order to get it run within 5 minutes on lambda. Or it
could be due to differences in or missing  libraries. Could someone please
point me in right direction?

Command:

ffmpeg -safe 0 -f concat -i /tmp/config.txt -i /tmp/audio.mp3 -y -pix_fmt
yuv444p -shortest /tmp/out_ffff.mp4
Attached are the logs of both the machines.
-- 
Thanks,
Vivek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ec2.log
Type: application/octet-stream
Size: 4808 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20170224/0aee707a/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: local.log
Type: application/octet-stream
Size: 4673 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20170224/0aee707a/attachment-0001.obj>


More information about the ffmpeg-user mailing list