[MPlayer-users] slight corruption with yadif and -loop

Andy Furniss andyqos at ukfsn.org
Wed Feb 23 12:42:58 CET 2011


When running mplayer -loop 5 -vf yadif=0 or 1 on interlaced mpeg2, on 
the second or third loop I am seeing 1 or 2 pix dynamic coloured lines 
at the top and or bottom of the vid.

This happens with -vo x11,gl or xv, full screen or windowed - easier to 
see -fs as wider. Does not happen without yadif.

An example file would be -

ftp://ftp.tek.com/tv/test/streams/Element/MPEG-Video/625/flwr_060.m2v

though the issue is not just limited to those streams - I first saw it 
on some 16/9 576x720 pal .vobs.

I haven't used loop before and was using svn from the 23rd Jan when I 
first noticed the Issue is still there with current svn.

MPlayer SVN-r32954-4.2.3 (C) 2000-2011 MPlayer Team
CPU vendor name: AuthenticAMD  max cpuid level: 5
CPU: AMD Phenom(tm) II X4 965 Processor (Family: 16, Model: 4, Stepping: 3)
extended cpuid-level: 27
extended cache-info: 33587520
Detected cache-line size is 64 bytes
Testing OS support for SSE... yes.
Tests of OS support for SSE passed.
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNowExt: 1 SSE: 1 SSE2: 1 SSSE3: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowExt SSE SSE2 CMOV
get_path('codecs.conf') -> '/home/andy/.mplayer/codecs.conf'
Reading /home/andy/.mplayer/codecs.conf: Can't open 
'/home/andy/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: Can't open 
'/usr/local/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/home/andy/.mplayer/fonts'
Configuration: --extra-cflags=-I/home/andy/Src/Xorg-git/modular/include 
--extra-libs=-L/home/andy/Src/Xorg-git/modular/lib 
--extra-libs-mplayer=-L/home/andy/Src/Xorg-git/modular/lib --enable-xvmc
CommandLine: '-ao' 'alsa' '-v' '-loop' '5' '-vf' 'yadif=0' 
'/mnt/sda8/hdc5/Test-streams/SD/flwr_060.m2v'
Using nanosleep() timing
get_path('input.conf') -> '/home/andy/.mplayer/input.conf'
Can't open input config file /home/andy/.mplayer/input.conf: No such 
file or directory
Can't open input config file /usr/local/etc/mplayer/input.conf: No such 
file or directory
Falling back on default (hardcoded) input config
get_path('flwr_060.m2v.conf') -> '/home/andy/.mplayer/flwr_060.m2v.conf'

Playing /mnt/sda8/hdc5/Test-streams/SD/flwr_060.m2v.
get_path('sub/') -> '/home/andy/.mplayer/sub/'
[file] File size is 11339982 bytes
STREAM: [file] /mnt/sda8/hdc5/Test-streams/SD/flwr_060.m2v
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
LAVF_check: raw MPEG video
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for REAL
Checking for SMJPEG
Searching demuxer type for filename 
/mnt/sda8/hdc5/Test-streams/SD/flwr_060.m2v ext: .m2v
Trying demuxer 2 based on filename extension
sync_mpeg_ps: seems to be MP3 stream...
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
MPEG packet stats: p100: 3  p101: 3 p1B6: 0 p12x: 10 sli: 5 a: 5 b: 5 c: 
0 idr: 0 sps: 0 pps: 0 PES: 0  MP3: 102, synced: 0
MPEG-ES file format detected.
==> Found video stream: 0
Searching for sequence header... OK!
VIDEO:  MPEG2  704x576  (aspect 1)  25.000 fps  6000.0 kbps (750.0 kbyte/s)
[V] filefmt:1  fourcc:0x10000002  size:704x576  fps:25.000  ftime:=0.0400
Load subtitles in /mnt/sda8/hdc5/Test-streams/SD/
get_path('sub/') -> '/home/andy/.mplayer/sub/'
X11 opening display: :0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1920x1080 with depth 24 and 32 bpp (":0" => local 
display)
[x11] Detected wm supports NetWM.
[x11] Detected wm supports FULLSCREEN state.
[x11] Detected wm supports ABOVE state.
[x11] Detected wm supports BELOW state.
[x11] Current fstype setting honours FULLSCREEN ABOVE BELOW X atoms
[VO_XV] Using Xv Adapter #0 (Radeon Textured Video)
[xv common] Drawing no colorkey.
[xv common] Maximum source image dimensions: 8192x8192
Opening video filter: [yadif=0]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
==========================================================================
Audio: no sound
Freeing 0 unused audio chunks.
Starting playback...
[ffmpeg] aspect_ratio: 1.222222
VDec: vo config request - 704 x 576 (preferred colorspace: Planar YV12)
Trying filter chain: yadif vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.22:1 - prescaling to correct movie aspect.
VO Config (704x576->704x576,flags=0,'MPlayer',0x32315659)
REQ: flags=0x437  req=0x0
VO: [xv] 704x576 => 704x576 Planar YV12
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel at goldbach.in-berlin.de> and others
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x30323449 (I420) planar
Xvideo image format: 0x59565955 (UYVY) packed
using Xvideo port 63 for hw scaling
*** [yadif] Allocating mp_image_t, 704x576x12bpp YUV planar, 608256 bytes
*** [yadif] Allocating mp_image_t, 704x576x12bpp YUV planar, 608256 bytes
*** [yadif] Allocating mp_image_t, 704x576x12bpp YUV planar, 608256 bytes
*** [vo] Allocating mp_image_t, 704x576x12bpp YUV planar, 608256 bytes
Unicode font: 5103 glyphs.
Unicode font: 5103 glyphs.
V:  15.0 375/375  3%  8%  0.0% 0 0
ds_fill_buffer: EOF reached (stream: video)
ds_fill_buffer: EOF reached (stream: video)
V:  15.0 375/375  3%  8%  0.0% 0 0
EOF code: 1

