Web content will not stream

For help and support with PS3 Media Server in general
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply.

Re: Web content will not stream

Postby chocolateboy » Sun May 09, 2010 9:01 am

Pimmy wrote:..and SUCCESS.


Cool! :-)
chocolateboy
Project Member
 
Posts: 2577
Joined: Wed Sep 16, 2009 10:05 am

Re: Web content will not stream

Postby smokingmango » Sun May 09, 2010 1:11 pm

Ok i have now gone full circle from where i started...First it was data corrupted...then it was the black screen...now i am back to data is corrupted...
I made sure that MEncoder web was first onthe list in the video web streaming Engines under transocding settings...Here are my files again....

Just for a FYI here is the link i am trying to stream from
http://fb1.fancast.com/rss/95907.xml
Attachments
debug.rar
(21.83 KiB) Downloaded 43 times
smokingmango
 
Posts: 11
Joined: Fri Apr 09, 2010 4:30 am

Re: Web content will not stream

Postby chocolateboy » Sun May 09, 2010 5:23 pm

Now it's using MEncoder instead of PMSEncoder:

Code: Select all
Starting C:\Program Files (x86)\PS3 Media Server\win32\mencoder.exe


This means it's not picking up the mencoder_path setting. As I said before, PMS is probably not using the PMS.conf you posted.
Last edited by chocolateboy on Sun Jan 23, 2011 10:53 am, edited 1 time in total.
chocolateboy
Project Member
 
Posts: 2577
Joined: Wed Sep 16, 2009 10:05 am

Re: Web content will not stream

Postby smokingmango » Sun May 09, 2010 7:38 pm

I went though and searched my whole pc and didnt find another PMS file.....i ran a cleaner on my machine and didnt find anything...Can i delete the pms file and will it recreate a new one?
smokingmango
 
Posts: 11
Joined: Fri Apr 09, 2010 4:30 am

Re: Web content will not stream

Postby chocolateboy » Sun May 09, 2010 7:42 pm

chocolateboy
Project Member
 
Posts: 2577
Joined: Wed Sep 16, 2009 10:05 am

Re: Web content will not stream

Postby smokingmango » Mon May 10, 2010 4:11 am

Ok checking everything out making sure all is good...but still coming up short. I searched my whole machine in every place i could find, even using a search application and could not find another PMS.conf. I guess i shouldve said i am also running PMS 1.20.409. I find it so much better than the others.
Attached is my debug file this time i added a screen shot of my settings as well
The video will load up, and be a black screen then it will come back saying data is corrupted...Not sure what is going on...I searched all over for another pms...woiuld it be b/c i am using beta?
Attachments
debug.rar
(235.02 KiB) Downloaded 52 times
smokingmango
 
Posts: 11
Joined: Fri Apr 09, 2010 4:30 am

Re: Web content will not stream

Postby chocolateboy » Mon May 10, 2010 4:29 am

You're trying to play a web page (HTML):

debug.log wrote:C:\Program Files (x86)\PMSEncoder\pmsencoder.exe http://www.fancast.com/tv/Kitchen-Night ... 232/videos
...
Sorry, this file format is not recognized/supported


Feeds need to be in Media RSS format. That feed isn't.
chocolateboy
Project Member
 
Posts: 2577
Joined: Wed Sep 16, 2009 10:05 am

Re: Web content will not stream

Postby Razzzhead » Mon May 10, 2010 1:49 pm

This is my first post, please excuse any breech of etiquete.
I have Windows XP SP3, Java Version 6 update 20, PS3 slim with latest firmware over 100 Mbit LAN.

I have at last managed to stream web content, but I'm not sure if the system is stable. I had no success with VideoLan Web streaming so I tried the PMSEncoder method which I now have got to work using the following method:-

