avcodec_encode_video calls break with newer libav, rewritten to avcodec_encode_video2
r_frame_rate removed with newer libav + fixed a bug that made mplayer crash
remove todo, I was wrong