Problem with dshow and deinterlacing

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
McCloud
New Cone
New Cone
Posts: 3
Joined: 14 May 2010 18:57

Problem with dshow and deinterlacing

Postby McCloud » 14 May 2010 19:07

hi

im trying to get the deinterlacer working with dshow
this is the cli im using. works fine but the picture is interlaced:

Code: Select all

:dshow-vdev=713x BDA Analog Capture :dshow-adev=none :dshow-size=720x576 :dshow-chroma=UYVY :dshow-fps=25.000000 :dshow-video-input=1 :aspect-ratio=4:3
adding a deinterlacer with Video>Deinterlace and choosing one of them, then the video disappears.
so i tried it in cli it looks so

Code: Select all

:dshow-vdev=713x BDA Analog Capture :dshow-adev=none :dshow-size=720x576 :dshow-chroma=UYVY :dshow-fps=25.000000 :dshow-video-input=1 :aspect-ratio=4:3 --vout-filter deinterlace --deinterlace-mode=blend
then i tried

Code: Select all

:dshow-vdev=713x BDA Analog Capture :dshow-adev=none :dshow-size=720x576 :dshow-chroma=UYVY :dshow-fps=25.000000 :dshow-video-input=1 :aspect-ratio=4:3 --video-filter=deinterlace --deinterlace-mode=blend
but the video is still interlaced. nothing worked.
did i something wrong with the cli?
im using Win 7 x64 and tried vlc 1.0.5 and some older versions.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Problem with dshow and deinterlacing

Postby VLC_help » 15 May 2010 16:15

Blend doesn't work in VLC 1.0.x, it should work in VLC 1.1.0
http://trac.videolan.org/vlc/ticket/2750

McCloud
New Cone
New Cone
Posts: 3
Joined: 14 May 2010 18:57

Re: Problem with dshow and deinterlacing

Postby McCloud » 15 May 2010 17:38

VLC 1.1.0 doesn't work too. i tried all deinterlace modes (blend,mean,bob,linear,x,yadif,yadif2x).
and in VLC 0.9.x same problem.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Problem with dshow and deinterlacing

Postby VLC_help » 16 May 2010 17:39

In my setup

Code: Select all

vlc --vout-filter=deinterlace --deinterlace-mode=yadif movie.avi
works OK.

McCloud
New Cone
New Cone
Posts: 3
Joined: 14 May 2010 18:57

Re: Problem with dshow and deinterlacing

Postby McCloud » 16 May 2010 19:08

yes it works with your setup, when the source is an avi file.
but ist doesn't work with an analog source, video-in or analog TV.

Ratix
New Cone
New Cone
Posts: 3
Joined: 27 May 2010 14:08

Re: Problem with dshow and deinterlacing

Postby Ratix » 27 May 2010 14:18

hi

I've the same problem. I can't deinterlace stream from my capture card using direct show in vlc. However, I have tested with graphedit, and the dshow deinterlace option works fine.

jahmann
New Cone
New Cone
Posts: 4
Joined: 08 Jun 2010 23:55

Re: Problem with dshow and deinterlacing

Postby jahmann » 08 Jun 2010 23:58

hello, same problem here, no deinterlance with my capture card.
here is my command line to start it

Code: Select all

start /D "C:\Program Files (x86)\VideoLAN\VLC" vlc.exe --video-on-top --deinterlace-mode=blend dshow:// :dshow-vdev="WinFast DTV1000 S BDA Analog Capture" :dshow-adev=none :dshow-size=768x576 :dshow-caching=200 :dshow-chroma=UYVY :dshow-fps=25 :no-dshow-config :no-dshow-tuner :dshow-tuner-channel=0 :dshow-tuner-country=0 :dshow-tuner-input=0 :dshow-video-input=-1 :dshow-video-output=-1 :dshow-audio-input=-1 :dshow-audio-output=-1 :dshow-amtuner-mode=1 :dshow-audio-channels=0 :dshow-audio-samplerate=0 :dshow-audio-bitspersample=0
Image

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Problem with dshow and deinterlacing

Postby VLC_help » 09 Jun 2010 16:49

jahmann: it works better if you add --vout-filter=deinterlace ?

npadgett
Blank Cone
Blank Cone
Posts: 11
Joined: 02 Jun 2010 23:11

Re: Problem with dshow and deinterlacing

Postby npadgett » 09 Jun 2010 18:25

VLC_help: Adding --vout-filter=deinterlace to jahmann's example causes the video to disappear entirely. I.e. no video is rendered.

npadgett
Blank Cone
Blank Cone
Posts: 11
Joined: 02 Jun 2010 23:11

Re: Problem with dshow and deinterlacing

Postby npadgett » 09 Jun 2010 18:51

Below is the verbose output from the following command. The last 11 lines are the interesting part as they are the only difference in output when using the deinterlace flag vs. not.
vlc -I oldrc dshow:// :dshow-vdev="Dazzle DVC100Video Device" :dshow-adev=none :dshow-size=720x480 :dshow-chroma=YUY2 --sout="#display" -vvv --vout-filter=deinterlace --deinterlace-mode=yadif

[........] oldrc interface: VLC media player - 1.1.0-rc The Luggage
[........] oldrc interface: Copyright ⌐ 1996-2010 the VideoLAN team
[........] oldrc interface:
Warning: if you can't access the GUI anymore, open a command-line window, go to
the directory where you installed VLC and run "vlc -I qt"

