Can anyone offer an insight into which field / why / av_interleaved_write_frame is throwing an integer divide by zero? Possibly to do with PTS ?? Jim Morgenstern Image Mining LLC 248-252-2626