Mark Hinchcliffe
unread,Oct 25, 2012, 5:50:08 AM10/25/12You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Hello all,
I am looking at the mpegvideo.h/c and mpeg12.h/c files in ffmpeg-git-8293a21.
I am trying to see where ffmpeg reads in the mpeg pack header (the first header found in an mpeg file). The code should look for a start code such as 0x000001BA in the bitstream.
yet only these codes appear to be defined and checked for:
/* Start codes. */
#define SEQ_END_CODE 0x000001b7
#define SEQ_START_CODE 0x000001b3
#define GOP_START_CODE 0x000001b8
#define PICTURE_START_CODE 0x00000100
#define SLICE_MIN_START_CODE 0x00000101
#define SLICE_MAX_START_CODE 0x000001af
#define EXT_START_CODE 0x000001b5
#define USER_START_CODE 0x000001b2
Am I right in believing the pack header is ignored and bytes are read from the source until one of the above start codes is found?
Thanks in advance for any help you can provide.
Hinchy.
N.B. Hopefully asking in the right place here as there does not seem to be a specific ffmpeg/libavcodec group.