Remote control interface initialized. Type `help' for help.
[........] main interface debug: using interface module "oldrc"
[........] main interface debug: TIMER module_need() : 54.202 ms - Total 54.202
ms / 1 intvls (Avg 54.202 ms)
[........] main interface debug: thread started
[........] main interface debug: thread (interface) created at priority 0 (../..
/./src/interface/interface.c:160)
[........] main playlist debug: processing request item null node Playlist skip
0
[........] main playlist debug: starting new item
[........] main playlist debug: creating new input thread
[........] main input debug: Creating an input for 'dshow://'
[........] main input debug: thread started
[........] main stream output debug: using sout chain=`display'
[........] main stream output debug: stream=`display'
[........] main stream out debug: looking for sout stream module: 1 candidate
[........] main stream out debug: using sout stream module "stream_out_display"
[........] main stream out debug: TIMER module_need() : 1.219 ms - Total 1.219 m
s / 1 intvls (Avg 1.219 ms)
[........] main input debug: using timeshift granularity of 50 MiB
[........] main input debug: using timeshift path 'C:\Users\ADMINI~1\AppData\Loc
al\Temp'
[........] main input debug: thread (input) created at priority 1 (../.././src/i
nput/input.c:214)
[........] main input debug: `dshow://' gives access `dshow' demux `' path `'
[........] main input debug: creating demux: access='dshow' demux='' path=''
[........] main demux debug: looking for access_demux module: 1 candidate
[........] dshow demux debug: dshow-vdev: Dazzle DVC100 Video Device
[........] dshow demux debug: dshow-adev: none
[........] dshow demux debug: width x height 720x480
[........] dshow demux debug: found device: Dazzle DVC100 Video Device
[........] dshow demux debug: asking for device: Dazzle DVC100 Video Device
[........] dshow demux debug: asked for Dazzle DVC100 Video Device, binding to D
azzle DVC100 Video Device
[........] dshow demux debug: using device: Dazzle DVC100 Video Device
[........] dshow demux debug: EnumDeviceCaps: output pin: Capture
[........] dshow demux debug: EnumDeviceCaps: input pin: Analog Video In
[........] dshow demux debug: EnumDeviceCaps: trying pin Capture
[........] dshow demux debug: EnumDeviceCaps: input pin default format configure
d
[........] dshow demux debug: EnumDeviceCaps: input pin accepts chroma: YUY2, wi
dth:720, height:480, fps:29.970000
[........] 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=720, height=48
0, chroma=YUY2, fps=29.970000)
[........] dshow demux debug: CapturePin::ReceiveConnection [OK]
[........] dshow demux debug: CapturePin::NotifyAllocator
[........] 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::EnumPins
[........] 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: 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: CapturePin::ConnectedTo [OK]
[........] dshow demux debug: CaptureFilter::EnumPins
[........] dshow demux debug: CaptureFilter::EnumPins
[........] dshow demux debug: CapturePin::QueryDirection
[........] dshow demux debug: CapturePin::QueryPinInfo
[........] dshow demux debug: CapturePin::ConnectedTo [OK]
[........] dshow demux debug: CaptureFilter::EnumPins
[........] dshow demux debug: CapturePin::QueryDirection
[........] dshow demux debug: CapturePin::QueryPinInfo
[........] dshow demux debug: CapturePin::ConnectedTo [OK]
[........] dshow demux debug: CaptureFilter::EnumPins
[........] dshow demux debug: CaptureFilter::EnumPins
[........] dshow demux debug: CaptureFilter::EnumPins
[........] dshow demux debug: CapturePin::QueryDirection
[........] dshow demux debug: CapturePin::QueryPinInfo
[........] dshow demux debug: CapturePin::ConnectedTo [OK]
[........] dshow demux debug: CaptureFilter::EnumPins
[........] dshow demux debug: CapturePin::QueryDirection
[........] dshow demux debug: CapturePin::QueryPinInfo
[........] dshow demux debug: CapturePin::ConnectedTo [OK]
[........] dshow demux debug: CaptureFilter::EnumPins
[........] dshow demux debug: CaptureFilter::EnumPins
[........] dshow demux debug: CapturePin::QueryDirection
[........] dshow demux debug: CapturePin::QueryPinInfo
[........] dshow demux debug: CapturePin::ConnectedTo [OK]
[........] dshow demux debug: CaptureFilter::EnumPins
[........] dshow demux debug: CapturePin::QueryDirection
[........] dshow demux debug: CapturePin::QueryPinInfo
[........] dshow demux debug: CapturePin::ConnectedTo [OK]
[........] dshow demux debug: CaptureFilter::EnumPins
[........] dshow demux debug: CaptureFilter::EnumPins
[........] dshow demux debug: CaptureFilter::EnumPins
[........] dshow demux debug: found existing route for output 0 (type Video Deco
der) to input 2 (type Video Composite)
[........] dshow demux debug: crossbar at depth 0, found route for output 0 (typ
e Video Decoder) to input 2 (type Video Composite)
[........] dshow demux debug: ConnectFilters: graph_builder2 available.
[........] dshow demux debug: filters connected successfully !
[........] dshow demux debug: MEDIATYPE_Video
[........] dshow demux debug: selected video pin accepts format: YUY2
[........] dshow demux debug: skipping audio device
[........] dshow demux debug: crossbar at depth 0, routed video output 0 to vide
o input 2
[........] dshow demux debug: crossbar at depth 0, routed audio output 1 to audi
o input 5
[........] dshow demux debug: Playing...
[........] dshow demux debug: CaptureFilter::SetSyncSource
[........] dshow demux debug: CaptureFilter::Pause
[........] dshow demux debug: CaptureFilter::Run
[........] main input debug: selecting program id=0
[........] main demux debug: using access_demux module "dshow"
[........] main demux debug: TIMER module_need() : 849.264 ms - Total 849.264 ms
/ 1 intvls (Avg 849.264 ms)
[........] main decoder debug: looking for packetizer module: 21 candidates
[........] main decoder debug: using packetizer module "rawvideo"
[........] main decoder debug: TIMER module_need() : 3.797 ms - Total 3.797 ms /
1 intvls (Avg 3.797 ms)
[........] main decoder debug: thread (decoder) created at priority 0 (../.././s
rc/input/decoder.c:301)
[........] main decoder debug: thread started
[........] main input debug: starting in async mode
[........] main demux meta debug: looking for meta reader module: 2 candidates
[........] lua demux meta debug: Trying Lua scripts in C:\Users\Administrator\Ap
pData\Roaming\vlc\lua\meta\reader
[........] lua demux meta debug: Trying Lua scripts in C:\Program Files\VideoLAN
\VLC\lua\meta\reader
[........] lua demux meta debug: Trying Lua playlist script C:\Program Files\Vid
eoLAN\VLC\lua\meta\reader\filename.lua
[........] main demux meta debug: no meta reader module matching "any" could be
loaded
[........] main demux meta debug: TIMER module_need() : 6.483 ms - Total 6.483 m
s / 1 intvls (Avg 6.483 ms)
[........] main input debug: `dshow://' successfully opened
[........] main input debug: Buffering 0%
[........] main input debug: switching to sync mode
[........] main stream output debug: adding a new sout input (sout_input:00775aa
8)
[........] main decoder debug: looking for decoder module: 34 candidates
[........] main decoder debug: using decoder module "rawvideo"
[........] main input debug: Buffering 16%
[........] main decoder debug: TIMER module_need() : 45.723 ms - Total 45.723 ms
/ 1 intvls (Avg 45.723 ms)
[........] main decoder debug: thread started
[........] main decoder debug: thread (decoder) created at priority 0 (../.././s
rc/input/decoder.c:301)
[........] main input debug: Buffering 32%
[........] main input debug: Buffering 48%
[........] main input debug: Buffering 63%
[........] main input debug: Buffering 84%
[........] main input debug: Stream buffering done (200 ms in 199 ms)
[........] main input debug: Decoder buffering done in 0 ms
[........] main input debug: no usable vout present, spawning one
[........] main spu text debug: looking for text renderer module: 2 candidates
[........] freetype spu text debug: Building font databases.
[........] freetype spu text debug: Took 2111 microseconds
[........] freetype spu text debug: Using Arial as font from file C:/Windows/fon
ts/arial.ttf
[........] freetype spu text debug: using fontsize: 2
[........] main spu text debug: using text renderer module "freetype"
[........] main spu text debug: TIMER module_need() : 18.772 ms - Total 18.772 m
s / 1 intvls (Avg 18.772 ms)
[........] main scale debug: looking for video filter2 module: 18 candidates
[........] swscale scale debug: 32x32 chroma: YUVA -> 16x16 chroma: YUVA with sc
aling using Bicubic (good quality)
[........] main scale debug: using video filter2 module "swscale"
[........] main scale debug: TIMER module_need() : 21.405 ms - Total 21.405 ms /
1 intvls (Avg 21.405 ms)
[........] main scale debug: looking for video filter2 module: 18 candidates
[........] yuvp scale debug: YUVP to YUVA converter
[........] main scale debug: using video filter2 module "yuvp"
[........] main scale debug: TIMER module_need() : 10.748 ms - Total 10.748 ms /
1 intvls (Avg 10.748 ms)
[........] main video output debug: window size: 720x720
[........] main video output debug: Deinterlacing available
[........] main video output debug: deinterlace 1, mode discard, is_needed 0
[........] main video output debug: looking for video filter module: 1 candidate
[........] deinterlace video output debug: using discard deinterlace method
[........] main video output debug: using video filter module "deinterlace"
[........] main video output debug: TIMER module_need() : 5.429 ms - Total 5.429
ms / 1 intvls (Avg 5.429 ms)
[........] main video output debug: removing module "deinterlace"
[........] main video output error: video output creation failed
[........] main spu text debug: removing module "freetype"
[........] main scale debug: removing module "yuvp"
[........] main scale debug: removing module "swscale"
[........] main decoder error: failed to create video output
[........] main decoder warning: can't get output picture

jahmann
New Cone
New Cone
Posts: 4
Joined: 08 Jun 2010 23:55

Re: Problem with dshow and deinterlacing

Postby jahmann » 09 Jun 2010 20:29

VLC_help: Adding --vout-filter=deinterlace to jahmann's example causes the video to disappear entirely. I.e. no video is rendered.
hello, thank you for yours reply.
no changes with --vout-filter=deinterlace

Code: Select all

start /D "C:\Program Files (x86)\VideoLAN\VLC" vlc.exe --video-on-top --deinterlace-mode=blend --vout-filter=deinterlace dshow:// :dshow-vdev="WinFast DTV1000 S BDA Analog Capture" :dshow-adev=none :dshow-size=768x576 :dshow-caching=200 :dshow-chroma=UYVY :dshow-fps=25 :no-dshow-config :no-dshow-tuner :dshow-tuner-channel=0 :dshow-tuner-country=0 :dshow-tuner-input=0 :dshow-video-input=-1 :dshow-video-output=-1 :dshow-audio-input=-1 :dshow-audio-output=-1 :dshow-amtuner-mode=1 :dshow-audio-channels=0 :dshow-audio-samplerate=0 :dshow-audio-bitspersample=0
Image
adding a deinterlacer with Video>Deinterlace and choosing one of them, then the video disappears.
I noticed the same thing

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Problem with dshow and deinterlacing

Postby VLC_help » 10 Jun 2010 18:07

This must have something to do with colorspaces. Does :dshow-chroma=YV12 work any better?

npadgett
Blank Cone
Blank Cone
Posts: 11
Joined: 02 Jun 2010 23:11

Re: Problem with dshow and deinterlacing

Postby npadgett » 10 Jun 2010 18:24

My capture device only supports YUY2 and I420.

[0160d5f0] dshow access debug: EnumDeviceCaps: input pin accepts chroma: YUY2, width:640, height:480, fps:29.970000
[0160d5f0] dshow access debug: EnumDeviceCaps: input pin accepts chroma: YUY2, width:640, height:480, fps:25.000000
[0160d5f0] dshow access debug: EnumDeviceCaps: input pin accepts chroma: YUY2, width:160, height:120, fps:29.970000
[0160d5f0] dshow access debug: EnumDeviceCaps: input pin accepts chroma: YUY2, width:320, height:240, fps:29.970000
[0160d5f0] dshow access debug: EnumDeviceCaps: input pin accepts chroma: YUY2, width:352, height:240, fps:29.970000
[0160d5f0] dshow access debug: EnumDeviceCaps: input pin accepts chroma: YUY2, width:352, height:480, fps:29.970000
[0160d5f0] dshow access debug: EnumDeviceCaps: input pin accepts chroma: YUY2, width:360, height:480, fps:29.970000
[0160d5f0] dshow access debug: EnumDeviceCaps: input pin accepts chroma: YUY2, width:720, height:480, fps:29.970000
[0160d5f0] dshow access debug: EnumDeviceCaps: input pin accepts chroma: I420, width:640, height:480, fps:29.970000
[0160d5f0] dshow access debug: EnumDeviceCaps: input pin accepts chroma: I420, width:160, height:120, fps:29.970000
[0160d5f0] dshow access debug: EnumDeviceCaps: input pin accepts chroma: I420, width:320, height:240, fps:29.970000
[0160d5f0] dshow access debug: EnumDeviceCaps: input pin accepts chroma: I420, width:352, height:240, fps:29.970000
[0160d5f0] dshow access debug: EnumDeviceCaps: input pin accepts chroma: YUY2, width:160, height:120, fps:25.000000
[0160d5f0] dshow access debug: EnumDeviceCaps: input pin accepts chroma: YUY2, width:320, height:240, fps:25.000000
[0160d5f0] dshow access debug: EnumDeviceCaps: input pin accepts chroma: YUY2, width:352, height:288, fps:25.000000
[0160d5f0] dshow access debug: EnumDeviceCaps: input pin accepts chroma: YUY2, width:352, height:576, fps:25.000000
[0160d5f0] dshow access debug: EnumDeviceCaps: input pin accepts chroma: YUY2, width:360, height:576, fps:25.000000
[0160d5f0] dshow access debug: EnumDeviceCaps: input pin accepts chroma: YUY2, width:720, height:576, fps:25.000000
[0160d5f0] dshow access debug: EnumDeviceCaps: input pin accepts chroma: I420, width:640, height:480, fps:25.000000
[0160d5f0] dshow access debug: EnumDeviceCaps: input pin accepts chroma: I420, width:160, height:120, fps:25.000000
[0160d5f0] dshow access debug: EnumDeviceCaps: input pin accepts chroma: I420, width:320, height:240, fps:25.000000
[0160d5f0] dshow access debug: EnumDeviceCaps: input pin accepts chroma: I420, width:352, height:288, fps:25.000000
[0160d5f0] dshow access debug: EnumDeviceCaps: input pin accepts chroma: YUY2, width:480, height:480, fps:29.970000
[0160d5f0] dshow access debug: EnumDeviceCaps: input pin accepts chroma: YUY2, width:480, height:576, fps:25.000000

jahmann
New Cone
New Cone
Posts: 4
Joined: 08 Jun 2010 23:55

Re: Problem with dshow and deinterlacing

Postby jahmann » 11 Jun 2010 09:05

This must have something to do with colorspaces. Does :dshow-chroma=YV12 work any better?
Error message is "parameter not supported".
My capture device only supports YUY2 and I420.
YUY2 works but I420 doesn't, even in 640x480 with my "WinFast DTV1000 S", how can I display device capabilities ?
(win7 x64)

npadgett
Blank Cone
Blank Cone
Posts: 11
Joined: 02 Jun 2010 23:11

Re: Problem with dshow and deinterlacing

Postby npadgett » 11 Jun 2010 14:22

how can I display device capabilities ?
Use the parameter :dshow-config. In one of the windows that pops up, you should see the supported chromas and resolutions. Or, pass the arguments "-I -vvv"
with a bad chroma like ":dshow-chroma=FOO". Then, if you sift through the logs, you will see the output I printed above.

npadgett
Blank Cone
Blank Cone
Posts: 11
Joined: 02 Jun 2010 23:11

Re: Problem with dshow and deinterlacing

Postby npadgett » 11 Jun 2010 15:24

According to the Windows FAQ (http://wiki.videolan.org/WindowsFAQ-1.0 ... _method.3F), to deinterlace the display I should use the flags "--vout-filter=deinterlace" and "--filter-deinterlace-mode=blend". I am using VLC 1.1.0-RC. However, this does not work and I receive the following output:

[01577f98] oldrc interface: VLC media player - 1.1.0-rc The Luggage
[01577f98] oldrc interface: Copyright ⌐ 1996-2010 the VideoLAN team
[01577f98] oldrc interface:
Warning: if you can't access the GUI anymore, open a command-line window, go to
the directory where you installed VLC and run "vlc -I qt"

Remote control interface initialized. Type `help' for help.
[01577f98] main interface debug: using interface module "oldrc"
[01577f98] main interface debug: TIMER module_need() : 42.798 ms - Total 42.798
ms / 1 intvls (Avg 42.798 ms)
[01577f98] main interface debug: thread started
[01577f98] main interface debug: thread (interface) created at priority 0 (../..
/./src/interface/interface.c:160)
[015e9888] main playlist debug: processing request item null node Playlist skip
0
[015e9888] main playlist debug: starting new item
[015e9888] main playlist debug: creating new input thread
[015d4cb0] main input debug: Creating an input for 'dshow://'
[015d4cb0] main input debug: thread started
[01616460] main stream output debug: using sout chain=`display'
[01616460] main stream output debug: stream=`display'
[0160a770] main stream out debug: looking for sout stream module: 1 candidate
[0160a770] main stream out debug: using sout stream module "stream_out_display"
[0160a770] main stream out debug: TIMER module_need() : 1.914 ms - Total 1.914 m
s / 1 intvls (Avg 1.914 ms)
[015d4cb0] main input debug: using timeshift granularity of 50 MiB
[015d4cb0] main input debug: using timeshift path 'C:\Users\ADMINI~1\AppData\Loc
al\Temp'
[015d4cb0] main input debug: thread (input) created at priority 1 (../.././src/i
nput/input.c:214)
[015d4cb0] main input debug: `dshow://' gives access `dshow' demux `' path `'
[015d4cb0] main input debug: creating demux: access='dshow' demux='' path=''
[015b5998] main demux debug: looking for access_demux module: 1 candidate
[015b5998] dshow demux debug: dshow-vdev: Dazzle DVC100 Video Device
[015b5998] dshow demux debug: dshow-adev: none
[015b5998] dshow demux debug: width x height 720x480
[015b5998] dshow demux debug: found device: Dazzle DVC100 Video Device
[015b5998] dshow demux debug: asking for device: Dazzle DVC100 Video Device
[015b5998] dshow demux debug: asked for Dazzle DVC100 Video Device, binding to D
azzle DVC100 Video Device
[015b5998] dshow demux debug: using device: Dazzle DVC100 Video Device
[015b5998] dshow demux debug: EnumDeviceCaps: output pin: Capture
[015b5998] dshow demux debug: EnumDeviceCaps: input pin: Analog Video In
[015b5998] dshow demux debug: EnumDeviceCaps: trying pin Capture
[015b5998] dshow demux debug: EnumDeviceCaps: input pin default format configure
d
[015b5998] dshow demux debug: EnumDeviceCaps: input pin accepts chroma: YUY2, wi
dth:720, height:480, fps:29.970000
[015b5998] dshow demux debug: CaptureFilter::JoinFilterGraph
[015b5998] dshow demux debug: connecting filters
[015b5998] dshow demux debug: CaptureFilter::EnumPins
[015b5998] dshow demux debug: CapturePin::QueryDirection
[015b5998] dshow demux debug: CapturePin::ConnectedTo [not connected]
[015b5998] dshow demux debug: CapturePin::QueryPinInfo
[015b5998] dshow demux debug: CaptureFilter::QueryFilterInfo
[015b5998] dshow demux debug: CapturePin::QueryPinInfo
[015b5998] dshow demux debug: CaptureFilter::EnumPins
[015b5998] dshow demux debug: CapturePin::QueryDirection
[015b5998] dshow demux debug: CapturePin::QueryDirection
[015b5998] dshow demux debug: CapturePin::QueryAccept [OK] (width=720, height=48
0, chroma=YUY2, fps=29.970000)
[015b5998] dshow demux debug: CapturePin::ReceiveConnection [OK]
[015b5998] dshow demux debug: CapturePin::NotifyAllocator
[015b5998] dshow demux debug: CapturePin::QueryPinInfo
[015b5998] dshow demux debug: CaptureFilter::EnumPins
[015b5998] dshow demux debug: CapturePin::QueryDirection
[015b5998] dshow demux debug: CapturePin::QueryPinInfo
[015b5998] dshow demux debug: CaptureFilter::EnumPins
[015b5998] dshow demux debug: CapturePin::QueryDirection
[015b5998] dshow demux debug: CaptureFilter::EnumPins
[015b5998] dshow demux debug: CapturePin::QueryDirection
[015b5998] dshow demux debug: CaptureFilter::EnumPins
[015b5998] dshow demux debug: CapturePin::QueryDirection
[015b5998] dshow demux debug: CapturePin::ConnectedTo [OK]
[015b5998] dshow demux debug: CaptureFilter::EnumPins
[015b5998] dshow demux debug: CapturePin::QueryPinInfo
[015b5998] dshow demux debug: CaptureFilter::EnumPins
[015b5998] dshow demux debug: CapturePin::QueryDirection
[015b5998] dshow demux debug: CaptureFilter::EnumPins
[015b5998] dshow demux debug: CapturePin::QueryDirection
[015b5998] dshow demux debug: CapturePin::QueryPinInfo
[015b5998] dshow demux debug: CaptureFilter::EnumPins
[015b5998] dshow demux debug: CapturePin::QueryDirection
[015b5998] dshow demux debug: CapturePin::QueryPinInfo
[015b5998] dshow demux debug: CaptureFilter::EnumPins
[015b5998] dshow demux debug: CapturePin::QueryDirection
[015b5998] dshow demux debug: CaptureFilter::EnumPins
[015b5998] dshow demux debug: CapturePin::QueryDirection
[015b5998] dshow demux debug: CapturePin::ConnectedTo [OK]
[015b5998] dshow demux debug: CaptureFilter::EnumPins
[015b5998] dshow demux debug: CaptureFilter::EnumPins
[015b5998] dshow demux debug: CapturePin::QueryDirection
[015b5998] dshow demux debug: CapturePin::QueryPinInfo
[015b5998] dshow demux debug: CapturePin::ConnectedTo [OK]
[015b5998] dshow demux debug: CaptureFilter::EnumPins
[015b5998] dshow demux debug: CapturePin::QueryDirection
[015b5998] dshow demux debug: CapturePin::QueryPinInfo
[015b5998] dshow demux debug: CapturePin::ConnectedTo [OK]
[015b5998] dshow demux debug: CaptureFilter::EnumPins
[015b5998] dshow demux debug: CaptureFilter::EnumPins
[015b5998] dshow demux debug: CaptureFilter::EnumPins
[015b5998] dshow demux debug: CapturePin::QueryDirection
[015b5998] dshow demux debug: CapturePin::QueryPinInfo
[015b5998] dshow demux debug: CapturePin::ConnectedTo [OK]
[015b5998] dshow demux debug: CaptureFilter::EnumPins
[015b5998] dshow demux debug: CapturePin::QueryDirection
[015b5998] dshow demux debug: CapturePin::QueryPinInfo
[015b5998] dshow demux debug: CapturePin::ConnectedTo [OK]
[015b5998] dshow demux debug: CaptureFilter::EnumPins
[015b5998] dshow demux debug: CaptureFilter::EnumPins
[015b5998] dshow demux debug: CapturePin::QueryDirection
[015b5998] dshow demux debug: CapturePin::QueryPinInfo
[015b5998] dshow demux debug: CapturePin::ConnectedTo [OK]
[015b5998] dshow demux debug: CaptureFilter::EnumPins
[015b5998] dshow demux debug: CapturePin::QueryDirection
[015b5998] dshow demux debug: CapturePin::QueryPinInfo
[015b5998] dshow demux debug: CapturePin::ConnectedTo [OK]
[015b5998] dshow demux debug: CaptureFilter::EnumPins
[015b5998] dshow demux debug: CaptureFilter::EnumPins
[015b5998] dshow demux debug: CaptureFilter::EnumPins
[015b5998] dshow demux debug: found existing route for output 0 (type Video Deco
der) to input 2 (type Video Composite)
[015b5998] dshow demux debug: crossbar at depth 0, found route for output 0 (typ
e Video Decoder) to input 2 (type Video Composite)
[015b5998] dshow demux debug: ConnectFilters: graph_builder2 available.
[015b5998] dshow demux debug: filters connected successfully !
[015b5998] dshow demux debug: MEDIATYPE_Video
[015b5998] dshow demux debug: selected video pin accepts format: YUY2
[015b5998] dshow demux debug: skipping audio device
[015b5998] dshow demux debug: crossbar at depth 0, routed video output 0 to vide
o input 2
[015b5998] dshow demux debug: crossbar at depth 0, routed audio output 1 to audi
o input 5
[015b5998] dshow demux debug: Playing...
[015b5998] dshow demux debug: CaptureFilter::SetSyncSource
[015b5998] dshow demux debug: CaptureFilter::Pause
[015b5998] dshow demux debug: CaptureFilter::Run
[015d4cb0] main input debug: selecting program id=0
[015b5998] main demux debug: using access_demux module "dshow"
[015b5998] main demux debug: TIMER module_need() : 822.736 ms - Total 822.736 ms
/ 1 intvls (Avg 822.736 ms)
[01603868] main decoder debug: looking for packetizer module: 21 candidates
[01603868] main decoder debug: using packetizer module "rawvideo"
[01603868] main decoder debug: TIMER module_need() : 3.888 ms - Total 3.888 ms /
1 intvls (Avg 3.888 ms)
[01603868] main decoder debug: thread (decoder) created at priority 0 (../.././s
rc/input/decoder.c:301)
[01603868] main decoder debug: thread started
[015d4cb0] main input debug: starting in async mode
[015b1c78] main demux meta debug: looking for meta reader module: 2 candidates
[015b1c78] lua demux meta debug: Trying Lua scripts in C:\Users\Administrator\Ap
pData\Roaming\vlc\lua\meta\reader
[015b1c78] lua demux meta debug: Trying Lua scripts in C:\Program Files\VideoLAN
\VLC\lua\meta\reader
[015b1c78] lua demux meta debug: Trying Lua playlist script C:\Program Files\Vid
eoLAN\VLC\lua\meta\reader\filename.lua
[015b1c78] main demux meta debug: no meta reader module matching "any" could be
loaded
[015b1c78] main demux meta debug: TIMER module_need() : 17.466 ms - Total 17.466
ms / 1 intvls (Avg 17.466 ms)
[015d4cb0] main input debug: `dshow://' successfully opened
[015d4cb0] main input debug: Buffering 0%
[015d4cb0] main input debug: switching to sync mode
[01616460] main stream output debug: adding a new sout input (sout_input:01634c5
0)
[0163aa38] main decoder debug: looking for decoder module: 34 candidates
[0163aa38] main decoder debug: using decoder module "rawvideo"
[0163aa38] main decoder debug: TIMER module_need() : 18.150 ms - Total 18.150 ms
/ 1 intvls (Avg 18.150 ms)
[0163aa38] main decoder debug: thread started
[0163aa38] main decoder debug: thread (decoder) created at priority 0 (../.././s
rc/input/decoder.c:301)
[015d4cb0] main input debug: Buffering 16%
[015d4cb0] main input debug: Buffering 32%
[015d4cb0] main input debug: Buffering 52%
[015d4cb0] main input debug: Buffering 68%
[015d4cb0] main input debug: Buffering 85%
[015d4cb0] main input debug: Stream buffering done (200 ms in 201 ms)
[015d4cb0] main input debug: Decoder buffering done in 0 ms
[015d4cb0] main input debug: no usable vout present, spawning one
[0163f258] main spu text debug: looking for text renderer module: 2 candidates
[0163f258] freetype spu text debug: Building font databases.
[0163f258] freetype spu text debug: Took 2746 microseconds
[0163f258] freetype spu text debug: Using Arial as font from file C:/Windows/fon
ts/arial.ttf
[0163f258] freetype spu text debug: using fontsize: 2
[0163f258] main spu text debug: using text renderer module "freetype"
[0163f258] main spu text debug: TIMER module_need() : 35.189 ms - Total 35.189 m
s / 1 intvls (Avg 35.189 ms)
[016340c8] main scale debug: looking for video filter2 module: 18 candidates
[016340c8] swscale scale debug: 32x32 chroma: YUVA -> 16x16 chroma: YUVA with sc
aling using Bicubic (good quality)
[016340c8] main scale debug: using video filter2 module "swscale"
[016340c8] main scale debug: TIMER module_need() : 14.482 ms - Total 14.482 ms /
1 intvls (Avg 14.482 ms)
[053f7eb8] main scale debug: looking for video filter2 module: 18 candidates
[053f7eb8] yuvp scale debug: YUVP to YUVA converter
[053f7eb8] main scale debug: using video filter2 module "yuvp"
[053f7eb8] main scale debug: TIMER module_need() : 15.484 ms - Total 15.484 ms /
1 intvls (Avg 15.484 ms)
[053820b8] main video output debug: new aspect-ratio 23040:12960, sample aspect-
ratio 32:27
[053820b8] main video output debug: window size: 480x270
[053820b8] main video output debug: cropping picture 720x480 to 0,0,720x480
[053820b8] main video output debug: window size: 480x270
[053820b8] main video output debug: Deinterlacing available
[053820b8] main video output debug: deinterlace 1, mode blend, is_needed 0
[053820b8] main video output debug: looking for video filter module: 1 candidate

