maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   mediaserv: on-demand video transcoding (https://talk.maemo.org/showthread.php?t=10948)

gazza_d 2008-04-27 09:27

Re: mediaserv: on-demand video transcoding
 
Couple of questions regarding mediaserv.

I have 2 symlinked folders at the top of my mediaserv folder, browsing theorugh them normally works great, but the RSS feeds and video center feeds seem to generate ok, but have no content from the subfolders. works if I drop files into the root of the mediaserv folder. Anybody got any fix?

Also, has anybody hacked it to get the metadata from a mythtv database for videos, the recordings work great, just be the icing on the cake to have the video stuff as well.

Cheers

Gaz

Bundyo 2008-04-27 09:44

Re: mediaserv: on-demand video transcoding
 
I hacked it to work with symlinks, but i can't get to my linux box now.

Jaffa 2008-04-28 12:20

Re: mediaserv: on-demand video transcoding
 
To work better with symlinks, the following bit of code in getMediaInfo() would need changing:

Code:

    my $type = -d $path        ? 'dir'  :
                &isMedia($path) ? 'media' : undef;

The readlink() function would be handy to use here.

blackoper 2008-05-27 17:08

Re: mediaserv: on-demand video transcoding
 
anyone know how I would go about securing mediaserv. I want to use it for direct access from outside my network but as it stands right now it's totally accessible to anyone browsing to port 8090.
username and password to access it an option or a way to do that through apache?

GeneralAntilles 2008-05-27 17:14

Re: mediaserv: on-demand video transcoding
 
Quote:

Originally Posted by blackoper (Post 186258)
anyone know how I would go about securing mediaserv. I want to use it for direct access from outside my network but as it stands right now it's totally accessible to anyone browsing to port 8090.

Set up a port trigger? Just obfuscate the port a bit?

blackoper 2008-05-27 17:25

Re: mediaserv: on-demand video transcoding
 
I looked through dd-wrt's settings on port forwarding and don't see a way to do it like that.. hmm I guess the best way is to just ssh into the host server and then open the webpage while leaving the port closed on the router.. still there should be a way to password protect things or to very easily add that functionality

blackoper 2008-05-27 18:42

Re: mediaserv: on-demand video transcoding
 
well I'm trying to do an ssh forward
I thought the command would be
Quote:

ssh -L8090:localhost:8090 username@host
I then try to access the port forward through webbrowser:
Quote:

127.0.0.1:8090
I get the error
Quote:

channel 2: open failed:connect failed:connection refused
inside the terminal screen that is running the ssh connection. Any ideas what command I should be using. Mediaserv is running on port 8090 on the server I'm connecting to. The port 8090 is not being forwarded by my router.

Jaffa 2008-05-27 20:38

Re: mediaserv: on-demand video transcoding
 
It's on the TODO list, but it should be possible with Apache acting as a forward-proxy using mod_proxy, combined with mod_auth.

http://httpd.apache.org/docs/ should help.

blackoper 2008-05-29 14:42

Re: mediaserv: on-demand video transcoding
 
thanks I'm going to try this today - I'm at work might as well SSH into the server and do something :) I guess I'll post configuration when finished

grog 2008-11-16 03:12

Re: mediaserv: on-demand video transcoding
 
Hey. I'm trying to get mediaserv working on my gentoo box. Installed dev-perl/XML-RSS, but I still get an error when trying to start mediaserv:

Code:

$ mediaserv           
Can't locate HTTP/Date.pm in @INC
[...snip long list of paths...]

Any idea what I'm missing? TX


All times are GMT. The time now is 23:55.

vBulletin® Version 3.8.8