![]() |
Re: mediaserv: on-demand video transcoding
No probs - give me a shout if you have a problem.
|
Re: mediaserv: on-demand video transcoding
aflegg: thanks. First I should state I am on 10.3.8, have studiously avoided PERL for many years :) and only used my Mac Mini as a file server for a long time now. I can just about find my way around the system from the terminal without too much danger of trashing it :)
Running install.sh borked at the "u" option for "cp" so I removed it and the script worked. Downloaded 770-encode.pl, chmod +x and moved it to /usr/bin. Tried running mediaserv and as expected got "Can't locate XML/RSS.pm..." so then I ran "perl -MCPAN ...". Several thousand lines later it borked with the following (I have edited out long lines): Quote:
|
Re: mediaserv: on-demand video transcoding
GeneralAntilles has got it working. For some reason XML::Parser isn't available - presumably it failed to build earlier.
Unfortunately, I've not got a Mac anymore, so can't detailed debugging help :-( Sorry for the inconvenience. |
Re: mediaserv: on-demand video transcoding
Does anyone running OS2008 have this working ? It worked with OS2007 for me but now the mediaplayer says "Unable to find media file"
|
Re: mediaserv: on-demand video transcoding
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 :-/ |
Re: mediaserv: on-demand video transcoding
Progress! Full details later when I have trawled my history, short version:
- Updated CPAN - downloaded and installed expat (usual way, nothing to do with PERL) - CPAN install of XML::Parser now worked (probably could have skipped this now and let CPAN get in the next step) - CPAN install of XML:RSS now worked - renamed 770-encode.pl to 770-encode (no ".pl", could have also used a link) - linked /usr/bin/mencoder to actual file installed in ffmpegX directory - As an extra step I moved the data directory to an external drive and link to it there to avoid filling up my internal drive. - Finally I needed the IP address in the config file. Hope the above at least provides some tips for other OSX users. Not quite there as I can't seem to access the file until it is fully converted (correct?) and selecting one in the Opera browser brings up KMPlayer (on my 770) but the video never appears. I can copy the link direct into mplayer, where it does play. Also just realised I need a link to mplayer if I am reading the mediaserv log correctly. The log shows other "sysread() on closed filehandle..." errors while, I think, the file is being converted. |
Re: mediaserv: on-demand video transcoding
Hmm, very odd - you should be able to watch the video whilst it's transcoding (assuming your PC is fast enough; it'd have to be very old or busy to not keep up on "smallest").
Can you send me the entire log, the output of `perl -V' and anything else you think pertinent? Thanks in advance, Andrew |
Re: mediaserv: on-demand video transcoding
im using a N800 OS2007, when I try to stream a file it just waits on buffering, the error on Mediaserv log files are:
Waiting for data from data/multimedia/test.avi.avi... 2007/11/17 05:03:28 6014 - NOTE! sysread() on closed filehandle IN at ./mediaserv line 722. 2007/11/17 05:03:28 6014 - NOTE! Use of uninitialized value in numeric gt (>) at ./mediaserv line 723. im using Fiesty Ubuntu server 770-encode seems to work fine and doesn't display any errors when encoding I've tried several media players to play the stream it does the same in all of them. im using: perl -v This is perl, v5.8.8 built for i486-linux-gnu-thread-multi Also I thought it would be best to move my post from Jaffa's Projects to here :) Cheers Rip |
Re: mediaserv: on-demand video transcoding
Thanks for that. Unfortunately the snippet of the log isn't the bit I need to see - it's basically saying that test.avi.avi doesn't exist, which suggests the encoding isn't working.
Can you delete the existing log, run it again and then send me the *entire* log (or attach it here)? You've got 770-encode installed as "770-encode" and it's on your PATH? Or you've altered the appropriate config file setting to point to where you have it/what it's called? Sorry for the inconvenience in getting it working. Cheers, Andrew |
Re: mediaserv: on-demand video transcoding
mediaserv v0.05 is out: with a number of small bug fixes/enhancements requested here, it's primary purpose is to:
a) be at its new website: http://mediautils.garage.maemo.org/ b) be aware that it can use both tablet-encode or 770-encode. Comments, as ever, welcome. |
| All times are GMT. The time now is 08:19. |
vBulletin® Version 3.8.8