[053820b8] deinterlace video output debug: using blend deinterlace method
[053820b8] main video output debug: using video filter module "deinterlace"
[053820b8] main video output debug: TIMER module_need() : 7.121 ms - Total 7.121
ms / 1 intvls (Avg 7.121 ms)
[053820b8] main video output debug: removing module "deinterlace"
[053820b8] main video output error: video output creation failed
[0163f258] main spu text debug: removing module "freetype"
[053f7eb8] main scale debug: removing module "yuvp"
[016340c8] main scale debug: removing module "swscale"
[015d4cb0] main input debug: control type=14
[0163aa38] main decoder error: failed to create video output
[0163aa38] main decoder warning: can't get output picture
[01603868] main decoder debug: thread times: real 0m0.580078s, kernel 0m0.015625
s, user 0m0.000000s
[01603868] main decoder debug: removing module "rawvideo"
[01603868] main decoder debug: killing decoder fourcc `YUY2', 0 PES in FIFO
[01616460] main stream output debug: removing a sout input (sout_input:01634c50)

[0163aa38] main decoder debug: thread times: real 0m0.341796s, kernel 0m0.015625
s, user 0m0.031250s
[0163aa38] main decoder debug: removing module "rawvideo"
[0163aa38] main decoder debug: killing decoder fourcc `YUY2', 0 PES in FIFO
[0163be48] main decoder debug: looking for packetizer module: 21 candidates
[0163be48] main decoder debug: using packetizer module "rawvideo"
[0163be48] main decoder debug: TIMER module_need() : 3.630 ms - Total 3.630 ms /
1 intvls (Avg 3.630 ms)
[0163be48] main decoder debug: thread (decoder) created at priority 0 (../.././s
rc/input/decoder.c:301)
[0163be48] main decoder debug: thread started
[01616460] main stream output debug: adding a new sout input (sout_input:01634c8
0)
[053acdb0] main decoder debug: looking for decoder module: 34 candidates
[053acdb0] main decoder debug: using decoder module "rawvideo"
[053acdb0] main decoder debug: TIMER module_need() : 3.681 ms - Total 3.681 ms /
1 intvls (Avg 3.681 ms)
[053acdb0] main decoder debug: thread started
[053acdb0] main decoder debug: thread (decoder) created at priority 0 (../.././s
rc/input/decoder.c:301)
[015d4cb0] main input debug: no usable vout present, spawning one
[0538f9c0] main spu text debug: looking for text renderer module: 2 candidates
[0538f9c0] freetype spu text debug: Building font databases.
[0538f9c0] freetype spu text debug: Took 1206 microseconds
[0538f9c0] freetype spu text debug: Using Arial as font from file C:/Windows/fon
ts/arial.ttf
[0538f9c0] freetype spu text debug: using fontsize: 2
[0538f9c0] main spu text debug: using text renderer module "freetype"
[0538f9c0] main spu text debug: TIMER module_need() : 26.384 ms - Total 26.384 m
s / 1 intvls (Avg 26.384 ms)
[0538fce8] main scale debug: looking for video filter2 module: 18 candidates
[0538fce8] swscale scale debug: 32x32 chroma: YUVA -> 16x16 chroma: YUVA with sc
aling using Bicubic (good quality)
[0538fce8] main scale debug: using video filter2 module "swscale"
[0538fce8] main scale debug: TIMER module_need() : 7.375 ms - Total 7.375 ms / 1
intvls (Avg 7.375 ms)
[05390010] main scale debug: looking for video filter2 module: 18 candidates
[05390010] yuvp scale debug: YUVP to YUVA converter
[05390010] main scale debug: using video filter2 module "yuvp"
[05390010] main scale debug: TIMER module_need() : 6.143 ms - Total 6.143 ms / 1
intvls (Avg 6.143 ms)
[053820b8] main video output debug: new aspect-ratio 23040:12960, sample aspect-
ratio 32:27
[053820b8] main video output debug: window size: 480x270
[053820b8] main video output debug: cropping picture 720x480 to 0,0,720x480
[053820b8] main video output debug: window size: 480x270
[053820b8] main video output debug: Deinterlacing available
[053820b8] main video output debug: deinterlace 1, mode blend, is_needed 0
[053820b8] main video output debug: looking for video output module: 1 candidate

