Update VLC Renderer's config

If you have a suggestion for a feature, post it here
Post Reply
User avatar
JuanPZ
Posts: 4
Joined: Tue May 26, 2020 12:47 am
Location: Chile

Update VLC Renderer's config

Post by JuanPZ »

Hello,

I had a problem a while ago where I couldn't see the subtitles if I use the VLC Player on my client. After hours of searching, I realized that the file VLC-for-desktop.conf didn't have the "SupportedExternalSubtitlesFormats", which means that it wouldn't load any .srt file (which is the only type of subtitles that I use).

After setting the "SupportedExternalSubtitlesFormats" to the same value as "SupportedInternalSubtitlesFormats", the subtitles are being streamed as well without any type of problem (it works both in Windows and Android version).
Also, looking at the .conf's metadata, the file was updated in October 2019. I don't know if in that time VLC didn't have support for external subtitles over DLNA, but I think that you should update it for the next release because everytime that I update the UMS, I have to re-edit the .conf (and also I guess that there must be a lot of people that has the same issue with the subtitles but doesn't know that the .conf is outdated).

Here is the old (original) VLC-for-desktop.conf

Code: Select all

UserAgentSearch = Portable SDK for UPnP devices/1\\.\\d{1,2}\\.\\d{1,3}

TranscodeVideo = MPEGTS-H264-AAC
TranscodeAudio = WAV
DefaultVBVBufSize = true
SendFolderThumbnails = false
SupportedVideoBitDepths = 8,10
MediaInfo = true

# Supported video formats:
Supported = f:avi             m:video/avi
Supported = f:flv             m:video/x-flv
Supported = f:mkv             m:video/x-matroska
Supported = f:mov             m:video/quicktime
Supported = f:mp4             m:video/mp4
Supported = f:mpegps|mpegts   m:video/mpeg
Supported = f:rm              m:application/vnd.rn-realmedia-vbr
Supported = f:wmv             m:video/x-ms-wmv

# Supported audio formats:
Supported = f:dts    m:audio/vnd.dts
Supported = f:flac   m:audio/flac
Supported = f:oga    m:audio/ogg

SupportedInternalSubtitlesFormats = ASS,SUBRIP
And this is the updated one

Code: Select all

UserAgentSearch = Portable SDK for UPnP devices/1\\.\\d{1,2}\\.\\d{1,3}

TranscodeVideo = MPEGTS-H264-AAC
TranscodeAudio = WAV
DefaultVBVBufSize = true
SendFolderThumbnails = false
SupportedVideoBitDepths = 8,10
MediaInfo = true

# Supported video formats:
Supported = f:avi             m:video/avi
Supported = f:flv             m:video/x-flv
Supported = f:mkv             m:video/x-matroska
Supported = f:mov             m:video/quicktime
Supported = f:mp4             m:video/mp4
Supported = f:mpegps|mpegts   m:video/mpeg
Supported = f:rm              m:application/vnd.rn-realmedia-vbr
Supported = f:wmv             m:video/x-ms-wmv

# Supported audio formats:
Supported = f:dts    m:audio/vnd.dts
Supported = f:flac   m:audio/flac
Supported = f:oga    m:audio/ogg

SupportedExternalSubtitlesFormats = ASS,SUBRIP
SupportedInternalSubtitlesFormats = ASS,SUBRIP
As you can see, the only addition that I did was for the "SupportedExternalSubtitlesFormats". But I don't know if it stills being updated completely, as I think that VLC must support even more formats than ASS and SUBRIP, but I don't know about subtitles formats so I'll leave that task for another else. For me, if you could add the "SupportedExternalSubtitlesFormats" in the next release it would be perfect.


Side Note: I don't know if this is an issue from VLC or from UMS, but I have to select the subtitle's track manually in the player (I don't have to select any file or do anything else in the server, just select the track in the client's VLC Player). While in MX Player for Android the subtitle is being showed automatically. Of course this only happens after adding "SupportedExternalSubtitlesFormats". Without that setting, I have to select the subtitle's file in the client's VLC Player which shows the subtitle inmediately (but, as you could notice, I need to have a copy of the srt in the client).
User avatar
SubJunk
Lead Developer
Posts: 3705
Joined: Sun May 27, 2012 4:12 pm

Re: Update VLC Renderer's config

Post by SubJunk »

Hi JuanPZ, thanks for this. It will be in the next release :)
Post Reply