<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: Thu, 11 Feb 2010 10:54:01 -0500<br>> From: tterribe@email.unc.edu<br>> CC: theora-dev@xiph.org<br>> <br>> > This resulted in a slight larger file but no discernible difference in<br>> > the movie play length. It's certainly not playing the expected duration.<br>> > What do you think?<br>> <br>> Since you're just compressing the same frame over and over again, what<br>> you're likely getting is a keyframe followed by a bunch of zero-byte<br>> packets, which is Theora's cheap way of saying "keep showing the last<br>> frame". Some (broken) players treat these as semantically different,<br>> however, and will end playback early when they appear at the end of a<br>> stream. I suggest running ogginfo or oggzinfo on the file and see what<br>> it says the real length is. You may also be interested in oggz-validate,<br>> which can confirm that you are writing out all of the pages in the<br>> proper order.<br><br><div><span class="Apple-tab-span" style="white-space:pre">        </span>Thank you for your help! According to oggz-validate, the previously generated ogg file was missing an EOS packet. With the new packet writing loop, there appears to be nothing wrong with these ogg streams, again according to oggz-validate. It looks like you may be right about broken players. When I feed my code actual video frames, the files play at normal speed.</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>However, something is still wrong. My DirectShow filter, ffdshow, can't play these ogg files at all and, instead, show a very short sequence of random colours, crashing most of the time. VLC player can play these files but I'm afraid that's not good enough for my purposes. My ultimate goal is to upload these theora videos to YouTube but they have the same problems as ffdshow.</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>The reason I still think the problem is with my code is that both players and YouTube can play other ogg files not made by my software. Here are two examples:</div><div><br></div><div>http://www.osnews.com/img/19020/qvga.ogg</div><div>http://www.osnews.com/img/19020/720p-theora.ogg</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>I haven't actually uploaded these to YouTube but, in general, people have had success uploading Ogg/Theora video files to YouTube and these play fine with my DirectShow filter...</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>Should my code just work?</div><div><br><div><br></div><div>> By the way, please do not use a constant for the stream serial number.<br>> Multiple streams in the same file must have unique serial numbers, and<br>> if someone later wants to concatenate multiple streams you produce, they<br>> will have to rewrite the stream with a new serial number or (more<br>> likely) will generate an invalid file.<br><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>Can you explain this further please? Can't they simply assign their new stream a number unique to any existing one in the ogg file?</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>Thank you very much...</div><div><br></div><div><br></div></div>
                                           <br /><hr />Not using Hotmail on your phone? Why not? <a href='http://go.microsoft.com/?linkid=9708120' target='_new'>Get it now.</a></body>
</html>