Re: hints for installing on debian 6.0.2 (solved)

Linux and UNIX specific discussions
Post Reply
xpd259
Posts:6
Joined:Tue Aug 30, 2011 5:15 am
AV Hardware:xbox360
Re: hints for installing on debian 6.0.2 (solved)

Post by xpd259 » Tue Aug 30, 2011 5:32 am

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
Last edited by xpd259 on Fri Sep 02, 2011 1:19 pm, edited 1 time in total.

Twonky_Rick
Posts:3816
Joined:Wed Nov 19, 2008 1:59 am
AV Hardware:Samsung 650 Series TV (2010), 4.5TB HP MediaSmart server with 100,000 songs, 5) AT&T U-Verse STB, CE form-factor Media Center PC and 6 other networked PCs running TwonkyManager, 2 Sonos ZP80, Sonos S5 speaker, Apple TV (running XBMC), Roku Soundbridge, X-Box 360, Sony PS3, Kodak 10" Wireless Photo Frame, iPhone with PlugPlayer software, Sonos CR-100.
Location:San Diego
Contact:

Re: hints for installing on debian 6.0.2

Post by Twonky_Rick » Tue Aug 30, 2011 11:20 pm

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
Follow me on Twitter! mostlytech1
Checkout my blog: http://mostly-tech.com/

xpd259
Posts:6
Joined:Tue Aug 30, 2011 5:15 am
AV Hardware:xbox360

Re: hints for installing on debian 6.0.2

Post by xpd259 » Fri Sep 02, 2011 8:42 am

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

User avatar
DaemonBeetle
Posts:305
Joined:Mon Dec 28, 2009 11:05 am
AV Hardware:Plex Media Server, Samsung Smart TV (2009 and 2013)

Re: hints for installing on debian 6.0.2

Post by DaemonBeetle » Fri Sep 02, 2011 10:54 am

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.
No longer running Twonky

xpd259
Posts:6
Joined:Tue Aug 30, 2011 5:15 am
AV Hardware:xbox360

Re: hints for installing on debian 6.0.2 (solved)

Post by xpd259 » Fri Sep 02, 2011 1:19 pm

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

User avatar
DaemonBeetle
Posts:305
Joined:Mon Dec 28, 2009 11:05 am
AV Hardware:Plex Media Server, Samsung Smart TV (2009 and 2013)

Re: hints for installing on debian 6.0.2 (solved)

Post by DaemonBeetle » Fri Sep 02, 2011 6:22 pm

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
No longer running Twonky

xpd259
Posts:6
Joined:Tue Aug 30, 2011 5:15 am
AV Hardware:xbox360

Re: hints for installing on debian 6.0.2 (solved)

Post by xpd259 » Mon Oct 10, 2011 4:38 am

tried that it does nothing,
a fix was to ln -sf the file to the cgi-bin folder

Post Reply