Page 1 of 1

Re: hints for installing on debian 6.0.2 (solved)

Posted: Tue Aug 30, 2011 5:32 am
by xpd259
hiya

I've just installed debian on my HP Microserver and got twokny working in a limited fashion
i can't seem to get the transcoding to work

I'm running debian 6.0.2 (stable) with debian multimedia repo
it's x86_64 install

I've tried to install lame and ffmpg

I expected when I install lame that mp3 encoding would work but it's still greyed out

and I expected that editing ffmpeg.location and installing ffmpeg would work

so any tips or hints would be fantastic as I'd really like to buy twonky

Re: hints for installing on debian 6.0.2

Posted: Tue Aug 30, 2011 11:20 pm
by Twonky_Rick
I don't know much about this device but I'm not sure if it has enough processing power to do realtime transcoding of video.

- Rick

Re: hints for installing on debian 6.0.2

Posted: Fri Sep 02, 2011 8:42 am
by xpd259
Processor1 x AMD Athlon II Neo N36L / 1.3 GHz ( Dual-Core )
Cache Memory2 MB L2 Cache
8GB ram
10TB hard drive

http://www.dabs.com/products/hp-prolian ... icroserver

should have enough power to convert files but i just don't get the option

Re: hints for installing on debian 6.0.2

Posted: Fri Sep 02, 2011 10:54 am
by DaemonBeetle
There have been other threads where it has been reported that transcoding doesn't work if Twonky is running in the background - see this thread for details on how to resolve that.

Re: hints for installing on debian 6.0.2 (solved)

Posted: Fri Sep 02, 2011 1:19 pm
by xpd259
I worked it out in the end

I needed to copy ffmpeg in to the cgi-bin dir and restart the server


cd /usr/local/twonkymedia/cgi-bin
which ffmpeg
# /usr/bin/ffmpeg
cp /usr/bin/ffmpeg .

by having the binary of ffmpeg in the cgi-bin it enabled video transcode
now I have to work out mp3 transcoding before my trail is up

Re: hints for installing on debian 6.0.2 (solved)

Posted: Fri Sep 02, 2011 6:22 pm
by DaemonBeetle
It would have been easier to edit the file telling it where to find ffmpeg. Now if you upgrade ffmpeg your transcoding may mysteriously break. Edit ffmpeg.location and replace the contents with /usr/bin. You can do that by:

Code: Select all

sudo echo "/usr/bin" > /usr/local/twonkymedia/cgi-bin/ffmpeg.location

Re: hints for installing on debian 6.0.2 (solved)

Posted: Mon Oct 10, 2011 4:38 am
by xpd259
tried that it does nothing,
a fix was to ln -sf the file to the cgi-bin folder