/// <summary>
        /// Extract Video format and Chroma format
        /// </summary>
        private void GetVideoFormat(ref MpegStreamManager msManager, long offset)
        {
            byte marker = new byte();
            bool isFounded = false;
            long _offset = offset;

            // search marker 0xB5 or 0xB8 was founded
            isFounded = msManager.FindNextMarker(ref _offset, ref marker);

            if (isFounded)
            {
                // founded one marker
            //				if (marker == 0xB8)
            //				{
            //					// [Group of pictures] founded...
            //					return;
            //				}

                if (marker == 0xB5)
                {
                    // [extension]
                    ParseExtension(_offset, ref msManager);
                }
                else
                {
                    // in all other cases
                    return;
                }

            }
            else
            {
                // marker not founded
                return;
            }

            // Get Chroma Format Text

            if (videoStream.ChromaFormat >= 1 &&
                videoStream.ChromaFormat <= 3)
            {
                // Get chroma format text from chroma format table
                videoStream.ChromaFormatText = MpegConstants.ChromaFormat[videoStream.ChromaFormat];
            }
            else
            {
                // Unknow chroma format
                videoStream.ChromaFormatText = "Unknow";
            }

            // Get Video Format Text

            if (videoStream.VideoFormat >= 0 &&
                videoStream.VideoFormat <= 5)
            {
                // Get video format text from video format table
                videoStream.VideoFormatText = MpegConstants.VideoFormat[videoStream.VideoFormat];
            }
            else
            {
                // Unknow video format
                videoStream.VideoFormatText = "Unknow";
            }
        }