<div>I developed an RTSP server to server live MPEG-2 stream and tried it with vlc, The video is full of greenish artifacts, </div>
<div>and I am getting this warning (at the end) of this email. I am definitely sending I-Frames as the first packet to</div>
<div>vlc as I captured the packets a number of times. Funny thing is video clears up as soon as camera/encoder</div>
<div>captures motion (i.e. waving my hand infront of the camera will do the job). I am wondering if anybody here </div>
<div>knows what exactly vlc is looking for when I am providing VS header, VOS header, GOV header and VOP header.</div>
<div>mplayer also do the same (do they both use ffmpeg library)? </div>
<div> </div>
<div><font size="1">main debug: creating new input thread</font></div>
<div>
<p>main debug: waiting for thread completion</p>
<p>main debug: thread 4272 (input) created at priority 1 (input/input.c:265)</p>
<p>main debug: `rtsp://10.95.253.160/1841' gives access `rtsp' demux `' path `10.95.253.160/1841'</p>
<p>main debug: creating demux: access='rtsp' demux='' path='<a href="http://10.95.253.160/1841">10.95.253.160/1841</a>'</p>
<p>main debug: looking for access_demux module: 1 candidate</p>
<p>live555 debug: RTP subsession 'video/MP4V-ES'</p>
<p>main debug: selecting program id=0</p>
<p>main debug: using access_demux module "live555"</p>
<p>main debug: looking for a subtitle file in C:\Program Files\VideoLAN\VLC\</p>
<p>main debug: looking for decoder module: 28 candidates</p>
<p>ffmpeg debug: libavcodec already initialized</p>
<p>ffmpeg debug: postprocessing disabled</p>
<p>ffmpeg debug: using direct rendering</p>
<p>ffmpeg debug: ffmpeg codec (MPEG-4 Video) started</p>
<p>main debug: using decoder module "ffmpeg"</p>
<p>main debug: thread 4252 (decoder) created at priority 0 (input/decoder.c:159)</p>
<p>main debug: `rtsp://10.95.253.160/1841' successfully opened</p>
<p>main debug: no usable vout present, spawning one</p>
<p>main debug: window size: 352x240</p>
<p>main debug: looking for video output module: 6 candidates</p>
<p>vout_directx debug: creating DirectXEventThread</p>
<p>main debug: waiting for thread completion</p>
<p>vout_directx debug: DirectXCreateWindow</p>
<p>vout_directx debug: created video sub-window</p>
<p>main debug: thread 4128 (DirectX Events Thread) created at priority 0 (directx.c:278)</p>
<p>vout_directx debug: DirectXEventThread running</p>
<p>vout_directx debug: DirectXInitDDraw</p>
<p>vout_directx debug: directx-device: </p>
<p>vout_directx debug: DirectXEnumCallback: Primary Display Driver, display</p>
<p>vout_directx debug: DirectXEnumCallback: ATI MOBILITY RADEON X300 , \\.\DISPLAY1</p>
<p>vout_directx debug: selecting ATI MOBILITY RADEON X300 , \\.\DISPLAY1</p>
<p>main debug: Registering subpicture channel, ID: 2</p>
<p>main debug: Registering subpicture channel, ID: 3</p>
<p>main debug: Registering subpicture channel, ID: 4</p>
<p>main debug: Registering subpicture channel, ID: 5</p>
<p>vout_directx debug: screen dimensions (0x0,1400x1050)</p>
<p>vout_directx debug: DirectDraw Capabilities: overlay=1 yuvoverlay=1 can_deinterlace_overlay=1 colorkey=1 stretch=1 bltfourcc=1</p>
<p>vout_directx debug: End DirectXInitDDraw</p>
<p>vout_directx debug: DirectXCreateDisplay</p>
<p>vout_directx debug: DirectXCreateClipper</p>
<p>vout_directx debug: disabling screen saver</p>
<p>main debug: using video output module "vout_directx"</p>
<p>vout_directx debug: NewPictureVec overlay:yes chroma:YV12</p>
<p>vout_directx debug: YUV overlay created successfully</p>
<p>vout_directx debug: End NewPictureVec (succeeded)</p>
<p>main debug: got 1 direct buffer(s)</p>
<p>main debug: picture in 352x240 (0,0,352x240), chroma I420, ar 22:15, sar 1:1</p>
<p>main debug: picture user 352x240 (0,0,352x240), chroma I420, ar 22:15, sar 1:1</p>
<p>main debug: picture out 352x240 (0,0,352x240), chroma I420, ar 22:15, sar 1:1</p>
<p>main debug: direct render, mapping render pictures 0-6 to system pictures 1-7</p>
<p>main debug: waiting for thread completion</p>
<p>main debug: thread 4280 (video output) created at priority 1 (video_output/video_output.c:421)</p>
<p>ffmpeg warning: <font color="#0000ff" size="1">warning: first frame is no keyframe</font></p>
<p>(mpeg4@00A51BD0)</p><font size="1">
<p>main warning: </p></font><font color="#0000ff" size="1">late picture skipped (1877064)</font><font size="1">
<p>main warning: </p></font><font color="#0000ff" size="1">late picture skipped (799088)</font><font size="1">
<p>main warning: </p></font><font color="#0000ff" size="1">late picture skipped (1752511)</font><font size="1">
<p>main warning: </p></font><font color="#0000ff" size="1">late picture skipped (720757)</font><font size="1">
<p>main warning: </p></font><font color="#0000ff" size="1">late picture skipped (689514)</font><font size="1">
<p>main warning: </p></font><font color="#0000ff" size="1">late picture skipped (127653)</font><font size="1">
<p>main warning: </p></font><font color="#0000ff" size="1">late picture skipped (1095603)</font><font size="1">
<p>main warning: </p></font><font color="#0000ff" size="1">late picture skipped (736992)</font><font size="1">
<p>main warning: </p></font><font color="#0000ff" size="1">late picture skipped (720586)</font><font size="1">
<p>main warning: </p></font><font color="#0000ff" size="1">late picture skipped (736836)</font><font size="1">
<p>main warning: </p></font><font color="#0000ff" size="1">late picture skipped (752103)</font></div>