[MPlayer-users] Question about H.263 encoder using mencoder
Weilin Chen
cwl0212 at gmail.com
Wed Nov 23 06:11:14 CET 2005
1. I am sorry about the unclearly question before. I try the command
" mencoder ./foreman_cif.yuv -ovc lavc vcodec=h263 -o outfile.263"
the encode file is yvu420 format, and the result 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...
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
it's look like can't decode the yuv file, or somting I loss append to
the command line?
2. I try to modify the file ./libavcodec/apiexample.c to encode the
YUV stream using H.263 codec, and the input sequence format is
YUV420P. I have checked the encoded file header informations, and
those are all correct, but when I try to decode the encoded stream.263
within apiexample function "video_decode_example," it's cannot be
decoded correctly, is't can be use to encode the YVU stream and
decode the h.263 stream correctly?
More information about the MPlayer-users
mailing list