[mythtv-users] Slightly OT: Modify mythweb flash streaming for an in progress recording (Formula 1)

David Whyte david.whyte at gmail.com
Tue Apr 26 06:28:19 UTC 2011

On Thu, Apr 7, 2011 at 8:56 AM, David Whyte <david.whyte at gmail.com> wrote:
> You need to tell tail to suck in the whole file, not just the last n
> lines and this is done using the -c switch.  And then you tell ffmpeg
> to use an input of pipe:0

Okay, I an pretty much finished with my modifications to the flash
streaming.  Basically, on my 0.23-fixes backend (mythbackend version:
branches/release-0-23-fixes [24158]) I applied Trac ticket 8206
(http://code.mythtv.org/trac/ticket/8206) and made some other minor
tweaks to mythweb/modules/stream/stream_flv.pl so that my mythweb will
now allow me to:
1) playback an in progress recording,
2) jump to any portion of the already cached content without reloading,
3) jump to any portion of the recorded file that isn't already cached
and start watching from that point, and
4) somewhat gracefully handles trying to jump beyond the end of the
currently recorded content and allows you to reposition again.

I will try to work out the best way to add my changes to Ticket 8206,
although I don't have the original files to diff against.

I just wished I had looked at doing this with a format that supports
streaming to my android phone, since I can't get flashplayer for my
modded HTC Hero.  Maybe I need to look at HTML5 video.


More information about the mythtv-users mailing list