Page 4 of 9

Re: DirecTV HRxx and Hxx Thread

Posted: Tue Jan 29, 2013 6:39 am
by camarcano
Hi Subjunk,

First than anything, thanks for such a great work. I just wanted to check if this bug was fixed?

Thanks in advance,

Carlos.

Re: DirecTV HRxx and Hxx Thread

Posted: Tue Jan 29, 2013 2:28 pm
by andrew0812
I am wondering the same thing. I have a HR24 box and UMS 2.3.0 and am still seeing the same problems listed in this thread.

I am new to UMS but enjoying it greatly. I can stream to my Sony Bluray player and my Xbox. Still working on DirectTV and my Nexus 7.

Re: DirecTV HRxx and Hxx Thread

Posted: Fri Feb 01, 2013 11:24 am
by SubJunk
There are a few different bugs in this thread, which one/s are you still seeing?

Re: DirecTV HRxx and Hxx Thread

Posted: Wed May 22, 2013 8:05 am
by Kilmer
Getting video but no audio through the DirecTV receivers. Any known fixes in the latest version of UMS?

Re: DirecTV HRxx and Hxx Thread

Posted: Thu May 23, 2013 4:52 pm
by maxideus
I finally got it to work, both audio and video using UMS 2.6.4!!! It took some research to find out that the DirectTV only supports MPEG2 video and MP2 audio. There are limitations though, for high definition videos with high bitrates, the DirectTV will puke and tell you that the video rate is too high for Media Share. I got around it by doing 2 things, so I do not know which solution worked, or if the combo of both worked. Either way, you will need to change the maximum bitrate on the DirectTV.conf and/or change your transcoding settings to keyint=5:vqmax=6:vqmin=1.

EDIT: I left the default maximum video bitrate to 10 and the video is working fine. This means you will have to find the right balance in the transcoding section.

Expert Mencoder Settings (gets audio to work):

Code: Select all

acodec != mp2 :: -lavcopts acodec=mp2:abitrate=192
Lines changed on DirectTVHR.conf

Code: Select all

StreamExtensions=mpeg2,mp2
MediaInfo=false
Supported = f:mpeg2   v:mpeg2   a: mp2   n:2   m:video/mpeg2
Supported = f:mp2   n:2   s:48000   m:audio/mpeg 
I don't think you need the supported config, or the stream extensions, the most important one was MediaInfo=False.

My DirectTVHR.conf:

Code: Select all

#----------------------------------------------------------------------------
# Profile for DirecTV HR-xx Series Boxes.
# See PS3.conf for a description of all possible configuration options.
#
# This profile is still in an experimental stage.
# You are encouraged to experiment and report back the results on the forums
# at http://www.universalmediaserver.com/forum/
#

#----------------------------------------------------------------------------
# General informations / detection

RendererName=DirecTV HR
RendererIcon=directvhr.png

# UserAgentSearch: regular expression to detect the connected renderer.
# DirecTV has been observed using the following user agents:
#
# User-Agent: Linux/2.6.18-lttng-0.6.41, UPnP/1.0 DIRECTV JHUPnP/1.0 DLNADOC/1.00 DIRECTV VIIV devices INTEL_NMPR/2.1
# User-Agent: Linux/2.6.18.5, UPnP/1.0 DIRECTV JHUPnP/1.0 DLNADOC/1.00 DIRECTV VIIV devices INTEL_NMPR/2.1
# User-Agent: Linux/2.6.31-2.6, UPnP/1.0 DIRECTV JHUPnP/1.0 DLNADOC/1.00 DIRECTV VIIV devices INTEL_NMPR/2.1
# User-Agent: Linux/2.6.31-2.6, UPnP/1.0 DIRECTV JHUPnP/1.0
#
# Combined regular expression of working user agents
UserAgentSearch=DIRECTV

# UserAgentAdditionalHeaders: additional HTTP header for better detection
UserAgentAdditionalHeader=DLNADOC/1.00 DIRECTV VIIV devices INTEL_NMPR/2.1
UserAgentAdditionalHeaderSearch=

#Basic capabilities
Video=true
Audio=true
Image=true

#----------------------------------------------------------------------------
# DLNA settings

# Use the DLNA feature seek by time and not by range
SeekByTime=true

# Serve different flavors of localization in the DLNA parameters (PAL/NTSC, NA/EU/JP)
# to allow every worldwide renderer to see the files.
#DLNALocalizationRequired=false

#----------------------------------------------------------------------------
# Transcoding/Muxing capabilities
#

# Transcode profiles for video and audio engines
# currently supported: MPEGPSAC3, MPEGTSAC3 or WMV for video, LPCM, WAV or MP3 for audio
TranscodeVideo=MPEGPSAC3
TranscodeAudio=MP3

# Use default DVD buffer size: false = greater bitrate and faster encoding,
# but can generate incompatible videos, depends of your media renderer
DefaultVBVBufSize=false

# Do you need to MUX LPCM to MPEG?
MuxLPCMToMpeg=false

# Does the media renderer supports DTS wrapped into LPCM in a mpeg file ?
WrapDTSIntoPCM=false

# Maximum bit rate supported by the media renderer (0=unlimited)
MaxVideoBitrateMbps=10

# Max Width and Height supported by the media renderer (0=unlimited)
MaxVideoWidth=1920
MaxVideoHeight=1080

# Does the media renderer supports only H264 L4.1 at most ?
H264Level41Limited=true

# Does music files need to be resampled at 44.1kHz?
TranscodeAudioTo441kHz=false

# Does the client need to receive transcoded video with minimal delay ?
# (Useful when the client has a small timeout delay)
TranscodeFastStart=true

# Size of the transcoded file (unknown length) sent to the renderer (could
# determine browsing failure/success) Possible values:
#
#           -1: Specific value working with the PS3, means perfect transcoding
#               and copying support (it is against the DLNA spec though)
#            0: size attribute is NOT sent to the renderer (default value if
#               this parameter isn't used)
# 100000000000: 100Gb, if you want to be sure that the media file is not cut
#               before the end
TranscodedVideoFileSize=0

#----------------------------------------------------------------------------
# Misc Settings

# Rotate JPEG files based on EXIF information
AutoExifRotate=false

# Disable these once MediaInfo=True works.
# What extensions are forcefully transcoded
# Don't use this if MediaInfo=true, prefer codec configurations
TranscodeExtensions=mpegps,mpegts,wmv,avi,mp4,mov,flv,rm,mkv,wav,wavpac,lpcm,aac,ac3,mp3,mpa,ogg,wma,dts,dtshd,truehd,eac3,atrac,flac,ape,ra,mpc,aiff,alac,dv,mpeg1,mpeg2,divx,h264,mjpeg,vc1,jpg,png,gif,tiff,bmp,und

