Get_flash_videos Issue

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.

Get_flash_videos Issue

Postby stutunaru » Wed Jan 05, 2011 5:37 am

brotherjohn wrote:Problem: Download and watch flash videos on Windows (get_flash_videos) with PMSEncoder
Solution::
1. Install the new PMSEencoder plugin from here: http://ps3mediaserver.org/forum/viewtopic.php?f=12&t=6644. Put the pmsencoder.jar file into the "plugins" directory.
2. Download the script "get_flash_videos.groovy" from here: https://github.com/chocolateboy/pmsencoder/tree/master/misc/scripts
2. Install ActivePerl according to this HowTo: http://code.google.com/p/get-flash-videos/wiki/Installation. Now you have installed the perl interpreter under the directory "C:\Perl\bin\perl.exe"
3. Download the following perl script http://code.google.com/p/get-flash-videos/downloads/detail?name=get_flash_videos-1.24&can=2&q= and save it on your harddisk.
For example under the path "C:\Perl\Scripts".
4. Change the 2 variables in the get_flash_videos.groovy script as follows:
Instead of:
Code: Select all
def GET_FLASH_VIDEOS = '/usr/bin/get_flash_videos'
def PERL = '/usr/bin/perl'

write the following paths:
Code: Select all
def GET_FLASH_VIDEOS = 'C:\\Perl\\Scripts\\get_flash_videos'
def PERL = 'C:\\Perl\\bin\\perl'

5. Now as example enter the following line into your Web.conf file:
Code: Select all
videofeed.Web,Test,Wimp=http://www.wimp.com/rss/


hi brotherjohn,
i've just done exactly as you explained in the above but i still get "the data are corrupted" and this in the trace
[Thread-344] TRACE 23:22:51.581 Starting transcode/remux of Homeless man with golden radio voice in Columbus, OH. [VIDEO]
[win32\mencoder.exe] TRACE 23:22:53.784 Process D:\PS3 Media Center\PS3 Media Server\win32\mencoder.exe has a return code of 1! Maybe an error occured... check the log file
and my debuglog link is http://hotfile.com/dl/94330661/5580789/debug.rar.html
please help to figure it out...
thanks.
stutunaru
 
Posts: 36
Joined: Sun Dec 05, 2010 8:05 pm

Re: Get_flash_videos Issue

Postby meskibob » Wed Jan 05, 2011 1:27 pm

Split off from the tutorial thread.
I provide NO application support via PM or email, so please post your question to the forum per the Forum Rules.
meskibob
Moderator
 
Posts: 4784
Joined: Mon Jan 19, 2009 4:11 pm

Re: Get_flash_videos Issue

Postby stutunaru » Wed Jan 05, 2011 2:41 pm

oh, sorry about that....
stutunaru
 
Posts: 36
Joined: Sun Dec 05, 2010 8:05 pm

Re: Get_flash_videos Issue

Postby brotherjohn » Wed Jan 05, 2011 3:14 pm

It seems that pmsencoder isn't correct installed.
Which version of PS3MS do you have installed? If it is not the SubJunk version SB10 found here which contains the correct installation of pmsencoder, you have to add the pmsencoder in your PMS.conf file in front of the "engines=" row, like that:
Code: Select all
engines = pmsencoder,mencoder,tsmuxer,avsffmpeg,avsmencoder,ffmpegaudio,mplayeraudio,tsmuxeraudio,mencoderwebvideo,mplayervideodump,vlcvideo,mplayerwebaudio,vlcaudio,ffmpegdvrmsremux,rawthumbs

I forgot this in my description under point 1. Thanks for the hint. I will add this.
brotherjohn
 
Posts: 146
Joined: Wed Sep 15, 2010 9:13 am

Re: Get_flash_videos Issue

Postby stutunaru » Fri Jan 07, 2011 8:07 pm

thanks brotherjohn,
i'll give it a try...
stutunaru
 
Posts: 36
Joined: Sun Dec 05, 2010 8:05 pm

Re: Get_flash_videos Issue

Postby stutunaru » Tue Jan 18, 2011 3:21 am

brotherjohn wrote:It seems that pmsencoder isn't correct installed.
Which version of PS3MS do you have installed? If it is not the SubJunk version SB10 found here which contains the correct installation of pmsencoder, you have to add the pmsencoder in your PMS.conf file in front of the "engines=" row, like that:
Code: Select all
engines = pmsencoder,mencoder,tsmuxer,avsffmpeg,avsmencoder,ffmpegaudio,mplayeraudio,tsmuxeraudio,mencoderwebvideo,mplayervideodump,vlcvideo,mplayerwebaudio,vlcaudio,ffmpegdvrmsremux,rawthumbs

I forgot this in my description under point 1. Thanks for the hint. I will add this.


hey brotherjohn,
i followed your advise and have installed the SubJunk release of PMS. but i still have the same issue playing this content.
[Thread-83] TRACE 20:51:33.452 Starting transcode/remux of Slow Motion: Camera flash bulb shot at 1052 FPS. [VIDEO]
[win32\mencoder.exe] TRACE 20:51:38.483 Process D:\PS3 Media Center\PS3 Media Server\win32\mencoder.exe has a return code of 1! Maybe an error occured... check the log file
[Thread-93] TRACE 20:51:46.593 Starting transcode/remux of Hippo that lives in a house. [VIDEO]
[win32\mencoder.exe] TRACE 20:51:48.733 Process D:\PS3 Media Center\PS3 Media Server\win32\mencoder.exe has a return code of 1! Maybe an error occured... check the log file
[Thread-103] TRACE 20:51:59.311 Starting transcode/remux of Beautiful tilt-shift video about the life of a ski village. [VIDEO]

