[MPlayer-users] mermaid.avi: artifacts in mplayer, plays fine in xine

Adam Rice adamrice at ntlworld.com
Thu Feb 19 08:14:38 CET 2004


I've uploaded to incoming the file mermaid.avi. This is the first 10Mb of an
AVI file that plays with artifacts in mplayer (-pre3 and -current) but
perfectly in xine. The chopped version won't play in xine, and has lost sound
in mplayer.

The artifacts are only actually visible right at the very end of the chopped
version. They only seem to effect objects that move down from the top of the
frame. I tried various encoder-bug settings in mplayer but it didn't work.

The effect is as if the codec copies chunks of white pixels from off the top
of the frame and blends them into what's already there.

I can provide more if necessary, but the whole file is 449 large. I have no
way of knowing what it was encoded with, so don't ask.

Here's the output of mplayer -v on the original full version:

MPlayer dev-CVS-040218-05:00-3.3.3 (C) 2000-2004 MPlayer Team

CPU: Advanced Micro Devices Athlon K75 Pluto,Orion 700.3 MHz (Family: 6, Stepping: 2)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx

Reading config file /more/wysiwyg/mplayer/etc/mplayer/mplayer.conf: No such file or directory
Reading config file /home/wysiwyg/.mplayer/config
Reading /home/wysiwyg/.mplayer/codecs.conf: Can't open '/home/wysiwyg/.mplayer/codecs.conf': No such file or directory
Reading /more/wysiwyg/mplayer/etc/mplayer/codecs.conf: Can't open '/more/wysiwyg/mplayer/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
CommandLine: '-v' '(IV) 吉���煬佳 「Mermaid」 Divx5.0.5 .avi'
init_freetype
/usr/share/fonts/truetype/palai.ttf doesn't look like a font description, ignoring
Cannot load font: /usr/share/fonts/truetype/palai.ttf
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Failed to open /dev/rtc: Permission denied (mplayer should be setuid root or /dev/rtc should be readable by the user.)
Using usleep() timing
get_path('input.conf') -> '/home/wysiwyg/.mplayer/input.conf'
Can't open input config file /home/wysiwyg/.mplayer/input.conf: No such file or directory
Can't open input config file /more/wysiwyg/mplayer/etc/mplayer/input.conf: No such file or directory
Falling back on default (hardcoded) input config
get_path('(IV) 吉������佳 「Mermaid」 Divx5.0.5 .avi.conf') -> '/home/wysiwyg/.mplayer/(IV) 吉針���佳 「Mermaid」 Divx5.0.5 .avi.conf'

Playing (IV) 吉釙���佳 「Mermaid」 Divx5.0.5 .avi.
[file] File size is 470222512 bytes
STREAM: [file] (IV) 吉���ㅬ佳 「Mermaid」 Divx5.0.5 .avi
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
AVI file format detected.
list_end=0x4252
======= AVI Header =======
us/frame: 33367  (fps=29.970)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (16) HAS_INDEX
frames  total: 52886   initial: 0
streams: 2
Suggested BufferSize: 0
Size:  640 x 480
==========================
list_end=0x20D4
==> Found video stream: 0
====== STREAM Header =====
Type: vids   FCC: DIVX (58564944)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 30000/1001 = 29.970
Start: 0   Len: 52886
Suggested BufferSize: 921600
Quality 0
Sample size: 0
==========================
found 'bih', 40 bytes of 40
======= VIDEO Format ======
  biSize 40
  biWidth 640
  biHeight 480
  biPlanes 1
  biBitCount 24
  biCompression 808802372='DX50'
  biSizeImage 1843200