# What extensions are forcefully streamed as is (and not transcoded)
# Don't use this if MediaInfo=true, prefer codec configurations
StreamExtensions=mpeg2,mp2

#----------------------------------------------------------------------------
# All supported media formats of this renderer (the rest will be transcoded)
# First steps towards a faster/proper file/codec/mimetype management system (false by default)
# 1- Parse files with mediainfo on Windows/OSX (Linux too if libmediainfo and libzen installed)
# 2- Deprecate following parameters: MuxH264ToMpegTS,MuxDTSToMpeg,MuxLPCMToMpeg,MimeTypesChanges
# 3- The server will skip badly parsed, corrupted files or wrong coding, preventing potential playback errors
# 4- Faster browsing, due to the launch of FFmpeg/MPlayer first thumbnailer process with each http client request, rather than in the browse DLNA request
# Use MediaInfo for faster and proper file, codec and mime type management
# system (false by default).

MediaInfo=false

# The media parser and this configuration file will recognize the following
# formats and codecs (lower case only, regular expressions are supported).
# Chosen from the most common used and supported formats and codecs.
#
#        mpegps       (mpeg presentation stream, used in DVD Videos, VCDs, etc.)
#        mpegts     (mpeg transport stream, used in sat tv, blu rays, etc.)
#        wmv        (Windows Media Video, tag also used for asf files)
#        avi        (AVI container)
#        mp4        (ISOM/MPEG4 container, or MPEG4 codec)
#        mov        (Quicktime container, Apple)
#        flv        (Flash Video)
#        rm         (Real Media, RMVB)
#        mkv        (Matroska)
#        wav        (WAVE file)
#        wavpac     (WavPack)
#        lpcm       (Linear PCM)
#        aac        (Advanced Audio Codec)
#        ac3        (Audio Coding 3)
#        mp3        (Mpeg Audio Layer 3)
#        mpa        (Mpeg Audio)
#        ogg        (Ogg Vorbis)
#        wma        (Windows Media Audio)
#        dts        (Digital Theater Systems)
#        dtshd      (Digital Theater Systems)
#        truehd     (TrueHD)
#        eac3       (Extended AC3)
#        atrac      (Atrac)
#        flac       (Free Lossless Audio Codec)
#        ape        (Monkey's Audio)
#        ra         (Real Audio)
#        mpc        (MusePack)
#        aiff       (AIFF)
#        alac       (Apple Lossless)
#        dv         (Digital Video)
#        mpeg1      (Codec used in VCD)
#        mpeg2      (Codec used in DVD Videos and HDTV)
#        divx       (DivX Video)
#        h264       (H264)
#        mjpeg      (M-JPEG)
#        vc1        (VC-1)
#        jpg        (Jpeg)
#        png        (PNG)
#        gif        (GIF)
#        tiff       (TIFF)
#        bmp        (Bitmap)
#        und        (Undetermined, if the parser did not recognize one of above)
# Usage [IN ORDER TOO]:
#    f: format, MANDATORY (the only conf for a 'eat everything' renderer would be f:.+)
#    v: video codec
#    a: audio codec
#    n: max nb of audio channels
#    s: max audio sample frequency in Hz
#    b: max audio bitrate in bps
#    w: max width in pixels
#    h: max height in pixels
#    m: mimetype, STRONGLY RECOMMENDED (if not declared, an estimated value is assigned)
#    other flags: right now, only qpel and gmc (see avi)
#
# In case of multiple matches, the first mime type of the list is the used one.
# Be careful with regexps such as .+ : You should not use these except when you
# are sure your renderer is quite versatile.
#
# Taken from Wikipedia! http://en.wikipedia.org/wiki/DirecTV
#
# To handle the proliferation of bandwidth-intensive HDTV broadcasting, DirecTV rebroadcasts
# local HDTV stations using the H.264/MPEG-4 AVC codec while employing a newer transmission
# protocol (DVB-S2) over the newer satellites. This allows DirecTV to squeeze much more HD
# programming over its satellite signal than was previously feasible using the older MPEG-2
# compression and DSS protocol it has been using. This technology will be gradually expanded
# to the existing satellites as customer equipment is replaced with new MPEG-4-capable receivers.
#
# From the DirecTV forum:
# bob_nielsen writes -
# Your DLNA server should be recognized.  Acceptable formats are MPEG2 video, MP3 or LPCM (wav)
# audio or JPEG pictures.
# dcd writes -
# I'm not sure, but here are the parameters I have my MPEG2 video converter set to and it plays back fine.
# Encode codec MPEG2/MP2, video bitrate 5,000 kbps, audio bitrate 224 kbps. This is about 2200 Mb/hr.

# gives:

# [Supported video formats]:
#Supported = f:mpegps   v:mpeg2   a:mpa   n:2   m:video/mpeg
#Supported = f:avi|divx   v:mp4|divx|mjpeg   a:mp3|lpcm|mpa|ac3   n:2   m:video/x-divx
#Supported = f:mov   m:video/quicktime
#Supported = f:mp4   v:mp4|h264   a:ac3|aac   n:2   m:video/mp4
#Supported = f:mpegps|mpegts|mkv   v:mpeg1|mpeg2|mp4|h264   n:2   a:ac3|lpcm|aac|mpa   m:video/mpeg
#Supported = f:ogg   v:ogg   a:mp3|lpcm|mpa|ac3   n:2   m:application/ogg
#Supported = f:rm   v:rm   a:ra   n:2   m:application/vnd.rn-realmedia
#Supported = f:wmv   v:wmv|vc1   a:wma   n:2   m:video/x-ms-wmv
Supported = f:mpeg2   v:mpeg2   a: mp2   n:2   m:video/mpeg2

# [Supported audio formats]:
#Supported = f:mp3   n:2   m:audio/mpeg
#Supported = f:wav   a:dts|lpcm   n:2   s:48000   m:audio/wav
#Supported = f:wav   n:2   s:48000   m:audio/wav
#Supported = f:aac   n:2   a:(?!alac).+   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:mp2   n:2   s:48000   m:audio/mpeg  

# [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

# Use faster method to create DLNA tree with MediaInfo. Not supported by some renderers,
# false by default (upnp specification violation).
CreateDLNATreeFaster = true

#----------------------------------------------------------------------------
Transcoding Settings tab --> Misc Settings --> MPEG-2 Options:

