[FFmpeg-user] Npm - videoshow taking long time to convert video from images

Vivek Jain vivek.jain at mindtickle.com
Fri Feb 10 08:55:38 EET 2017


I am trying to create video using npm-videoshow, but it appears to take
considerable time (~3 minutes for 14 minute video). Could someone please
advise how can the timing be improved.

*Input supplied to videoshow:*
Image-Loop list:

[ { path: '/tmp/out_1.png', loop: 153 },  { path: '/tmp/out_2.png', loop:
711 } ]


{ fps: 25,  videoBitrate: 1024,  videoCodec: 'libx264',  size: '640x?',
 audioBitrate: '128k',

  audioChannels: 2,  format: 'mp4',  pixelFormat: 'yuv420p' }

Here's *Videoshow module output*:

ffmpeg process started: ffmpeg -i
-y -filter_complex concat=n=2:v=1:a=0 video_test.mp4

ffmpeg process started: ffmpeg -i
-i /tmp/audio.mp3 -y -b:a 128k -ac 2 -r 25 -b:v 1024k -vcodec libx264
-filter:v scale=w=640:h=trunc(ow/a/2)*2 -f mp4 -map 0:0 -map 1:0 -t 864 -af
afade=t=in:ss=0:st=0:d=3 -af afade=t=out:st=861:d=3 -pix_fmt yuv420p

Video created in: video_test.mp4
Total Time in conversion: 3 minutes 5 seconds


More information about the ffmpeg-user mailing list