mencoder problem on h.263 encoder
Dear all: I am new studying on h.263 enocding yuv (foreman_cif.yuv)sequence, and I type the command "mencoder ./foreman_cif.yuv -ovc lavc -lavcopts vcodec=h263 -o out.263," than some error messages as shows below: ------------------------------------------------------------------------------- MEncoder 1.0pre7try2-3.3.4 (C) 2000-2005 MPlayer Team CPU: Intel (Family: 8, Stepping: 1) Detected cache-line size is 64 bytes CPUflags: Type: 8 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1 Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2 File not found: 'frameno.avi' Failed to open frameno.avi success: format: 0 data: 0x0 - 0x2b81800 libavformat file format detected. picture size invalid (0x0) LAVF_header: av_find_stream_info() failed ============ 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... ------------------------------------------------------------------------------- Is the yuv stream cannot be encode by mencoder for h.263 encoding? I try to encode the other file.avi to 263 raw file, and type the command "mencoder free1.avi -ovc lavc -lavcopts vcodec=h263 -o out.263," and the results are showns below: --------------------------------------------------------------------------- MEncoder 1.0pre7try2-3.3.4 (C) 2000-2005 MPlayer Team CPU: Intel (Family: 8, Stepping: 1) Detected cache-line size is 64 bytes CPUflags: Type: 8 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1 Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2 File not found: 'frameno.avi' Failed to open frameno.avi success: format: 0 data: 0x0 - 0x741600 AVI file format detected. AVI_NI: No audio stream found -> no sound. AVI: No audio stream found -> no sound. VIDEO: [] 176x144 24bpp 30.000 fps 18247.7 kbps (2227.5 kbyte/s) [V] filefmt:3 fourcc:0x0 size:176x144 fps:30.00 ftime:=0.0333 Opening video filter: [expand osd=1] Expand: -1 x -1, -1 ; -1 (-1=autodetect) osd: 1 ========================================================================== Opening video decoder: [raw] RAW Uncompressed Video VDec: vo config request - 176 x 144 (preferred csp: BGR 24-bit) Could not find matching colorspace - retrying with -vf scale... Opening video filter: [scale] The selected video_out device is incompatible with this codec. VDecoder init failed :( Opening video decoder: [raw] RAW Uncompressed Video VDec: vo config request - 176 x 144 (preferred csp: BGR 24-bit) Could not find matching colorspace - retrying with -vf scale... Opening video filter: [scale] The selected video_out device is incompatible with this codec. VDecoder init failed :( Opening video decoder: [raw] RAW Uncompressed Video VDec: vo config request - 176 x 144 (preferred csp: BGR 24-bit) Could not find matching colorspace - retrying with -vf scale... Opening video filter: [scale] The selected video_out device is incompatible with this codec. VDecoder init failed :( Opening video decoder: [raw] RAW Uncompressed Video VDec: vo config request - 176 x 144 (preferred csp: BGR 24-bit) Could not find matching colorspace - retrying with -vf scale... Opening video filter: [scale] The selected video_out device is incompatible with this codec. VDecoder init failed :( Opening video decoder: [raw] RAW Uncompressed Video VDec: vo config request - 176 x 144 (preferred csp: BGR 24-bit) Could not find matching colorspace - retrying with -vf scale... Opening video filter: [scale] The selected video_out device is incompatible with this codec. VDecoder init failed :( Opening video decoder: [raw] RAW Uncompressed Video VDec: vo config request - 176 x 144 (preferred csp: BGR 24-bit) Could not find matching colorspace - retrying with -vf scale... Opening video filter: [scale] VDec: using BGR 24-bit as output csp (no 0) Opening video filter: [flip] Movie-Aspect is undefined - no prescaling applied. SwScaler: using unscaled BGR 24-bit -> Planar YV12 special converter videocodec: libavcodec (176x144 fourcc=33363268 [h263]) Selected video codec: [rawbgr24flip] vfm:raw (RAW BGR24) ========================================================================== Writing AVI header... ODML: Aspect information not (yet?) available or unspecified, not writing vprp header. New_Face failed. Maybe the font path is wrong. Please supply the text font file (~/.mplayer/subfont.ttf). subtitle font: load_sub_face failed. ODML: Aspect information not (yet?) available or unspecified, not writing vprp header. Pos: 3.3s 100f (98%) 0fps Trem: 0min 0mb A-V:0.000 [517:0] Flushing video frames Writing AVI index... Fixing AVI header... ODML: Aspect information not (yet?) available or unspecified, not writing vprp header. Video stream: 517.992 kbit/s (64749 bps) size: 215830 bytes 3.333 secs 100 frames -------------------------------------------------------------------------------
participants (1)
-
Weilin