[mythtv] Ticket #8206 Pseudostreaming for Mythweb

David Whyte david.whyte at gmail.com
Mon Aug 30 01:10:59 UTC 2010

Apologies, I realise this is the dev list and shouldn't get spammed
but I just wanted to close the loop.

It turns out this does work just fine:
1) When I initially downloaded the 3.1.5 version of the swf files from
trac, I didn't download them correctly.  I think I just got the html
page not the raw attachment.

2) Same with the pseudo streaming plugin.

3) I downloaded flowplayer-3.1.4.min.js (which is part of the 3.1.5
download) from the flowplayer website and reference that from

4) stream_flv.pl is working fine with the seeking and calls out to
ffmpeg correctly.  For some reason VLC does not want to work correctly
when I pass it the exact same URL that flowplayer is calling (and
works with).  Oh well!

5) With at least one of my recordings you could not seek in
flowplayer.  It turns out this is because we could not determine the
length of the stream in stream_flv.pl

djwhyte at mythBE1:/myth/shares/exports$ ffmpeg -i
/myth/disk1/recordings/1012_20100829214500.mpg 2>&1 | grep "Duration"
| cut -d ' ' -f 4 | sed s/,//
djwhyte at mythBE1:/myth/shares/exports$ ffmpeg -i
/myth/disk1/recordings/1012_20100829214500.mpg 2>&1 | grep "Duration"
  Duration: N/A, start: 88221.385144, bitrate: N/A

 6) This patch causes flowplayer some serious confusion when you try
and play back a recording that is in progress.  Say for example that I
had just started a recording and as I start playback in flowplayer, I
have 30 seconds of it on disk while the whole recording should go for
about 4 minutes.  The flowplayer control bar correctly shows my
playback progress through the duration of the recording (i.e. ten
seconds in it reads 00:10/04:00) and the slider is in the correct
position (i.e.1/24 along the progress bar).  The progress bar though
indicates that it has a full 4 minutes buffered even when it has
buffered just 30 seconds.  And then you can no longer seek beyond the
30 second mark.  Perhaps we somehow need to update flow players
interpretation of how long the media (content-length) is on the fly,
while playing back.

7) I noticed that while you can jump instantly to anywhere that has
been cached, the cache does get wiped when you jump beyond it and you
are not able to go back to a previously watched portion without
caching it again.  Bummer, but perhaps this could be fixed.

Many thanks, this is a great improvement over what I had.  Shame my
ADSL upload speed is terrible though. :)


More information about the mythtv-dev mailing list