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 Jan 29, 2012 7:42 am

Fixed in 1.5.12. Thanks again.
chocolateboy
Project Member
 
Posts: 2580
Joined: Wed Sep 16, 2009 10:05 am

Re: Web content will not stream

Postby animefans » Tue Feb 07, 2012 10:59 pm

I tried searching, but maybe I am searching the wrong terms, or not search long enough...

Can pmsencoder stream youtube without transcoding?

I am using shark hunter build 35, but updated pmsencoder to 1.5.12 and channels to 1.56
I am running ps3 media server on a HP Microserver (a tad bit more powerful than atom cpu)
I am streaming it to Seagate FreeAgent Theater Plus (a Realtek device such as Asus OPlay)

Since FreeAgent Theater Plus should play just about any format (rmvb/mkv/mp4/h264/avc/xvid/etc), I am hoping I can just stream youtube (HD if possible) to it without transcoding using pmsencoder

I don't have any external groovy scripts
I put PMS.conf and WEB.conf to profile directory
I had one success with one of the TWiT TV feed (transcoding mind you), so it looks like general setup is OK

However, youtube (thru WEB.conf for channel plugin) never work. It shows Loading..., and then a circle with slash, and dump me back to previous screen

I am not next to my machine now, so can't really provide debug.log and pmsencoder.log right now.

However, is it possible to stream youtube without transcoding?

Thanks!
animefans
 
Posts: 7
Joined: Tue Feb 07, 2012 10:33 pm

Re: Web content will not stream

Postby chocolateboy » Tue Feb 07, 2012 11:06 pm

animefans wrote:Can pmsencoder stream youtube without transcoding?


Short answer: no.

Longer answer.
chocolateboy
Project Member
 
Posts: 2580
Joined: Wed Sep 16, 2009 10:05 am

Re: Web content will not stream

Postby animefans » Wed Feb 08, 2012 12:36 am

chocolateboy wrote:
animefans wrote:Can pmsencoder stream youtube without transcoding?


Short answer: no.

Longer answer.


Thanks for the quick reply chocolateboy
While it's a bummer, still appreciate your work on pmsencoder
animefans
 
Posts: 7
Joined: Tue Feb 07, 2012 10:33 pm

Re: Web content will not stream

Postby animefans » Wed Feb 08, 2012 9:51 am

OK
Here's more information

SharkHunter build 35
pmsencoder 1.5.12
Channels plugin 1.56
Playing Device is Seagate FreeAgent Theater Plus (Realtek player similar to Asus O!Play)

I can stream my own media just fine from PS3MediaPlayer to FAT+
rmvb, mp4/mkv (h264), avi (xvid)