Code: Select all

keyint=5:vqmax=6:vqmin=1
The settings above worked for me but your milage will vary. Please let us know if other video quality settings worked better for you.

Re: DirecTV HRxx and Hxx Thread

Posted: Mon Jul 15, 2013 6:31 am
by rrb
I'm no expert on htis topic, but I belive the H2x series only used mpegts streams with mpeg2 video. I've been streaming ac3 audio as well for several years to this renders

This works well for me

Code: Select all

#----------------------------------------------------------------------------
# Profile for DirecTV HR-xx Series Boxes.
# See PS3.conf for a description of all possible configuration options.
#
# This profile is still in an experimental stage.
# You are encouraged to experiment and report back the results on the forums
# at http://www.universalmediaserver.com/forum/
#

#----------------------------------------------------------------------------
# General informations / detection

RendererName=DirecTV HR
RendererIcon=directvhr.png

# UserAgentSearch: regular expression to detect the connected renderer.
# DirecTV has been observed using the following user agents:
#
# User-Agent: Linux/2.6.18-lttng-0.6.41, UPnP/1.0 DIRECTV JHUPnP/1.0 DLNADOC/1.00 DIRECTV VIIV devices INTEL_NMPR/2.1
# User-Agent: Linux/2.6.18.5, UPnP/1.0 DIRECTV JHUPnP/1.0 DLNADOC/1.00 DIRECTV VIIV devices INTEL_NMPR/2.1
# User-Agent: Linux/2.6.31-2.6, UPnP/1.0 DIRECTV JHUPnP/1.0 DLNADOC/1.00 DIRECTV VIIV devices INTEL_NMPR/2.1
# User-Agent: Linux/2.6.31-2.6, UPnP/1.0 DIRECTV JHUPnP/1.0
#
# Combined regular expression of working user agents
UserAgentSearch=DIRECTV

# UserAgentAdditionalHeaders: additional HTTP header for better detection
UserAgentAdditionalHeader=DLNADOC/1.00 DIRECTV VIIV devices INTEL_NMPR/2.1
UserAgentAdditionalHeaderSearch=

#Basic capabilities
Video=true
Audio=true
Image=true

#----------------------------------------------------------------------------
# DLNA settings

# Use the DLNA feature seek by time and not by range
SeekByTime=true

# Serve different flavors of localization in the DLNA parameters (PAL/NTSC, NA/EU/JP)
# to allow every worldwide renderer to see the files.
#DLNALocalizationRequired=false

#----------------------------------------------------------------------------
# Transcoding/Muxing capabilities
#

# Transcode profiles for video and audio engines
# currently supported: MPEGPSAC3, MPEGTSAC3 or WMV for video, LPCM, WAV or MP3 for audio
TranscodeVideo=MPEGTSAC3
TranscodeAudio=MP3

# Use default DVD buffer size: false = greater bitrate and faster encoding,
# but can generate incompatible videos, depends of your media renderer
DefaultVBVBufSize=false

# Do you need to MUX LPCM to MPEG?
MuxLPCMToMpeg=false

# Does the media renderer supports DTS wrapped into LPCM in a mpeg file ?
WrapDTSIntoPCM=false

# Maximum bit rate supported by the media renderer (0=unlimited)
MaxVideoBitrateMbps=5

# Max Width and Height supported by the media renderer (0=unlimited)
MaxVideoWidth=1920
MaxVideoHeight=1080

# Does the media renderer supports only H264 L4.1 at most ?
H264Level41Limited=true

# Does music files need to be resampled at 44.1kHz?
TranscodeAudioTo441kHz=false

# Does the client need to receive transcoded video with minimal delay ?
# (Useful when the client has a small timeout delay)
TranscodeFastStart=true

# Size of the transcoded file (unknown length) sent to the renderer (could
# determine browsing failure/success) Possible values:
#
#           -1: Specific value working with the PS3, means perfect transcoding
#               and copying support (it is against the DLNA spec though)
#            0: size attribute is NOT sent to the renderer (default value if
#               this parameter isn't used)
# 100000000000: 100Gb, if you want to be sure that the media file is not cut
#               before the end
TranscodedVideoFileSize=0

#----------------------------------------------------------------------------
# Misc Settings

# Rotate JPEG files based on EXIF information
AutoExifRotate=false

# Disable these once MediaInfo=True works.
# What extensions are forcefully transcoded
# Don't use this if MediaInfo=true, prefer codec configurations
TranscodeExtensions=mpegps,mpegts,wmv,avi,mp4,mov,flv,rm,mkv,wav,wavpac,lpcm,aac,ac3,mp3,mpa,ogg,wma,dts,dtshd,truehd,eac3,atrac,flac,ape,ra,mpc,aiff,alac,dv,mpeg1,mpeg2,divx,h264,mjpeg,vc1,jpg,png,gif,tiff,bmp,und

# What extensions are forcefully streamed as is (and not transcoded)
# Don't use this if MediaInfo=true, prefer codec configurations
StreamExtensions=mpeg2,mp3

#----------------------------------------------------------------------------
# All supported media formats of this renderer (the rest will be transcoded)
# First steps towards a faster/proper file/codec/mimetype management system (false by default)
# 1- Parse files with mediainfo on Windows/OSX (Linux too if libmediainfo and libzen installed)
# 2- Deprecate following parameters: MuxH264ToMpegTS,MuxDTSToMpeg,MuxLPCMToMpeg,MimeTypesChanges
# 3- The server will skip badly parsed, corrupted files or wrong coding, preventing potential playback errors
# 4- Faster browsing, due to the launch of FFmpeg/MPlayer first thumbnailer process with each http client request, rather than in the browse DLNA request
# Use MediaInfo for faster and proper file, codec and mime type management
# system (false by default).

MediaInfo=false

