Transcoding in TwonkyServer 8
Posted: Tue Mar 03, 2015 7:38 pm
Hi community,
already for a couple of days I am trying to get transcoding in TwonkyServer 8 working. And I got a couple of questions I hope you answer.
By the way: I tried to use the search function but every single term I tried, the board replied with "the term is too common". Maybe some admin could fix that...
Situation:
-Windows 8 PC with installed Twonky 8.
-Grundig 50 VLE 921 BL smart TV. (Friendly name: Inter@ctive)
The handbook says that the TV supports the following formats for DLNA:
Video: MPEG_PS_NTSC, MPEG_PS_PAL, MPEG_TS_SD_EU, MPEG_TS_EU_ISO
Audio: AAC_ADTS_320, LPCM, MP3
Pictures: JPEG_LRG, JPEG_MED, JPEG_SM
Problem:
I tried to stream a .mkv file to the TV.
FFMPEG tells me about the file: Video: h264, Audio: DTS
When I stream the file, video is fine but there is no audio.
Here is what I tried to do:
First I created a Grundig_Interactive.xml with the following content and put in the resources/devicedb/Grundig folder.
<Client>
<DeviceId>
<DisplayName>Grundig Inter@ctive</DisplayName>
<HttpRecognition>
<HttpText>AwoX/1.1 UPnP/1.0</HttpText>
</HttpRecognition>
</DeviceId>
<Capabilities>
<SupportedMediaProfiles>
<Profile>MPEG</Profile>
</SupportedMediaProfiles>
<VideoTranscoding>
<Source>video/x-matroska</Source>
<Source>video/quicktime</Source>
<Source>video/x-ms-dvr</Source>
<Source>video/x-ms-wtv</Source>
<Source>video/flv</Source>
<Source>video/webm</Source>
<Source>video/x-msvideo</Source>
<Source>video/mp4</Source>
<Source>video/3gpp</Source>
<Source>video/mpeg</Source>
<Source>video/mpeg2</Source>
<Target>MPEG</Target>
</VideoTranscoding>
</Capabilities>
<Adaptations>
<DLNA>
<Version>DLNA15</Version>
</DLNA>
</Adaptations>
</Client>
The TV is detected like that even though there are now two entries in the device list but both with the same name.
The Questions:
1. In Twonky versions before 7 there seemed to be a ffmpeg.location file in cgi-bin to specify the ffmpeg location. Is this file still needed or where should I put the ffmpeg.exe?
2. In cgi-bin there is already a ffmpeg-m4v-mpeg.desc so I don't need to do there anything, right?
3. Is my .xml file correct? So twonky knows that it has to transcode my example movie when I start streaming it?
I really hope you can help me get this running and I am sure that this will help other people, too.
Many thanks,
Stip
already for a couple of days I am trying to get transcoding in TwonkyServer 8 working. And I got a couple of questions I hope you answer.
By the way: I tried to use the search function but every single term I tried, the board replied with "the term is too common". Maybe some admin could fix that...
Situation:
-Windows 8 PC with installed Twonky 8.
-Grundig 50 VLE 921 BL smart TV. (Friendly name: Inter@ctive)
The handbook says that the TV supports the following formats for DLNA:
Video: MPEG_PS_NTSC, MPEG_PS_PAL, MPEG_TS_SD_EU, MPEG_TS_EU_ISO
Audio: AAC_ADTS_320, LPCM, MP3
Pictures: JPEG_LRG, JPEG_MED, JPEG_SM
Problem:
I tried to stream a .mkv file to the TV.
FFMPEG tells me about the file: Video: h264, Audio: DTS
When I stream the file, video is fine but there is no audio.
Here is what I tried to do:
First I created a Grundig_Interactive.xml with the following content and put in the resources/devicedb/Grundig folder.
<Client>
<DeviceId>
<DisplayName>Grundig Inter@ctive</DisplayName>
<HttpRecognition>
<HttpText>AwoX/1.1 UPnP/1.0</HttpText>
</HttpRecognition>
</DeviceId>
<Capabilities>
<SupportedMediaProfiles>
<Profile>MPEG</Profile>
</SupportedMediaProfiles>
<VideoTranscoding>
<Source>video/x-matroska</Source>
<Source>video/quicktime</Source>
<Source>video/x-ms-dvr</Source>
<Source>video/x-ms-wtv</Source>
<Source>video/flv</Source>
<Source>video/webm</Source>
<Source>video/x-msvideo</Source>
<Source>video/mp4</Source>
<Source>video/3gpp</Source>
<Source>video/mpeg</Source>
<Source>video/mpeg2</Source>
<Target>MPEG</Target>
</VideoTranscoding>
</Capabilities>
<Adaptations>
<DLNA>
<Version>DLNA15</Version>
</DLNA>
</Adaptations>
</Client>
The TV is detected like that even though there are now two entries in the device list but both with the same name.
The Questions:
1. In Twonky versions before 7 there seemed to be a ffmpeg.location file in cgi-bin to specify the ffmpeg location. Is this file still needed or where should I put the ffmpeg.exe?
2. In cgi-bin there is already a ffmpeg-m4v-mpeg.desc so I don't need to do there anything, right?
3. Is my .xml file correct? So twonky knows that it has to transcode my example movie when I start streaming it?
I really hope you can help me get this running and I am sure that this will help other people, too.
Many thanks,
Stip