fix h264 frame rate + new example for duration