# The media parser and this configuration file will recognize the following
# formats and codecs (lower case only, regular expressions are supported).
# Chosen from the most common used and supported formats and codecs.
#
#        mpegps       (mpeg presentation stream, used in DVD Videos, VCDs, etc.)
#        mpegts     (mpeg transport stream, used in sat tv, blu rays, etc.)
#        wmv        (Windows Media Video, tag also used for asf files)
#        avi        (AVI container)
#        mp4        (ISOM/MPEG4 container, or MPEG4 codec)
#        mov        (Quicktime container, Apple)
#        flv        (Flash Video)
#        rm         (Real Media, RMVB)
#        mkv        (Matroska)
#        wav        (WAVE file)
#        wavpac     (WavPack)
#        lpcm       (Linear PCM)
#        aac        (Advanced Audio Codec)
#        ac3        (Audio Coding 3)
#        mp3        (Mpeg Audio Layer 3)
#        mpa        (Mpeg Audio)
#        ogg        (Ogg Vorbis)
#        wma        (Windows Media Audio)
#        dts        (Digital Theater Systems)
#        dtshd      (Digital Theater Systems)
#        truehd     (TrueHD)
#        eac3       (Extended AC3)
#        atrac      (Atrac)
#        flac       (Free Lossless Audio Codec)
#        ape        (Monkey's Audio)
#        ra         (Real Audio)
#        mpc        (MusePack)
#        aiff       (AIFF)
#        alac       (Apple Lossless)
#        dv         (Digital Video)
#        mpeg1      (Codec used in VCD)
#        mpeg2      (Codec used in DVD Videos and HDTV)
#        divx       (DivX Video)
#        h264       (H264)
#        mjpeg      (M-JPEG)
#        vc1        (VC-1)
#        jpg        (Jpeg)
#        png        (PNG)
#        gif        (GIF)
#        tiff       (TIFF)
#        bmp        (Bitmap)
#        und        (Undetermined, if the parser did not recognize one of above)
# Usage [IN ORDER TOO]:
#    f: format, MANDATORY (the only conf for a 'eat everything' renderer would be f:.+)
#    v: video codec
#    a: audio codec
#    n: max nb of audio channels
#    s: max audio sample frequency in Hz
#    b: max audio bitrate in bps
#    w: max width in pixels
#    h: max height in pixels
#    m: mimetype, STRONGLY RECOMMENDED (if not declared, an estimated value is assigned)
#    other flags: right now, only qpel and gmc (see avi)
#
# In case of multiple matches, the first mime type of the list is the used one.
# Be careful with regexps such as .+ : You should not use these except when you
# are sure your renderer is quite versatile.
#
# Taken from Wikipedia! http://en.wikipedia.org/wiki/DirecTV
#
# To handle the proliferation of bandwidth-intensive HDTV broadcasting, DirecTV rebroadcasts
# local HDTV stations using the H.264/MPEG-4 AVC codec while employing a newer transmission
# protocol (DVB-S2) over the newer satellites. This allows DirecTV to squeeze much more HD
# programming over its satellite signal than was previously feasible using the older MPEG-2
# compression and DSS protocol it has been using. This technology will be gradually expanded
# to the existing satellites as customer equipment is replaced with new MPEG-4-capable receivers.
#
# From the DirecTV forum:
# bob_nielsen writes -
# Your DLNA server should be recognized.  Acceptable formats are MPEG2 video, MP3 or LPCM (wav)
# audio or JPEG pictures.
# dcd writes -
# I'm not sure, but here are the parameters I have my MPEG2 video converter set to and it plays back fine.
# Encode codec MPEG2/MP2, video bitrate 5,000 kbps, audio bitrate 224 kbps. This is about 2200 Mb/hr.

# gives:

# [Supported video formats]:
#Supported = f:mpegps   v:mpeg2   a:mpa   n:2   m:video/mpeg
#Supported = f:avi|divx   v:mp4|divx|mjpeg   a:mp3|lpcm|mpa|ac3   n:2   m:video/x-divx
#Supported = f:mov   m:video/quicktime
#Supported = f:mp4   v:mp4|h264   a:ac3|aac   n:2   m:video/mp4
#Supported = f:mpegps|mpegts|mkv   v:mpeg1|mpeg2|mp4|h264   n:2   a:ac3|lpcm|aac|mpa   m:video/mpeg
#Supported = f:ogg   v:ogg   a:mp3|lpcm|mpa|ac3   n:2   m:application/ogg
#Supported = f:rm   v:rm   a:ra   n:2   m:application/vnd.rn-realmedia
#Supported = f:wmv   v:wmv|vc1   a:wma   n:2   m:video/x-ms-wmv
Supported = f:mpegts   v:mpeg2   a:ac3   n:2   m:video/mpeg2

# [Supported audio formats]:
#Supported = f:mp3   n:2   m:audio/mpeg
#Supported = f:wav   a:dts|lpcm   n:2   s:48000   m:audio/wav
#Supported = f:wav   n:2   s:48000   m:audio/wav
#Supported = f:aac   n:2   a:(?!alac).+   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:mp2   n:2   s:48000   m:audio/mpeg  

# [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

# Use faster method to create DLNA tree with MediaInfo. Not supported by some renderers,
# false by default (upnp specification violation).
CreateDLNATreeFaster = true

#----------------------------------------------------------------------------

Re: DirecTV HRxx and Hxx Thread

Posted: Sat Jul 20, 2013 12:50 pm
by DeFlanko
I'm sorry i completely dropped the ball on this.

I need to spend more time on this.

@rrb

I took your Conf file and will try on my Genie when i get home today and post my results.

@Max

Is there anyway those switch's can be added in the Conf? or no...

Re: DirecTV HRxx and Hxx Thread

Posted: Tue Jul 23, 2013 5:11 am
by DeFlanko
My findings:

None of my MP4's worked they all showed "X" next to the name.

Found some more infos:
http://www.cpyarger.com/2012/11/how-to- ... tu-to.html
http://mykmyrs.wordpress.com/2011/12/29 ... -settings/

a few things to note:
My network is GigE from my server to the Directv Genie box.

My server is an Intel Xeon Workstation dual socket (single socket installed currently @ 8 core) with 24 Gb of Buffered Ram.

C:\ OS = SSD drive = Running Windows Server 2008 R2 (x64)
E:\ Data = 2 TB in a raid 0
VSS backups as well on a spare 1 TB disk i have.

So the server is robust enough (i can rip a blu-ray in 2 hours with DVDFab...)

All of my Blu-ray Videos are mp4 with 5.1 AAC audio (some with 7.1) - Avg Video size is like 4GB.

So what ever you need me to test i think i can do it... =)

Re: DirecTV HRxx and Hxx Thread

Posted: Fri Jul 26, 2013 2:35 am
by DeFlanko
New findings. :?:

I had to go back to CONF file drawing board and compare all three... (the one being released, mine, and a few suggested in this thread)

First off the error:

Code: Select all

