AVStream *st;

printf("Failed to Initialize encoder \n");
        exit (1);  }

        st->codec->width =  800 ;//image->width;
        st->codec->height = 600; //image->height;
        st->codec->time_base.den = 10 ; //FramePerSecond;
        st->codec->time_base.num = 1;
        st->codec->gop_size =50;
        st->codec->mb_decision = 2;
        st->codec->bit_rate = 400000;
        st->codec->me_method = 1;
//      st->codec->max_b_frames = 2;
        st->codec->pix_fmt = STREAM_PIX_FMT;   //Peeyush
//      st->codec->flags |= CODEC_FLAG2_FAST;
//      st->codec->qblur=0.5 ;

        st->codec->global_quality = st->quality = 0 ; //Sanity
        st->codec->qmin = st->codec->qmax = 3 ;



















-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dario
Sent: Thursday, November 06, 2008 3:08 PM
To: Libav* user questions and discussions
Subject: Re: [libav-user] Movement leaves pixel trails on decoded
MPEG4stream

Thanks. Can you please tell me what parameters did you changed in
AVCodecContext?


>I am also facing some blur problem most probably of each start of GOP, but 
>I
>set some AVCodecContext struct parameters now it's less.....But that is for
>Encoding Process. So same u can try for decoding may any other struct,
>Second thing may be communication between doGetNextFrame(I hope this u r
>calling in device source) and ur decode module (some data syncing problem)





ELMA Kurtalj d.o.o. (ELMA Kurtalj ltd.)
Vitezićeva 1a, 10000 Zagreb, Hrvatska (Viteziceva 1a, 10000 Zagreb, Croatia)
Tel: 01/3035555, Faks: 01/3035599 (Tel: ++385-1-3035555, Fax:
++385-1-3035599 )

Www:
www.elma.hr; shop.elma.hr

E-mail:
[EMAIL PROTECTED] ([EMAIL PROTECTED])
[EMAIL PROTECTED] ([EMAIL PROTECTED])
[EMAIL PROTECTED] ([EMAIL PROTECTED])
[EMAIL PROTECTED] ([EMAIL PROTECTED])
[EMAIL PROTECTED] ([EMAIL PROTECTED])
[EMAIL PROTECTED] ([EMAIL PROTECTED])
[EMAIL PROTECTED] ([EMAIL PROTECTED])

_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


No virus found in this incoming message.
Checked by AVG. 
Version: 7.5.549 / Virus Database: 270.8.6 - Release Date: 11/3/2008 12:00
AM
 

No virus found in this outgoing message.
Checked by AVG. 
Version: 7.5.549 / Virus Database: 270.8.6 - Release Date: 11/3/2008 12:00
AM
 

_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to