Hello, vc1test has this code: fps = get_le32(pb); if(fps == -1) av_set_pts_info(st, 32, 1, 1000); else{ av_set_pts_info(st, 24, 1, fps); st->duration = frames; } Seriously? Is it _supposed_ to be possible to set time_base to 1/0?