INFO  2013-07-25 07:30:00.411 [StartPlaying Event] Started playing The Avengers.2012.mp4 on your DirecTV HR
DEBUG 2013-07-25 07:30:00.412 [StartPlaying Event] The full filename of which is: E:\Media\Movies\!Blu-Ray\The Avengers.2012.mp4 and the address of the renderer is: 172.10.1.92
DEBUG 2013-07-25 07:30:00.438 [Thread-58] [mov,mp4,m4a,3gp,3g2,mj2 @ 01fb0560]max_analyze_duration 5000000 reached at 5013333 microseconds
DEBUG 2013-07-25 07:30:00.440 [Thread-59] [lavf] stream 0: video (h264), -vid 0
DEBUG 2013-07-25 07:30:00.440 [Thread-59] [lavf] stream 1: audio (aac), -aid 0, -alang eng
DEBUG 2013-07-25 07:30:00.440 [Thread-59] [lavf] stream 2: subtitle (dvdsub), -sid 0, -slang eng
DEBUG 2013-07-25 07:30:00.440 [Thread-59] [lavf] stream 3: subtitle (dvdsub), -sid 1, -slang eng
DEBUG 2013-07-25 07:30:00.440 [Thread-59] [lavf] stream 4: subtitle (mov_text), -sid 2, -slang und
DEBUG 2013-07-25 07:30:00.440 [Thread-59] [lavf] stream 5: video (mjpeg), -vid 1
DEBUG 2013-07-25 07:30:00.440 [Thread-59] VIDEO:  [H264]  1920x1080  24bpp  23.976 fps  7436.8 kbps (907.8 kbyte/s)
DEBUG 2013-07-25 07:30:00.440 [Thread-59] [V] filefmt:44  fourcc:0x34363248  size:1920x1080  fps:23.976  ftime:=0.0417
DEBUG 2013-07-25 07:30:00.440 [Thread-59] ==========================================================================
DEBUG 2013-07-25 07:30:00.440 [Thread-59] Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
DEBUG 2013-07-25 07:30:00.441 [Thread-59] libavcodec version 54.89.100 (internal)
DEBUG 2013-07-25 07:30:00.443 [Thread-59] AUDIO: 48000 Hz, 6 ch, floatle, 431.4 kbit/4.68% (ratio: 53925->1152000)
DEBUG 2013-07-25 07:30:00.443 [Thread-59] Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
DEBUG 2013-07-25 07:30:00.443 [Thread-55] Result of \\.\pipe\mencoder1374762600185 : true
DEBUG 2013-07-25 07:30:00.443 [Thread-59] ==========================================================================
DEBUG 2013-07-25 07:30:00.443 [Thread-59] PACKET SIZE: 2048 bytes, deltascr: 884
DEBUG 2013-07-25 07:30:00.444 [Thread-59] Opening video filter: [expand osd=1]
DEBUG 2013-07-25 07:30:00.444 [Thread-59] Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
DEBUG 2013-07-25 07:30:00.444 [Thread-59] ==========================================================================
DEBUG 2013-07-25 07:30:00.444 [Thread-59] Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
DEBUG 2013-07-25 07:30:00.446 [Thread-59] Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
DEBUG 2013-07-25 07:30:00.446 [Thread-59] ==========================================================================
DEBUG 2013-07-25 07:30:00.446 [Thread-58] [ac3 @ 01fd9fa0]Channel layout not specified
DEBUG 2013-07-25 07:30:00.446 [Thread-58] [ac3 @ 01fd9fa0]No channel layout specified. The encoder will guess the layout, but it might be incorrect.
DEBUG 2013-07-25 07:30:00.446 [Thread-58] Limiting audio preload to 0.4s.
DEBUG 2013-07-25 07:30:00.446 [Thread-58] Increasing audio density to 4.
DEBUG 2013-07-25 07:30:00.457 [Thread-58] 
DEBUG 2013-07-25 07:30:00.457 [Thread-58] 1 duplicate frame(s)!
DEBUG 2013-07-25 07:30:00.457 [Thread-58] Muxer frame buffer cannot allocate memory!
DEBUG 2013-07-25 07:30:00.459 [Thread-59] Movie-Aspect is undefined - no prescaling applied.
DEBUG 2013-07-25 07:30:00.459 [Thread-59] videocodec: libavcodec (1920x1080 fourcc=3267706d [mpg2])
DEBUG 2013-07-25 07:30:00.511 [Thread-58] 
DEBUG 2013-07-25 07:30:00.511 [Thread-58] 1 duplicate frame(s)!
DEBUG 2013-07-25 07:30:00.511 [Thread-58] Muxer frame buffer cannot allocate memory!
DEBUG 2013-07-25 07:30:00.528 [Thread-59] Writing header...
DEBUG 2013-07-25 07:30:00.528 [Thread-59] INITV: 0.200, 0.158, fps: 23.976
DEBUG 2013-07-25 07:30:00.528 [Thread-59] 
DEBUG 2013-07-25 07:30:01.797 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:01.852 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:01.948 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:01.969 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:01.992 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:02.033 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:02.056 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:02.218 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:02.246 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:02.274 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:02.297 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:02.365 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:02.390 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:02.435 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:02.462 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:02.486 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:02.524 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:02.551 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:02.577 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:02.603 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:02.668 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:02.680 [Buffered IO End Checker] Stopping process: ffmpeg.exe-8
DEBUG 2013-07-25 07:30:02.692 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:02.715 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:02.749 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:02.771 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:02.793 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:02.816 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:02.869 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:02.903 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:02.926 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:02.952 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:02.975 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:03.001 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:03.029 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:03.071 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:03.098 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:03.124 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:03.150 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:03.179 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:03.220 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:03.242 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:03.272 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:03.293 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:03.314 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:03.342 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:03.365 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:03.391 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:03.417 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:03.440 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:03.464 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:03.492 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:03.515 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:03.536 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:03.562 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:03.585 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:03.605 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:03.633 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:03.656 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:03.680 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:03.707 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:03.732 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:03.751 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:03.780 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:03.804 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:03.828 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:03.853 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:03.875 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:03.896 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:03.921 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:03.942 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:03.962 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:03.988 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:04.009 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:04.030 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:04.083 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:04.105 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:04.123 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:04.143 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:04.163 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:04.190 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:04.215 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:04.240 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:04.264 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:04.286 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:04.314 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:04.337 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:04.361 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:04.383 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:04.407 [Thread-58] [mpeg2video @ 01fd9fa0]rc buffer underflow
DEBUG 2013-07-25 07:30:04.414 [Buffered IO End Checker] Stopping process: mencoder.exe-9
INFO  2013-07-25 07:30:05.913 [StopPlaying Event] Stopped playing The Avengers.2012.mp4 on your DirecTV HR
DEBUG 2013-07-25 07:30:05.914 [StopPlaying Event] The full filename of which is: E:\Media\Movies\!Blu-Ray\The Avengers.2012.mp4 and the address of the renderer is: 172.10.1.92
The play back was entirely a black screen... but at least this time the videos in the list were not "X"