[053820b8] vout_wrapper video output debug: Opening vout display wrapper
[01634058] main generic debug: looking for vout display module: 8 candidates
[01634058] direct3d generic debug: creating Vout EventThread
[01634058] direct3d generic debug: DirectXCreateWindow
[01639b00] main window debug: looking for vout window hwnd module: 3 candidates
[01639b00] main window warning: Could not inherit value for var qt4-iface from c
onfig. Invalid Type
[01639b00] qt4 window debug: Qt4 interface not found
[01639b00] main window debug: no vout window hwnd module matching "any" could be
loaded
[01639b00] main window debug: TIMER module_need() : 35.116 ms - Total 35.116 ms
/ 1 intvls (Avg 35.116 ms)
[01634058] direct3d generic debug: created video sub-window
[01634058] direct3d generic debug: Vout EventThread running
[01634058] direct3d generic debug: disabling screen saver
[01634058] direct3d generic warning: trying surface pixel format: YUY2
[01634058] direct3d generic debug: selected surface pixel format is YUY2
[01634058] direct3d generic debug: Direct3D scene created successfully
[01634058] direct3d generic debug: Direct3D device adapter successfully initiali
zed
[01634058] main generic debug: using vout display module "direct3d"
[01634058] main generic debug: TIMER module_need() : 211.520 ms - Total 211.520
ms / 1 intvls (Avg 211.520 ms)
[053820b8] main video output debug: using video output module "vout_wrapper"
[053820b8] main video output debug: TIMER module_need() : 231.066 ms - Total 231
.066 ms / 1 intvls (Avg 231.066 ms)
[053820b8] main video output debug: got 1 direct buffer(s)
[053820b8] main video output debug: pic render sz 720x480, of (0,0), vsz 720x480
, 4cc YUY2, sar 2:3, msk r0x0 g0x0 b0x0
[053820b8] main video output debug: pic in sz 720x480, of (0,0), vsz 720x480, 4c
c YUY2, sar 32:27, msk r0x0 g0x0 b0x0
[053820b8] main video output debug: pic out sz 720x480, of (0,0), vsz 720x480, 4
cc YUY2, sar 2:3, msk r0x0 g0x0 b0x0
[053820b8] main video output debug: direct render, mapping render pictures 0-23
to system pictures 1-24
[01634058] main generic debug: VoutDisplayEvent 'resize' 480x270 window
[0545e0b8] main filter debug: looking for video filter2 module: 1 candidate
[0545e0b8] main filter debug: no video filter2 module matching "deinterlace" cou
ld be loaded
[0545e0b8] main filter debug: TIMER module_need() : 20.384 ms - Total 20.384 ms
/ 1 intvls (Avg 20.384 ms)
[053820b8] main video output error: Failed to create video filter2 'deinterlace'

