View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 71 posts ] 
Go to page 1, 2, 3, 4, 5  Next

Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Mon Dec 04, 2006 5:28 am 
Offline
Joined: Mon Feb 06, 2006 5:11 pm
Posts: 353
Location: Brisbane, Australia
Hi All,

I'm working on living flash streaming with mythweb. I have used the HOWTO on myth wiki on flash streaming as a starting point, but have managed to get it going without any intermediate FLV file encoding. I'm quite happy with the results, but since my upload speed is only 128kbps i have no desire to continue as the best quality i can achive is 2fps at 176x144. I really like this method as it uses flash within the web browser and not VLC or mediaplayer (apolgies for placing those two in the same sentance).

If anyone is interested in cleaning it up (all i have done is the engine), drop a post and I'll post all i have. If no one posts, i'll plod along and try and present something that is semi respectible.

BigB.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 04, 2006 9:17 am 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
Why not simply post here or on the wiki? Does your solution work on the fly?

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 04, 2006 4:33 pm 
Offline
Joined: Mon Feb 06, 2006 5:11 pm
Posts: 353
Location: Brisbane, Australia
Hi Cesman,

I'm at work at the moment, but i'll post it when i get home. It is a bit messy, but that might motevate me to improve it over time as i get feedback.

It does work on the fly, similar to how VLC does mythstreamtv now. It uses ffserver so should lend itself to 3gp streaming to mobile phones as well.

BigB


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 04, 2006 4:53 pm 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
How is this for motivation? Yesterday I send about 5 or 6 hours trying to get VLC compiled so MythStreamTV would work in the next release. Well, no matter want I did, it failed and failed and failed. So, if you can post details and work to clean things up, I'll be happy to include it in the next release. Perhaps someone will help out....

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 04, 2006 5:06 pm 
Offline
Joined: Mon Feb 06, 2006 5:11 pm
Posts: 353
Location: Brisbane, Australia
I'm on it...

Do you want me to recycle the MythstreamTv pages or incorporate it into the recorded shows list in the TV section?

Either way, i'll post what i currently have asap so you can have a look.

BigB


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 04, 2006 5:12 pm 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
It is your baby, I'll leave that up you. BTW, got a name for the kid?

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 07, 2006 12:08 pm 
Offline
Joined: Thu Oct 13, 2005 9:18 am
Posts: 91
Location: Washington
Did this get posted somewhere? I'm very interested.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 07, 2006 4:25 pm 
Offline
Joined: Mon Feb 06, 2006 5:11 pm
Posts: 353
Location: Brisbane, Australia
Hi Jakep_82,

I'm at work at the moment, but I'll post it as soon as i can, perhaps this weekend.

I might see if i can put it on the knoppmythwiki.

BigB.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 11, 2006 5:04 am 
Offline
Joined: Mon Feb 06, 2006 5:11 pm
Posts: 353
Location: Brisbane, Australia
I have added a howto on getting on-the-fly flashing streaming working in MythWeb.

http://www.knoppmythwiki.org/index.php? ... thWebFlash

Please post you comments here.

BigB.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 13, 2006 5:51 am 
Offline
Joined: Wed Dec 28, 2005 8:35 am
Posts: 18
Is there a flash streaming solution (recorded shows or live tv) that works for R5D1 without having to upgrade? I have tried 2 or 3 and they just end up not working for various reasons. But, the HOWTOs are usually for .20 and not KnoppMyth. I might try to upgrade over Christmas (I want MythArchive also) but if I don't have to, I won't.

Thanks!


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 13, 2006 6:28 am 
Offline
Joined: Mon Feb 06, 2006 5:11 pm
Posts: 353
Location: Brisbane, Australia
Hi,

This should work for the 0.19 version of mythweb. I no longer have this version so i am going off memory so bare with me. The folder structure is a bit different.

The process should still work except with a few file location changes.

