Page 1 of 1

How to enable video transcoding twonky server 7.3 on mac?

Posted: Sat May 31, 2014 7:01 pm
by jp_hero
Hi, I use twonky server 7.3 trial on mac.
And I tried enable mkv transcoding. But I can't find transcoding options.
How Do I enable transcoding option on mac?

Re: How to enable video transcoding twonky server 7.3 on mac

Posted: Sat May 31, 2014 11:41 pm
by phibertron
as I understand it, transcoding is still unofficially supported
but...
If you download ffmpeg and place it in the twonky cgi-bin folder
you might have to make sure its rights are set to be executable
and then restart the twonky server

for example: I think this is the path if memory servers me well
/Applications/Twonky.app/Contents/MacOS/cgi-bin/

you should now have the ability to transcode with ffmpeg
what defines what actions should happen with input and ouput are in the .desc files
the names of the files are just so you know what its meant to do
its the settings in them that matter
there should be plenty of examples in there to get things figured out

the second part of it, is the client xml files
sometimes they need to be adjusted to get things working

it will either all work out smoothly
or you will pull your hair out to get it working

Re: How to enable video transcoding twonky server 7.3 on mac

Posted: Mon Jun 02, 2014 5:36 pm
by jp_hero
To phibertron
thank you for reply.

I cant understand customize web interfaces.

But I still try it!!

Re: How to enable video transcoding twonky server 7.3 on mac

Posted: Wed Jun 04, 2014 12:35 am
by phibertron
what client is the one that is going to be where you want the video to play?

Re: How to enable video transcoding twonky server 7.3 on mac

Posted: Wed Jun 04, 2014 4:29 am
by jp_hero
Client is ps3 and windows media player. And I want to play mkv files. but I can't play these video.
Below is I'm done.

1. Download and ffmpeg from this URL(It's static FFmpeg binaries for Mac OS X Intel 64bit ) >> http://www.evermeet.cx/ffmpeg/ffmpeg-2.2.2.7z

2. I installed ffmpeg binaries to `/Applications/Twonky.app/Contents/MacOS/cgi-bin/`

3. I have edit ..../cgi-bin/ffmpeg-mkv-mpeg.desc following(I read >> http://www.twonkyforum.com/mediawiki/in ... ranscoding). I don't have edit .location file because I can't find ffmpeg.location.

```
exec: ffmpeg -threads 2 -i $infile -vcodec mpeg2video -sameq -acodec copy -f vob -copyts -y $outfile

# capabilities

from=video/x-matroska

to=video/mpeg

synchronous

priority=idle
```

4. Restart twonky server.

Re: How to enable video transcoding twonky server 7.3 on mac

Posted: Thu Jun 05, 2014 1:34 am
by phibertron
I'll assume you edited the existing file "ffmpeg-mkv-mpeg.desc"
with exec you mentioned and didn't create a new file
-sameq is no longer valid in that build or many others, you need to use -qscale 0
exec: ffmpeg -threads 2 -i $infile -vcodec mpeg2video -qscale 0 -acodec copy -f vob -copyts -y $outfile
Once I changed the exec command to the above
I was able to transcode an mkv to the ps3 using 7.3 on osx

One doesn't need to create the file "ffmpeg.location" if ffmpeg is in the cgi-bin folder
its for when it isn't or cant be put there
If one did need to create one, just create the file "ffmpeg.location" in the cgi-bin folder
and add the path to where ffmpeg is located for example
/Applications/Twonky.app/Contents/MacOS/cgi-bin
As an example on my WD MyBook Live "ffmpeg.location" would point to this location
/usr/bin

Re: How to enable video transcoding twonky server 7.3 on mac

Posted: Thu Jun 05, 2014 3:28 am
by phibertron
More info

Twonky Server 7 Special Transcoding does not work
http://twonkyforum.com/viewtopic.php?f=2&t=10667

Twonky Server 7 Special Transcoding can transcode to MPEG
http://twonkyforum.com/viewtopic.php?f=2&t=10682