[MEncoder-users] Converting to WMV..almost there

Mag Gam magawake at gmail.com
Sun Jan 28 02:04:17 CET 2007


Thanks for the quick response....

Here is the info of a WMV that works perfectly (video + audio).
mplayer -identify

MPlayer 1.0rc1-4.1.2 (C) 2000-2006 MPlayer Team
CPU: AMD Athlon(TM) XP 2500+ (Family: 6, Model: 10, Stepping: 0)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE

Playing works.wmv.
ASF file format detected.
ID_AUDIO_ID=1
ID_VIDEO_ID=2
VIDEO:  [WMV2]  480x352  24bpp  23.976 fps    0.0 kbps ( 0.0 kbyte/s)
Clip info:
 name: Internal Cumbustion 2
ID_CLIP_INFO_NAME0=name
ID_CLIP_INFO_VALUE0=Internal Cumbustion 2
ID_CLIP_INFO_N=1
ID_FILENAME=works.wmv
ID_DEMUXER=asf
ID_VIDEO_FORMAT=WMV2
ID_VIDEO_BITRATE=0
ID_VIDEO_WIDTH=480
ID_VIDEO_HEIGHT=352
ID_VIDEO_FPS=23.976
ID_VIDEO_ASPECT=0.0000
ID_AUDIO_FORMAT=353
ID_AUDIO_BITRATE=0
ID_AUDIO_RATE=0
ID_AUDIO_NCH=0
ID_LENGTH=1525.00
vo: couldn't open the X11 display ()!
vo: couldn't open the X11 display ()!
VO XOverlay need a subdriver
==========================================================================
Opening video decoder: [dshow] DirectShow video codecs
Decoder supports the following YUV formats: YUY2 IYUV UYVY YV12 YVYU I420
YVU9
Decoder is capable of YUV output (flags 0x7f)
VDec: vo config request - 480 x 352 (preferred colorspace: Packed YUY2)
[PP] Using codec's postprocessing, max q = 4.
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
SwScaler: using unscaled yuv420p -> bgr24 special converter
VO: [fbdev] 480x352 => 480x352 BGR 24-bit
Can't put VSCREENINFO: Invalid argument
FATAL: Cannot initialize video driver.
VDecoder init failed :(
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:506880  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 - 480 x 352 (preferred colorspace: Packed YUY2)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [fbdev] 480x352 => 480x352 BGR 24-bit
Can't put VSCREENINFO: Invalid argument
FATAL: Cannot initialize video driver.
VDecoder init failed :(
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffwmv2] vfm: ffmpeg (FFmpeg M$ WMV2/WMV8)
==========================================================================
ID_VIDEO_CODEC=ffwmv2
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, s16le, 64.0 kbit/4.54% (ratio: 8005->176400)
ID_AUDIO_BITRATE=64040
ID_AUDIO_RATE=44100
ID_AUDIO_NCH=2
Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg))
==========================================================================
AO: [oss] 44100Hz 2ch s16le (2 bytes per sample)
ID_AUDIO_CODEC=ffwmav2
Starting playback...
VDec: vo config request - 480 x 352 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [fbdev] 480x352 => 480x352 BGR 24-bit
Can't put VSCREENINFO: Invalid argument
FATAL: Cannot initialize video driver.
VDec: vo config request - 480 x 352 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [fbdev] 480x352 => 480x352 BGR 24-bit
Can't put VSCREENINFO: Invalid argument
FATAL: Cannot initialize video driver.

FATAL: Could not initialize video filters (-vf) or video output (-vo).


Does that help?

Also,
mencoder vid1.avi  -of lavf -o AAA.wmv -lavcopts vcodec=wmv2 -ovc lavc
-lavfopts i_certify_that_my_video_stream_does_not_use_b_frames -oac twolame

does not work for Mp3 :-(


On 1/27/07, Guillaume POIRIER <poirierg at gmail.com> wrote:
>
> Hi,
>
> On 1/28/07, Mag Gam <magawake at gmail.com> wrote:
> > Hi All,
> >
> > I am an owner of Xbox360. I managed to stream my Mp3s and WMVs (videos)
> to
> > my 360.
> >
> > I have many .avi movies that I would like to convert to wmv. I been
> using,
> >
> > mencoder vid1.avi  -of lavf -o AAA.wmv -lavcopts vcodec=wmv2 -ovc lavc
> > -lavfopts i_certify_that_my_video_stream_does_not_use_b_frames -nosound
> >
> > The video I can see perfectly. However, I get no audio (since I am using
> > -nosound). What audio would work? Any help will be appreciated.
> >
> > TIA
> > P.S
> >
> > mencoder -ovc help
>
> try with -oac help. A for Audio, V for Video.
>
> I don't know which audio codec plays nicely with wmv, but I'd try mp3 at
> least.
>
> Guillaume
> _______________________________________________
> MEncoder-users mailing list
> MEncoder-users at mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
>



More information about the MEncoder-users mailing list