On date Tuesday 2011-07-19 16:02:35 -0700, Argo Vela encoded: > Hello, > > As one component of analyzing a media stream, I'm curious to know > if it is possible to come up with the duration of the media content > in a packet such as might be found in MPEG2-TS. As a concrete > example, given a muxed stream of AAC audio & H.264 video, would it > be possible to calculate a 2-tuple <PTS,duration> for each packet > in the stream? > > If so, then I would have two questions: >
> (1) Are the libav libraries a good tool to use for such a task? ffprobe -show_packets > (2) Is there a template available for how to the API in such a way? ffprobe.c > I really appreciate any guidance you might have! _______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