here are the steps i have followed:
1. i have skiiped the pmsencoder 1.3.0 as the SubJunk release has it included.
2. Download the script "get_flash_videos.groovy" from here: https://github.com/chocolateboy/pmsenco ... sc/scripts
3. Install ActivePerl according to this HowTo: http://code.google.com/p/get-flash-vide ... stallation. Now you have installed the perl interpreter under the directory "C:\Perl\bin\perl.exe"
4. Download the following perl script http://code.google.com/p/get-flash-vide ... 4&can=2&q= and save it on your harddisk.
For example under the path "C:\Perl\Scripts".
5. Change the 2 variables in the get_flash_videos.groovy script as follows:
Instead of:

Code: Select all
def GET_FLASH_VIDEOS = '/usr/bin/get_flash_videos'
def PERL = '/usr/bin/perl'


write the following paths:

Code: Select all
def GET_FLASH_VIDEOS = 'C:\\Perl\\Scripts\\get_flash_videos'
def PERL = 'C:\\Perl\\bin\\perl'
6. Now as example enter the following line into your Web.conf file:

Code: Select all
videofeed.Web,Test,Wimp=http://www.wimp.com/rss/

basically that's all what i have done...
please advise.

P.S. the debug and WEB.config http://hotfile.com/dl/97593271/f56e669/PMS.rar.html
stutunaru
 
Posts: 36
Joined: Sun Dec 05, 2010 8:05 pm

Re: Get_flash_videos Issue

Postby brotherjohn » Tue Jan 18, 2011 9:29 pm

hi stutunaru,

I found 2 things:
1. Please delete the line 7 in the PMS.conf because line 1 is the same.
2. I think pmsencoder didn't find the get_flash_videos.groovy script. This script you can find here .
Perhaps you already have the right script, so that step is not necessary, but to download this script, please make the following:
Click on it. Then click on 'raw' at the top right corner...and then choose in the menu 'File'-->'Save'.
Make the changes to the paths in the get_flash_videos.groovy file as described above.

Now place the script in the right directory.
Therefor please close PS3MS. Create in the PMS directory a subdirectory named 'pmsencoder'. Place the script in this new directory. Delete pmsencoder.conf and pmsencoder.groovy file in the PMS directory, if they are present. Restart PS3MS. You will find details here

Good luck. Hope it will work.
brotherjohn
 
Posts: 146
Joined: Wed Sep 15, 2010 9:13 am

Re: Get_flash_videos Issue

Postby stutunaru » Sat Jan 22, 2011 3:59 am

@ brotherjohn,
i really appreciate your feedback. i did again as you mentioned but still cannot get the expected result.
i'm pretty sure i do something wrong, but as i'm not familiar with developing i can't figure it out.
please take a look at debug.log, maybe you will be able to see the problem.
http://hotfile.com/dl/98578581/c42b626/debug.rar.html
stutunaru
 
Posts: 36
Joined: Sun Dec 05, 2010 8:05 pm

Re: Get_flash_videos Issue

Postby chocolateboy » Sat Jan 22, 2011 4:24 am

stutunaru wrote:please take a look at debug.log, maybe you will be able to see the problem.
http://hotfile.com/dl/98578581/c42b626/debug.rar.html


debug.log wrote:Cannot run program "/usr/bin/notify-send": CreateProcess error=3, The system cannot find the path specified


https://github.com/chocolateboy/pmsenco ... ook.groovy

The scripts directory contains example scripts for advanced users interested in developing their own scripts. They are not a standard library of scripts that should be installed indiscriminately. (Nor are scripts posted on this forum.)

Remove all of the scripts apart from the ones you're actually using - in your case, that's just (your customized version of) get_flash_videos.groovy.
Last edited by chocolateboy on Sat Jan 22, 2011 4:59 am, edited 1 time in total.
chocolateboy
Project Member
 
Posts: 2580
Joined: Wed Sep 16, 2009 10:05 am

Re: Get_flash_videos Issue

Postby chocolateboy » Sat Jan 22, 2011 4:41 am

You may also need to quote the URI e.g.

Code: Select all
// videofeed.Web,Wimp=http://www.wimp.com/rss/

script {
    // adjust these accordingly
    def GET_FLASH_VIDEOS = 'C:\\Perl\\Scripts\\get_flash_videos'
    def PERL = 'C:\\Perl\\bin\\perl'

    profile ('Get Flash Videos') {
        pattern {
            domains([ 'wimp.com' ]) // &c.
        }

        action {
            $DOWNLOADER = "$PERL $GET_FLASH_VIDEOS --quality high --quiet --yes --filename $DOWNLOADER_OUT \"${$URI}\""
        }
    }
}

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


Return to General Help and Support

Who is online

Users browsing this forum: Google [Bot], Salta and 24 guests