The Conf:

Code: Select all

#----------------------------------------------------------------------------
# Profile for DirecTV HR-xx Series Boxes.
# See PS3.conf for a description of all possible configuration options.
#
# This profile is still in an experimental stage.
# You are encouraged to experiment and report back the results on the forums
# at http://www.universalmediaserver.com/forum/
#

#----------------------------------------------------------------------------
# General informations / detection

RendererName=DirecTV HR
RendererIcon=directvhr.png

# UserAgentSearch: regular expression to detect the connected renderer.
# DirecTV has been observed using the following user agents:
#
# User-Agent: Linux/2.6.18-lttng-0.6.41, UPnP/1.0 DIRECTV JHUPnP/1.0 DLNADOC/1.00 DIRECTV VIIV devices INTEL_NMPR/2.1
# User-Agent: Linux/2.6.18.5, UPnP/1.0 DIRECTV JHUPnP/1.0 DLNADOC/1.00 DIRECTV VIIV devices INTEL_NMPR/2.1
# User-Agent: Linux/2.6.31-2.6, UPnP/1.0 DIRECTV JHUPnP/1.0 DLNADOC/1.00 DIRECTV VIIV devices INTEL_NMPR/2.1
# User-Agent: Linux/2.6.31-2.6, UPnP/1.0 DIRECTV JHUPnP/1.0
#
# Combined regular expression of working user agents
UserAgentSearch=DIRECTV

# UserAgentAdditionalHeaders: additional HTTP header for better detection
UserAgentAdditionalHeader=DLNADOC/1.00 DIRECTV VIIV devices INTEL_NMPR/2.1
UserAgentAdditionalHeaderSearch=

#Basic capabilities
Video=true
Audio=true
Image=true

#----------------------------------------------------------------------------
# DLNA settings

# Use the DLNA feature seek by time and not by range
SeekByTime=true

# Serve different flavors of localization in the DLNA parameters (PAL/NTSC, NA/EU/JP)
# to allow every worldwide renderer to see the files.
#DLNALocalizationRequired=false

#----------------------------------------------------------------------------
# Transcoding/Muxing capabilities
#

# Transcode profiles for video and audio engines
# currently supported: MPEGPSAC3, MPEGTSAC3 or WMV for video, LPCM, WAV or MP3 for audio
TranscodeVideo=MPEGPSAC3
TranscodeAudio=MP3

# Use default DVD buffer size: false = greater bitrate and faster encoding,
# but can generate incompatible videos, depends of your media renderer
DefaultVBVBufSize=false

# Do you need to MUX LPCM to MPEG?
MuxLPCMToMpeg=false

# Does the media renderer supports DTS wrapped into LPCM in a mpeg file ?
WrapDTSIntoPCM=false

# Maximum bit rate supported by the media renderer (0=unlimited)
MaxVideoBitrateMbps=10

# Max Width and Height supported by the media renderer (0=unlimited)
MaxVideoWidth=1920
MaxVideoHeight=1080

# Does the media renderer supports only H264 L4.1 at most ?
H264Level41Limited=true

# Does music files need to be resampled at 44.1kHz?
TranscodeAudioTo441kHz=false

# Does the client need to receive transcoded video with minimal delay ?
# (Useful when the client has a small timeout delay)
TranscodeFastStart=true

# Size of the transcoded file (unknown length) sent to the renderer (could
# determine browsing failure/success) Possible values:
#
#           -1: Specific value working with the PS3, means perfect transcoding
#               and copying support (it is against the DLNA spec though)
#            0: size attribute is NOT sent to the renderer (default value if
#               this parameter isn't used)
# 100000000000: 100Gb, if you want to be sure that the media file is not cut
#               before the end
TranscodedVideoFileSize=0

#----------------------------------------------------------------------------
# Misc Settings

# Rotate JPEG files based on EXIF information
AutoExifRotate=false

# Disable these once MediaInfo=True works.
# What extensions are forcefully transcoded
# Don't use this if MediaInfo=true, prefer codec configurations
TranscodeExtensions=mpegps,mpegts,wmv,avi,mp4,mov,flv,rm,mkv,wav,wavpac,lpcm,aac,ac3,mp3,mpa,ogg,wma,dts,dtshd,truehd,eac3,atrac,flac,ape,ra,mpc,aiff,alac,dv,mpeg1,mpeg2,divx,h264,mjpeg,vc1,jpg,png,gif,tiff,bmp,und

# What extensions are forcefully streamed as is (and not transcoded)
# Don't use this if MediaInfo=true, prefer codec configurations
StreamExtensions=mpeg2,mp3

#----------------------------------------------------------------------------
# All supported media formats of this renderer (the rest will be transcoded)
# First steps towards a faster/proper file/codec/mimetype management system (false by default)
# 1- Parse files with mediainfo on Windows/OSX (Linux too if libmediainfo and libzen installed)
# 2- Deprecate following parameters: MuxH264ToMpegTS,MuxDTSToMpeg,MuxLPCMToMpeg,MimeTypesChanges
# 3- The server will skip badly parsed, corrupted files or wrong coding, preventing potential playback errors
# 4- Faster browsing, due to the launch of FFmpeg/MPlayer first thumbnailer process with each http client request, rather than in the browse DLNA request
# Use MediaInfo for faster and proper file, codec and mime type management
# system (false by default).

MediaInfo=true

