Bug Report Mplayer: negative cts, previous timestamps might be wrong

neatnn

New Member
Hi,
I have a problem with playing twitch.tv streams encoded by OBS using mplayer + rtmp. Every 1-5 secs on a terminal appear messages like this: "[flv @ 0x86740a0]negative cts, previous timestamps might be wrong" and audio stops playing for 0.1 sec every 1-5 secs. There are no such problems when streaming using other software (ffsplit, xsplit). No matter what encode settings are set in OBS, the result is the same.

Open Broadcaster Software: OBS_0446a
mplayer: 1.0_rc4_p20110322-r1
rtmp: v2.4

zrzut_ekranu.png
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Re: Mplayer: negative cts, previous timestamps might be wron

There is currently an issue with composition times where they will sometimes be negative -- and I'm not entirely sure how to fix it. Technically negative composition times are supposed to be valid in x264 (at least I think), but some software refuses to parse frames with negative composition times. Some software is fine with it, others are not. I tried to compensate for the negative composition times but it seems it still pops up, especially when there's varying framerate. I'm not entirely sure what to do about it at the moment
 
Top