[MPlayer-users] Horizontal lines

kunt1z kunt1z_2 at tiscali.it
Fri Jan 13 20:44:32 CET 2006


Giacomo Comes ha scritto:

>On Fri, Jan 13, 2006 at 08:20:00PM +0100, kunt1z wrote:
>  
>
>>Giacomo Comes ha scritto:
>>
>>    
>>
>>>On Fri, Jan 13, 2006 at 07:50:58PM +0100, kunt1z wrote:
>>>
>>>      
>>>
>>>>Giacomo Comes ha scritto:
>>>>
>>>>        
>>>>
>>>>>On Fri, Jan 13, 2006 at 07:12:14PM +0100, kunt1z wrote:
>>>>>
>>>>>          
>>>>>
>>>>>>Hi guys,
>>>>>>this is my first post in this list. I've got a problem using mplayer: 
>>>>>>when I see video files in full screen, I can see some fastidious 
>>>>>>horizontal lines around the shapes. But, if there is an instance of 
>>>>>>mplayer interrupted, the lines magically disappear!
>>>>>>Here's an example:
>>>>>>
>>>>>>1)
>>>>>>$mplayer test.avi    ===>    lines
>>>>>>
>>>>>>2)
>>>>>>#/etc/init.d/artsd start   ===>   block /dev/dsp
>>>>>>$mplayer test.avi   ===>   mplayer doesn't start because the /dev/dsp 
>>>>>>device is blocked by arts daemon.
>>>>>>Then I open a new shell and close the old one because is blocked by 
>>>>>>mplayer. In the new shell:
>>>>>>#killall artsd   ===>   release /dev/dsp
>>>>>>$mplayer test.avi   ===>   no lines, it also says that the /dev/rtc 
>>>>>>file is blocked (by previous mplayer instance)
>>>>>>If I kill the previous instance of mplayer (the one blocked), when I 
>>>>>>start a video files the lines appears again.
>>>>>>
>>>>>>These horizontal lines appears ALWAYS around shapes in movement when I 
>>>>>>see DVD.
>>>>>>
>>>>>>            
>>>>>>
>>>>>What you see here is the effect of interlaced and/or telecined video.
>>>>>It's absolutely normal and not a mplayer's problem.
>>>>>If you use a deinterlacer filter you should remove the effect.
>>>>>See the option -vf in the man page.
>>>>>
>>>>>          
>>>>>
>>>>Could you tell me a filter to use? Thanx!
>>>>
>>>>        
>>>>
>>>-vf pp=fd
>>>
>>>      
>>>
>>Niet, it doesn't work. Non funziona! But don't you think it's strange 
>>that if there is an interrupted instance of mplayer it works?
>>    
>>
>
>I assume that the difference in the two istances are due to different vo.
>Usually the first instance uses xv and the second x11 because xv is already
>used (check the output).
>If this is the case then using -vo x11 will make mplayer work for
>the first instance too. But this is only a workaround. Really you
>should find a way to use -vo xv (may be with -norct as suggested in
>the other post).
>
>Giacomo
>
>_______________________________________________
>MPlayer-users mailing list
>MPlayer-users at mplayerhq.hu
>http://mplayerhq.hu/mailman/listinfo/mplayer-users
>
>  
>
With the -nortc options nothing changes.
Here's the mplayer output of the first instance:

$ mplayer myfile.avi
MPlayer 1.0pre7try2-3.3.6 (C) 2000-2005 MPlayer Team
CPU: Intel Pentium 4/Xeon/Celeron Foster (Family: 8, Stepping: 7)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2



85 audio & 196 video codecs
Playing myfile.avi.
AVI file format detected.
VIDEO:  [DX50]  672x288  24bpp  25.000 fps  589.0 kbps (71.9 kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 96.0 kbit/6.25% (ratio: 12000->192000)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local 
display)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
Checking audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
AF_pre: 48000Hz/2ch/s16le
alsa-init: 1 soundcard found, using: default
alsa: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little 
Endian
AO: [alsa] 48000Hz 2ch s16le (2 bps)
Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
Starting playback...
VDec: vo config request - 672 x 288 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 2.33:1 - prescaling to correct movie aspect.
VO: [xv] 672x288 => 672x288 Planar YV12
A:  11.5 V:  11.5 A-V: -0.020 ct: -0.039 288/288  6%  0%  0.8% 8 0
[1]+  Stopped                 mplayer myfile.avi  =============> HERE I 
STOPPED THE PROCESS (CTRL + Z)

Here's the output of the second instance of mplayer, opened in a new shell:

$ mplayer myfile.avi
MPlayer 1.0pre7try2-3.3.6 (C) 2000-2005 MPlayer Team
CPU: Intel Pentium 4/Xeon/Celeron Foster (Family: 8, Stepping: 7)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2



85 audio & 196 video codecs
Failed to open /dev/rtc: Device or resource busy (it should be readable 
by the user.)
Playing myfile.avi.
AVI file format detected.
VIDEO:  [DX50]  672x288  24bpp  25.000 fps  589.0 kbps (71.9 kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 96.0 kbit/6.25% (ratio: 12000->192000)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local 
display)
Xv: could not grab port 53
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
Checking audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
AF_pre: 48000Hz/2ch/s16le
alsa-init: 1 soundcard found, using: default
alsa: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little 
Endian
AO: [alsa] 48000Hz 2ch s16le (2 bps)
Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
Starting playback...
VDec: vo config request - 672 x 288 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 2.33:1 - prescaling to correct movie aspect.
VO: [xv] 672x288 => 672x288 Planar YV12
alsa-uninit: pcm closed 0.009 ct: -0.041 172/172  8%  4%  0.6% 12 0




More information about the MPlayer-users mailing list