<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p.MsoAutoSig, li.MsoAutoSig, div.MsoAutoSig
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I&#8217;m running trunk version 20462 on Fedora 8 and have
found something interesting (and frustrating).<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I use a PS3 (software version: 2.70) as a frontend via uPNP.
MythTV is capturing AVC/AAC streams to a TS format which I convert to MP4
(container change only &#8211; no transcode). If I navigate to the recording
file directly via the &#8216;Videos&#8217; branch, it streams and plays
perfectly. I&#8217;d like to make use of the &#8216;Recordings&#8217; uPNP
branch on the MythTV server. Again, I&#8217;m able to navigate and find a specific
recording but, when I try to play it, I get the following in the backend log
(run with &#8211;verbose upnp) and the PS3 responds &#8216;corrupt data&#8217;:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>2009-04-30 20:15:56.026 HTTPRequest::ParseRequest - Header:
transferMode.dlna.org: Streaming<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>2009-04-30 20:15:56.026 MythXML::ProcessRequest:
GetRecording : GET
/Myth/GetRecording?ChanId=1502&amp;StartTime=2009-04-30T17:34:00 HTTP/1.1<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>2009-04-30 20:15:56.029 HTTPRequest::SendResponse( File )
:200 OK -&gt; 192.168.0.111:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>2009-04-30 20:15:56.029 SendResponseFile (
/mnt/media_nfs/mythtv/1502_20090430173400.mp4 )<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>2009-04-30 20:15:56.031
HTTPRequest::TestMimeType(/mnt/media_nfs/mythtv/1502_20090430173400.mp4) - type
is video/mp4<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>2009-04-30 20:15:56.086 ThreadPool:AddWorkerThread -
HTTP_WorkerThread<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>2009-04-30 20:15:56.087 HTTPRequest::ParseRequest - Header:
transferMode.dlna.org: Streaming<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>2009-04-30 20:15:56.088 MythXML::ProcessRequest:
GetRecording : GET
/Myth/GetRecording?ChanId=1502&amp;StartTime=2009-04-30T17:34:00 HTTP/1.1<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>2009-04-30 20:15:56.090 HTTPRequest::SendResponse( File )
:200 OK -&gt; 192.168.0.111:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>2009-04-30 20:15:56.090 SendResponseFile (
/mnt/media_nfs/mythtv/1502_20090430173400.mp4 )<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>2009-04-30 20:15:56.091
HTTPRequest::TestMimeType(/mnt/media_nfs/mythtv/1502_20090430173400.mp4) - type
is video/mp4<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>2009-04-30 20:15:56.130 SendResponseFile(
/mnt/media_nfs/mythtv/1502_20090430173400.mp4 ) Error: 32 [Broken pipe]<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>2009-04-30 20:15:56.130 HttpWorkerThread::ProcessWork
socket(33) - Error returned from SendResponse... Closing connection<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>2009-04-30 20:15:56.131 SendResponseFile(
/mnt/media_nfs/mythtv/1502_20090430173400.mp4 ) Error: 32 [Broken pipe]<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>2009-04-30 20:15:56.131 HttpWorkerThread::ProcessWork
socket(31) - Error returned from SendResponse... Closing connection<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I found another post from a while back with the same issue
that seemed to start with v2.10 of the Sony system software. Is this a bug? If
so, I assume I should be raising a ticket. I was hoping that others might have
a solution before going that route. I happy to post the log from a successful
stream if that will help. Not being a developer myself, it seems odd that
streaming would work from one branch but not from another on the same server!<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Thoughts? <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>