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

David Whyte david.whyte at gmail.com
Wed Apr 6 03:39:49 UTC 2011

On Wed, Apr 6, 2011 at 12:32 PM, Rob Smith <kormoc at mythtv.org> wrote:
> On Tue, Apr 5, 2011 at 6:43 PM, Chris Pinkham <cpinkham at bc2va.org> wrote:
>> I think there's already a program that does something similar to that,
>> something that keeps outputting the 'tail' end of a file as it grows. :)
>> David, give "tail -f" a try instead of "cat", something like this:
>> tail -f /path/to/some/in/progress/recording.mpg | ffmpeg -the -right -options
> Sadly tail won't stop when the recording is actually done. it'll sit
> there blocking and ffmpeg will sit there awaiting input.

But if my understanding of the perl script is correct, when the client
is no longer connected, the external command (i.e. tail) get
terminated.  So this could work.  Worth testing when I get home
tonight anyhow.

Thanks all,

More information about the mythtv-users mailing list