1. Subscriptions
  2. Services
  3. Hardware
  4. Support

ClearFoundation

Forums
Welcome, Guest
HowTo: Set up TwonkyMedia 5.1.3
(1 viewing) 1 Guest
Go to bottomPage: 123
TOPIC: HowTo: Set up TwonkyMedia 5.1.3
#7958
Re:HowTo: Set up TwonkyMedia 5.1.3 2 Years, 2 Months ago  
-bash-3.2$ ln -s /opt/twonkymedia/active /opt/TwonkyMedia
ln: creating symbolic link `/opt/TwonkyMedia' to `/opt/twonkymedia/active': Permission denied
-bash-3.2$



can't you rewrite the howto with a step by step howto with some instructions?
how to start twonkymedia, where to edit the paths to the media files etc
sandoz
Junior Boarder
Posts: 22
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2010/03/22 08:33 By sandoz.
The administrator has disabled public write access.
 
#7959
Re:HowTo: Set up TwonkyMedia 5.1.3 2 Years, 2 Months ago  
Sorry, the problem with the first symlink was a syntactical error. The original HowTo has been modified. So following the original steps in order should work now.

Code:

ln -s /opt/twonkymedia/active /opt/TwonkyMedia



has to be run as root.

As for a step-by step instruction on how to get it going after that, I'll see if I can add some more info to the original post.
Fredrik Duprez
Senior Boarder
Posts: 42
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#7960
Re:HowTo: Set up TwonkyMedia 5.1.3 2 Years, 2 Months ago  
[root@homeserver TwonkyMedia]# /etc/init.d/twonkymedia start
Starting TwonkyMediaServer daemon: can't open log file (/var/log/twonkymedia.log)
[ OK ]
[root@homeserver TwonkyMedia]#


[root@homeserver ~]# /etc/init.d/twonkymedia status
twonkymedia dead but subsys locked
twonkymediaserver is stopped
[root@homeserver ~]#


is seems to start, but
[root@homeserver log]# ps ax | grep twonky*
5863 pts/1 R+ 0:00 grep twonkymedia.log
[root@homeserver log]#
sandoz
Junior Boarder
Posts: 22
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2010/03/22 09:57 By sandoz.
The administrator has disabled public write access.
 
#7962
Re:HowTo: Set up TwonkyMedia 5.1.3 2 Years, 2 Months ago  
Might be the access to the log file. I f I remember correctly I did a

Code:


touch /var/log/twonkymedia.log
chown twonkymedia:twonkymedia /var/log/twonkymedia.log



Since the daemon runs as twonkymedia, that user has to have write access to the file. Try that and see if the server starts OK.

Code:

ps auxwww|grep twonky



or do a

Code:

/etc/init.d/twonkymedia status

Fredrik Duprez
Senior Boarder
Posts: 42
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#7963
Re:HowTo: Set up TwonkyMedia 5.1.3 2 Years, 2 Months ago  
yes, that fixed it
sandoz
Junior Boarder
Posts: 22
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#7964
Re:HowTo: Set up TwonkyMedia 5.1.3 2 Years, 2 Months ago  
Great, I've updated the first post regarding the log file.
Fredrik Duprez
Senior Boarder
Posts: 42
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#22486
Re:HowTo: Set up TwonkyMedia 5.1.3 1 Year, 4 Months ago  
Thanks Fredrik this look grate.

Just the solution iv been looking for to play my mkv files over to sony PS3 and Sony TV.

I am having a little trouble with getting the transcoding using ffmpeg.

You instruction do they just simply mean to create a file here

/opt/TwonkyMedia/cgi-bin/ffmpeg-mkv-mpeg.desc
with this as the imput

exec: ffmpeg -threads 2 -i $infile -vcodec mpeg2video -sameq -acodec copy -f vob -copyts -y $outfile
# capabilities
from=video/x-matroska
to=video/mpeg
asynchronous
priority=idle

If so then I have done this.

There is no /usr/bin/ffmpeg.location on my system. Do I not have to install ffmpeg some how?
Or do you mean create the file and add the same content again.

Any help would be grately appreciated thanks in advance
Duncan Rix
Gold Boarder
Posts: 265
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#22491
Re:HowTo: Set up TwonkyMedia 5.1.3 1 Year, 4 Months ago  
Hi,

ffmpeg.location is located in cgi-bin:

Code:

cat /opt/TwonkyMedia/cgi-bin/ffmpeg.location
/usr/bin



ffmpeg needs to be installed from the repo that comes with ClearOS.

Code:

yum install ffmpeg

Fredrik Duprez
Senior Boarder
Posts: 42
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#22496
Re:HowTo: Set up TwonkyMedia 5.1.3 1 Year, 4 Months ago  
Thank you for your quick reply

Think I have found where I went wrong, Iv used a slightly different dir location when installing.
Iv found the relevant ffmpeg.location and changed it to /usr/bin.
Iv also now edited the right ffmpeg-mkv-mpeg.decs file to match your post.

As far as I can tell ffmpeg is installed, it can be found in the /usr/bin folder.
How ever im not sure its the right one because of the output I get if I run the install command

Loading "protect-packages" plugin
Loading "kmod" plugin
Setting up Install Process
Parsing package install arguments
Requested dep: ffmpeg is provided by installed package
Nothing to do

Any how iv since re-started the twonky service and still the Transcoding options are still grayed out!

Is that I have to register before these options are avalible?

Any idears thanks
Duncan Rix
Gold Boarder
Posts: 265
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#22521
Re:HowTo: Set up TwonkyMedia 5.1.3 1 Year, 4 Months ago  
So iv been googling and have found this page

I have found and removed the -D from the .sh file found in the media twonky dir but still no transcoding options

As far as I can tell Iv done every thing the right way, iv been back traking a lot and cant see that iv missed or got any thing wrong

Please any idea's
Duncan Rix
Gold Boarder
Posts: 265
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 123
  get the latest posts directly to your desktop