TwonkyServer Transcoding Architecture

General discussion about the media server. Feature requests. Hints, tips and tricks.
Locked
User avatar
amunoz_tico
Posts:67
Joined:Sat Jan 19, 2008 1:23 am
AV Hardware:Samsung UN46C7000 & BD-C6900 ¬ Sony PS3 & BPD-S370 ¬ Pioneer VSX-820-K ¬ Bose Acoustimass 15 ¬ Wii ¬ DLink DNS-323 & DIR-655 ¬ Monster HDP2400
Location:Costa Rica
TwonkyServer Transcoding Architecture

Post by amunoz_tico » Thu Jan 13, 2011 11:08 pm

Hi friends!

I found a very interesting document named "Twonky Transcoding Architecture", I thought it could be useful for everybody. The document explains setting and tips to custom the transcoding.

http://www.dbstalk.com/attachment.php?a ... 1208634481


We require more information and support by Twonky's Team in order to understand the variables, formats and codecs supported by Twonky through the transcoding process.


A couple of comments & questions:

A) $infile and $outfile are the input filename and the output filename for any transcoding command. I would like to know if Twonky has a second input file in order to support subtitles during the transcoding. The first input is the name of the video and the second could be the name of the subtitle. If not, that kind of improvement could be consider in the future.

For example, we could use MEncoder to join a video with its subtitle and streaming it to the player. It could remove the problems with many players that not support subtitles with Twonky like some Samsung and Sony devices.

Take a look to the following command line.

Code: Select all

mencoder "mytest.divx" -oac copy -ovc lavc -of mpeg -vf harddup -sub "mytest.srt" -font "verdana.ttf" -subfont-autoscale 2 -o "mytest-mencoder.m2ts"
MEncoder takes my test video ("mytest.divx") with subtitles ("mytest.srt"), and I got a final video based on MPEG-2 (M2TS) format that can be read it by my Sony Blu-Ray Player S370 and my Samsung HDTV C7000. You can change the font ("verdana.ttf") to any one. There are more setting available, I just took the basic ones. Also, you can change the output format.

Type "mencoder -oac help" and get the audio codecs supported. Or "mencoder -ovc help" for video codecs supported. And so on. Also, you can visited the oficial website: http://www.mplayerhq.hu/design7/documentation.html


B) "transcoding.db" is a table that describes all potential target ("transcoded") formats for a given media. However, the posted document does not have enough information to modify the file according to our needs. Could Twonky Team post more information, setting, and tips?



Regards!
Samsung UN46C7000, BD-C6900 & BD-D5500 ¬ Sony PS3 ¬ Pioneer VSX-820-K ¬ Bose Acoustimass 15 ¬ Wii ¬ DLink DNS-323 & DIR-655 ¬ Monster HDP2400

User avatar
amunoz_tico
Posts:67
Joined:Sat Jan 19, 2008 1:23 am
AV Hardware:Samsung UN46C7000 & BD-C6900 ¬ Sony PS3 & BPD-S370 ¬ Pioneer VSX-820-K ¬ Bose Acoustimass 15 ¬ Wii ¬ DLink DNS-323 & DIR-655 ¬ Monster HDP2400
Location:Costa Rica

Re: TwonkyServer Transcoding Architecture

Post by amunoz_tico » Thu Jan 13, 2011 11:56 pm

Here one more MEncoder example:

http://videotranscoding.wikispaces.com/mencoder


:D
Samsung UN46C7000, BD-C6900 & BD-D5500 ¬ Sony PS3 ¬ Pioneer VSX-820-K ¬ Bose Acoustimass 15 ¬ Wii ¬ DLink DNS-323 & DIR-655 ¬ Monster HDP2400

Locked