On Sun, 2005-11-13 at 20:09 -0600, Mike Klinke wrote: > On Sunday 13 November 2005 19:04, Yuandan Zhang wrote: > > Hi, > > I am looking for ways to convert video file between, for example, > > AVI and WMV or mpeg and WMV? can mplayer/encoder do it? How? > > This may work for you: > > mencoder -oac copy -ovc copy <input-file> -o <output-file> > > > Regards, Mike Klinke This is the error i get [yzhang4@zhangqiang VIDEO]$ mencoder -oac copy -ovc copy garden008.avi -o garden008.wmv MEncoder 1.0pre7try2-4.0.1 (C) 2000-2005 MPlayer Team CPU: Intel (Family: 6, Stepping: 6) Detected cache-line size is 64 bytes CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1 Compiled with runtime CPU detection - WARNING - this is not optimal! To get best performance, recompile MPlayer with --disable-runtime-cpudetection. File not found: 'frameno.avi' Failed to open frameno.avi success: format: 0 data: 0x0 - 0x176944b8 AVI file format detected. AVI: ODML: Building odml index (1 superindexchunks) AVI_NI: No video stream found. ============ Sorry, this file format is not recognized/supported ============= === If this file is an AVI, ASF or MPEG stream, please contact the author! === Cannot open demuxer. Exiting... SIMILAR ERROR AS I play this avi file with mplayer [yzhang4@zhangqiang VIDEO]$ mplayer garden008.avi MPlayer 1.0pre7try2-4.0.1 (C) 2000-2005 MPlayer Team CPU: Intel (Family: 6, Stepping: 6) Detected cache-line size is 64 bytes CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1 Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts. Opening joystick device /dev/input/js0 Can't open joystick device /dev/input/js0 : No such file or directory Can't init input joystick Setting up LIRC support... mplayer: could not connect to socket mplayer: No such file or directory Failed to open LIRC support. You will not be able to use your remote control. Playing garden008.avi. Cache fill: 10.55% (884736 bytes) AVI file format detected. AVI: ODML: Building odml index (1 superindexchunks) AVI_NI: No video stream found. Exiting... (End of file) how to fix? Yuandan