On date Monday 2012-10-15 19:43:30 +0530, Chandranath Bhattacharyya encoded: > >> What's going wrong? AVStream::time_base.den = 12800; seems to be wrong > >> data. Other than fixing some compilation errors, I did not modify anything > >> else in examples/demuxing.c. > > - I downloaded the older version (ffmpeg-20121003-git-df82454-win32-*) from > http://ffmpeg.zeranoe.com/builds/. Now AVStream::time_base.den = 25 - > perfect!! > > However, I had to comment out the following lines in write_video_frame > (muxing.c) to get rid of pts (0) < dts (1) error: > if (c->coded_frame->pts != AV_NOPTS_VALUE) > pkt.pts = av_rescale_q(c->coded_frame->pts, > c->time_base, st->time_base); > > In above c->coded_frame->pts was always 0 causing the problem. > > Also, the file I was referring to was example/muxing.c (not demuxing.c). > Sorry for the error.
Should be fixed in latest git (see also trac ticket #1801). _______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
