i have worked thru the structures AVFormatContext,streams and packets but i
am not completely familiar with pkt->dts and st->cur_dts
i need to know why is that st->cur_dts get larger than pkt->dts and so
compute_pkt_fields2() gives return -1 and the packet doesn't get written no
matter what the st->codec_type is.
i have been working on it quite some time and i could sombody make me
understand and hopefully give me a fix of this issue  

this is where the error generates from

     if(st->cur_dts && st->cur_dts != AV_NOPTS_VALUE && st->cur_dts >=
pkt->dts){
            av_log(s, AV_LOG_ERROR,"st:%d error, non monotone timestamps
%"PRId64" >= %"PRId64"\n",st->index, st->cur_dts, pkt->dts);
        return -1;

and thaats why my frame/pkt doesn't get written thru
av_interleaved_write_frame();

-- 
View this message in context: 
http://n4.nabble.com/DTS-issue-help-plz-tp1587412p1587412.html
Sent from the libav-users mailing list archive at Nabble.com.
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to