[MPlayer-users] Problem Encoding from AVI file to AVI

Ko Ko kkl_sg at yahoo.com
Fri Dec 23 06:39:01 CET 2005


Hi,

I am using this encoding command line

mencoder -oac lavc -ovc lavc -lavcopts
vcodec=msmpeg4v2 /root/mcmi5.avi -o /root/preview.avi
-endpos 10

To make a preview of the original avi file. And the
system gives me this

MEncoder 1.0pre7try2-3.3.3 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices Opteron Sledgehammer
(Family: 8, Stepping: 8)
Detected cache-line size is 64 bytes
CPUflags: Type: 8 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1
SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow
3DNowEx SSE SSE2
 
File not found: 'frameno.avi'
Failed to open frameno.avi
success: format: 0  data: 0x0 - 0x5c0000
AVI file format detected.
VIDEO:  [IV50]  320x240  24bpp  15.000 fps  2301.3
kbps (280.9 kbyte/s)
[V] filefmt:3  fourcc:0x30355649  size:320x240 
fps:15.00  ftime:=0.0667
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio
decoder
AUDIO: 22050 Hz, 1 ch, u8, 176.4 kbit/100.00% (ratio:
22050->22050)
Selected audio codec: [pcm] afm:pcm (Uncompressed PCM)
==========================================================================
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1  (-1=autodetect) osd: 1
==========================================================================
Opening video decoder: [dshow] DirectShow video codecs
Decoder supports the following YUV formats: YUY2 IYUV
UYVY YV12 I420
Decoder is capable of YUV output (flags 0x2f)
VDec: vo config request - 320 x 240 (preferred csp:
Packed YUY2)
[PP] Using codec's postprocessing, max q = 4.
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
videocodec: libavcodec (320x240 fourcc=3234504d
[MP42])
Selected video codec: [indeo5ds] vfm:dshow (Intel
Indeo 5)
==========================================================================
[mp2 @ 0x8590280]bitrate 224 is not allowed in mp2
Couldn't open codec mp2, br=224

And it doesn't encode. I am trying out using different
codecs of lavc like ffv1. But I still can't encode the
avi file. These command lines work fine when I encode
MPEG file

The same type of error message in the line when I use
different codec is

File not found: 'frameno.avi'
Failed to open frameno.avi

AND

[mp2 @ 0x8590280]bitrate 224 is not allowed in mp2
Couldn't open codec mp2, br=224

How can I solve this problem?

Thanks in advance.

Regards,
Ko Ko



Reality starts with Dream 



	
		
__________________________________ 
Yahoo! for Good - Make a difference this year. 
http://brand.yahoo.com/cybergivingweek2005/




More information about the MPlayer-users mailing list