V1:
ffmpeg -loop 1 -i image.jpg -i audio.mp3 -c:v libx264 -c:a aac -strict experimental -b:a 192k -shortest output.mp4
V2 (alt?):
ffmpeg -loop 1 -i image.png -i audio.mp3 -pix_fmt yuv420p -shortest output.mp4
ffmpeg -i "myfile.mp4" -i "myfile.m4a" -c:v copy -map 0:v:0 -map 1:a:0 "myfile-audioclean.mp4"
Source: https://stackoverflow.com/questions/7333232/how-to-concatenate-two-mp4-files-using-ffmpeg
ffmpeg -f concat -safe 0 -i list.txt -c copy output.mp4
(mylist.txt should have one mp4 filename per line)
ffmpeg -i video.mkv -c copy video_fixed.mkv
(Unsure if really works) Source: https://video.stackexchange.com/questions/18220/fix-bad-files-and-streams-with-ffmpeg-so-vlc-and-other-players-would-not-crash