It works for me !
I can have have subtitles managed by my Samsung UE40B720 without transcoding.
Just hope this patch to be included in the trunk soon.
Ari wrote:I created a diff which enables native Samsung subtitles and seeking.
In DLNAResource.java it disabled encoding for movies with subtitles, if the renderer is Samsung.
In RequestV2.java it adds another GET method like thumbnail0000, just with subtitle0000. For the http header, it adds Captioninfo.sec for the subtitles and sets the right Content-Length aswell, which is needed for seeking.
SeekByTime needs to be set to false in the Samsung.conf, but this should be the default. This patch also enables mkv streaming without transcoding in the Samsung.conf file, which works as long as the audio track is not DTS. If you don't want that just keep your old Samsung.conf.
# ps3mediaserver renderer profile for Samsung Wiselink
# Refer to PS3.conf for help
RendererName=Samsung LN40C650
RendererIcon=bravia.png
UserAgentSearch=TV-40C650
Video=true
Audio=true
Image=true
SeekByTime=false
TranscodeVideo=MPEGAC3
TranscodeAudio=PCM
DefaultVBVBufSize=true
MuxH264ToMpegTS=true
MuxDTSToMpeg=true
WrapDTSIntoPCM=false
MuxLPCMToMpeg=false
MaxVideoBitrateMbps=0
MaxVideoWidth=0
MaxVideoHeight=0
MimeTypesChanges=audio/wav=audio/L16|video/x-matroska=video/avi
TranscodeExtensions=mov
StreamExtensions=mp3,mp4,avi,mkv private static final String SOFT_SUB_SUPPORT="SoftSubSupport";
public boolean isSoftSubSupport() {
return getBoolean(SOFT_SUB_SUPPORT, false);
}- if ((forceTranscodeV2 && !skipTranscode) || forceTranscode || (!parserV2 && !child.ext.ps3compatible() && !skipTranscode) || (PMS.getConfiguration().getUseSubtitles() && child.srtFile)) {
+ if ((forceTranscodeV2 && !skipTranscode) || forceTranscode || (!parserV2 && !child.ext.ps3compatible() && !skipTranscode) || (PMS.getConfiguration().getUseSubtitles() && child.srtFile && !defaultRenderer.isSoftSubSupport())) {output.setHeader("Content-Length", Long.toString(files.get(0).media.size));Return to Alternative Media Renderers
Users browsing this forum: No registered users and 7 guests