Page 1 of 1
Deinterlace
Posted: 17 Mar 2012 20:30
by levsh
Hi!
Is it possible to run vlc with deinterlace filter but without transcode and vcodecs? Only raw data and deinterlace. Source tv-tuner, destination display.
Code: Select all
vlc --vout xv v4l2:// :v4l2-vdev="/dev/video0" :v4l2-input=2 --sout' #transcode{vcodec=mp2v,vfilter=deinterlace{deinterlace=yadif}}:duplicate{dst=display}'
this works fine but i don't need transcode.
Help, what is a right cmdline?
vlc ver. 2.0.1
OS Linux.
Re: Deinterlace
Posted: 18 Mar 2012 08:27
by Rémi Denis-Courmont
Yes of course.
But probably not with the stream output mode.
Re: Deinterlace
Posted: 18 Mar 2012 15:06
by levsh
Sorry for my stupid but how without stream output mode? If i make Open Capture Device from GUI and Video->Deinterlace on, i got "Failed to create video filter2 'deinterlace' Failed to add filter 'deinterlace' " and hence image still interacle.
Re: Deinterlace
Posted: 18 Mar 2012 18:06
by Rémi Denis-Courmont
Ah then maybe deinterlacing does not work with the chroma coming from your camera. I guess it's the evil YUY2...
Re: Deinterlace
Posted: 18 Mar 2012 19:03
by levsh
yes
Code: Select all
...
[0x1d16ec8] v4l2 demux debug: device supports chroma YUY2 [4:2:2, packed, YVY2, YUYV]
[0x1d16ec8] v4l2 demux debug: device supports chroma UYVY [4:2:2, packed, UYVY, UYVY]
[0x1d16ec8] v4l2 demux debug: device codec TM60 (A/V + VBI mux packet) not supported
[0x1d16ec8] v4l2 demux debug: found default width and height of 720x576
[0x1d16ec8] v4l2 demux debug: will try to find optimal width and height
[0x1d16ec8] v4l2 demux debug: Found maximum framerate of -1.000000
[0x1d16ec8] v4l2 demux warning: Could not find optimal width and height, falling back to driver default.
[0x1d16ec8] v4l2 demux debug: Driver requires at most 829440 bytes to store a complete image
[0x1d16ec8] v4l2 demux debug: Interlacing setting: sequential top bottom (TODO)
[0x1d16ec8] v4l2 demux debug: added new video es YUY2 720x576
...
Re: Deinterlace
Posted: 18 Mar 2012 21:41
by Rémi Denis-Courmont
You should force I420 as the capture chroma: vlc --v4l2-chroma I420 --v4l2-use-libv4l2