I used ffmpeg to convert images (png, jpg, etc) to yuv (yuv420) in order to use this yuv file as input to theora encoder.
This is the command I used to create the yuv:
ffmpeg -f image2 -i test.png -pix_fmt yuv420p test.yuv
I used ffmpeg to convert images (png, jpg, etc) to yuv (yuv420) in order to use this yuv file as input to theora encoder.
This is the command I used to create the yuv:
ffmpeg -f image2 -i test.png -pix_fmt yuv420p test.yuv