[053820b8] main video output error: Failed while trying to append 'deinterlace'
to filter chain
[053820b8] main video output error: Video filter chain creation failed
[0538f9c0] freetype spu text debug: using fontsize: 30
[05390338] main blend debug: looking for video blending module: 1 candidate
[05390338] blend blend debug: chroma: YUVA -> YUY2
[05390338] main blend debug: using video blending module "blend"
[05390338] main blend debug: TIMER module_need() : 28.780 ms - Total 28.780 ms /
1 intvls (Avg 28.780 ms)

npadgett
Blank Cone
Blank Cone
Posts: 11
Joined: 02 Jun 2010 23:11

Re: Problem with dshow and deinterlacing

Postby npadgett » 11 Jun 2010 16:28

It appears "--filter-deinterlace-mode=blend" is used for VLC 1.1.0-RC and "--deinterlace-mode=blend" is used for 1.0.5. In addition, "--vout-filter=deinterlace" is required in both cases.

Still doesn't work.

jahmann
New Cone
New Cone
Posts: 4
Joined: 08 Jun 2010 23:55

Re: Problem with dshow and deinterlacing

Postby jahmann » 29 Aug 2010 20:12

I have always the problem

Ratix
New Cone
New Cone
Posts: 3
Joined: 27 May 2010 14:08

Re: Problem with dshow and deinterlacing

Postby Ratix » 29 Aug 2010 20:49

and me too.

andycap
New Cone
New Cone
Posts: 7
Joined: 17 May 2009 01:40

Re: Problem with dshow and deinterlacing

Postby andycap » 14 Sep 2010 14:27

It is a problem with capture card colorspace and colorspace that deinterlacing uses. VLC Deinterlacing does not work with YUY2 colorspace.
I've been waiting for this feature to be added to VLC for over 2-3 years now :(

Maybe someone could ask JohnAD from AVforums or Dscaler forums to give some help? Dscaler works good with almost all colorspaces, but the application itself is not being developed anymore.

Its a shame that directshow module receives so little attention. I guess it's because most of the developers work on linux platform and then port it to win32.

Ratix
New Cone
New Cone
Posts: 3
Joined: 27 May 2010 14:08

Re: Problem with dshow and deinterlacing

Postby Ratix » 14 Sep 2010 15:46

Unfortunately, DScaler doesn't work with Intensity card. I hope a solution will be added to VLC. Until then, I've found KM Player, which can deinterlace YUY2 colorspace.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 25 guests