[Ffmpeg-devel] help on getting file offset from mpeg_decode_frame() in mpeg12.c
daniel.car at cox.net
Thu Apr 26 22:44:44 CEST 2007
I'm having a hard time tracing through the code.
How do I print the current file offset from with in mpeg_decode_frame() in mpeg12.c?
I figure I need a pointer to struct ByteIOContext to print offset_t pos. How do I get that pointer? Is it possible from using a private data field in AVCodecContext *avctx or MpegEncContext *s2 ?
I'm currently using ffplay to interface to mpeg12.c Is there an easier way to dump offsets with in a file of specific frames, slices, gop, etc...
More information about the ffmpeg-devel