Upgrade PMS version to 1.20.409.
Latest version of PMSEncoder 0.70.0.21
replace C:\Program Files\PMSEncoder\res\mencoder.exe (which from chocolateboy's package was version Sherpya-SVN-r29851-4.2.5)
with a copy of the one from C:\Program Files\PS3 Media Server\win32\mencoder.exe (which is version Sherpya-SVN-r30369-4.2.5)

I can stream a variety of web content as well as some of the example URLs in chocolateboy's web.conf.

The problem is after changing videostream.Web streams the performance was degraded each time. I realised that the C:\Program Files\PMSEncoder\res\mencoder.exe process was not only remaining in memory soaking up resources, but was also continuing to stream from the internet, soaking up bandwidth. At each change of stream a new mencoder.exe process was invoked, so after changing streams say 5 times, there were 6 instances of mencoder.exe running. I checked that Enhanced multicore support for H264 HD content was not active in case that was the reason. The worrying thing is the mencoder.exe instances and resource / bandwidth use were not killed when exiting PMS - they had to be killed manually from task manager.

I believe the problem may not exist with videofeed.Web feeds as long as the content is allowed to finish, for example:-

Code: Select all
2010-05-09 17:51:00: 960: pmsencoder 0.70 (MSWin32)
2010-05-09 17:51:00: 960: path: C:\PROGRA~1\PMSENC~1\pmsencoder.exe
2010-05-09 17:51:00: 960: argv: http://www.youtube.com/watch?v=Z8jfhx1rwlE&feature=youtube_gdata -prefer-ipv4 -nocache -quiet -oac lavc -of lavf -lavfopts format=dvd -ovc lavc -lavcopts vcodec=mpeg2video:vbitrate=4096:threads=2:acodec=ac3:abitrate=128 -vf harddup -ofps 24000/1001 -o \\.\pipe\mencoder1273441860075
2010-05-09 17:51:00: 960: loading config: C:/PROGRA~1/PMSENC~1/res/pmsencoder.yml
2010-05-09 17:51:00: 960: config file version: 0.70
2010-05-09 17:51:00: 960: setting $context to PMS
2010-05-09 17:51:00: 960: setting $uri to http://www.youtube.com/watch?v=Z8jfhx1rwlE&feature=youtube_gdata
2010-05-09 17:51:00: 960: matched profile: PMS
2010-05-09 17:51:00: 960: removing -quiet
2010-05-09 17:51:00: 960: adding -quiet
2010-05-09 17:51:00: 960: matched profile: Web
2010-05-09 17:51:00: 960: adding -cache 16384
2010-05-09 17:51:00: 960: removing -nocache
2010-05-09 17:51:00: 960: setting -ofps to 25
2010-05-09 17:51:00: 960: setting -vf to harddup
2010-05-09 17:51:00: 960: setting $video_id to Z8jfhx1rwlE
2010-05-09 17:51:00: 960: matched profile: YouTube
2010-05-09 17:51:01: 960: setting $t to vjVQa1PpcFOF_4qSqNGZS7oK8Y2hZJhDPyjj5ziRhqs=
2010-05-09 17:51:02: 960: setting $uri to http://www.youtube.com/get_video?fmt=22&video_id=Z8jfhx1rwlE&t=vjVQa1PpcFOF_4qSqNGZS7oK8Y2hZJhDPyjj5ziRhqs=
2010-05-09 17:51:02: 960: exec: C:/PROGRA~1/PMSENC~1/res/mencoder.exe http://www.youtube.com/get_video?fmt=22&video_id=Z8jfhx1rwlE&t=vjVQa1PpcFOF_4qSqNGZS7oK8Y2hZJhDPyjj5ziRhqs= -prefer-ipv4 -oac lavc -of lavf -lavfopts format=dvd -ovc lavc -lavcopts vcodec=mpeg2video:vbitrate=4096:threads=2:acodec=ac3:abitrate=128 -vf harddup -ofps 25 -o \\.\pipe\mencoder1273441860075 -quiet -cache 16384
2010-05-09 17:56:24: 960: ok

You can see mencoder.exe was invoked at 17:51:02 and the feed finished with "ok" at 17:56:24. I am assuming the current memencoder.exe instance was killed at that point.

In the following videostream.web example, there is no corresponding "ok" at the change of stream so a new instance of mencoder.exe was invoked leaving the previous instance to run:-
Code: Select all
2010-05-09 19:00:31: 1068: pmsencoder 0.70 (MSWin32)
2010-05-09 19:00:31: 1068: path: C:\PROGRA~1\PMSENC~1\pmsencoder.exe
2010-05-09 19:00:31: 1068: argv: http://cctv.ws/7/BBC1 -prefer-ipv4 -nocache -quiet -oac lavc -of lavf -lavfopts format=dvd -ovc lavc -lavcopts vcodec=mpeg2video:vbitrate=4096:threads=2:acodec=ac3:abitrate=128 -vf harddup -ofps 24000/1001 -o \\.\pipe\mencoder1273446030472
2010-05-09 19:00:31: 1068: loading config: C:/PROGRA~1/PMSENC~1/res/pmsencoder.yml
2010-05-09 19:00:31: 1068: config file version: 0.70
2010-05-09 19:00:31: 1068: setting $context to PMS
2010-05-09 19:00:31: 1068: setting $uri to http://cctv.ws/7/BBC1
2010-05-09 19:00:31: 1068: matched profile: PMS
2010-05-09 19:00:31: 1068: removing -quiet
2010-05-09 19:00:31: 1068: adding -quiet
2010-05-09 19:00:31: 1068: matched profile: Web
2010-05-09 19:00:31: 1068: adding -cache 16384
2010-05-09 19:00:31: 1068: removing -nocache
2010-05-09 19:00:31: 1068: setting -ofps to 25
2010-05-09 19:00:31: 1068: setting -vf to harddup
2010-05-09 19:00:31: 1068: exec: C:/PROGRA~1/PMSENC~1/res/mencoder.exe http://cctv.ws/7/BBC1 -prefer-ipv4 -oac lavc -of lavf -lavfopts format=dvd -ovc lavc -lavcopts vcodec=mpeg2video:vbitrate=4096:threads=2:acodec=ac3:abitrate=128 -vf harddup -ofps 25 -o \\.\pipe\mencoder1273446030472 -quiet -cache 16384

      [change stream]

2010-05-09 19:03:17: 5420: pmsencoder 0.70 (MSWin32)
2010-05-09 19:03:17: 5420: path: C:\PROGRA~1\PMSENC~1\pmsencoder.exe
.
.
.


Is there something I'm doing wrong or is this a bug?
Razzzhead
 
Posts: 2
Joined: Mon May 10, 2010 12:08 pm

Re: Web content will not stream

Postby smokingmango » Mon May 10, 2010 1:57 pm

Ok so i need to make this into a RSS....but the only issue i am having is i dont know the file extention of any of the videos... I have tried differant things to find out what the video extention and failing. COul di still use the .xml file and stream the media or do i need the video file extention?
smokingmango
 
Posts: 11
Joined: Fri Apr 09, 2010 4:30 am

Re: Web content will not stream

Postby chocolateboy » Mon May 10, 2010 4:25 pm

Razzzhead wrote:is this a bug?


Yes, it's a bug in PMS. You can vote for this issue if you want it to be fixed, and/or vote for this issue to release the next version of PMSEncoder (which mitigates this issue) from jail.
chocolateboy
Project Member
 
Posts: 2577
Joined: Wed Sep 16, 2009 10:05 am

PreviousNext

Return to General Help and Support

Who is online

Users browsing this forum: Bing [Bot] and 12 guests