[MPlayer-users] Question about H.263 encoder using mencoder

Weilin Chen cwl0212 at gmail.com
Wed Nov 23 02:53:13 CET 2005


1. I am soory about unclear question. 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...
   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =

2. I try to modify the file ./libavcodec/apiexample.c to encode the
YUV stream
    using H.263 codec, and the sequence format is YUV420P. I check 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
    can be decoded correctly, is't can be use to encode the YVU stream and
    decode the h.263 stream?

2005/11/22, Dominik 'Rathann' Mierzejewski <dominik at rangers.eu.org>:
> On Tuesday, 22 November 2005 at 10:28, Weilin Chen wrote:
> > Dear all:
> >
> > I am study the Mplayer codec to encod the YUV stream by h.263 codec.
> > Is the mencoder can encode that by H.263 codec? how?
>
> Yes. man mplayer /vcodec
>
> > I try some commands to encode the 263 file, but it's doesn't work!
>
> What doesn't work? Please be specific about what you tried and how it
> failed.
>
> R.
>
> --
> MPlayer RPMs maintainer: http://rpm.greysector.net/mplayer/
> "I am Grey. I stand between the candle and the star. We are Grey.
>  We stand between the darkness ... and the light."
>        -- Delenn in Grey Council in Babylon 5:"Babylon Squared"
>
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-users
>




More information about the MPlayer-users mailing list