have a renderer conf for VLC as a DLNA/UPnP client?

Discuss media renderers like Xbox 360, TVs, smartphones, etc.
noice
Posts: 1
Joined: Mon Mar 16, 2015 8:32 am

Re: have a renderer conf for VLC as a DLNA/UPnP client?

Post by noice »

In transcoding settings, set:
Global transcoding settings > Audio settings > 2 channels
Global transcoding settings > Audio settings > Uncheck all checkboxes (LPCM, keep AC3, keep DTS).

Edit Apple-iDevice.conf with:
I've set MaxVideoBitrateMbps = 8 and max bitrate to 12mb (b:12582912) because my WiFi maxes at ~15Mbps. Try yours at http://speedof.me/ and adapt those settings.

Code: Select all

UserAgentSearch = Darwin|AppleCoreMedia|nPlayer|Twonky|8player|yxplayer2|MPlayer |NSPlayer/4|AirAV|AcePlayer
TranscodeVideo = MPEGTS-H264-AAC
TranscodeAudio = WAV
MaxVideoBitrateMbps = 8
#StreamExtensions = asf,wmv,avi,divx,mp4,m4v,mov,3gp,3g2,mkv,ts,trp,tp,mts,m2ts,vob,mpg,mpeg,mp3,jpg,jpeg,jpe,jps,mpo,ogg,hdmov,hdm,flac,fla,dts,asx,m2v
AutoExifRotate = true

MediaInfo = true
# Supported video formats:
Supported = f:avi|divx        v:h264|mjpeg|mp4|divx|mpeg1|mpeg2|sor|vc1   a:adpcm|aac|aac-he|lpcm|mp3|mpa   m:video/avi         gmc:0
Supported = f:mkv             v:h264|mjpeg|mp4|divx|mpeg1|mpeg2|sor|vc1   a:adpcm|aac|aac-he|lpcm|mp3|mpa   m:video/x-matroska  b:12582912
Supported = f:mp4             v:h264|mjpeg|mp4|divx|mpeg1|mpeg2|sor|vc1   a:adpcm|aac|aac-he|lpcm|mp3|mpa   m:video/mp4         b:12582912
Supported = f:mpegps|mpegts   v:h264|mjpeg|mp4|divx|mpeg1|mpeg2|sor|vc1   a:adpcm|aac|aac-he|lpcm|mp3|mpa   m:video/mpeg        b:12582912
Supported = f:mpegps|mpegts   v:h265                                      a:adpcm|aac|aac-he|lpcm|mp3|mpa   m:video/mpeg        b:6291456

# Supported audio formats:
Supported = f:wav     a:dts          n:6   s:48000   m:audio/wav
Supported = f:wav     a:lpcm         n:6   s:48000   m:audio/l16
Supported = f:wav                    n:2   s:48000   m:audio/wav
Supported = f:mp3                    n:2             m:audio/mpeg
Supported = f:aac     a:(?!alac).+   n:2             m:audio/x-m4a
Supported = f:wma                    n:2             m:audio/x-ms-wma
Supported = f:atrac                  n:2             m:audio/x-oma
Supported = f:lpcm    a:lpcm         n:6   s:48000   m:audio/l16

# Supported image formats:
Supported = f:jpg    m:image/jpeg
Supported = f:png    m:image/png
Supported = f:gif    m:image/gif
Supported = f:tiff   m:image/tiff
Not sure this is exactly what VLC for IOS support, but at least it's working since AC3 is disabled, transcoder uses AAC, and bandwidth is limited.

But the big issue is the unability to jump in time, whatever the SeekByTime option... help apprectiated. :|
That's only happenning with H264 video or AAC audio... which is the only viable playback option.
scanf
Posts: 8
Joined: Sat Mar 15, 2014 2:58 pm

Re: have a renderer conf for VLC as a DLNA/UPnP client?

Post by scanf »

Hi There,

I know that this is a bit older thread now, however I would still submit the following response for the archive. In my discovery of UPnP I slowly realized that "Universal Plug and Play" is somewhat a technical oxymoron, given the various often incompatible implementations and data formats. For example, open format media players (which themselves do not need a lot of transcoding, e.g. VLC) seem to demonstrate completely different DLNA behavior than more pedantic devices that rely more on transcoding, e.g. like a Sony Bluray. This seems to be expressed in UMS via two mutually exclusive "direct rendering" paradigms: "StreamExtensions" as opposed to "MediaInfo-Supported". The MediaInfo path seems to work better with transcoding-dependent devices like SONY. The "StreamExtensions" paradigm conversely seems better suited for adaptable media software like VLC (VLC itself is used in UMS as a TRANSCODER - this alone should say something). Hence, a good VLC.conf being written simply as follows (using FFMPEG engine on my old Debian box):

Code: Select all

RendererName = VLC Player
# The VLC 2.2x UPnP headers are pretty crap..
UserAgentSearch = Portable SDK for UPnP devices
UserAgentAdditionalHeaderSearch = VLC
RendererIcon = vlc.png

# ============================================================================
# This renderer has sent the following string/s:
#
# User-Agent: 6.2.9200 2/, UPnP/1.0, Portable SDK for UPnP devices/1.6.19
# ============================================================================
LoadingPriority = 1
DefaultVBVBufSize = true
# SeekByTime implemented? Sony requires SeekByTime = exclusive
SeekByTime = true
#UMS uses two stream-transcode paradigms: StreamExtensions(simple, better) and MediaInfo (crap for VLC?)
# MediaInfo can cause unexplained audio desync and other issues
# Just use StreamExtensions to specify the formats that "pass through"
# and use EncodeExtensions for those that don't, everything else is explained below.
StreamExtensions = flv,asf,wmv,avi,divx,mp4,m4v,mov,3gp,3g2,mkv,ts,trp,tp,mts,m2ts,vob,mpg,mpeg,mp3,jpg,jpeg,jpe,jps,mpo,ogg,hdmov,hdm,flac,fla,dts,asx,m2v
#
# Transcode the formats that cause problems (remove from StreamExtensions):
#EncodeExtensions =
TranscodeVideo = MPEGTS-MPEG2-AC3
TranscodeAudio = MP3
TranscodeFastStart = true
#CustomFFmpegOptions = -async 1
# Enabling Subtitles forces transcoding ON
#SupportedInternalSubtitlesFormats = SUBRIP,PGS,DIVX
#DLNALocalizationRequired = ture
In summary, render .conf follow two types IMO:
"StreamExtensions" = flexible multimedia software, provide their own internal transcoding anyway e.g. VLC
"MediaInfo/Supported" = Pedantic / proprietary requiring very specific codec forms e.g. Sony

Trying to use the one for the other will often yield more problems than it would solve.
My 2c
Post Reply