Generate zones parameter of OP/ED for x264 from chapter and qpfile