Deinterlace not working

About encoding, codec settings, muxers and filter usage
Hoodie_JR
Blank Cone
Blank Cone
Posts: 18
Joined: 08 Jun 2010 04:19

Deinterlace not working

Postby Hoodie_JR » 08 Jun 2010 04:24

I am using a dazzle dvc 100 and trying to stream live HD tv. When I use FME to deinterlace, the video is perfect so I know this can be done.

However, I have tried every one of the deinterlace modes and I am still getting lines in my video while streaming. I will post my command line below:

:sout=#transcode{vfilter=croppadd{cropleft=18,cropright=18,croptop=66,cropbottom=72},vb=1000,width=720,height=480,venc=x264{subme=7,bframes=16},vcodec=h264,deinterlace-mode{linear},deinterlace,acodec=mp3,ab=96,channels=2,threads=4}:duplicate{dst=standard{access=http,mux=asf,dst=localhost:1234}}



I have tried linear, discard, mean, bob, blend, etc all of them. None will remove all the lines like FME does. Can you please help. I am in love with VLC and streaming. I would really like to dump FME but cannot until I get my video deinterlaced. Any help would be greatly appreciated. :geek:

Hoodie_JR
Blank Cone
Blank Cone
Posts: 18
Joined: 08 Jun 2010 04:19

Re: Deinterlace not working

Postby Hoodie_JR » 08 Jun 2010 20:16

Correction. Somehow its working now. I don't how a reboot could fix that unless maybe there was a hung vlc process or something. But I am all good now.

karl_frode
New Cone
New Cone
Posts: 9
Joined: 15 Apr 2010 11:05

Re: Deinterlace not working

Postby karl_frode » 09 Jun 2010 21:42

I have had big problems with deinterlacing. Using 1.05 under windows produces a crash if I turn on deinterlacing module in GUI settings. Using deinterlacing as videofilter works (but not ffmpeg deinterlace)...

So I finally figured of that if I want to use deinterlacing from commandline I have to use vfilter=deinterlace.

But I really would like to have all the deinterlace modes that is available when displaying video for streaming also... Hope somebody will add them soon.

Hoodie_JR
Blank Cone
Blank Cone
Posts: 18
Joined: 08 Jun 2010 04:19

Re: Deinterlace not working

Postby Hoodie_JR » 09 Jun 2010 21:53

All modes are on the Deinterlace wiki. ;)

karl_frode
New Cone
New Cone
Posts: 9
Joined: 15 Apr 2010 11:05

Re: Deinterlace not working

Postby karl_frode » 09 Jun 2010 22:00

Oh? Could you please help point me to the page, I have really tried to find it (:
Is this the page you refer to?: http://wiki.videolan.org/Deinterlace
If so, what command do I use to change mode for transcoding, and not only for applying to display?

Thank you!

Hoodie_JR
Blank Cone
Blank Cone
Posts: 18
Joined: 08 Jun 2010 04:19

Re: Deinterlace not working

Postby Hoodie_JR » 09 Jun 2010 22:03

Take a look at my command line in the first post. Where you see {linear} is the mode. Just change that to the other modes you would like to try. :wink:

deinterlace-mode{linear},deinterlace

karl_frode
New Cone
New Cone
Posts: 9
Joined: 15 Apr 2010 11:05

Re: Deinterlace not working

Postby karl_frode » 09 Jun 2010 22:16

I tried deinterlace-mode= already, but that command didn't work.
But I now tried to change the setting in GUI under video-filters-deinterlace-streaming, and that seems to work great even if I don't specify mode in commandline... (: It would be nice to have it in the command though. Any suggestions?

Hoodie_JR
Blank Cone
Blank Cone
Posts: 18
Joined: 08 Jun 2010 04:19

Re: Deinterlace not working

Postby Hoodie_JR » 09 Jun 2010 23:36

I will test it with ur setting change after 6et time and post back results.

Hoodie_JR
Blank Cone
Blank Cone
Posts: 18
Joined: 08 Jun 2010 04:19

Re: Deinterlace not working

Postby Hoodie_JR » 10 Jun 2010 01:32

It will have to be later tonight before i can test it. having issues on veetle this evening. I will try it because what i did get to see looked better than my stream has ever looked before. but then i changed my crop and then veetle crapped out before i could see any major movement.

karl_frode
New Cone
New Cone
Posts: 9
Joined: 15 Apr 2010 11:05

Re: Deinterlace not working

Postby karl_frode » 10 Jun 2010 10:46

I did some testing and finally found the working commands for having correct deinterlacing method set (:

I need to use these settings to get deinterlacing to work properly: --sout-deinterlace-mode=Linear and vfilter=deinterlace

So final command looks something like:

Code: Select all

vlc.exe --sout-deinterlace-mode=Linear -vvv -I rc dshow:// :dshow-vdev="Decklink Video Capture" :dshow-adev="Decklink Audio Capture" :dshow-caching=1500 :dshow-chroma=UYVY :dshow-fps=25 --sout #transcode{venc=x264{cabac=1,keyint=50,level=3.0,profile=main,bframes=3,me=hex,merange=20,subme=9,vbv-maxrate=800,vbv-bufsize=7000,vbv-init=0.9,qpstep=3,trellis=1}vcodec=x264,vb=1100,scale=1,acodec=mp3,ab=128,channels=2,samplerate=48000,audio-sync,vfilter=deinterlace}:rtp{caching=2000,mux=ts,port=10000,dst=10.0.10.17}

Hoodie_JR
Blank Cone
Blank Cone
Posts: 18
Joined: 08 Jun 2010 04:19

Re: Deinterlace not working

Postby Hoodie_JR » 10 Jun 2010 15:06

This is for Veetle correct? I want to test it this evening. Veetle is not working for me this morning. lags on 596 yet jtv runs perfect on 1596. :(

Hoodie_JR
Blank Cone
Blank Cone
Posts: 18
Joined: 08 Jun 2010 04:19

Re: Deinterlace not working

Postby Hoodie_JR » 11 Jun 2010 20:10

I was incorrect. No matter what I do, I still see interlace lines on my video. As soon as I streamed some sports, they came back. I really need to fix this. I can use VLC or Veetle direct, the lines are the same on high speed video. There HAS to be a way to stop this. FME does it perfectly.

Hoodie_JR
Blank Cone
Blank Cone
Posts: 18
Joined: 08 Jun 2010 04:19

Re: Deinterlace not working

Postby Hoodie_JR » 12 Jun 2010 22:50

I have a hard time believing I am the only one here with a DVC 100 and interlace problems. Someone please help. I posted my command line in thread. It is not working. :(

Hoodie_JR
Blank Cone
Blank Cone
Posts: 18
Joined: 08 Jun 2010 04:19

Re: Deinterlace not working

Postby Hoodie_JR » 14 Jun 2010 16:38

Unbelievable!!!! Used a different app to save the cmd line and it works!!!!! Do not use notepad (and or word wrap) to save the cmd line. Works great now. :roll:


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 21 guests