Hi Geoffry!<br>
<br>
I tried and hacked the &quot;memsize&quot;, but it didn't work. I still get those &quot;deadlock detected&quot; error messages. <br>
<br>
As you requested, I've uploaded the first four megabytes of the 640x480
recording. I hope you don't mind me contacting you off-list, but I
don't want the curious to use up all my bandwidth :).<br>
<br>
Kind regards,<br>
Michael<br><br><div><span class="gmail_quote">On 12/15/05, <b class="gmail_sendername">Geoffrey Hausheer</b> &lt;<a href="mailto:mythtv0368@phracturedblue.com">mythtv0368@phracturedblue.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 12/14/05, Michael Haaswrote:<br>&gt;&nbsp;&nbsp;2005-12-14 21:18:26.525 VID: B #:3 nb: 2 pts: 00:00:00.227 dts:<br>&gt; 00:00:00.227<br>&gt;&nbsp;&nbsp;2005-12-14 21:18:26.526 Id:0 00:00:00.227 V:195 MP2: 199<br>&gt;&nbsp;&nbsp;Deadlock detected.&nbsp;&nbsp;One buffer is full when
<br>&gt;&nbsp;&nbsp;the other is empty!&nbsp;&nbsp;Aborting<br><br>&gt;&nbsp;&nbsp;2005-12-14 21:28:29.207 VID: P #:5 nb: 2 pts: 00:00:00.320 dts:<br>&gt; 00:00:00.200<br>&gt;&nbsp;&nbsp;2005-12-14 21:28:29.207 Id:0 00:00:00.320 V:196 MP2: 199 AC3: 199<br>&gt;&nbsp;&nbsp;Deadlock detected.&nbsp;&nbsp;One buffer is full when
<br>&gt;&nbsp;&nbsp;the other is empty!&nbsp;&nbsp;Aborting<br><br>This makes no sense.&nbsp;&nbsp;the buffers are all empty, so this should never<br>be able to happen.&nbsp;&nbsp;The only case I can think of that would caus ethis<br>is if the video buffer was drastically undersized (there are 2 bypes
<br>of buffers data buffers (contains the encoded frames), and index<br>buffers (contains info about the frame).&nbsp;&nbsp;The deadlock code only<br>checks the index frames, as there should be a 1:1 correspondence<br>between index:data.
<br><br>This could happen if the image resolution was incorrectly detected<br>(which doesn't appear to be the case).&nbsp;&nbsp;you can try the following:&nbsp;&nbsp;on<br>line 381 in mpeg2fix.cpp change the 'memset = ...'&nbsp;&nbsp;line to be:<br>uint32_t memsize = 10000000;
<br>that should give you plenty of bufer for your images.<br><br>I would like to see the stream itself, as I have no idea why it isn't<br>working correctly.&nbsp;&nbsp;Please send me the 640x480 one.&nbsp;&nbsp;The following<br>should work fine:
<br>dd if=1067_20050909201000_20050909215500.nuv of=tmp.mpg bs=1024 count=4096<br><br>that'll generate a 4MB file, which should be plenty to debug the problem.<br>use <a href="http://dropload.com">dropload.com</a> if you don't have a place to store the files on the web.
<br><br>.Geoff<br>_______________________________________________<br>mythtv-dev mailing list<br><a href="mailto:mythtv-dev@mythtv.org">mythtv-dev@mythtv.org</a><br><a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev">
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev</a><br></blockquote></div><br>