How do I use ffmpeg to split a video into images and then reassemble exactly the same?
Solution 1:
Try
ffmpeg -i img%04d.png -i out.m4a \
-c:v libx264 -b:v 27736k -bufsize 30000k \
-r 25 -video_track_timescale 25000 -output_ts_offset 0.01 -pix_fmt yuv420p \
-c:a copy -metadata:s:v:0 language=eng -metadata:s:a:0 language=eng -shortest out.mp4
(Depending on whether the image or audio stream is shorter, the duration may not match)