[mythtv-users] mythweb / flowplayer and flv files updated howto?

Rob Davis rob at davis-family.info
Sun May 29 23:56:09 UTC 2011


On 27/05/11 23:42, Rob Davis wrote:
> On 27/05/11 18:07, Justin Johnson wrote:
>
>> I think your best bet for figuring out why ffmpeg is failing to
>> transcode on the fly is to edit stream_flv.pl and change the piping of
>> std_err from /dev/null to a log file somewhere, then load up a browser
>> and try to stream a recording. Once it fails, open your log file and
>> see what it says.
>>
>> That said, the files in git should work, assuming you've met the
>> dependency on ffmpeg.
>>
>
> It's not getting that far.. Nothing in my log.  Nothing in apache..
>
>
> 192.168.2.10 - mythtv [27/May/2011:23:39:55 -0500] "GET
> /mythweb/tv/recorded HTTP/1.1" 200 69619
> 192.168.2.10 - mythtv [27/May/2011:23:39:59 -0500] "GET
> /mythweb/tv/detail/1613/1306551600 HTTP/1.1" 200 17981
> 192.168.2.10 - - [27/May/2011:23:40:01 -0500] "GET
> /mythweb/js/libs/flowplayer/flowplayer.swf?0.44880617644319676 HTTP/1.1"
> 200 118914
>
> Is the last thing in the apache logs.
>
> I am getting a still picture being displayed in flowplayer, but nothing
> else......
>
> It could be a rule rewrite problem.  I have mythweb sitting in
>
> /var/www/localhost/htdocs/mythweb
>
> I call it with http://oac/mythweb  (local address)..
>
>
>
>
I wonder if I have php setup correctly?  When I downloaded the asx 
stream I get this:

#!/usr/bin/perl -w
#
# This is the perl-based module handler.  It is the counterpart of 
mythweb.php
#
#

# Load some required modules
     use CGI qw/:standard/;
     use DBI;
     use Cwd 'abs_path';
     use File::Basename;

# pwd is / when running under mod_rewrite, so we should chdir to the script
# directory for consistency
     chdir dirname(abs_path($ENV{'SCRIPT_FILENAME'} or $0));

# Don't forget to include the current directory in the search path.
     substr($ENV{'PATH'}, 0, 0) = '.:';

# Create a cgi object;
     our $cgi = new CGI;


Instead of a media file..

Am running Gentoo, and php applications appear to work, but maybe 
something is off?


-- 

Rob Davis


More information about the mythtv-users mailing list