UniversalMediaServer / UniversalMediaServer

A DLNA, UPnP and HTTP(S) Media Server.
https://www.universalmediaserver.com
GNU General Public License v2.0
2.31k stars 457 forks source link

Bravia XBR renderer config update request #1325

Closed lopopolo closed 7 years ago

lopopolo commented 7 years ago

It appears the XBR config has not been touched since 2014. I don't know exactly what I'm looking for, but this spec sheet indicates that the newer XBRs at least support mkv:VP8 and webm for video, JPEG images, and FLAC audio.

screen shot 2017-06-26 at 8 33 57 pm
SubJunk commented 7 years ago

@lopopolo do you have those file types to test?

lopopolo commented 7 years ago

I have a FLAC, VP8 video in an MKV, and VP8 video in a webm.

lopopolo commented 7 years ago

Also, this TV is a 4K TV. If the older XBRs are not, does that warrant creating a renderer profile at higher priority for the E series? The suggestion in the pull request that i manually uncomment the max resolution configs seems user hostile.

SubJunk commented 7 years ago

Yes it would be good to create an E series profile. If you can provide us with logs we can make an attempt at that

lopopolo commented 7 years ago

What do I need to do to capture these logs?

Nadahar commented 7 years ago

@lopopolo Follow these steps. Under "reproduce bugs" try to play the file(s) in question. Attach the resulting zip file in a comment here.

lopopolo commented 7 years ago

I've tried my best to pick out the relevant logs. My network has 6 renderers so I wanted to spare you the noise.

My test folder contains the following:

$ ls -1a
./
../
.DS_Store
Kanye West Ft_ DJ Khaled -- WAY TOO COLD.flac
vp8.mkv
vp8.webm
vp9.mkv

The XBR-65X900E does not natively support the VP9 codec; however, attempting to play vp9.mkv yields these logs, which indicate that the transcode has failed:

DEBUG 2017-06-30 14:47:12.619 [HTTPv2 Request Worker 16] Switching rendering context to 'XBR-65X900E Blue Ivy [FFmpeg]' from 'Chrome [FFmpeg]'
DEBUG 2017-06-30 14:47:12.619 [HTTPv2 Request Worker 16] Starting transcode/remux of vp9.mkv with media info: Container: MKV, Size: 2236847, Video Bitrate: 554842, Video Tracks: 1, Video Codec: vp9, Duration: 0:00:32, Video Resolution: 638 x 360, Frame Rate Mode: CFR (CFR), Audio Tracks: 1 [Audio Codec: AAC-LC, Bitrate: 0, Channels: 2, Sample Frequency: 44100 Hz], DLNAThumbnail: [Format = JPEG, Resolution = 319×180, Size = 6190, DLNA Profile = JPEG_RES_319_180], Mime Type: video/x-matroska
DEBUG 2017-06-30 14:47:12.626 [HTTPv2 Request Worker 16] Reading HalveBitrate: true (default: false)
DEBUG 2017-06-30 14:47:12.628 [HTTPv2 Request Worker 16] Starting mkfifo -m 777 /var/folders/w1/l8xvpngj3b3f6l7m8y2xgyjm0000gn/T/UMS-lopopolo/ffmpegvideo_145_1498859232627
DEBUG 2017-06-30 14:47:12.632 [HTTPv2 Request Worker 16] Unix process ID (mkfifo): 34779
DEBUG 2017-06-30 14:47:12.940 [ffmpeg-14] Starting "/Applications/Universal Media Server.app/Contents/Resources/osx/ffmpeg" -y -loglevel fatal -i /Users/lopopolo/Media-Server/xbr-test/vp9.mkv -bufsize 1835k -g 5 -q:v 1 -qmin 2 -qmax 3 -ab 448k -ar 48000 -c:a ac3 -c:v mpeg2video -f vob /var/folders/w1/l8xvpngj3b3f6l7m8y2xgyjm0000gn/T/UMS-lopopolo/ffmpegvideo_145_1498859232627
DEBUG 2017-06-30 14:47:12.946 [ffmpeg-14] Reading pipe: /var/folders/w1/l8xvpngj3b3f6l7m8y2xgyjm0000gn/T/UMS-lopopolo/ffmpegvideo_145_1498859232627
DEBUG 2017-06-30 14:47:12.985 [ffmpeg-14] Attaching thread: ffmpeg-14
DEBUG 2017-06-30 14:47:12.986 [ffmpeg-14] Unix process ID ("/Applications/Universal Media Server.app/Contents/Resources/osx/ffmpeg"): 34780
INFO  2017-06-30 14:47:12.987 [ffmpeg-14] Process "/Applications/Universal Media Server.app/Contents/Resources/osx/ffmpeg" has a return code of 1! Maybe an error occurred... check the log file
DEBUG 2017-06-30 14:47:12.987 [ffmpeg-14] Stopping Unix process 34779: mkfifo-15

running the command manually gives this error:

$ "/Applications/Universal Media Server.app/Contents/Resources/osx/ffmpeg" -y -loglevel info -i /Users/lopopolo/Media-Server/xbr-test/vp9.mkv -bufsize 1835k -g 5 -q:v 1 -qmin 2 -qmax 3 -ab 448k -ar 48000 -c:a ac3 -c:v mpeg2video -f vob foo
ffmpeg version N-84607-g9bcc5e8-tessus Copyright (c) 2000-2017 the FFmpeg developers
  built with Apple LLVM version 8.0.0 (clang-800.0.42.1)
  configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg --extra-version=tessus --enable-avisynth --enable-fontconfig --enable-gpl --enable-libass --enable-libbluray --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopus --enable-libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzmq --enable-libzvbi --enable-version3 --disable-ffplay --disable-indev=qtkit
  libavutil      55. 50.100 / 55. 50.100
  libavcodec     57. 86.102 / 57. 86.102
  libavformat    57. 67.100 / 57. 67.100
  libavdevice    57.  3.101 / 57.  3.101
  libavfilter     6. 78.100 /  6. 78.100
  libswscale      4.  3.101 /  4.  3.101
  libswresample   2.  4.100 /  2.  4.100
  libpostproc    54.  2.100 / 54.  2.100
Input #0, matroska,webm, from '/Users/lopopolo/Media-Server/xbr-test/vp9.mkv':
  Metadata:
    ENCODER         : Lavf56.1.0
  Duration: 00:00:32.25, start: 0.000000, bitrate: 554 kb/s
    Stream #0:0(eng): Video: vp9 (Profile 0), yuv420p(tv, smpte170m/unknown/unknown), 638x360, SAR 1:1 DAR 319:180, 23.98 fps, 23.98 tbr, 1k tbn, 1k tbc (default)
    Stream #0:1(und): Audio: aac (LC), 44100 Hz, stereo, fltp (default)
    Metadata:
      CREATION_TIME   : 2015-05-17 02:58:30
      LANGUAGE        : und
Stream mapping:
  Stream #0:0 -> #0:0 (vp9 (native) -> mpeg2video (native))
  Stream #0:1 -> #0:1 (aac (native) -> ac3 (native))
Press [q] to stop, [?] for help
[mpeg2video @ 0x7ff20500e800] Either both buffer size and max rate or neither must be specified
Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
Conversion failed!
$ echo $?
1

changing the video codec to h264 with -c:v h264 allows the video to be transcoded.


A flac file played fine on the TV


Some items in my test folder do not show up in the web ui

ERROR 2017-06-30 14:45:29.652 [pool-2-thread-6] Error adding child: "vp8.mkv"
java.lang.NullPointerException: null
    at net.pms.configuration.RendererConfiguration.calculatedSpeed(RendererConfiguration.java:2555)
    at net.pms.configuration.RendererConfiguration.getMaxVideoBitrate(RendererConfiguration.java:1843)
    at net.pms.configuration.RendererConfiguration.getMaxBandwidth(RendererConfiguration.java:1878)
    at net.pms.dlna.DLNAResource.resolvePlayer(DLNAResource.java:904)
    at net.pms.dlna.DLNAResource.addChild(DLNAResource.java:661)
    at net.pms.dlna.DLNAResource.addChild(DLNAResource.java:546)
    at net.pms.dlna.MapFile.manageFile(MapFile.java:113)
    at net.pms.dlna.MapFile.analyzeChildren(MapFile.java:169)
    at net.pms.dlna.DLNAResource.discoverWithRenderer(DLNAResource.java:1256)
    at net.pms.dlna.DLNAResource.getDLNAResources(DLNAResource.java:1171)
    at net.pms.remote.RemoteBrowseHandler.mkBrowsePage(RemoteBrowseHandler.java:43)
    at net.pms.remote.RemoteBrowseHandler.handle(RemoteBrowseHandler.java:219)
    at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:79)
    at sun.net.httpserver.AuthFilter.doFilter(AuthFilter.java:83)
    at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:82)
    at sun.net.httpserver.ServerImpl$Exchange$LinkHandler.handle(ServerImpl.java:675)
    at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:79)
    at sun.net.httpserver.ServerImpl$Exchange.run(ServerImpl.java:647)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:748)
DEBUG 2017-06-30 14:45:29.653 [pool-2-thread-6] GlobalIdRepo: id not found: -1
ERROR 2017-06-30 14:45:29.677 [pool-2-thread-6] Error adding child: "vp8.webm"
java.lang.NullPointerException: null
    at net.pms.configuration.RendererConfiguration.calculatedSpeed(RendererConfiguration.java:2555)
    at net.pms.configuration.RendererConfiguration.getMaxVideoBitrate(RendererConfiguration.java:1843)
    at net.pms.configuration.RendererConfiguration.getMaxBandwidth(RendererConfiguration.java:1878)
    at net.pms.dlna.DLNAResource.resolvePlayer(DLNAResource.java:904)
    at net.pms.dlna.DLNAResource.addChild(DLNAResource.java:661)
    at net.pms.dlna.DLNAResource.addChild(DLNAResource.java:546)
    at net.pms.dlna.MapFile.manageFile(MapFile.java:113)
    at net.pms.dlna.MapFile.analyzeChildren(MapFile.java:169)
    at net.pms.dlna.DLNAResource.discoverWithRenderer(DLNAResource.java:1256)
    at net.pms.dlna.DLNAResource.getDLNAResources(DLNAResource.java:1171)
    at net.pms.remote.RemoteBrowseHandler.mkBrowsePage(RemoteBrowseHandler.java:43)
    at net.pms.remote.RemoteBrowseHandler.handle(RemoteBrowseHandler.java:219)
    at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:79)
    at sun.net.httpserver.AuthFilter.doFilter(AuthFilter.java:83)
    at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:82)
    at sun.net.httpserver.ServerImpl$Exchange$LinkHandler.handle(ServerImpl.java:675)
    at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:79)
    at sun.net.httpserver.ServerImpl$Exchange.run(ServerImpl.java:647)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:748)
DEBUG 2017-06-30 14:45:29.677 [pool-2-thread-6] GlobalIdRepo: id not found: -1

As well as other folders in my tree:

15:08:02 ERROR Error adding child: "I love you and i miss you, so can you call me back-yzAS2vC5j-g.mp4"
java.lang.NullPointerException: null
    at net.pms.configuration.RendererConfiguration.calculatedSpeed(RendererConfiguration.java:2555)
    at net.pms.configuration.RendererConfiguration.getMaxVideoBitrate(RendererConfiguration.java:1843)
    at net.pms.configuration.RendererConfiguration.getMaxBandwidth(RendererConfiguration.java:1878)
    at net.pms.dlna.DLNAResource.resolvePlayer(DLNAResource.java:904)
    at net.pms.dlna.DLNAResource.addChild(DLNAResource.java:661)
    at net.pms.dlna.DLNAResource.addChild(DLNAResource.java:546)
    at net.pms.dlna.Playlist.discoverChildren(Playlist.java:120)
    at net.pms.dlna.DLNAResource.discoverChildren(DLNAResource.java:1387)
    at net.pms.dlna.DLNAResource.discoverWithRenderer(DLNAResource.java:1250)
    at net.pms.dlna.DLNAResource.getDLNAResources(DLNAResource.java:1171)
    at net.pms.remote.RemoteBrowseHandler.mkBrowsePage(RemoteBrowseHandler.java:43)
    at net.pms.remote.RemoteBrowseHandler.handle(RemoteBrowseHandler.java:219)
    at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:79)
    at sun.net.httpserver.AuthFilter.doFilter(AuthFilter.java:83)
    at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:82)
    at sun.net.httpserver.ServerImpl$Exchange$LinkHandler.handle(ServerImpl.java:675)
    at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:79)
    at sun.net.httpserver.ServerImpl$Exchange.run(ServerImpl.java:647)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:748)
15:08:02 ERROR Error adding child: "WHERESTHEDROP Karlie Kloss Serayah Calvin Harris-10153586824805369.mp4"
java.lang.NullPointerException: null
    at net.pms.configuration.RendererConfiguration.calculatedSpeed(RendererConfiguration.java:2555)
    at net.pms.configuration.RendererConfiguration.getMaxVideoBitrate(RendererConfiguration.java:1843)
    at net.pms.configuration.RendererConfiguration.getMaxBandwidth(RendererConfiguration.java:1878)
    at net.pms.dlna.DLNAResource.resolvePlayer(DLNAResource.java:904)
    at net.pms.dlna.DLNAResource.addChild(DLNAResource.java:661)
    at net.pms.dlna.DLNAResource.addChild(DLNAResource.java:546)
    at net.pms.dlna.Playlist.discoverChildren(Playlist.java:120)
    at net.pms.dlna.DLNAResource.discoverChildren(DLNAResource.java:1387)
    at net.pms.dlna.DLNAResource.discoverWithRenderer(DLNAResource.java:1250)
    at net.pms.dlna.DLNAResource.getDLNAResources(DLNAResource.java:1171)
    at net.pms.remote.RemoteBrowseHandler.mkBrowsePage(RemoteBrowseHandler.java:43)
    at net.pms.remote.RemoteBrowseHandler.handle(RemoteBrowseHandler.java:219)
    at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:79)
    at sun.net.httpserver.AuthFilter.doFilter(AuthFilter.java:83)
    at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:82)
    at sun.net.httpserver.ServerImpl$Exchange$LinkHandler.handle(ServerImpl.java:675)
    at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:79)
    at sun.net.httpserver.ServerImpl$Exchange.run(ServerImpl.java:647)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:748)
15:08:02 ERROR Error adding child: "painkiller-cats.mp4"
java.lang.NullPointerException: null
    at net.pms.configuration.RendererConfiguration.calculatedSpeed(RendererConfiguration.java:2555)
    at net.pms.configuration.RendererConfiguration.getMaxVideoBitrate(RendererConfiguration.java:1843)
    at net.pms.configuration.RendererConfiguration.getMaxBandwidth(RendererConfiguration.java:1878)
    at net.pms.dlna.DLNAResource.resolvePlayer(DLNAResource.java:904)
    at net.pms.dlna.DLNAResource.addChild(DLNAResource.java:661)
    at net.pms.dlna.DLNAResource.addChild(DLNAResource.java:546)
    at net.pms.dlna.Playlist.discoverChildren(Playlist.java:120)
    at net.pms.dlna.DLNAResource.discoverChildren(DLNAResource.java:1387)
    at net.pms.dlna.DLNAResource.discoverWithRenderer(DLNAResource.java:1250)
    at net.pms.dlna.DLNAResource.getDLNAResources(DLNAResource.java:1171)
    at net.pms.remote.RemoteBrowseHandler.mkBrowsePage(RemoteBrowseHandler.java:43)
    at net.pms.remote.RemoteBrowseHandler.handle(RemoteBrowseHandler.java:219)
    at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:79)
    at sun.net.httpserver.AuthFilter.doFilter(AuthFilter.java:83)
    at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:82)
    at sun.net.httpserver.ServerImpl$Exchange$LinkHandler.handle(ServerImpl.java:675)
    at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:79)
    at sun.net.httpserver.ServerImpl$Exchange.run(ServerImpl.java:647)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:748)
15:08:02 ERROR Error adding child: "Dj Premier - Classic Ft Rakim, Big L, Jay Z, Nas, Common, Slick Rick & Krs One-jGWUpNB2-xw.mp4"
java.lang.NullPointerException: null
    at net.pms.configuration.RendererConfiguration.calculatedSpeed(RendererConfiguration.java:2555)
    at net.pms.configuration.RendererConfiguration.getMaxVideoBitrate(RendererConfiguration.java:1843)
    at net.pms.configuration.RendererConfiguration.getMaxBandwidth(RendererConfiguration.java:1878)
    at net.pms.dlna.DLNAResource.resolvePlayer(DLNAResource.java:904)
    at net.pms.dlna.DLNAResource.addChild(DLNAResource.java:661)
    at net.pms.dlna.DLNAResource.addChild(DLNAResource.java:546)
    at net.pms.dlna.Playlist.discoverChildren(Playlist.java:120)
    at net.pms.dlna.DLNAResource.discoverChildren(DLNAResource.java:1387)
    at net.pms.dlna.DLNAResource.discoverWithRenderer(DLNAResource.java:1250)
    at net.pms.dlna.DLNAResource.getDLNAResources(DLNAResource.java:1171)
    at net.pms.remote.RemoteBrowseHandler.mkBrowsePage(RemoteBrowseHandler.java:43)
    at net.pms.remote.RemoteBrowseHandler.handle(RemoteBrowseHandler.java:219)
    at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:79)
    at sun.net.httpserver.AuthFilter.doFilter(AuthFilter.java:83)
    at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:82)
    at sun.net.httpserver.ServerImpl$Exchange$LinkHandler.handle(ServerImpl.java:675)
    at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:79)
    at sun.net.httpserver.ServerImpl$Exchange.run(ServerImpl.java:647)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:748)

Videos the renderer failed to play are still added to the recently played virtual folder

DEBUG 2017-06-30 15:08:23.093 [StopPlaying Event] adding "vp9" to playlist "Recently Played"
Nadahar commented 7 years ago

@lopopolo We need a full log file, lots of possible relevant stuff happens at other times than your snippets. The log also needs to be in TRACE mode, which is why you should first select "Create Trace logs" and restart UMS before "capturing" what fails. If you disable the cache before you select "Create Trace logs", even more useful information will be in the log.

lopopolo commented 7 years ago

sorry. thought i was being helpful. capturing a full log now

lopopolo commented 7 years ago

ums_dbg.zip

Nadahar commented 7 years ago

@lopopolo I'm not that into video codecs and transcoding, so @SubJunk better answer that part. I see multiple problems though:

The reason running the ffmpeg command manually doesn't work is because it uses an output pipe. UMS creates this pipe before starting FFmpeg - the pipe doesn't exist when you run it manually and it fails. You should be able to specify an output file instead to eliminate this.

The errors shown in your snippets above seems to be caused by the "automatic bandwidth" function, and it seems to be a bug that should be fixed - which is why I had hoped that they would be there in the full log as well. Disabling "automatic bandwidth" will probably eliminate those errors which will also make it easier to pin down the problem playing the files. I'd still like to figure out the bug in the automatic bandwidth code though.

lopopolo commented 7 years ago

ums_dbg-2.zip

@Nadahar thank you for the config suggestions. I disabled chromecast support and automatic bitrate detection (I set maximum_bitrate = 0).

My FLAC failed to play and left a stacktrace in the logs. vp8.webm and vp8.mkv both began to play (video and sound appeared on TV) but cut out with a "connection reset by peer" message in the logs. My 4K h264 clip also failed to play (TV displays an error box that says "Cannot play video.").

Thank you!

Nadahar commented 7 years ago

It's not the maximum bitrate you need to change, but maximum bandwidth (on the General Configuration tab). There's a small checkbox that says "Use automatic maximum bandwidth". Disable that, and set the bandwidth to something sensible. If you have a wired gigabit network, 0 should be fine. If you have a wireless network, somewhere around 20 should be suitable (depending on what kind of Wifi you have and the signal strength). You can see the theoretical maximum bandwidth for the different Wifi standards here. Look in the Stream data rate column. The speed is limited by the slowest link, so if your router is AC and your computer is N but the TV is G, the speed is limited to G. That faster speeds offered by N and AC is also depending on very good signal strength, and will "fall back" to G in many cases. Because of the unique way advertising works, the "Wifi speeds" that's used is the maximum theoretical speed, which isn't even achievable in a completely shielded room at a 10 cm distance in vacuum. The rule of thumb says that you can divide it by 2 to get somewhere near the real speed in "perfect conditions". As signal strength decrease or interference increase it gets gradually slower - which is why 20 Mb/s often is a reasonable actual value, but this will vary with local conditions, so you might have to test a bit to find what works for you. The lower the number, the lower the quality of the transcoded video will be. If the number is too high, you will get playback problems. There are limits to how low much the transcoding quality can be squeezed, and I could see from your log that the "automatic bandwidth" managed to figure out that your bandwidth were somewhere around 2 Mb/s, which doesn't seem reasonable at all. It's almost impossible to have a network that slow, so I can imagine that trying to transcode to that low quality can give issues.

Depending on your actual network bandwidth, 4K might not be possible at all, but I'm not claiming that this is the only issue here.

By the way, I forgot to say so explicitly earlier, but you should re-enable the cache when testing is over. Browsing folders will be very slow when caching is off.

lopopolo commented 7 years ago

Based on code diving from the properties file, through the UI, to the configuration, I believe max_bitrate is the correct key.

I have an AC/N-only network and my laptop gets a symmetric (up & down) 500 mbps to the Internet. I hope that means things are fast enough.

Nadahar commented 7 years ago

@lopopolo Indeed, you're right. I thought there was a setting on the "Transcoding" tab that specified bitrate, and assumed that was what you'd changed. When I look now, I can't find any such setting though, so my mind is probably just playing tricks with me. The most important thing was to set automatic_maximum_bitrate = false though.

Even though your laptop -> router -> internet is fast (extremely fast internet line 😮), that doesn't mean that the link between the TV and the router is as fast. I doubt there's anyvway to measure the speed on the TV? Some online searches seems to indicate that the TV is N, but the signal strength rapidly kills the speed. Using "0" is too high in any case (as it's interpreted as 1000 mbps by UMS, much faster than even the theoretical maximum for N). I guess you'll just have to try different settings and see what works, but 150 should be the absolute maximum setting for a N connection.

Nadahar commented 7 years ago

@lopopolo Sorry, it seems like I was wrong again. According to these specs the TV is AC too. I have no idea of what a "realistic" bandwidth for AC is, so forget about my 150 Mbps limit.

Sami32 commented 7 years ago

@lopopolo You just need to use an appropriate renderer: (delete the fake .txt extension before adding it into your UMS "renderer" folder. Sony-BraviaXBRX.conf.txt

I added VP9 as well, so if you could test it and report back, that would be nice ;-)

Nadahar commented 7 years ago

@lopopolo I've tried to fix the errors you get while using automatic maximum bandwidth. I'd appreciate if you could try this version with automatic maximum bandwidth turned on. I haven't done anything with the actual calculation, so I still don't recommend using it, I simply want to get rid of the crashes/exceptions. This version also supports using "Create trace logs" on macOS.

Sami32 commented 7 years ago

@lopopolo Did that solved your issue as expected ?

lopopolo commented 7 years ago

I am not intending on testing further as I am no longer using UMS