<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
<br><br>> Date: Tue, 23 Feb 2010 20:29:40 -0500<br>> From: tterribe@email.unc.edu<br>> <br>> Id Kong wrote:<br>> > Hello! Have you had a chance to look at this issue? If not, will you<br>> > be able to look into it in the near future? Did or will my sample<br>> > program help in any way?<br>> <br>> I have not... since your problems appear to be with 3rd party software,<br>> they most likely do not support 0-byte packets properly at all. It may<br>> be possible to work around the issue by emitting explicit frames with no<br>> blocks coded (which are about 9 bytes each) in VP3 compatibility mode,<br>> but depending on what you're using SET_DUP_COUNT for, this may be a poor<br>> substitute. I can probably find some time this weekend to confirm my<br>> hypothesis with the help of your program.<br><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>Thank you for your response.</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>I'm using TH_ENCCTL_SET_DUP_COUNT for the purpose I believe it was intended for: simulating variable frame rate video. It turns out that the frame rate of the video I am generating varies (since it's very dynamic and simply generates frames as quickly as it can in real time) so the video moves greatly out of sync with the captured audio, even when the average frame rate matches (sometimes it'll be ahead, other times it'll be behind).</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>While I can sympathize with the frustration of third party software being far out of date with the current specification (few things are more infuriating than incorrect software), the reality is that compatibility is important. It's the only reason why MS Windows still dominates the OS market. It may be worth breaking an older protocol for new gains but if the point of the TH_ENCCTL_SET_VP3_COMPATIBLE setting is to work with older, arguably broken implementations, it makes sense to modify current software to work with these implementations in that mode. In short, I'm saying that your suggested work around is well worth it if it works!</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>If my understanding of TH_ENCCTL_SET_DUP_COUNT is correct and it is cheap to execute (it would have to be or you'd just call <span class="Apple-style-span" style="white-space: nowrap; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; "><span class="Apple-style-span" style="font-size: 10pt; ">th_encode_ycbcr_in() with the same frame) then it should solve my problems. Nine bytes per frame is nothing!</span></span></div><div><span class="Apple-style-span" style="white-space: nowrap; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; "><span class="Apple-style-span" style="font-size: 10pt; "><span class="Apple-tab-span" style="white-space:pre">        </span>Thank you for any help you can offer!</span></span></div><div><br></div>                                            <br /><hr /> <a href='' target='_new'></a></body>
</html>