Postby marranxo » 09 Apr 2015 16:34
void MyClass::video_display_cb(void *opaque, void *picture)
{
MyClass *this_class = (MyClass*)opaque;
static unsigned char *last_buff = NULL;
if (last_buff == NULL)
{
last_buff = (unsigned char *)_aligned_malloc(this_class->_w * this_class->_h * 4, 32);
}
if (memcmp(last_buff, this_class->_input_buffer, this_class->_w * this_class->_h * 4))
{
debug("MyClass::video_display_cb Image !!NOT!! match\n");
}
else
{
debug("MyClass::video_display_cb Image match\n");
}
memcpy(last_buff, this_class->_input_buffer, this_class->_w * this_class->_h * 4);
this_class->do_process();
}
--verbose=2 output
main libvlc debug: VLC media player - 2.1.5 Rincewind
main libvlc debug: Copyright © 1996-2014 the VideoLAN team
main libvlc debug: revision 2.1.5-9-gb3fd0af
main libvlc debug: configured with ../extras/package/win32/../../../configure '--enable-update-check' '--enable-lua' '--enable-faad' '--enable-flac' '--enable-theora' '--enable-twolame' '--enable-quicktime' '--enable-avcodec' '--enable-merge-ffmpeg' '--enable-dca' '--enable-mpc' '--enable-libass' '--enable-x264' '--enable-schroedinger' '--enable-realrtsp' '--enable-live555' '--enable-dvdread' '--enable-shout' '--enable-goom' '--enable-caca' '--disable-sdl' '--enable-qt' '--enable-skins2' '--enable-sse' '--enable-mmx' '--enable-libcddb' '--enable-zvbi' '--disable-telx' '--enable-nls' '--disable-dirac' '--host=i686-w64-mingw32' 'host_alias=i686-w64-mingw32'
main libvlc debug: using multimedia timers as clock source
main libvlc debug: min period: 1 ms, max period: 1000000 ms
main libvlc debug: searching plug-in modules
main libvlc debug: loading plugins cache file C:\Users\IOSD\Desktop\tld2ctrl\tld2WinFormTest\bin\Debug\plugins\plugins.dat
main libvlc debug: recursively browsing `C:\Users\IOSD\Desktop\tld2ctrl\tld2WinFormTest\bin\Debug\plugins'
main libvlc debug: saving plugins cache C:\Users\IOSD\Desktop\tld2ctrl\tld2WinFormTest\bin\Debug\plugins\plugins.dat
main libvlc debug: plug-ins loaded: 391 modules
main libvlc debug: translation test: code is "C"
main libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 FPU
main input debug: Creating an input for 'dshow://'
main input debug: using timeshift granularity of 50 MiB, in path 'C:\Users\IOSD\AppData\Local\Temp'
main input debug: `dshow://' gives access `dshow' demux `' path `'
main input debug: creating demux: access='dshow' demux='' location='' file='(null)'
main demux debug: looking for access_demux module matching "dshow": 12 candidates
dshow demux debug: dshow-vdev: AVerMedia U3 Video Capture
dshow demux debug: dshow-adev: none
dshow demux debug: found device: AVerMedia U3 Video Capture
dshow demux debug: asking for device: AVerMedia U3 Video Capture
dshow demux debug: asked for AVerMedia U3 Video Capture, binding to AVerMedia U3 Video Capture
dshow demux debug: using device: AVerMedia U3 Video Capture
dshow demux debug: EnumDeviceCaps: input pin: Analoger Videoeingang
dshow demux debug: EnumDeviceCaps: input pin: Audio In
dshow demux debug: EnumDeviceCaps: output pin: Capture
dshow demux debug: EnumDeviceCaps: output pin: Audio Out
dshow demux debug: EnumDeviceCaps: output pin: VBI
dshow demux debug: EnumDeviceCaps: trying pin Capture
dshow demux debug: EnumDeviceCaps: input pin default format configured
dshow demux debug: EnumDeviceCaps: input pin accepts chroma: YUY2, width:1920, height:1080, fps:25.000000
dshow demux debug: CaptureFilter::JoinFilterGraph
dshow demux debug: connecting filters
dshow demux debug: CaptureFilter::EnumPins
dshow demux debug: CapturePin::QueryDirection
dshow demux debug: CapturePin::ConnectedTo [not connected]
dshow demux debug: CapturePin::QueryPinInfo
dshow demux debug: CaptureFilter::QueryFilterInfo
dshow demux debug: CapturePin::QueryPinInfo
dshow demux debug: CaptureFilter::EnumPins
dshow demux debug: CapturePin::QueryDirection
dshow demux debug: CapturePin::QueryDirection
dshow demux debug: CapturePin::QueryAccept [OK] (width=1920, height=1080, chroma=YUY2, fps=25.000000)
dshow demux debug: CapturePin::ReceiveConnection [OK]
dshow demux debug: CapturePin::NotifyAllocator
dshow demux debug: ConnectFilters: graph_builder2 available.
dshow demux debug: filters connected successfully !
dshow demux debug: MEDIATYPE_Video
demux debug: CaptureFilter::JoinFilterGraph
dshow demux debug: selected video pin accepts format: YUY2
dshow demux debug: skipping audio device
dshow demux debug: Playing...
dshow demux debug: CapturePin::QueryPinInfo
dshow demux debug: CaptureFilter::EnumPins
dshow demux debug: CapturePin::QueryDirection
dshow demux debug: CapturePin::QueryPinInfo
dshow demux debug: CaptureFilter::EnumPins
dshow demux debug: CapturePin::QueryDirection
dshow demux debug: CaptureFilter::EnumPins
dshow demux debug: CapturePin::QueryDirection
dshow demux debug: CaptureFilter::EnumPins
dshow demux debug: CapturePin::QueryDirection
dshow demux debug: CapturePin::ConnectedTo [OK]
dshow demux debug: CaptureFilter::SetSyncSource
dshow demux debug: CaptureFilter::Pause
dshow demux debug: CaptureFilter::Run
main input debug: selecting program id=0
debug: MEDIATYPE_Video
[0511365c] dshow demux debug: selected video pin accepts format: YUY2
[0511365c] dshow demux debug: skipping audio device
[0511365c] dshow demux debug: Playing...
[0511365c] dshow demux debug: CapturePin::QueryPinInfo
[0511365c] dshow demux debug: CaptureFilter::EnumPins
[0511365c] dshow demux debug: CapturePin::QueryDirection
[0511365c] dshow demux debug: CapturePin::QueryPinInfo
[0511365c] dshow demux debug: CaptureFilter::EnumPins
[0511365c] dshow demux debug: CapturePin::QueryDirection
[0511365c] dshow demux debug: CaptureFilter::EnumPins
[0511365c] dshow demux debug: CapturePin::QueryDirection
[0511365c] dshow demux debug: CaptureFilter::EnumPins
[0511365c] dshow demux debug: CapturePin::QueryDirection
[0511365c] dshow demux debug: CapturePin::ConnectedTo [OK]
[0511365c] dshow demux debug: CaptureFilter::SetSyncSource
[0511365c] dshow demux debug: CaptureFilter::Pause
[0511365c] dshow demux debug: CaptureFilter::Run
[050575dc] main input debug: selecting programain demux debug: using access_demux module "dshow"
main decoder debug: looking for decoder module matching "any": 39 candidates
main decoder debug: using decoder module "rawvideo"
main demux meta debug: looking for meta reader module matching "any": 2 candidates
lua demux meta debug: Trying Lua scripts in C:\Users\IOSD\AppData\Roaming\vlc\lua\meta\reader
lua demux meta debug: Trying Lua scripts in C:\Users\IOSD\Desktop\tld2ctrl\tld2WinFormTest\bin\Debug\lua\meta\reader
main demux meta debug: no meta reader modules matched
main input debug: `dshow://' successfully opened
m id=0
main input debug: Buffering 0%
main spu text debug: looking for text renderer module matching "any": 2 candidates
freetype spu text debug: Using Arial as font from file C:\Windows\Fonts\ariali.ttf
freetype spu text debug: using fontsize: 2
main spu text debug: using text renderer module "freetype"
main scale debug: looking for video filter2 module matching "any": 55 candidates
swscale scale debug: 32x32 chroma: YUVA -> 16x16 chroma: RGBA with scaling using Bicubic (good quality)
main scale debug: using video filter2 module "swscale"
main scale debug: looking for video filter2 module matching "any": 55 candidates
main input warning: clock gap, unexpected stream discontinuity
main input warning: feeding synchro with a new reference point trying to recover from clock gap
main input debug: Buffering 0%
yuvp scale debug: YUVP to YUVA converter
main scale debug: using video filter2 module "yuvp"
main video output debug: Deinterlacing available
main video output debug: deinterlace 0, mode blend, is_needed 0
main video output debug: Opening vout display wrapper
main vout display debug: looking for vout display module matching "vmem": 10 candidates
dshow demux debug: CapturePin::Receive trashing late input sample
[0511365c] dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
main input debug: Buffering 13%
main vout display debug: VoutDisplayEvent 'fullscreen' 0
CapturePin::main vout display debug: VoutDisplayEvent 'resize' 1920x1080 window
dshow demux debug: CapturePin::Receive trashing late input sample
main vout display debug: using vout display module "vmem"
main vout display debug: A filter to adapt decoder to display is needed
dshow demux debug: CapturePin::Receive trashing late input sample
main filter debug: looking for video filter2 module matching "any": 55 candidates
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
swscale filter debug: 1920x1080 chroma: YUY2 -> 1920x1080 chroma: RGBA with scaling using Bicubic (good quality)
dshow demux debug: CapturePin::Receive trashing late input sample
main input debug: Stream buffering done (999 ms in 2545 ms)
Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
main vout display debug: Filter 'Swscale' (0511f2e4) appended to chain
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
main video output debug: original format sz 1920x1080, of (0,0), vsz 1920x1080, 4cc YUY2, sar 1:1, msk r0x0 g0x0 b0x0
dshow demux debug: CapturePin::Receive trashing late input sample
main vout display error: Failed to change zoom
main spu text debug: removing module "freetype"
main vout display error: Failed to set on top
dshow demux debug: CapturePin::Receive trashing late input sample
main spu text debug: looking for text renderer module matching "any": 2 candidates
Stream buffering done (999 ms in 2545 ms)
removing module "freetype"
main vout display error: Failed to change source AR
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
freetype spu text debug: Using Arial as font from file C:\Windows\Fonts\ariali.ttf
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
freetype spu text debug: using fontsize: 2
dshow demux debug: CapturePin::Receive trashing late input sample
main spu text debug: using text renderer module "freetype"
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
main decoder debug: End of video preroll
main spu text debug: using text renderer module "freetype"
main decoder debug: Received first picture
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
!!!!!!!!! - video_display_cb Image !!NOT!! match
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
!!!!!!!!! - video_display_cb Image match
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
!!!!!!!!! - video_display_cb Image match
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
!!!!!!!!! - video_display_cb Image match
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
!!!!!!!!! - video_display_cb Image match
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
!!!!!!!!! - video_display_cb Image match
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
!!!!!!!!! - video_display_cb Image match
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
!!!!!!!!! - video_display_cb Image match
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
!!!!!!!!! - video_display_cb Image match
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
!!!!!!!!! - video_display_cb Image match
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
!!!!!!!!! - video_display_cb Image match
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
!!!!!!!!! - video_display_cb Image match
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
!!!!!!!!! - video_display_cb Image match
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
!!!!!!!!! - video_display_cb Image match
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
!!!!!!!!! - video_display_cb Image match
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
!!!!!!!!! - video_display_cb Image match
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
!!!!!!!!! - video_display_cb Image match
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
!!!!!!!!! - video_display_cb Image match
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
!!!!!!!!! - video_display_cb Image match
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample
dshow demux debug: CapturePin::Receive trashing late input sample