# The media parser and this configuration file will recognize the following
# formats and codecs (lower case only, regular expressions are supported).
# Chosen from the most common used and supported formats and codecs.
#
#        mpegps		(mpeg presentation stream, used in DVD Videos, VCDs, etc.)
#        mpegts     (mpeg transport stream, used in sat tv, blu rays, etc.)
#        wmv        (Windows Media Video, tag also used for asf files)
#        avi        (AVI container)
#        mp4        (ISOM/MPEG4 container, or MPEG4 codec)
#        mov        (Quicktime container, Apple)
#        flv        (Flash Video)
#        rm         (Real Media, RMVB)
#        mkv        (Matroska)
#        wav        (WAVE file)
#        wavpac     (WavPack)
#        lpcm       (Linear PCM)
#        aac        (Advanced Audio Codec)
#        ac3        (Audio Coding 3)
#        mp3        (Mpeg Audio Layer 3)
#        mpa        (Mpeg Audio)
#        ogg        (Ogg Vorbis)
#        wma        (Windows Media Audio)
#        dts        (Digital Theater Systems)
#        dtshd      (Digital Theater Systems)
#        truehd     (TrueHD)
#        eac3       (Extended AC3)
#        atrac      (Atrac)
#        flac       (Free Lossless Audio Codec)
#        ape        (Monkey's Audio)
#        ra         (Real Audio)
#        mpc        (MusePack)
#        aiff       (AIFF)
#        alac       (Apple Lossless)
#        dv         (Digital Video)
#        mpeg1      (Codec used in VCD)
#        mpeg2      (Codec used in DVD Videos and HDTV)
#        divx       (DivX Video)
#        h264       (H264)
#        mjpeg      (M-JPEG)
#        vc1        (VC-1)
#        jpg        (Jpeg)
#        png        (PNG)
#        gif        (GIF)
#        tiff       (TIFF)
#        bmp        (Bitmap)
#        und        (Undetermined, if the parser did not recognize one of above)
# Usage [IN ORDER TOO]:
#    f: format, MANDATORY (the only conf for a 'eat everything' renderer would be f:.+)
#    v: video codec
#    a: audio codec
#    n: max nb of audio channels (2 or 6)
#    s: max audio sample frequency in Hz
#    b: max audio bitrate in bps
#    w: max width in pixels
#    h: max height in pixels
#    m: mimetype, STRONGLY RECOMMENDED (if not declared, an estimated value is assigned)
#    other flags: right now, only qpel and gmc (see avi)
#
# In case of multiple matches, the first mime type of the list is the used one.
# Be careful with regexps such as .+ : You should not use these except when you
# are sure your renderer is quite versatile.
#
# Taken from Wikipedia! http://en.wikipedia.org/wiki/DirecTV
#
# To handle the proliferation of bandwidth-intensive HDTV broadcasting, DirecTV rebroadcasts
# local HDTV stations using the H.264/MPEG-4 AVC codec while employing a newer transmission
# protocol (DVB-S2) over the newer satellites. This allows DirecTV to squeeze much more HD
# programming over its satellite signal than was previously feasible using the older MPEG-2
# compression and DSS protocol it has been using. This technology will be gradually expanded
# to the existing satellites as customer equipment is replaced with new MPEG-4-capable receivers.
#
# From the DirecTV forum:
# bob_nielsen writes -
# Your DLNA server should be recognized.  Acceptable formats are MPEG2 video, MP3 or LPCM (wav)
# audio or JPEG pictures.
# dcd writes -
# I'm not sure, but here are the parameters I have my MPEG2 video converter set to and it plays back fine.
# Encode codec MPEG2/MP2, video bitrate 5,000 kbps, audio bitrate 224 kbps. This is about 2200 Mb/hr.

# gives:

# [Supported video formats]:
#Supported = f:mpegps   v:mpeg2   a:mpa   n:2   m:video/mpeg
#Supported = f:avi|divx   v:mp4|divx|mjpeg   a:mp3|lpcm|mpa|ac3   n:2   m:video/x-divx
#Supported = f:mov   m:video/quicktime
#Supported = f:mp4   v:mp4|h264   a:ac3|aac   n:2   m:video/mp4
#Supported = f:mpegps|mpegts|mkv   v:mpeg1|mpeg2|mp4|h264   n:2   a:ac3|lpcm|aac|mpa   m:video/mpeg
#Supported = f:ogg   v:ogg   a:mp3|lpcm|mpa|ac3   n:2   m:application/ogg
#Supported = f:rm   v:rm   a:ra   n:2   m:application/vnd.rn-realmedia
#Supported = f:wmv   v:wmv|vc1   a:wma   n:2   m:video/x-ms-wmv
Supported = f:mpegts   v:mpeg2   a:ac3   n:2   m:video/mpeg2

# [Supported audio formats]:
#Supported = f:mp3   n:2   m:audio/mpeg
#Supported = f:wav   a:dts|lpcm   n:2   s:48000   m:audio/wav
#Supported = f:wav   n:2   s:48000   m:audio/wav
#Supported = f:aac   n:2   a:(?!alac).+   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:mp2   n:2   s:48000   m:audio/mpeg

# [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

# Use faster method to create DLNA tree with MediaInfo. Not supported by some renderers,
# false by default (upnp specification violation).
CreateDLNATreeFaster = true

#----------------------------------------------------------------------------

Re: DirecTV HRxx and Hxx Thread

Posted: Fri Jul 26, 2013 2:39 am
by DeFlanko
With the origional CONF:

Code: Select all

#----------------------------------------------------------------------------
# DirecTV.conf
#
# PS3 Media Server profile for Directv HR-22 (and possibly other models).
# See PS3.conf for a description of all possible configuration options.
#
# This profile is still in an experimental stage.
# You are encouraged to experiment and report back the results on the forums
# at http://www.ps3mediaserver.org/.

#----------------------------------------------------------------------------
# General informations / detection

RendererName=DirecTv
RendererIcon=DirecTV.png

# UserAgentSearch: regular expression to detect the connected renderer.
# AirPlayer has been observed using the following user agents:
#
# User-Agent: Linux/2.6.18-lttng-0.6.41, UPnP/1.0 DIRECTV JHUPnP/1.0 DLNADOC/1.00 DIRECTV VIIV devices INTEL_NMPR/2.1
# User-Agent: 
#
# Combined regular expression of working user agents
UserAgentSearch=DirecTV

# UserAgentAdditionalHeaders: additional HTTP header for better detection
UserAgentAdditionalHeader=DirecTV
UserAgentAdditionalHeaderSearch=

#Basic capabilities
Video=true
Audio=true
Image=true

#----------------------------------------------------------------------------
# DLNA settings

# Use the DLNA feature seek by time and not by range
SeekByTime=true

# Serve different flavors of localization in the DLNA parameters (PAL/NTSC, NA/EU/JP)
# to allow every worldwide renderer to see the files.
DLNALocalizationRequired=true

#----------------------------------------------------------------------------
# Transcoding/Muxing capabilities
#

# Transcode codecs for video and audio engines
# currently supported: MPEGAC3, MPEGTSAC3 or WMV for video, PCM or MP3 for audio
TranscodeVideo=MPEGAC3
TranscodeAudio=LPCM

# Use default DVD buffer size: false = greater bitrate and faster encoding,
# but can generate incompatible videos, depends of your media renderer
DefaultVBVBufSize=true

# Does the media renderer supports DTS wrapped into LPCM in a mpeg file ?
WrapDTSIntoPCM=false

