[mythtv-commits] Ticket #2057: [Patch] improves unreliable mythweb stream seeking

MythTV mythtv at cvs.mythtv.org
Sat Jul 15 17:41:48 UTC 2006


#2057: [Patch] improves unreliable mythweb stream seeking
----------------------------------------------+-----------------------------
 Reporter:  adrian.wilkins at spamoff.gmail.com  |       Owner:  xris   
     Type:  patch                             |      Status:  new    
 Priority:  minor                             |   Milestone:  unknown
Component:  mythweb                           |     Version:  head   
 Severity:  medium                            |  
----------------------------------------------+-----------------------------
 The streaming perl handler for requests to the streaming module uses the
 standard buffered seek() and read() functions.

 Requests take dramatically longer to seek the later they are in the stream
 ; after a certain point, seeking breaks and the player (mplayer on Win32)
 returns end-of-file.

 Changing the seek() and read() calls to the unbuffered sysseek() and
 sysread() calls appears to improve this (can seek to end of film and seeks
 take user-constant time as position in stream increases).

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/2057>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list