Hi, I was using a 2009 version of FFmpeg source code for encoding some movies in x264. Recently I installed a new svn version of FFmpeg (r26402) and I come through problems i didn't have before with the same sample code.
av_interleaved_write_frame() prints [libx264 @ xxx....] non-strictly-monotonic PTS for each frame i try to encode. And time to time av_interleaved_write_frame() return a negative value meaning error while writting frame and crash my code. When the encoding finishes well, i read my video on vlc and i notice its start with a a quality ok and then the quailty goes down. The same sample code was encoding pretty well on the previous version of ffmpeg. Anyone knows what is happening? indications: c->time_base.den = 10; c->time_base.num =1; c->gop_size =12; I don't really know how PTS works i've put 1/fps for the AVPacket pts. Thanks _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
