Ffmpeg show an image for multiple seconds before a video without re-encoding -


i've been looking around this. problem google searches end being creating video solely png files. i've found command job :

ffmpeg -y -loop 1 -framerate 60 -t 5 -i firstimage.jpg  -t 5 -f lavfi -i aevalsrc=0 -loop 1 -framerate 60 -t 5 -i secondimage.png -t 5 -f lavfi -i aevalsrc=0 -loop 1 -framerate 60 -t 5 -i thirdimage.png -t 5 -f lavfi -i aevalsrc=0 -i "shadowplayvid.mp4" -filter_complex "[0:0][1:0][2:0][3:0][4:0][5:0][6:0][6:1] concat=n=4:v=1:a=1 [v] [a]" -map [v] -map [a] output.mp4 >> log_file1.txt 2>&1 

but seems reencode whole video, input video h.264 without cfr, seems me putting images before video shouldn't take long.

because ends encoding whole thing, takes 2 hours video of 30 minutes on strong computer, while feel without encoding should able done quicker. how make sure doesn't re-encode while maintaining every image showing 5 seconds first?

generate playervid.mp4 via

ffmpeg -y -loop 1 -framerate 60 -t 5 -i sample-out3.jpg -f lavfi -t 5 -i aevalsrc=0 -vf settb=1/60000 -video_track_timescale 60000 -c:v libx264 -pix_fmt yuv420p playervid.mp4 

Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -