Ok I've spent the last id say 4 hours trying to get this to work so...
My Directv box is a HR-22
First off my DirecTv.conf file that can play video nicely (thank you MEncoder) but cant play audio:
- 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=wd-tv-live.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=INTEL_NMPR
UserAgentAdditionalHeaderSearch=
#Basic capabilities
Video=true
Audio=true
Image=true
#----------------------------------------------------------------------------
# DLNA settings
# Use the DLNA feature seek by time and not by range
SeekByTime=false
# 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 codecs for video and audio engines
# currently supported: MPEGAC3, MPEGTSAC3 or WMV for video, PCM or MP3 for audio
TranscodeVideo=MPEGAC3
TranscodeAudio=WAV
# 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=-1
#----------------------------------------------------------------------------
# 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,gi
f,tiff,bmp,und
# What extensions are forcefully streamed as is (and not transcoded)
# Don't use this if MediaInfo=true, prefer codec configurations
StreamExtensions=
#----------------------------------------------------------------------------
# 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
# 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 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 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
#----------------------------------------------------------------------------
My DirecTv.conf file with the MediaInfo=true to the specs that ive found in over 4 different threads in this forum that will not play video or sound:
- 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=wd-tv-live.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=INTEL_NMPR
UserAgentAdditionalHeaderSearch=
#Basic capabilities
Video=true
Audio=true
Image=true
#----------------------------------------------------------------------------
# DLNA settings
# Use the DLNA feature seek by time and not by range
SeekByTime=false
# 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 codecs for video and audio engines
# currently supported: MPEGAC3, MPEGTSAC3 or WMV for video, PCM or MP3 for audio
TranscodeVideo=MPEGAC3
TranscodeAudio=WAV
# 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=-1
#----------------------------------------------------------------------------
# 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,wm
a,dts,dtshd,truehd,eac3,atrac,flac,ape,ra,mpc,aiff,alac,dv,mpeg1,mpeg2,divx,h264,mjpeg,vc1,jpg,png,g
if,tiff,bmp,und
# What extensions are forcefully streamed as is (and not transcoded)
# Don't use this if MediaInfo=true, prefer codec configurations
#StreamExtensions=
#----------------------------------------------------------------------------
# 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
# 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 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 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
#----------------------------------------------------------------------------
and the debug.log of the above:
- Code: Select all
[New I/O server worker #1-1] INFO 21:11:52.206 Renderer DirecTv found on this address: /172.10.1.14
[New I/O server worker #1-2] INFO 21:11:52.206 Another renderer like DirecTv was found!
[New I/O server worker #1-2] INFO 21:11:52.215 Renderer DirecTv found on this address: /172.10.1.14
[New I/O server worker #1-2] DEBUG 21:11:52.219 Starting ping -n 3 -l 64000 172.10.1.14
[New I/O server worker #1-1] DEBUG 21:11:52.219 Starting ping -n 3 -l 64000 172.10.1.14
[Thread-14] DEBUG 21:11:54.213 Stopping process: ping
[Thread-15] DEBUG 21:11:54.215 Stopping process: ping
[New I/O server worker #1-1] INFO 21:11:55.181 Renderer WMP found on this address: /172.10.1.35
[New I/O server worker #1-1] DEBUG 21:11:55.183 Starting ping -n 3 -l 64000 172.10.1.35
[main] INFO 21:11:56.114 The server should now appear on your renderer
[Thread-20] DEBUG 21:11:57.178 Stopping process: ping
[New I/O server worker #1-1] INFO 21:11:57.183 Renderer WMP has an estimated network speed of: 20 Mb/s
[Thread-23] DEBUG 21:12:06.073 Sending ALIVE...
[New I/O server worker #1-2] INFO 21:12:24.234 Starting transcode/remux of Mars_Needs_Moms.avi
[New I/O server worker #1-2] DEBUG 21:12:24.344 Creating pipe \\.\pipe\mencoder1313554344328
[New I/O server worker #1-2] DEBUG 21:12:24.359 Should allocate 2748463 bytes realistically, forcing allocation of 50500000 bytes instead.
[New I/O server worker #1-2] DEBUG 21:12:24.359 Not enough memory to allocate 629145600 bytes, using 50500000 bytes instead.
[Thread-25] DEBUG 21:12:24.608 Waiting for pipe connection \\.\pipe\mencoder1313554344328
[win32/mencoder_mt.exe] DEBUG 21:12:24.671 Starting C:\Program Files\PS3 Media Server\win32\mencoder_mt.exe -ss 0 -quiet D:\Downloads\Mars_Needs_Moms.avi -quiet -quiet -oac lavc -of mpeg -quiet -quiet -mpegopts format=mpeg2:muxrate=500000:vbuf_size=1194:abuf_size=64 -ovc lavc -channels 2 -lavdopts debug=0:threads=2:skiploopfilter=all -lavcopts autoaspect=1:vcodec=mpeg2video:acodec=ac3:abitrate=256:threads=2:keyint=5:vqscale=1:vqmin=1:vrc_maxrate=10000:vrc_buf_size=1835 -quiet -quiet -subdelay 20000 -fps 24000/1001 -ofps 24000/1001 -quiet -quiet -lavdopts fast -mc 0 -noskip -af lavcresample=48000 -srate 48000 -o \\.\pipe\mencoder1313554344328
[win32/mencoder_mt.exe] DEBUG 21:12:24.671 Reading pipe: \\.\pipe\mencoder1313554344328
[win32/mencoder_mt.exe] DEBUG 21:12:24.671 Attaching thread: win32/mencoder_mt.exe
[Thread-25] DEBUG 21:12:24.905 Result of \\.\pipe\mencoder1313554344328 : true
[Thread-23] DEBUG 21:12:29.357 Sending ALIVE...
[Thread-30] DEBUG 21:12:40.796 Stopping process: win32/mencoder_mt.exe
now... i think... if there is a way to tell MEncoder to use the audio bitrate of 224 i think it might work.
P.S. iv also scowered the DirecTV forum and added some clippings of that into the .conf file.
Please test this everyone and let me know if you get the same results.
I was also thinking about changing the max width and height back to 0.
curious to note if the directv box auto switches resolutions... i didn't notice if it did or not...
Dev's and Mods - what am i doing wrong?



