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)

RipTorn 2007-11-18 18:06

Re: mediaserv: on-demand video transcoding
 
Cool, well im one step closer it now encodes on the fly :D (since I upgraded to 0.05)
The only thing thats out of the ordinary is the Audio Codec gives out a horrible sequel (on all of my media players), I am guessing it has something to do with the codecs I have installed :\ I can't work it out at all. In the mean time I can use copy audio codec in the tablet-encode settings.

Thanks for the great program :)


Cheers
Rip

zeez 2007-11-18 18:18

Re: mediaserv: on-demand video transcoding
 
Quote:

Originally Posted by aflegg (Post 95755)
Hmm, odd.

Could it be related to https://bugs.maemo.org/show_bug.cgi?id=2186 ? Until I get an N810, identifying this problem will be a little tricky :-/

Yep that seems to be the problem... Man you're good at this :)

RipTorn 2007-11-18 19:12

Re: mediaserv: on-demand video transcoding
 
Ok, fantastic! I have reinstalled all my audio codecs on the server and it all seems to be running perfect :) The only future feature I can think of is possibly a UPNP feature so we don't have to copy and paste URLs into the media player of choice.

Thanks heaps!

Cheers
Rip

muki 2007-11-20 15:20

Re: mediaserv: on-demand video transcoding
 
Andrew, I have emailed logs etc to your bleb address

aflegg 2007-11-20 16:33

Re: mediaserv: on-demand video transcoding
 
Quote:

Originally Posted by muki (Post 97750)
Andrew, I have emailed logs etc to your bleb address

Thanks, appreciated. I'll try and have a look at them at some point in the next few evenings.

Sorry for the delay & inconvenience.

Cheers,

Andrew

Tragos 2007-11-20 23:04

Re: mediaserv: on-demand video transcoding
 
Thanks, man! This is awesome!

I have been planning to do a similar program myself, but I haven't had time or perl skills enough to do this. Instead I have been using some shell scripts to launch VLC on my Linux server (Ubuntu Feisty) and do the transcoding and streaming. However, this has required SSH'ing to the server first and launching those scripts manually. I find your solution much more elegant than mine.

I have a few humble feature requests:
  1. Possibility to choose encoding preset from the Web interface (also requested by mplawner).
  2. An option to continue encoding and keep the file when keepResults = 0
    OR a button to kill the running mencoder processes when keepResults = 1.

    Sometimes I want the encoding to continue when I close the video player. Then I can later transfer the encoded file on my Nokia. But if I opened a wrong video by mistake, I would also like to be able to terminate the encoding easily.
  3. Possibility to shut down mediaserv after certain amount of inactivity.

aflegg 2007-11-21 11:58

Re: mediaserv: on-demand video transcoding
 
Thanks - added to the TODO list.

desht 2007-11-25 17:37

Re: mediaserv: on-demand video transcoding
 
1 Attachment(s)
First off, let me say what a great bit of software this is. Just what I was looking for!

I saw the opportunity for a couple of little enhancements to the MythTV browsing functionality, and I'm attaching a patch (context diff):

1) Default sort order for MythTV (and presumably Freevo, but I'm not really familiar with that) recordings is currently by filename, which gives a fairly random-looking order in the resulting web page, since MythTV filenames don't contain any title information. So I added sorting by show title and subtitle (see the byTitle() sub) which gives us a proper alphabetical show order for MythTV recordings (and should still look fine for directories of regular video files).

2) I have quite a few recordings and found that running mythname.pl once for every recording to get the MythTV metadata is very slow. So I added some functionality into mediaserv to prefetch the MythTV meta-data from the MySQL mythconverg database, which makes rendering pages of MythTV recordings much much faster. mediaserv *should* re-fetch the metadata if it finds anything missing (in the event that new recordings are inserted into the database after mediaserv starts up), but this needs some more testing. See the new sub getMythMetaData(), etc.

I hope this is useful!

aflegg 2007-11-25 18:44

Re: mediaserv: on-demand video transcoding
 
desht, thanks very much - looks really useful.

Do you mind attaching your patch to the garage project? Then I won't forget to apply it :-)

https://garage.maemo.org/tracker/?at...55&func=browse

Thanks in advance,

Andrew

desht 2007-11-25 19:30

Re: mediaserv: on-demand video transcoding
 
Quote:

Originally Posted by aflegg (Post 99733)
Do you mind attaching your patch to the garage project? Then I won't forget to apply it :-)

Sure thing - that's done now.

Des.


All times are GMT. The time now is 12:48.

vBulletin® Version 3.8.8