===========================
Regenerating keyframe table for DIVX 4 video
list_end=0x4146
==> Found audio stream: 1
====== STREAM Header =====
Type: auds   FCC: U (55)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 12000/1 = 12000.000
Start: 0   Len: 21176352
Suggested BufferSize: 6000
Quality 0
Sample size: 1
==========================
found 'wf', 30 bytes of 18
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 48000
avg byte/sec: 12000
Block align: 1
bits/sample: 0
cbSize: 12
mp3.wID=1
mp3.fdwFlags=0x2
mp3.nBlockSize=288
mp3.nFramesPerBlock=1
mp3.nCodecDelay=1393
===========================
list_end=0x4252
Broken chunk?  chunksize=1434  (id=JUNK)
list_end=0x1BF940A8
Found movie at 0x4800 - 0x1BF940A8
Reading INDEX block, 56416 chunks for 52886 frames (fpos=0x1bf940b0)
AVI index offset: 0x47FC (movi=0x4800 idx0=0x4 idx1=0x388C)
Auto-selected AVI video ID = 0
Auto-selected AVI audio ID = 1
Detected NON-INTERLEAVED AVI file format.
AVI: Searching for audio stream (id:1)
XXX initial  v_pts=0.000  a_pos=0 (0.000)
AVI video size=447197018 (52886) audio size=21176352 (21176352)
VIDEO:  [DX50]  640x480  24bpp  29.970 fps  2027.4 kbps (247.5 kbyte/s)
[V] filefmt:3  fourcc:0x30355844  size:640x480  fps:29.97  ftime:=0.0334
get_path('sub/') -> '/home/wysiwyg/.mplayer/sub/'
get_path('default.sub') -> '/home/wysiwyg/.mplayer/default.sub'
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer.
mp3lib: made decode tables with MMX optimization
mp3lib: using 3DNow!Ex optimized decore!
MP3lib: init layer2&3 finished, tables done
MPEG 1.0, Layer III, 48000 Hz 96 kbit Joint-Stereo, BPF: 288
Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 12000->192000 (96.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
X11 opening display: :0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":0" => local display)
[x11] Detected wm supports NetWM.
[x11] Detected wm supports STAYS_ON_TOP state.
[x11] Current fstype setting honours STAYS_ON_TOP X atoms
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
[libaf] Adding filter dummy
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 and bps = 2
AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int
AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)
ao2: 48000 Hz  2 chans  Signed 16-bit (Little-Endian)
audio_setup: using '/dev/dsp' dsp device
audio_setup: using '/dev/mixer' mixer device
audio_setup: using 'pcm' mixer device
audio_setup: sample format: Signed 16-bit (Little-Endian) (requested: Signed 16-bit (Little-Endian))
audio_setup: using 2 channels (requested: 2)
audio_setup: using 48000 Hz samplerate (requested: 48000)
audio_setup: frags:  32/32  (4096 bytes/frag)  free: 131072
AO: [oss] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 and bps = 2
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 and bps = 2
Starting playback...
[ffmpeg] aspect_ratio: 1.333333
VDec: vo config request - 640 x 480 (preferred csp: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO Config (640x480->640x480,flags=0,'MPlayer',0x32315659)
VO: [xv] 640x480 => 640x480 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: 0x59565955 (UYVY) packed
Xvideo image format: 0x30323449 (I420) planar
using Xvideo port 103 for hw scaling
[xv] dx: 0 dy: 0 dw: 640 dh: 512
*** [vo] Allocating (slices) mp_image_t, 640x480x12bpp YUV planar, 460800 bytes
[mpeg4 @ 0x85de790]frame skip 8t:  0.000    1/  1   0%  0%  0.0% 0 0 0%
*** [vo] Allocating (slices) mp_image_t, 640x480x12bpp YUV planar, 460800 bytes
Unicode font: 1049 glyphs.
[xv] dx: 0 dy: 0 dw: 640 dh: 512
*** [vo] Allocating (slices) mp_image_t, 640x480x12bpp YUV planar, 460800 bytes
Uninit audio filters...-0.024 ct:  0.061  3988/3988  38% 16%  3.7% 275 0 0%
[libaf] Removing filter dummy
uninit audio: mp3lib
uninit video: ffmpeg
DEMUXER: freeing demuxer at 0x85c5138
vo: uninit ...

Exiting... (Quit)


-- 
Adam Rice -- adamrice at ntlworld.com -- Blackburn, Lancashire, England




More information about the MPlayer-users mailing list