Reply
Thread Tools
Posts: 82 | Thanked: 6 times | Joined on Nov 2007
#1
I`m running kubuntu gutsy and tried installing mediaserv. Im having problems getting the perl part working.

this is what I get after running sudo perl -MCPAN -e 'install XML::RSS'


# Failed test 'use XML::RSS;'
# in t/load.t at line 22.
# Tried to use 'XML::RSS'.
# Error: Can't locate XML/Parser.pm in @INC (@INC contains: /root/.cpan/build/XML-RSS-1.31/blib/lib /root/.cpan/build/XML-RSS-1.31/blib/arch /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /root/.cpan/build/XML-RSS-1.31/blib/lib/XML/RSS.pm line 4.
# BEGIN failed--compilation aborted at t/load.t line 22.
# Compilation failed in require at (eval 7) line 2.
# BEGIN failed--compilation aborted at (eval 7) line 2.
t/load.........................NOK 1FAILED--Further testing stopped: XML::RSS did not compileok 2 - use XML::RSS::Private::Output::V1_0;
# Looks like your test died before it could output anything.
make: *** [test_dynamic] Error 255
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force

If anyone had this problem and got around it please let me know, thanks in advance
 
GeneralAntilles's Avatar
Posts: 5,478 | Thanked: 5,222 times | Joined on Jan 2006 @ St. Petersburg, FL
#2
CPAN wouldn't play nice installing the required bundles for me, so I had to manually download them one-by-one from the site. This method may or may not be useful to you.
 
aflegg's Avatar
Posts: 1,463 | Thanked: 81 times | Joined on Oct 2005 @ UK
#3
According to Corey Wright, there's a Debian package of an (old) XML::RSS which works. I've not tested this myself, but it exists on a couple of versions of Ubuntu (including Gutsy) as well.

Why I hadn't spotted this before, I've no idea. I'd suggest trying that. If it works, for you I'll update the instructions.
__________________
Andrew Flegg -- mailto:andrew@bleb.org | http://www.bleb.org
Now known as
Jaffa
 

The Following User Says Thank You to aflegg For This Useful Post:
Posts: 82 | Thanked: 6 times | Joined on Nov 2007
#4
thanks. got it to work
 
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#5
@Andrew:

Do you know of any way of transcoding live stream from internet with any success?

I know mencoder can't do it, supposedly vlc can, but i can't get it to work very good... CLI or otherwise.
 
aflegg's Avatar
Posts: 1,463 | Thanked: 81 times | Joined on Oct 2005 @ UK
#6
I thought mencoder could do it; what stream are you trying?

VLC definitely can, but I've never got to grips with its syntax so only ended up copying existing examples - with limited success.
__________________
Andrew Flegg -- mailto:andrew@bleb.org | http://www.bleb.org
Now known as
Jaffa
 
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#7
Pick an internet TV at random and try with it (not swf mencoder can do a file from it, but i want another live stream (with different resolution/encoding

i had some success with vlc, but not with wmv9 (which it is supposed to support). However theoretically it can be done and also transcoding from a TV card too.

I'm hacking around your mediaserv to try to support internet streams, i already patched the RSS output to follow symlinks, so that i can specify more than one directory with videos
 
aflegg's Avatar
Posts: 1,463 | Thanked: 81 times | Joined on Oct 2005 @ UK
#8
Not sure how the browser would work, but streaming transcoding is definitely one of my requirements so *will* get done at some point.

Apologies if I've got -f in places where I should have -e - a patch would be very welcome :-)
__________________
Andrew Flegg -- mailto:andrew@bleb.org | http://www.bleb.org
Now known as
Jaffa
 
Posts: 323 | Thanked: 118 times | Joined on Nov 2007 @ Australia
#9
Also with the RSS part of Mediaserv, Im curious if this is a bug,

When I view video's via the webbrowser it say the url is : http://webserver:8090/browse/video.avi.avi (which plays fine)

but when trying to view the same video via the RSS it says the url is :
http://webserver:8090/browse/video.avi (which doesn't play fine)

Cheers

-Rip
 
aflegg's Avatar
Posts: 1,463 | Thanked: 81 times | Joined on Oct 2005 @ UK
#10
That's certainly a bug. The URLs in the RSS feed and the URLs in the web app should match.
__________________
Andrew Flegg -- mailto:andrew@bleb.org | http://www.bleb.org
Now known as
Jaffa
 
Reply


 
Forum Jump


All times are GMT. The time now is 13:46.