# Does the Device need Muxing? (false by default)
MuxH264ToMpegTS=true
MuxDTSToMpeg=true
MuxLPCMToMpeg=true

# MIME Changes? (oldmime=newmime|olemime2=newmime2|...)
MimeTypesChanges=video/mpeg=video/mpeg2

# Maximum bit rate supported by the media renderer (0=unlimited)
MaxVideoBitrateMbps=10

# Max Width and Height supported by the media renderer (0=unlimited)
MaxVideoWidth=0
MaxVideoHeight=0

# Does the media renderer supports only H264 L4.1 at most?
H264Level41Limited=true

# Does music files need to be resampled at 44.1kHz?
TranscodeAudioTo441kHz=true

# Does the client need to receive transcoded video with minimal delay ?
# (Useful when the client has a small timeout delay)
TranscodeFastStart=true

# Size of the transcoded file (unknown length) sent to the renderer (could
# determine browsing failure/success) Possible values:
# 
#           -1: Specific value working with the PS3, means perfect transcoding
#               and copying support (it is against the DLNA spec though)
#            0: size attribute is NOT sent to the renderer (default value if
#               this parameter isn't used)
# 100000000000: 100Gb, if you want to be sure that the media file is not cut
#               before the end
TranscodedVideoFileSize=-1

#----------------------------------------------------------------------------
# Misc Settings

# Rotate JPEG files based on EXIF information
AutoExifRotate=false

# If you want to apply a specific extension for your transcoded files:
#UseSameExtension=mpg

# Don't use this if MediaInfo=true, prefer codec configurations
# Disable these once MediaInfo=True works.
# What extensions are forcefully transcoded

TranscodeExtensions=mpeg2,lpcm,mp3,wav,jpg,mpegps,mpegts,wmv,avi,mp4,mov,flv,rm,mkv,wavpac,aac,ac3,mpa,ogg,wma,dts,dtshd,truehd,eac3,atrac,flac,ape,ra,mpc,aiff,alac,dv,mpeg1,divx,h264,mjpeg,vc1,png,gif,tiff,bmp,und

# What extensions are forcefully streamed as is (and not transcoded)
# Don't use this if MediaInfo=true, prefer codec configurations

StreamExtensions=

#----------------------------------------------------------------------------
MediaInfo=false

# All supported media formats of this renderer (the rest will be transcoded)
# First steps towards a faster/proper file/codec/mimetype management system (false by default)
# 1- Parse files with mediainfo on Windows/OSX (Linux too if libmediainfo and libzen installed)
# 2- Deprecate following parameters: MuxH264ToMpegTS,MuxDTSToMpeg,MuxLPCMToMpeg,MimeTypesChanges
# 3- The server will skip badly parsed, corrupted files or wrong coding, preventing potential playback errors
# 4- Faster browsing, due to the launch of ffmpeg/mplayer first thumbnailer process with each http client request, rather than in the browse DLNA request
# Use MediaInfo for faster and proper file, codec and mime type management
# system (false by default).
#
# The media parser and this configuration file will recognize the following
# formats and codecs (lower case only, regular expressions are supported).
# Chosen from the most common used and supported formats and codecs.
#
#        mpegps	    (mpeg presentation stream, used in DVD Videos, VCDs, etc.)
#        mpegts     (mpeg transport stream, used in sat tv, blu rays, etc.)
#        wmv        (Windows Media Video, tag also used for asf files)
#        avi        (AVI container)
#        mp4        (ISOM/MPEG4 container, or MPEG4 codec)
#        mov        (Quicktime container, Apple)
#        flv        (Flash Video)
#        rm         (Real Media, RMVB)
#        mkv        (Matroska)
#        wav        (WAVE file)
#        wavpac     (WavPack)
#        lpcm       (Linear PCM)
#        aac        (Advanced Audio Codec)
#        ac3        (Audio Coding 3)
#        mp3        (Mpeg Audio Layer 3)
#        mpa        (Mpeg Audio)
#        ogg        (Ogg Vorbis)
#        wma        (Windows Media Audio)
#        dts        (Digital Theater Systems)
#        dtshd      (Digital Theater Systems)
#        truehd     (TrueHD)
#        eac3       (Extended AC3)
#        atrac      (Atrac)
#        flac       (Free Lossless Audio Codec)
#        ape        (Monkey's Audio)
#        ra         (Real Audio)
#        mpc        (MusePack)
#        aiff       (AIFF)
#        alac       (Apple Lossless)
#        dv         (Digital Video)
#        mpeg1      (Codec used in VCD)
#        mpeg2      (Codec used in DVD Videos and HDTV)
#        divx       (DivX Video)
#        h264       (H264)
#        mjpeg      (M-JPEG)
#        vc1        (VC-1)
#        jpg        (Jpeg)
#        png        (PNG)
#        gif        (GIF)
#        tiff       (TIFF)
#        bmp        (Bitmap)
#        und        (Undetermined, if the parser did not recognize one of above)
# Usage [IN ORDER TOO]:
#    f: format, MANDATORY (the only conf for a 'eat everything' renderer would be f:.+)
#    v: video codec
#    a: audio codec
#    n: max nb of audio channels (2 or 6)
#    s: max audio sample frequency in Hz
#    b: max audio bitrate in bps
#    w: max width in pixels
#    h: max height in pixels
#    m: mimetype, STRONGLY RECOMMENDED (if not declared, an estimated value is assigned)
#    other flags: right now, only qpel and gmc (see avi)
#
# In case of multiple matches, the first mime type of the list is the used one.
# Be careful with regexps such as .+ : You should not use these except when you
# are sure your renderer is quite versatile.
#----------------------------------------------------------------------------
# From the DirecTV forum:
# 	bob_nielsen writes -
# 	Your DLNA server should be recognized.  Acceptable formats are MPEG2 video, MP3 or LPCM (wav)
# 	audio or JPEG pictures.
#
# gives:
#----------------------------------------------------------------------------

# [Supported video formats]: 
#Supported = f:mpegts      v:mpeg2	s:44100 n:2     a:wav    m:video/mpeg

# [Supported audio formats]:
#Supported = f:mp3	n:2	s:44100	m:audio/mpeg

# [Supported image formats]:
#Supported = f:jpg	m:image/jpeg

# Use faster method to create DLNA tree with MediaInfo. Not supported by some renderers,
# false by default (upnp specification violation).
CreateDLNATreeFaster = true

#----------------------------------------------------------------------------
i get Video to play but for about 3 seconds...

and an error message that says:
Sorry, the video rate of <video name> exceeds the maximum supported by mediashare.

hmm.....