[mythtv] Ticket #8206 Pseudostreaming for Mythweb

David Whyte david.whyte at gmail.com
Sun Aug 29 23:50:20 UTC 2010


On Sun, Jun 13, 2010 at 6:50 AM, Vitold <vitold.md at vitou.com> wrote:
> Hi Mark,
>
> The patch was done against trunk r25080. I use it with MPEG-PS file
> encoded by an hauppauge pvr-350, one pvr-500, ffmpeg-0.5_p20373
> (SVN-r20373) on gentoo.
>

Hi,

I smoothed your patch to fit with 0.22-fixes.  The code changes were
quite easy to put in, but I did have to make a couple of amendments
including applying ticket 8017 first, which  allows me to seek to
anywhere in the cache more successfully (but note that this is no good
if you are streaming a recording as it is being recorded).

I noted that in stream/handler.pl I needed to modify the regex to
allow for no parameter being passed to the stream_flv.pl script since
the initial load of the recording details page will request the stream
without that parameter.

    elsif ($ENV{'REQUEST_URI'} =~ /\.flv(\?.+)?$/i) {
        require "modules/$Path[0]/stream_flv.pl";
    }

Also, I find that even when providing that parameter value, ffmpeg
doesn't even seem to follow it.  It will always play from the
beginning even in my tests playing from VLC.

I have been unable to get pseudo streaming working though.  I tried
using version 1.1.5 of the player that you provided but the flowplayer
does not even load.  When using 1.1.5, do we need to use a different
version of the flowplayer javascript file, since you didn't seem to
from your patch?  If so, where would I find it?  I also tried with
flowplayer 1.2.4, but that didnt work, possibly due to
incompatibilities with your flowplayer.mythpseudostreaming.swf plugin?

What is the best way to debug when working with changing the version
of flowplayer?  I have hardly ever developed in perl or php and never
in flash!

Anyways, let me know how to help, it would be great to see this hit
mythweb soon.

Regards,
Whytey


More information about the mythtv-dev mailing list