[Libav-user] MPEGTS and pts/dts

RichardP tuxbox.guru at gmail.com
Fri Oct 28 17:47:23 CEST 2011


Hi all,

I am trying to stream video from a stream and am having difficulty with
PTS/DTS ... I just dont know where it is to be set is the simple question.  

I decode a video stream (DVB) and stream only the video and it works
perfectly... when I add the audio I get the errors below and am a bit lost
where things have got lost.

I encode the same AVFrame that was returned by the _decode() function.. is
this incorrect? (the video works) .. the Audio samples are encoded (but I
assume there is no PTS information contained)

Any hints to make this work.. as searching has shown many solutions that I
really don't understand and what needs to be done. 

Best Regards,
Richard  


[mpegts @ 0x24e5c00] Application provided invalid, non monotonically
increasing dts to muxer in stream 0: 475200 >= -9223372036854775808
[ 16:20:48 ] Pts/Dts -> 5640178740/5640178740
[mpegts @ 0x24e5c00] Application provided invalid, non monotonically
increasing dts to muxer in stream 0: 475200 >= -9223372036854775808
[ 16:20:48 ] Pts/Dts -> 5640180900/5640180900
[mpegts @ 0x24e5c00] Application provided invalid, non monotonically
increasing dts to muxer in stream 0: 475200 >= -9223372036854775808


--
View this message in context: http://libav-users.943685.n4.nabble.com/MPEGTS-and-pts-dts-tp3948310p3948310.html
Sent from the libav-users mailing list archive at Nabble.com.


More information about the Libav-user mailing list