At 11.02 13/03/2012 +0200, you wrote: >2012/3/13 <[email protected]>: >> Hi to all >> I am attempting to convert in mpeg2 with a bitrate of 30Mbit/sec and with a >> 50Mbit/sec but it seems that the bit rate variation doesn't work. >> >> Here is my routine that gets as input a buffer with my originary coded frame >> (not interlaced), >> decompress and interlace it and recompress using MPEG2 compressor (Hsize and >> VSize are field dimension,this is why the VSize is doubled): >> > >Please provide minimal, but compiling source code of your app that >reproduces the issue. >Besides that, i recommend you to check that you feed in frames with >timestamps in encoder's AVCodecContext.time_base. >Printing pts of frames/packets you produce can help in debugging it. > > >-- >Andrey Utkin >_______________________________________________ >Libav-user mailing list >[email protected] >http://ffmpeg.org/mailman/listinfo/libav-user > > >__________ Informazioni da ESET NOD32 Antivirus, versione del database delle firme digitali 6953 (20120309) __________ > >Il messaggio è stato controllato da ESET NOD32 Antivirus. > >www.nod32.it > > > > Hi Andrey I can't provide compiling code because this routine is part of a complex program. Mainly I start from a Jpeg200 compressed frame (divided in two separately compressed fields), I decompress the two fields, interlace them and give it to the avcodec library for compressing in MPEG2. So I compress 1 frame at a time. Each frame is a I-Mode frame. I don't touch the AVCodecContext.time_base. Should I ? best regards
_______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
