[MEncoder-users] asf 2 asf (wmv)?

SZABO Zsolt szazs at mm.bme.hu
Wed Mar 22 17:05:20 CET 2006


I dumpstreamed a wmv from the net:

$ file 20060313.wmv
20060313.wmv: Microsoft ASF

$ mplayer 20060313.wmv
MPlayer dev-CVS-060307-23:29-3.3.5 (C) 2000-2006 MPlayer Team
CPU: Intel Pentium M Dothan (Family: 6, Stepping: 6)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

Playing 20060313.wmv.
ASF file format detected.
VIDEO:  [WMV3]  320x240  24bpp  1000.000 fps    0.0 kbps ( 0.0 kbyte/s)
Clip info:
[...]
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 1 ch, s16le, 48.0 kbit/6.81% (ratio: 6003->88200)
Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg))
==========================================================================
Opening video decoder: [dmo] DMO video codecs
DMO dll supports VO Optimizations 0 1
DMO dll might use previous sample when requested
GetOutput r=0x0   size:230400  align:1
StreamCount r=0x0  1  1
Decoder supports the following formats: YV12 YUY2 UYVY YVYU RGB8 RGB555 
RGB565 RGB24 RGB32
Decoder is capable of YUV output (flags 0x1b)
VDec: vo config request - 320 x 240 (preferred colorspace: Packed YUY2)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 320x240 => 320x240 Planar YV12
Selected video codec: [wmv9dmo] vfm: dmo (Windows Media Video 9 DMO)
==========================================================================

And then I clipped its first 10 minutes:

$ mencoder 20060313.wmv -oac copy -ovc copy -endpos 600 -o new.wmv
[...]

$ file new.wmv
new.wmv: RIFF (little-endian) data, AVI, 320 x 240, >30 fps, video:, 
audio: DivX (mono, 44100 Hz)

$ mplayer new.wmv
MPlayer dev-CVS-060307-23:29-3.3.5 (C) 2000-2006 MPlayer Team
CPU: Intel Pentium M Dothan (Family: 6, Stepping: 6)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

Playing new.wmv.
AVI file format detected.
VIDEO:  [WMV3]  320x240  24bpp  1000.000 fps  283.7 kbps (34.6 kbyte/s)
Clip info:
  Software: MEncoder dev-CVS-060307-23:29-3.3.5
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 1 ch, s16le, 48.0 kbit/6.81% (ratio: 6003->88200)
Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg))
==========================================================================
Opening video decoder: [dmo] DMO video codecs
DMO dll supports VO Optimizations 0 1
DMO dll might use previous sample when requested
GetOutput r=0x0   size:230400  align:1
StreamCount r=0x0  1  1
Decoder supports the following formats: YV12 YUY2 UYVY YVYU RGB8 RGB555 
RGB565 RGB24 RGB32
Decoder is capable of YUV output (flags 0x1b)
VDec: vo config request - 320 x 240 (preferred colorspace: Packed YUY2)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 320x240 => 320x240 Planar YV12
Selected video codec: [wmv9dmo] vfm: dmo (Windows Media Video 9 DMO)
==========================================================================

And it's nice, however, windows mediaplayer does not recognize its 
format...

I have also tried to reencode it in avi container with mpeg4, but its 
quality is much poorer than that of the original wmv file. (There was a 
huge amount of duplicate frames during the encoding, and small blocks are 
noticeable...)

Any hint how to solve this problem?

Zs




More information about the MEncoder-users mailing list