[MPlayer-users] horizontal lines in tv capture

D Richard Felker III dalias at aerifal.cx
Fri May 2 18:23:18 CEST 2003


On Fri, May 02, 2003 at 06:34:08AM -0400, Yan Seiner wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]

> I'm getting horizontal lines in TV capture. 
> 
> I'm using mplayer 0.90, built from source, although it identifies itself
> as 0.9rc5.
> 
> [yan at poseidon yan]$ mencoder -v
> Using GNU internationalization
> Original domain: messages
> Original dirname: /usr/share/locale
> Current domain: mplayer
> Current dirname: /usr/local/share/locale
> 
> 
> MEncoder 0.90rc5-3.2 (C) 2000-2003 Arpad Gereoffy (see DOCS)
> 
> CPU: Advanced Micro Devices Athlon 4 PM Palomino/Athlon MP
> Multiprocessor/Athlon XP eXtreme Performance (Family: 6, Stepping: 2)
> Detected cache-line size is 64 bytes
> CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
> 
> My mencoder line:
> 
> mencoder -tv on:driver=v4l:input=1:width=720:height=576:norm=PAL -vop
> scale=320:240,crop=704:560:8:8 -ovc lavc -lavcopts
> vcodec=mpeg4:vbitrate=900:vhq:keyint=100 -oac mp3lame -lameopts
> cbr:mode=3:br=64 -o krtek7.avi
> 
> There are horizontal lines that come and go.  They appear to be
> artifacts of the capture/compression process.
> 
> If I capture at lower resolutions - 320x240 - they don't appear (or at
> least are not noticeable.)
> 
> I've tried -vop pp=hb:a/vb:a/ci,scale=320:240,crop=704:560:8:8 with no
> difference.
> 
> Any ideas?

Yes, it's called interlacing!! I see you have a deinterlacing filter,
but it's at the wrong place. You have to deinterlace before scaling or
it will be totally useless (just make the output look horrible). Try:

-vop scale=320:240,crop=704:560:8:8,pp=ci

Deblocking filters are useless for tv capture, so I removed them too.

Rich



More information about the MPlayer-users mailing list