<html><head><meta http-equiv="Content-Type" content="text/html; charset=windows-1252"></head><body><div><div style="font-family: Calibri,sans-serif; font-size: 11pt;">Hi, <br>I am working with avseek_frame() using bytes. I figured out the calculation for the timestamp value of the video stream from the frame number but couldn't figure out a way to calculate the approriate timestamp for the audio stream from the sample number. Any help here could be really useful.<br><br>Thank you</div></div></body></html>