I have Samsung SMART TV UE32EH5307. Mediatomb worked fine with transcoding in WMP, XBMC, PS3. TV natively not support m2ts and need to be transcoded. On TV transcoding worked, but at the end of the film TV says - please check your network connection.
debug.log
transcoding script