[0.20] /var/www/mythweb/modules/tv/tmpl/default/recorded.php
[0.19] /var/www/mythweb/themes/default/tv/recorded.php

[0.20] /var/www/mythweb/modules/tv/tmpl/default/streamrecording.php
[0.19] /var/www/mythweb/themes/default/tv/streamrecording.php

[0.20] /var/www/mythweb/modules/tv/streamrecording.php
[0.19] No equivalent change required.

[0.20] /var/www/mythweb/modules/tv/handler.php
[0.19] No equivalent change required.

If you are willing to try this, please do, and let me know how you go, I'll post the details for 0.19 onto the wiki once we iron out the wrinkles.

BigB

PS. I use DVB and it works on the MPEG files. I also shrink the files to NUV, but i have limited streaming success on these files. Appears to be a limitation with FFMPEG.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 13, 2006 1:30 pm 
Offline
Joined: Wed Dec 28, 2005 8:35 am
Posts: 18
I'll try this tonight.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 13, 2006 9:59 pm 
Offline
Joined: Wed Dec 28, 2005 8:35 am
Posts: 18
This worked with a few changes.

I should have taken better notes but I had to change the path to my header.php in two places to:

Code:
/var/www/mythweb/themes/default/header.php


It was looking in the wrong place. I can find the specific instances that I changed tomorrow but it is anywhere that was looking for that file.

I wasn't real clear on the directions involving ffserver.conf but I just backed up mine and pasted in yours and it worked. This was before I changed the path so I might not have needed to do that much.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 13, 2006 10:23 pm 
Offline
Joined: Mon Feb 06, 2006 5:11 pm
Posts: 353
Location: Brisbane, Australia
Hi Spynotebook,

I remember now. I started out doing this on 0.19, so some of these things are familiar. I know the area you are talking about. When i get some time, i'll add 0.19 specific info to the wiki.

Regarding ffserver.conf, what path change are you talking about? the one mentioned above? That file is a lot smaller when all the comments are removed, but i left them in there for now since there is no easy way to select bit rate.

On a further note, if you want to change the quality, the simplest method is to change the section labeled as <Stream flash_128.swf>, ffserver is not very good at maintaining a constant data rate so you might have to compensate, i have added some other configurations below that one for reference.

I do eventually plan to give the user some selection for this when they start the stream. This will require the config file to be generated on the fly, so will remove the need to modify the one in /etc.

Thanks for the feed back, hope you enjoy it.

BigB.

PS. It wouldn't take too much to apply this to 3GP streaming over 3G. In Australia the cost of this is way too expensive (AU$4 per MB), cool facter aside, would this be a usable feature?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 14, 2006 2:45 pm 
Offline
Joined: Wed Dec 28, 2005 8:35 am
Posts: 18
Sorry to be confusing. The path I changed was the path to the header.php file. It had nothing to do with ffserver.conf. To make the instructions work in .19, I followed the instructions at http://www.knoppmythwiki.org/index.php?page=MythWebFlash with the following changes:

Quote:
[0.20] /var/www/mythweb/modules/tv/tmpl/default/recorded.php
should be
[0.19] /var/www/mythweb/themes/default/tv/recorded.php

[0.20] /var/www/mythweb/modules/tv/tmpl/default/streamrecording.php
should be
[0.19] /var/www/mythweb/themes/default/tv/streamrecording.php


In streamrecording.php, I had to change
Code:
// Print the page header
    require 'modules/_shared/tmpl/default/header.php';


to

Code:
// Print the page header
    require '/var/www/mythweb/themes/default/header.php';


For some reason, I think I changed that two places but I can't remember where. It was pretty obvious from the error message that popped up where the problem was. I'll see if I can reproduce it tonight.

I have my firewall configured wrong, all this worked from home but I was unable to stream my "Beverly Hillbillies" while at work today.

Thanks for the help.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 71 posts ] 
Go to page 1, 2, 3, 4, 5  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 17 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu