[mythtv-commits] Ticket #11310: Unable to access large ISOs via mythweb/video

MythTV noreply at mythtv.org
Wed Dec 26 06:59:27 UTC 2012


#11310: Unable to access large ISOs via mythweb/video
--------------------------------------+-------------------------
     Reporter:  antonio.e.russo@…     |      Owner:  kormoc
         Type:  Bug Report - General  |     Status:  new
     Priority:  minor                 |  Milestone:  unknown
    Component:  Plugin - MythWeb      |    Version:  Master Head
     Severity:  medium                |   Keywords:
Ticket locked:  0                     |
--------------------------------------+-------------------------
 With the recent addition of modules/video/stream.php infrastructure, I
 have been unable to use mythweb to access videos (in the form of very
 large .iso or .vob) files. This occurs because PHP runs out of memory
 at the line

 > readfile("http://$Master_Host:$port/Content/GetVideo?Id=".$vid_id);

 I don't program PHP, but I have raised the PHP memory_limit up to 1GB, and
 yet apache still complains about too much memory being used. I'm guessing
 that PHP is trying to pull the full file into memory before passing it out
 over the network. I only have 4GB of RAM on this machine, and some ISOs
 exceed that size (easily 6GB). I don't know anything about what problem is
 being solved with this new stream infrastructure, but wouldn't it be more
 efficient (memory and network-wise, if the master backend is different
 than the mythweb host) to simply redirect to this $Master_Host:$port...
 url?

 Thanks for all the great work!

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/11310>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list