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)

aflegg 2007-10-24 22:16

mediaserv: on-demand video transcoding
 
Hi all,

Some of you saw a couple of days ago my initial announcement of mediaserv, an on-demand web server for getting access to your videos through your Internet Tablet's web browser, RSS reader or Video Center.

I'm very pleased to announce a new version after lots of good feedback.

http://www.bleb.org/software/maemo/mediaserv-sm.png http://www.bleb.org/software/maemo/mediaserv2-sm.png http://www.bleb.org/software/maemo/mediaserv-vc-sm.png


If you've got a lot of videos and have a Linux, Unix or (probably) a Mac OS X box, I'd love to hear what you think.

Thanks in advance,

Andrew

Edit: v0.05 has now been released and can be found at my mediautils website.

zeez 2007-10-24 22:48

Re: mediaserv: on-demand video transcoding
 
Hi i tried it out, however i had the following problem:

I could browse my files but whenever i tried to play one it just kept on loading and nothing ever happened. (Not only on my N800 but also when i would connect with my regular pc)

any ideas ?

Besides that: Thanks for the effort i think this is going to be great !

aflegg 2007-10-25 08:35

Re: mediaserv: on-demand video transcoding
 
zeez: I'd need to see your /tmp/mediaserv.log - if you can ping it on over to me, that'd be great.

The first test is to see if 770-encode on its own works against the file, but there aren't any known show-stopping bugs in this release. Finding the first would get you a prize (such as a 2x4 round the head ;-))

aflegg 2007-10-25 09:17

Re: mediaserv: on-demand video transcoding
 
Quote:

Originally Posted by zeez (Post 86691)
I could browse my files but whenever i tried to play one it just kept on loading and nothing ever happened. (Not only on my N800 but also when i would connect with my regular pc)

For reference: it turned out 770-encode wasn't on the path. /tmp/mediaserv.log contained the key line:

Code:

2007/10/25 08:49:43 18676 - NOTE! Can't exec "770-encode": No such file or directory at ./mediaserv line 265.
This means that 770-encode isn't on the path. The solution is to either add it to your PATH or modify the $encoder variable at the top of the script to contain the full filename of where you have 770-encode installed.

HTH,

Andrew

zeez 2007-10-25 09:33

Re: mediaserv: on-demand video transcoding
 
Great!! Thanks! Works now (locally). Can not connect with my n800 but i guess that's some network issue - i will look into it.

aflegg 2007-10-25 09:41

Re: mediaserv: on-demand video transcoding
 
The URL it reports on start-up may not work depending on your DNS setup. This should be listed as a known bug, although solving it generically might be tricky (I had some dodgy code before which pulled out the primary interface from the routing table and... well, don't ask).

Find the IP of your box using `ifconfig' and connect on port 8090 to that. If it's a fixed IP, you can modify the $ip variable in the app to report that as the URL for the service.

gazza_d 2007-10-25 09:51

Re: mediaserv: on-demand video transcoding
 
I had a similar problem with my 770 not connecting, even when using the IP.

I had to add an entry into my local hosts file with the ip and hostname of the mediaserv box before it would work.

gaz

zeez 2007-10-25 12:13

Re: mediaserv: on-demand video transcoding
 
Thanks! The host file entry did it! This is great! Thanks so much!

luca 2007-10-25 15:29

Re: mediaserv: on-demand video transcoding
 
I haven't tried it yet, but I quickly looked at the code and it only looks for files with extension avi mpg ts mov wmv.
I'm going to add "vdr" to that list, but are you planning to do some special treatment for vdr recordings? (you know, interpreting the directory structure instead of the meaningless 001.vdr, 002.vdr, etc.)

aflegg 2007-10-25 15:42

Re: mediaserv: on-demand video transcoding
 
I'd certainly love to treat VDR specially. v0.03 (not yet released) has MythTV and Freevo recording support:

http://www.bleb.org/software/maemo/mediaserv3.png

Adding VDR support to the list is just as important: do you know the format (a patch or description would be very welcome), or know of somewhere documenting it?

Failing that, an ls of an appropriate directory and the contents of any meta-data containing files would be good.


All times are GMT. The time now is 02:41.

vBulletin® Version 3.8.8