I have a problem with deinterlacing a Hauppauge HVR-1110 (SAA 7133 chipset) compsosite video with Dshow. Firstly, i select chroma filter as UYVY because with the default I420 chroma filter i get wrong colors. Then i set the resolution to 720x480, because using dshow "device options" doesnt allow me to select anything higher than 320x240 (bug???).
Well, i get the video, everything is nice until there is some action, the video is interlaced and just looks really bad. So i try video-deinterlace-bob, but this just disables the video. I check messages and this is what I saw:
verbosity 0:
Code: Select all
main error: video output creation failed
main error: failed to create video output
Code: Select all
main debug: control type=18
main warning: can't get output picture
main debug: thread times: real 0m8.321475s, kernel 0m0.031200s, user 0m0.078000s
main debug: removing module "rawvideo"
main debug: killing decoder fourcc `UYVY', 0 PES in FIFO
main debug: [0] 0 0
main debug: [1] 0 0
main debug: [2] 0 0
main debug: [3] 4 0
main debug: [4] 0 0
main debug: [5] 0 0
main debug: [6] 0 0
main debug: [7] 2 0
main debug: [8] 4 0
main debug: [9] 0 0
main debug: [10] 0 0
main debug: [11] 0 0
main debug: [12] 0 0
main debug: [13] 0 0
main debug: [14] 0 0
main debug: [15] 4 0
main debug: saving a free vout
main debug: looking for decoder module: 35 candidates
main debug: using decoder module "rawvideo"
main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: thread (decoder) created at priority 0 (../.././src/input/decoder.c:315)
main debug: destroying useless vout
main debug: removing module "swscale"
direct3d debug: Direct3D scene released successfully
direct3d debug: 1 Direct3D pictures released.
qt4 debug: Qt: Entering Fullscreen
main debug: thread started
direct3d debug: DirectXEventThread terminating
direct3d debug: DirectXCloseWindow
direct3d debug: WinProc WM_DESTROY
qt4 debug: releasing video...
qt4 debug: Video is not needed anymore
qt4 debug: Updating the geometry
main debug: removing module "qt4"
main debug: thread ended
main debug: thread times: real 0m8.250471s, kernel 0m0.000000s, user 0m0.000000s
main debug: removing module "direct3d"
main debug: no usable vout present, spawning one
main debug: looking for text renderer module: 2 candidates
freetype debug: using fontsize: 2
main debug: using text renderer module "freetype"
main debug: TIMER module_need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms)
main debug: looking for video filter2 module: 20 candidates
swscale debug: 32x32 chroma: YUVA -> 16x16 chroma: YUVA with scaling using Bicubic (good quality)
main debug: using video filter2 module "swscale"
main debug: TIMER module_need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms)
main debug: looking for video filter2 module: 20 candidates
yuvp debug: YUVP to YUVA converter
main debug: using video filter2 module "yuvp"
main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: window size: 720x540
main debug: looking for video filter module: 1 candidate
deinterlace debug: using bob deinterlace mode
deinterlace debug: using bob deinterlace method
main debug: using video filter module "deinterlace"
main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: Deinterlacing available
main error: video output creation failed
main debug: removing module "deinterlace"
main debug: removing module "freetype"
main debug: removing module "yuvp"
main debug: removing module "swscale"
main error: failed to create video output
main warning: can't get output picture
I also noticed this in the log, when i started the dshow:
Code: Select all
dshow debug: EnumDeviceCaps: input pin accepts chroma: YUY2, width:320, height:240, fps:29.970000
dshow debug: EnumDeviceCaps: input pin media: unsupported format (video YUY2)
dshow debug: EnumDeviceCaps: input pin accepts chroma: UYVY, width:320, height:240, fps:29.970000
dshow debug: EnumDeviceCaps: input pin accepts chroma: UYVY, width:320, height:240, fps:29.970000
dshow debug: EnumDeviceCaps: input pin accepts chroma: RV15, width:320, height:240, fps:29.970000
dshow debug: EnumDeviceCaps: input pin accepts chroma: RV24, width:320, height:240, fps:29.970000
dshow debug: EnumDeviceCaps: input pin accepts chroma: RV32, width:320, height:240, fps:29.970000