[MEncoder-users] WMV3 Encoding Issue

Denis Ogun denisogun at googlemail.com
Sun Feb 1 23:01:30 CET 2009


Hi,

I am trying to encode this file:
http://www.megaupload.com/?d=C6N7PS7H

with these parameters:

mencoder C:\lotp.wmv -of lavf -oac faac -faacopts br=256 -ovc x264
-x264encopts
subq=5:frameref=5:bitrate=1600:me=umh:partitions=all:bframes=1:me_range=16:cabac:weightb:deblock
-fps 30 -vf scale=1280:720 -o C:\lotp.mp4

When I try to encode the video, it shows a huge file size of over double the
original. When I try to play it in mplayer I get these errors relating to
the faad decoder:

FAAD: Failed to decode frame: Unable to find ADTS syncword
FAAD: error: Unable to find ADTS syncword, trying to resync!
FAAD: error: Channel coupling not yet implemented, trying to resync!
FAAD: error: Gain control not yet implemented, trying to resync!
FAAD: error: Maximum number of scalefactor bands exceeded, trying to resync!
FAAD: error: Unable to find ADTS syncword, trying to resync!
FAAD: error: Pulse coding not allowed in short blocks, trying to resync!

Here is information about the video:

Playing C:\lotp.wmv.
ASF file format detected.
ID_AUDIO_ID=1
[asfheader] Audio stream found, -aid 1
ID_VIDEO_ID=2
[asfheader] Video stream found, -vid 2
VIDEO:  [WMV3]  720x576  24bpp  1000.000 fps  658.4 kbps (80.4 kbyte/s)
ID_FILENAME=C:\lotp.wmv
ID_DEMUXER=asf
ID_VIDEO_FORMAT=WMV3
ID_VIDEO_BITRATE=658416
ID_VIDEO_WIDTH=720
ID_VIDEO_HEIGHT=576
ID_VIDEO_FPS=1000.000
ID_VIDEO_ASPECT=0.0000
ID_AUDIO_FORMAT=353
ID_AUDIO_BITRATE=0
ID_AUDIO_RATE=0
ID_AUDIO_NCH=0
ID_LENGTH=2020.00
ID_SEEKABLE=1
ID_CHAPTERS=0
==========================================================================
Opening video decoder: [dmo] DMO video codecs
DMO dll supports VO Optimizations 0 1
DMO dll might use previous sample when requested
Decoder supports the following formats: YV12 YUY2 UYVY YVYU RGB8 RGB555
RGB565 R
GB24 RGB32
Decoder is capable of YUV output (flags 0x1b)
VDec: vo config request - 720 x 576 (preferred colorspace: Packed YUY2)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [directx] 720x576 => 720x576 Planar YV12
Selected video codec: [wmv9dmo] vfm: dmo (Windows Media Video 9 DMO)
==========================================================================
ID_VIDEO_CODEC=wmv9dmo
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16002->192000)
ID_AUDIO_BITRATE=128016
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg))
==========================================================================
AO: [dsound] 48000Hz 2ch s16le (2 bytes per sample)
ID_AUDIO_CODEC=ffwmav2
Starting playback...

Thanks

Denis



More information about the MEncoder-users mailing list