PMS.conf
Code: Select all
thumbnails = true
mencoder_ass = false
folders =Z:\\,Y:\\
hostname =
use_mplayer_for_video_thumbs = false
dvd_isos_thumbnails = true
engines = pmsencoder,tsmuxer,mencoder,mplayeraudio,ffmpegaudio,tsmuxeraudio,vlcvideo,mencoderwebvideo,mplayervideodump,mplayerwebaudio,vlcaudio,ffmpegdvrmsremux
codec_spec_script = container == flv :: -mc 0.1 -noass
mencoder_mux_compatible = true
mencoder_mt = true
mencoder_forcefps = true
tsmuxer_mux_all_audiotracks = true
tsmuxer_forcefps = true
maxvideobuffer = 600
mencoder_disablesubs = false
mencoder_encode = keyint=5:vqscale=2:vqmin=3
mencoder_audiosublangs = und,und
usecache = true
prevents_sleep_mode = true
language = en
gs_plugin.private_dbg = true
audio_thumbnails_method = 1
alternate_thumb_folder =
remote_control = true
audiochannels = 2
channels.debug = true
mencoder_fontconfig = true
mencoder_asZs_defaultstyle = true
mencoder_subcp = ISO-8859-10
hide_transcode_folder = true
mencoder_noass_scale = 2
mencoder_noass_subpos = 10
mencoder_nooutofsync = false
channels.movieinfo = true
dbgpack = extras\\channels\\channel.log,pmsencoder.log,plugins\\jumpy\\jumpy.log
python.path = C:\\Progra~1\\PS3MED~1\\extras\\Python27\\python.exe
image_thumbnails = true
alternativeffmpegpath = C:\\Program Files\\PS3 Media Server-SHB\\win32\\dvrms\\ffmpeg_MPGMUX.exe
channels.path = C:\\Program Files\\PS3 Media Server-SHB\\extras\\channels
pmsencoder.script.directory = C:\\Program Files\\PS3 Media Server-SHB\\scripts
cookie.path = C:\\Program Files\\PS3 Media Server-SHB\\channels\\data\\cookies
channels.subtitles = true
channels.group_folder = false
channels.favorite = true
uuid = ce54af40-ca3d-3216-8bf2-ea4150aecfd4
rtmpdump.path = C:\\Progra~1\\PS3Med~1\\extras\\bin\\rtmpdump.exe
curl.path=C:\\Progra~1\\PS3MED~1\\extras\\bin\\curl.exe
youtube-dl.path=C:\\Progra~1\\PS3MED~1\\extras\\bin\\youtube-dl.exe
perl.path = C:\\Progra~1\\PS3MED~1\\extras\\perl\\bin\\perl.exe
notranscode = rmvb,mp4,mkv,avi,mov


Relevant WEB.conf for youtube
Code: Select all
videofeed.Web,YouTube=http://gdata.youtube.com/feeds/api/standardfeeds/top_rated?client=ytapi-youtube-browse&alt=rss
videofeed.Web,YouTube=http://gdata.youtube.com/feeds/api/standardfeeds/most_recent?client=ytapi-youtube-browse&alt=rss
videofeed.Web,YouTube,PS3=http://www.youtube.com/ut_rss?type=username&arg=PlayStation
videofeed.Web,YouTube,PS3=http://www.youtube.com/ut_rss?type=username&arg=matt9339
videofeed.Web,YouTube,Playlist=http://gdata.youtube.com/feeds/api/playlists/CAD9116C66720FCC?client=ytapi-youtube-browse


I tried to played 1 youtube clip (Adele Someone Like You) by going to
WEB -> YouTube -> Top Rated

Here's debug.log
https://docs.google.com/open?id=0B9nUoJuHEpZMNjNkMmM1YjQtNzQ5Ni00ZDgxLWIxZTAtODVhMzBkYzlkNTIx

