On Sat, Jan 9, 2010 at 9:08 PM, Sean McAllister <[email protected]> wrote:

> So I'm reading the documentation on the AVCodecContext struct:
>
>
> http://cekirdek.pardus.org.tr/~ismail/ffmpeg-docs/structAVCodecContext.html#b7bfeb9fa5840aac090e2b0bd0ef7589<http://cekirdek.pardus.org.tr/%7Eismail/ffmpeg-docs/structAVCodecContext.html#b7bfeb9fa5840aac090e2b0bd0ef7589>
>
> It says that time_stamp should be 1.0/framerate, but I'm checking out this
> video that's 29.<whatever> FPs, and I get
> a time_stamp of .016683 which corresponds to 59.94FPS, ie time_stamp =
> 1.0/(2.0*frame_rate).  Which is correct?
>
> Sean
>

This might help:
http://wiki.xuggle.com/Concepts

It explains the concepts of time stamps, time bases and framerate as used in
Xuggler -- but Xuggler just wraps FFmpeg's libav library so the same
concepts apply.

- Art

-- 
http://www.xuggle.com/
xu‧ggle (zŭ' gl) v. To freely encode, decode, and experience audio and
video.

Use Xuggle to get the power of FFmpeg in Java.
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to