Deinterlace

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
levsh
New Cone
New Cone
Posts: 5
Joined: 16 Mar 2012 18:19

Deinterlace

Postby levsh » 17 Mar 2012 20:30

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? :cry:

vlc ver. 2.0.1
OS Linux.

Rémi Denis-Courmont
Developer
Developer
Posts: 15324
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Deinterlace

Postby Rémi Denis-Courmont » 18 Mar 2012 08:27

Yes of course.

But probably not with the stream output mode.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

levsh
New Cone
New Cone
Posts: 5
Joined: 16 Mar 2012 18:19

Re: Deinterlace

Postby levsh » 18 Mar 2012 15:06

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.

Rémi Denis-Courmont
Developer
Developer
Posts: 15324
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Deinterlace

Postby Rémi Denis-Courmont » 18 Mar 2012 18:06

Ah then maybe deinterlacing does not work with the chroma coming from your camera. I guess it's the evil YUY2...
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

levsh
New Cone
New Cone
Posts: 5
Joined: 16 Mar 2012 18:19

Re: Deinterlace

Postby levsh » 18 Mar 2012 19:03

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 ...

Rémi Denis-Courmont
Developer
Developer
Posts: 15324
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Deinterlace

Postby Rémi Denis-Courmont » 18 Mar 2012 21:41

You should force I420 as the capture chroma: vlc --v4l2-chroma I420 --v4l2-use-libv4l2
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: deka and 59 guests