Uninit video: ffmpeg
get_path('flwr_060.m2v.conf') -> '/home/andy/.mplayer/flwr_060.m2v.conf'

Playing /mnt/sda8/hdc5/Test-streams/SD/flwr_060.m2v.
get_path('sub/') -> '/home/andy/.mplayer/sub/'
[file] File size is 11339982 bytes
STREAM: [file] /mnt/sda8/hdc5/Test-streams/SD/flwr_060.m2v
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
LAVF_check: raw MPEG video
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for REAL
Checking for SMJPEG
Searching demuxer type for filename 
/mnt/sda8/hdc5/Test-streams/SD/flwr_060.m2v ext: .m2v
Trying demuxer 2 based on filename extension
sync_mpeg_ps: seems to be MP3 stream...
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
MPEG packet stats: p100: 3  p101: 3 p1B6: 0 p12x: 10 sli: 5 a: 5 b: 5 c: 
0 idr: 0 sps: 0 pps: 0 PES: 0  MP3: 102, synced: 0
MPEG-ES file format detected.
==> Found video stream: 0
Searching for sequence header... OK!
VIDEO:  MPEG2  704x576  (aspect 1)  25.000 fps  6000.0 kbps (750.0 kbyte/s)
[V] filefmt:1  fourcc:0x10000002  size:704x576  fps:25.000  ftime:=0.0400
Load subtitles in /mnt/sda8/hdc5/Test-streams/SD/
get_path('sub/') -> '/home/andy/.mplayer/sub/'
[VO_XV] Using Xv Adapter #0 (Radeon Textured Video)
[xv common] Drawing no colorkey.
[xv common] Maximum source image dimensions: 8192x8192
Opening video filter: [yadif=0]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
==========================================================================
Audio: no sound
Freeing 0 unused audio chunks.
Starting playback...
[ffmpeg] aspect_ratio: 1.222222
VDec: vo config request - 704 x 576 (preferred colorspace: Planar YV12)
Trying filter chain: yadif vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.22:1 - prescaling to correct movie aspect.
VO Config (704x576->704x576,flags=0,'MPlayer',0x32315659)
REQ: flags=0x437  req=0x0
VO: [xv] 704x576 => 704x576 Planar YV12
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel at goldbach.in-berlin.de> and others
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x30323449 (I420) planar
Xvideo image format: 0x59565955 (UYVY) packed
using Xvideo port 63 for hw scaling
*** [yadif] Allocating mp_image_t, 704x576x12bpp YUV planar, 608256 bytes
*** [yadif] Allocating mp_image_t, 704x576x12bpp YUV planar, 608256 bytes
*** [yadif] Allocating mp_image_t, 704x576x12bpp YUV planar, 608256 bytes
*** [vo] Allocating mp_image_t, 704x576x12bpp YUV planar, 608256 bytes
Unicode font: 5103 glyphs.
Unicode font: 5103 glyphs.
V:  15.0 375/375  3%  8%  0.0% 0 0
ds_fill_buffer: EOF reached (stream: video)
ds_fill_buffer: EOF reached (stream: video)
V:  15.0 375/375  3%  8%  0.0% 0 0
EOF code: 1






More information about the MPlayer-users mailing list