[vlc-devel] Re: Dropped frames

Dugal Harris dugalh at protoclea.co.za
Tue Mar 27 14:25:28 CEST 2007


Thanks but it is not that.  It does it with any file video source, and a 
few different capture devices, also on different PC's.  The attached log 
was generated with a file source.

Dugal

Damien Fouilleul wrote:
> it sounds like there might be problem with frame timestamping out of 
> the capture card, you should check the timestamps (pts) you are 
> getting in dshow Demux() functions
>
> Dugal Harris wrote:
>> Hello
>>
>> I am compiling the latest SVN code with Cygwin - gcc 3.4.4.  I follow 
>> the instructions in http://wiki.videolan.org/Win32CompileCygwin.  I 
>> cannot play video from files or capture devices, frames seemingly 
>> arrive late and are dropped.  I get the following messages when 
>> trying to play back a file (my computer is definitely not too slow).
>> main debug: looking for decoder module: 26 candidates
>> ffmpeg debug: libavcodec initialized (interface 3348736 )
>> ffmpeg debug: postprocessing disabled
>> ffmpeg debug: using direct rendering
>> ffmpeg debug: ffmpeg codec (MPEG-4 Video) started
>> main debug: using decoder module "ffmpeg"
>> main debug: thread 4752 (decoder) created at priority 0 
>> (input/decoder.c:172)
>> main debug: `D:\Data\Videos\Vehicles\Source\Jules1.avi' successfully 
>> opened
>> avi debug: old:0 < new 0
>> main debug: no usable vout present, spawning one
>> main debug: window size: 352x288
>> main debug: looking for video output module: 6 candidates
>> vout_directx debug: creating DirectXEventThread
>> main debug: waiting for thread completion
>> vout_directx debug: DirectXCreateWindow
>> vout_directx debug: created video sub-window
>> main debug: thread 4784 (DirectX Events Thread) created at priority 0 
>> (directx.c:279)
>> vout_directx debug: DirectXEventThread running
>> vout_directx debug: DirectXInitDDraw
>> vout_directx debug: directx-device:
>> vout_directx debug: DirectXEnumCallback: Primary Display Driver, display
>> vout_directx debug: screen dimensions (0x0,1280x1024)
>> vout_directx debug: DirectDraw Capabilities: overlay=1 yuvoverlay=1 
>> can_deinterlace_overlay=1 colorkey=1 stretch=1 bltfourcc=1
>> vout_directx debug: align_boundary_src=0,0 align_boundary_dest=1,1 
>> align_size_src=0,0 align_size_dest=0,0
>> vout_directx debug: End DirectXInitDDraw
>> vout_directx debug: DirectXCreateDisplay
>> vout_directx debug: DirectXCreateClipper
>> vout_directx debug: disabling screen saver
>> main debug: using video output module "vout_directx"
>> main debug: waiting for thread completion
>> vout_directx debug: NewPictureVec overlay:yes chroma:YV12
>> vout_directx debug: YUV overlay created successfully
>> vout_directx debug: End NewPictureVec (succeeded)
>> main debug: got 1 direct buffer(s)
>> main debug: picture in 352x288 (0,0,352x288), chroma I420, ar 11:9, 
>> sar 1:1
>> main debug: picture user 352x288 (0,0,352x288), chroma I420, ar 11:9, 
>> sar 1:1
>> main debug: picture out 352x288 (0,0,352x288), chroma I420, ar 11:9, 
>> sar 1:1
>> main debug: direct render, mapping render pictures 0-6 to system 
>> pictures 1-7
>> main debug: thread 4852 (video output) created at priority 1 
>> (video_output/video_output.c:448)
>> ffmpeg warning: frame skip 8
>> (mpeg4 at 00BD9A40)
>> ffmpeg warning: frame skip 8
>> (mpeg4 at 00BD9A40)
>> ffmpeg error: more than 5 seconds of late video -> dropping frame 
>> (computer too slow ?)
>> ffmpeg error: more than 5 seconds of late video -> dropping frame 
>> (computer too slow ?)
>> ffmpeg error: more than 5 seconds of late video -> dropping frame 
>> (computer too slow ?)
>> main warning: late picture skipped (57432302681973000)
>> main warning: late picture skipped (57492432224077000)
>> main warning: late picture skipped (57543971831589000)
>> main warning: late picture skipped (57612691308245000)
>> main warning: late picture skipped (57677115817645000)
>> avi warning: cannot skip packet, track disabled
>> ffmpeg debug: ffmpeg codec (MPEG-4 Video) stopped
>> main debug: removing module "ffmpeg"
>> main debug: thread times: real 0m0.312500s, kernel 0m0.015625s, user 
>> 0m0.015625s
>> main debug: thread 4752 joined (input/decoder.c:204)
>> main debug: killing decoder fourcc `XVID', 4310 PES in FIFO
>> main debug: EOF reached
>>
>> What am I doing wrong?
>>
>> Thanks
>> Dugal
>>

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list