Here's pmsencoder.log
Code: Select all
2012-02-08 00:03:40 [INFO|Matcher|loadDefaultScripts|main]: loading built-in scripts
2012-02-08 00:03:40 [INFO|Matcher|doCall|main]: loading built-in script: scripts/BEGIN.groovy
2012-02-08 00:03:41 [INFO|Matcher|propertyMissing|main]: setting global variable: IPAD_USER_AGENT = Mozilla/5.0 (iPad; U; CPU OS 3_2 like Mac OS X; en-us) AppleWebKit/531.21.10 (KHTML, like Gecko) Version/4.0.4 Mobile/7B334b Safari/531.21.10
2012-02-08 00:03:41 [INFO|Matcher|propertyMissing|main]: setting global variable: GET_FLASH_VIDEOS = null
2012-02-08 00:03:41 [INFO|Matcher|propertyMissing|main]: setting global variable: HLS_PLAYER = null
2012-02-08 00:03:41 [INFO|Matcher|propertyMissing|main]: setting global variable: NOTIFY_SEND = null
2012-02-08 00:03:41 [INFO|Matcher|propertyMissing|main]: setting global variable: PERL = C:\Progra~1\PS3MED~1\extras\perl\bin\perl.exe
2012-02-08 00:03:41 [INFO|Matcher|propertyMissing|main]: setting global variable: PPLIVE = null
2012-02-08 00:03:41 [INFO|Matcher|propertyMissing|main]: setting global variable: PPLIVE_URI = http://127.0.0.1:8888
2012-02-08 00:03:41 [INFO|Matcher|propertyMissing|main]: setting global variable: PYTHON = C:\Progra~1\PS3MED~1\extras\Python27\python.exe
2012-02-08 00:03:41 [INFO|Matcher|propertyMissing|main]: setting global variable: RTMPDUMP = C:\Progra~1\PS3Med~1\extras\bin\rtmpdump.exe
2012-02-08 00:03:41 [INFO|Matcher|propertyMissing|main]: setting global variable: SOPCAST = null
2012-02-08 00:03:41 [INFO|Matcher|propertyMissing|main]: setting global variable: SOPCAST_URI = http://127.0.0.1:8902/stream
2012-02-08 00:03:41 [INFO|Matcher|propertyMissing|main]: setting global variable: VLC = null
2012-02-08 00:03:41 [INFO|Matcher|propertyMissing|main]: setting global variable: YOUTUBE_DL = C:\Progra~1\PS3MED~1\extras\bin\youtube-dl.exe
2012-02-08 00:03:41 [INFO|Matcher|propertyMissing|main]: setting global variable: YOUTUBE_DL_MAX_QUALITY = 22
2012-02-08 00:03:41 [INFO|Matcher|doCall|main]: loading built-in script: scripts/INIT.groovy
2012-02-08 00:03:41 [INFO|Matcher|doCall|main]: loading built-in script: scripts/apple_trailers.groovy
2012-02-08 00:03:41 [INFO|Matcher|registerProfile|main]: registering script profile: Apple Trailers
2012-02-08 00:03:41 [INFO|Matcher|doCall|main]: loading built-in script: scripts/bloomberg.groovy
2012-02-08 00:03:41 [INFO|Matcher|registerProfile|main]: registering script profile: Bloomberg TV
2012-02-08 00:03:41 [INFO|Matcher|doCall|main]: loading built-in script: scripts/bloomberg_live.groovy
2012-02-08 00:03:41 [INFO|Matcher|registerProfile|main]: registering script profile: Bloomberg Live
2012-02-08 00:03:41 [INFO|Matcher|doCall|main]: loading built-in script: scripts/eurogamer.groovy
2012-02-08 00:03:42 [INFO|Matcher|registerProfile|main]: registering script profile: Eurogamer
2012-02-08 00:03:42 [INFO|Matcher|doCall|main]: loading built-in script: scripts/gamestar.groovy
2012-02-08 00:03:42 [INFO|Matcher|registerProfile|main]: registering script profile: Gamestar
2012-02-08 00:03:42 [INFO|Matcher|doCall|main]: loading built-in script: scripts/gameswelt.groovy
2012-02-08 00:03:42 [INFO|Matcher|registerProfile|main]: registering script profile: Gameswelt
2012-02-08 00:03:42 [INFO|Matcher|doCall|main]: loading built-in script: scripts/gametrailers.groovy
2012-02-08 00:03:42 [INFO|Matcher|registerProfile|main]: registering script profile: GameTrailers
2012-02-08 00:03:42 [INFO|Matcher|doCall|main]: loading built-in script: scripts/get_flash_videos.groovy
2012-02-08 00:03:42 [INFO|Matcher|registerProfile|main]: registering script profile: Get Flash Videos
2012-02-08 00:03:42 [INFO|Matcher|doCall|main]: loading built-in script: scripts/giantbomb.groovy
2012-02-08 00:03:42 [INFO|Matcher|registerProfile|main]: registering script profile: GiantBomb
2012-02-08 00:03:42 [INFO|Matcher|doCall|main]: loading built-in script: scripts/hls_player.groovy
2012-02-08 00:03:42 [INFO|Matcher|registerProfile|main]: registering script profile: HTTP Live Stream
2012-02-08 00:03:42 [INFO|Matcher|doCall|main]: loading built-in script: scripts/hook.groovy
2012-02-08 00:03:42 [INFO|Matcher|registerProfile|main]: registering script profile: Example Hook
2012-02-08 00:03:42 [INFO|Matcher|doCall|main]: loading built-in script: scripts/icanhascheezburger.groovy
2012-02-08 00:03:42 [INFO|Matcher|registerProfile|main]: registering script profile: I Can Has Cheezburger
2012-02-08 00:03:42 [INFO|Matcher|registerProfile|main]: registering script profile: I Can Has YouTube
2012-02-08 00:03:42 [INFO|Matcher|registerProfile|main]: registering script profile: I Can Has Viddler
2012-02-08 00:03:42 [INFO|Matcher|doCall|main]: loading built-in script: scripts/megaupload.groovy
2012-02-08 00:03:42 [INFO|Matcher|registerProfile|main]: registering script profile: Megavideo
2012-02-08 00:03:42 [INFO|Matcher|doCall|main]: loading built-in script: scripts/movshare.groovy
2012-02-08 00:03:42 [INFO|Matcher|registerProfile|main]: registering script profile: MovShare
2012-02-08 00:03:42 [INFO|Matcher|doCall|main]: loading built-in script: scripts/mplayer.groovy
2012-02-08 00:03:42 [INFO|Matcher|registerProfile|main]: registering end profile: MPlayer
2012-02-08 00:03:42 [INFO|Matcher|doCall|main]: loading built-in script: scripts/navix.groovy
2012-02-08 00:03:42 [INFO|Matcher|registerProfile|main]: registering init profile: navix://
2012-02-08 00:03:42 [INFO|Matcher|doCall|main]: loading built-in script: scripts/pc_games.groovy
2012-02-08 00:03:42 [INFO|Matcher|registerProfile|main]: registering script profile: PC Games
2012-02-08 00:03:42 [INFO|Matcher|doCall|main]: loading built-in script: scripts/politiek24.groovy
2012-02-08 00:03:42 [INFO|Matcher|registerProfile|main]: registering script profile: Politiek 24
2012-02-08 00:03:42 [INFO|Matcher|doCall|main]: loading built-in script: scripts/pplive.groovy
2012-02-08 00:03:42 [INFO|Matcher|registerProfile|main]: registering script profile: PPLive
2012-02-08 00:03:42 [INFO|Matcher|doCall|main]: loading built-in script: scripts/redirect.groovy
2012-02-08 00:03:42 [INFO|Matcher|registerProfile|main]: registering init profile: Chase Redirects
2012-02-08 00:03:42 [INFO|Matcher|doCall|main]: loading built-in script: scripts/rtmpdump.groovy
2012-02-08 00:03:42 [INFO|Matcher|registerProfile|main]: registering init profile: rtmpdump://
2012-02-08 00:03:42 [INFO|Matcher|doCall|main]: loading built-in script: scripts/sopcast.groovy
2012-02-08 00:03:42 [INFO|Matcher|registerProfile|main]: registering script profile: SopCast
2012-02-08 00:03:42 [INFO|Matcher|doCall|main]: loading built-in script: scripts/winfuture.groovy
2012-02-08 00:03:42 [INFO|Matcher|registerProfile|main]: registering script profile: WinFuture
2012-02-08 00:03:42 [INFO|Matcher|doCall|main]: loading built-in script: scripts/x11grab.groovy
2012-02-08 00:03:43 [INFO|Matcher|registerProfile|main]: registering script profile: x11grab://
2012-02-08 00:03:43 [INFO|Matcher|doCall|main]: loading built-in script: scripts/youtube.groovy
2012-02-08 00:03:43 [INFO|Matcher|registerProfile|main]: registering check profile: YouTube Metadata
2012-02-08 00:03:43 [INFO|Matcher|registerProfile|main]: registering check profile: YouTube-DL Compatible
2012-02-08 00:03:43 [INFO|Matcher|registerProfile|main]: registering check profile: YouTube-DL
2012-02-08 00:03:43 [INFO|Matcher|registerProfile|main]: registering check profile: YouTube
2012-02-08 00:04:51 [INFO|PMSEncoder|launchTranscode|New I/O server worker #1-4]: invoking matcher for: http://www.youtube.com/watch?v=hLQl3WQQoQ0&feature=youtube_gdata
2012-02-08 00:04:58 [INFO|PMSEncoder|launchTranscode|New I/O server worker #1-4]: 3 matches ([YouTube Metadata, YouTube-DL Compatible, YouTube-DL]) for: http://www.youtube.com/watch?v=hLQl3WQQoQ0&feature=youtube_gdata
2012-02-08 00:04:58 [INFO|ProcessManager|handleDownloadWindows|New I/O server worker #1-4]: command: [cmd.exe, /C, C:\Progra~1\PS3MED~1\extras\Python27\python.exe, C:\Progra~1\PS3MED~1\extras\bin\youtube-dl.exe, --max-quality, 22, --quiet, -o, -, "http://www.youtube.com/watch?v=hLQl3WQQoQ0&feature=youtube_gdata", |, win32\ffmpeg.exe, -v, 0, -y, -threads, 2, -i, -, -threads, 2, -target, ntsc-dvd, \\.\pipe\pmsencoder_transcoder_out_1328688290859_47]


I tried the youtube URL in chrome browser
Code: Select all
http://www.youtube.com/watch?v=hLQl3WQQoQ0&feature=youtube_gdata

and it work

Any hint on why this is not playing?
animefans
 
Posts: 7
Joined: Tue Feb 07, 2012 10:33 pm

Re: Web content will not stream

Postby chocolateboy » Wed Feb 08, 2012 11:09 am

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

Re: Web content will not stream

Postby animefans » Wed Feb 08, 2012 6:43 pm

I am so sorry

Here's zip attachment
Attachments
ps3mediaserver.zip
(228.07 KiB) Downloaded 104 times
animefans
 
Posts: 7
Joined: Tue Feb 07, 2012 10:33 pm

Re: Web content will not stream

Postby chocolateboy » Wed Feb 08, 2012 7:15 pm

debug.log wrote:
Code: Select all
C:\Progra~1\PS3MED~1\extras\Python27\python.exe: can't find '__main__' module in 'C:\\Progra~1\\PS3MED~1\\extras\\bin\\youtube-dl.exe'


That's an issue with the SharkHunter Build rather than PMSEncoder, so you'll need to take it up with SharkHunter.

In the meantime, PMSEncoder's built-in handler should work for most YouTube videos. Try commenting out the youtube-dl.path setting in PMS.conf (shut down PMS first) e.g. change:

Code: Select all
youtube-dl.path=C:\\Progra~1\\PS3MED~1\\extras\\bin\\youtube-dl.exe


to:

Code: Select all
# youtube-dl.path=C:\\Progra~1\\PS3MED~1\\extras\\bin\\youtube-dl.exe
chocolateboy
Project Member
 
Posts: 2580
Joined: Wed Sep 16, 2009 10:05 am

Re: Web content will not stream

Postby animefans » Wed Feb 08, 2012 8:18 pm

Oh boy
How come I didn't see the python __main__ missing error!
You sure have a sharp eye

After seeing what SharkHunter build looks like, I might just setup my own build, all the while waiting for SharkHunter to fix his

I will take out youtube-dl.path

Again, thank you very much for you assistance, and your pmsencoder work!
animefans
 
Posts: 7
Joined: Tue Feb 07, 2012 10:33 pm

Re: Web content will not stream

Postby animefans » Thu Feb 09, 2012 11:05 am

This is to confirm that taking out youtube-dl.path indeed fixed my youtube streaming problem
Now I am dealing with the slow transcode, which I don't think I can get away from it

Again, thanks for your help!
animefans
 
Posts: 7
Joined: Tue Feb 07, 2012 10:33 pm

PreviousNext

Return to General Help and Support

Who is online

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