Page 69 of 94

Re: Web content will not stream

PostPosted: Thu Mar 03, 2011 10:36 pm
by marF
chocolateboy wrote:
marF wrote:i downloaded the new win32 shared binaries from http://ffmpeg.arrozcru.org/builds/ and it works with:

Code: Select all
ffplay.exe rtp://@239.35.129.11:10000
ffplay.exe rtp://239.35.129.11:10000


but ... in which format i have to add these in web.conf now?


If they both work, you don't need to change your current WEB.conf entries. Try using a more recent PMS build (i.e. with a more recent ffmpeg): http://www.ps3mediaserver.org/forum/viewtop ... =14&t=8883

If that doesn't work, you'll need to zip/attach the logfiles after trying and failing to play a stream. There is no evidence of either in the logfiles you posted earlier.


Hey chocolateboy,

thx for this info, with the subjunk build it works now, but the video and audio stream is not synchronous. did u have an answer for this problem?

thx in advance

Re: Web content will not stream

PostPosted: Thu Mar 03, 2011 10:51 pm
by chocolateboy
marF wrote:the video and audio stream is not synchronous.


You can try using MEncoder. Save this script in the script directory:

iptv.groovy

Code: Select all
script {
    profile ('IPTV') {
        pattern {
            protocol 'rtp'
        }

        action {
            $TRANSCODER = $MENCODER
        }
    }
}

Re: Web content will not stream

PostPosted: Fri Mar 04, 2011 8:45 am
by marF
where i have to place this script? i only have a standalone jar file of pmsencode. did i have to compile a new version of pmsencoder.jar with the implemented groovy script?

thx

Re: Web content will not stream

PostPosted: Fri Mar 04, 2011 10:12 am
by grolschie
The pmsencoder scripts go in a folder called "pmsencoder" in the PS3 Media Server folder by default. It will need to be created.

Re: Web content will not stream

PostPosted: Fri Mar 04, 2011 10:23 am
by marF
Hey, thanks for this information. ;)

Re: Web content will not stream

PostPosted: Fri Mar 04, 2011 10:44 am
by marF
hmmm this is not the best solution ... it's still unsynchronous ... is it possible to use the vlc plugin of pms? if i use vlc on my pc with the rtp uri the stream looks very good!

marF

Re: Web content will not stream

PostPosted: Fri Mar 04, 2011 10:20 pm
by chocolateboy
PMSEncoder 1.5.4 has been released.

This release fixes a bug in the rtmpdump:// and navix:// protocol handlers.

Re: Web content will not stream

PostPosted: Sat Mar 05, 2011 12:20 am
by grolschie
grolschie wrote:Does anyone else have leftover mplayer.exe and ffmpeg.exe executables running after exit?


No-one else?

Re: Web content will not stream

PostPosted: Sat Mar 05, 2011 4:44 am
by chocolateboy
Problem: How can I access my favourite web video/TV site through PMS?

Solution:

First of all, see:


If they don't solve your problem, follow these steps (in this order):

1. Check/search the Audio and Video streams thread.

2. Check the list of PMS plugins for site-specific plugins.

3. Find an MRSS (Media RSS) feed for the site (i.e. direct video links) and add it to your WEB.conf. Most MRSS feeds will work in PMSEncoder without a script, and many will work (with the FFMpeg Web Video engine) without the PMSEncoder plugin. If you find a new one, please post it in the Audio and Video streams thread.

Advanced:

4. Find a) an RSS feed and b) a (command-line) downloader for the site. If the site has an RSS feed and there's a downloader for it, then something like the following PMSEncoder script will stream all videos from that site:

Code: Select all
script {
    profile ('My Site') {
        pattern {
            domain 'mysite.com'
        }

        action {
            downloader = "/path/to/mysite-downloader --input URI --output DOWNLOADER_OUT"
        }
    }
}


The details are subject to change (and, of course, the options depend on the downloader), but that approach will always work in PMSEncoder, and you can post in this thread for updates if a script no longer works.

Note: PMSEncoder currently has built-in support for the following downloaders (i.e. if they support your site, PMSEncoder supports the site already):

  • youtube-dl (supported sites)
  • get-flash-videos (supported sites)

5. Read the documentation/examples/source of youtube-dl, get-flash-videos, or PMSEncoder and implement support for your favourite site(s) yourself.

Re: Web content will not stream

PostPosted: Sat Mar 05, 2011 7:31 pm
by Twosheds
Chocolateboy,

I'm still trying to get Sopcast to work with PMS using the Channel plugin but it still won't work. The sopcast program fires up briefly and then shuts down after about 5 seconds. I've attached a zip file containing the relevant portion of the debug.log and the full pmsencoder.log. I'd like to draw your attention to. Firstly, in the the penultimate line in pmsencoder.log there is a ',' immediately after the word 'program' as shown below.
Code: Select all
2011-03-05 17:53:06 [INFO|ProcessManager|handleHook|New I/O server worker #1-1]: hook command: [C:\Program, Files\SopCast\sopcast.exe, "sop://broker.sopcast.com:3912/82153, "]

and in the debug.log the penultimate line of the extract that I'm sending you
Code: Select all
[win32\ffmpeg.exe] INFO  17:53:08.234 Stopping process: C:\Program


Sopcast works perfectly if I start Sopcast manually and then tune to it via this entry in my web.conf
Code: Select all
#p2p
videostream.Web,P2P=Sopcast,http://127.0.0.1:8902/stream


Neither of the two strange entries mentioned above appear in the logs when I run it this way.

I'm running PMS SB18,pmsencoder 1.5.4 and channel 054 under Vista.

Hope you can help