I am using ffmpeg to create video file from by using the loop_input command and create an flv file as a wrapper then export it as mp4. For some reason when the video plays the image is clear as time goes on it starts to get really pixelated. Is there something I need to do to retain the quality during the looping or anywhere else that would help?
This is my video out parameters, not the whole line.
ffmpeg -loop_input -f image2 -i myimage.jpg -r 20 -g 20 -vcodec flv