Universalmediaserver: Unstable transcode playback

Created on 19 Feb 2017  路  45Comments  路  Source: UniversalMediaServer/UniversalMediaServer

Thank for always reading my issues.

It is often impossible to do transcode playback.
I couldn't have found its causes and reproduce environments, still.

Because I can get a easily viewable log, I open this issue.
A case is as follows.
After pushing a playback button of Panasonic Diga(DMR series in Japan), Diga is displaying a massage "Just a moment".
If I don't push a stop button, a connection between Diga and UMS is disconnected.
This occurs, regardless of ffmpeg options. Of cause, I don't use odd number in width or height
ums_dbg.zip
.

a log o the case
From line 2318 of debug.log, DEBUG 2017-02-19 10:30:35.669 [ffmpeg-10] Starting "/Applications/Universal Media Server_v8.app/Contents/Resources/osx/ffmpeg" -y
From line 2827 of debug.log, DEBUG 2017-02-19 10:31:50.360 [ffmpeg-12] Starting "/Applications/Universal Media Server_v8.app/Contents/Resources/osx/ffmpeg" -y

In lines 2997-3004 debug.log,

INFO  2017-02-19 10:32:13.541 [StopPlaying Event] Stopped playing 33.mkv on your Panasonic_HDD_Recoder_2
DEBUG 2017-02-19 10:32:13.542 [StopPlaying Event] The full filename of which is: /Users/x/dlna/33.mkv and the address of the renderer is: xxx.xxx.xxx.xxx
TRACE 2017-02-19 10:32:13.543 [StopPlaying Event]    final decision: not fully played
TRACE 2017-02-19 10:32:13.552 [ffmpeg-12] EOF
DEBUG 2017-02-19 10:32:14.564 [StopPlaying Event] Matched media renderer "Panasonic_HDD_Recoder_2" based on address /xxx.xxx.xxx.xxx
INFO  2017-02-19 10:32:15.312 [StopPlaying Event] Stopped playing 01.mp4 on your Panasonic_HDD_Recoder_2
DEBUG 2017-02-19 10:32:15.313 [StopPlaying Event] The full filename of which is: /Users/x/dlna/01.mp4 and the address of the renderer is: xxx.xxx.xxx.xxx
TRACE 2017-02-19 10:32:15.313 [StopPlaying Event]    final decision: not fully played

All 45 comments

@onon765trb @Nadahar should be better than me on Network issue, as i found your network configuration strange, i guess that you manually edited the log file...

TRACE 2017-02-19 10:26:03.048 [main] default network interface address from [InterfaceAssociation(addr=/xxx.xxx.xxx.xxy, iface=name:en1 (en1), parent=null), InterfaceAssociation(addr=null, iface=name:lo0 (lo0), parent=null)]
TRACE 2017-02-19 10:26:03.048 [main] first network interface: InterfaceAssociation(addr=/xxx.xxx.xxx.xxy, iface=name:en1 (en1), parent=null)
INFO 2017-02-19 10:26:03.048 [main] Using address /xxx.xxx.xxx.xxy found on network interface: name:en1 (en1)
INFO 2017-02-19 10:26:03.048 [main] Created socket: /xxx.xxx.xxx.xxy:10045
INFO 2017-02-19 10:26:03.096 [main] WEB interface is available at: http://xxx.xxx.xxx.xxy:9001

You cannot use DLNA correctly, because you've network issue:

DEBUG 2017-02-19 10:26:03.196 [main] Error sending BYEBYE message
java.io.IOException: No route to host (sendto failed)
at java.net.PlainDatagramSocketImpl.send(Native Method)
at java.net.DatagramSocket.send(DatagramSocket.java:693)

DEBUG 2017-02-19 10:26:03.464 [main] Error sending ALIVE message
java.io.IOException: No route to host (sendto failed)
at java.net.PlainDatagramSocketImpl.send(Native Method)
at java.net.DatagramSocket.send(DatagramSocket.java:693)

TRACE 2017-02-19 10:26:10.547 [UPNPHelper] Sending discovery [xxx.xxx.xxx.xxx:33008]

For me, something is wrong in your network configuration, but i'm not familiar with that matter, so i hope some more network skilled people will help you.
Maybe you have firewall, or router, incorrectly configured ? no UDP forwarding ? UDP multicast disabled at the router level ?
The fact that you need to force your renderer, should perhaps indicate that you didn't received any UPnP or HTTP renderer identification on the socket ?

EDIT: Did you tried with an other media server and get this issue solved ?
Because that could put the network issue on the UMS incorrect handling side.

This kind of network issue is almost always due to a router. This limitation has nothing to do with UMS, but with DLNA. DLNA uses multicast to discover devices. Multicast does not travel across routers without a router that supports multicast and is configured correctly. Most "home routers" don't support multicast at all. The simple solution to the problem is: UMS and the renderer(s) must be on the same IP subnet. It is also restricted to IPv4 only.

Thank you for your comments.

The error massages pointed out disappear by the change of the setting of IP6Multicast.
But unstable playback isn't improved.

IP6Multicast is implemented in most of recent products of home routers in Japan.
And IP6Multicast is set to on.

I have gotten both the logs of the above case and another case.

The same case as the above is from DEBUG 2017-02-22 20:52:30.307 [New I/O worker #16] Starting transcode/remux of 01.mp4 of debug.log.
Another case is from DEBUG 2017-02-22 20:53:48.333 [New I/O worker #14] Starting transcode/remux of 01.mp4 of debug.log.

Another case is as follows.
At least twice pushing a playback button is need to playback a movie in another case.
A connection between Diga and UMS is disconnected after the first push.
Playback works after the second push.

A common between the above case and another case is that it takes long times to execute Starting "/Applications/Universal Media Server_v8.app/Contents/Resources/osx/ffmpeg" from Unix process ID (mkfifo).

DEBUG 2017-02-22 20:52:30.348 [New I/O worker #16] Unix process ID (mkfifo): 1544
TRACE 2017-02-22 20:52:32.921 [New I/O worker #1] Ignoring self-originating request from /xxx.xxx.xxx.xxy:50525
TRACE 2017-02-22 20:52:32.922 [New I/O worker #2] Ignoring self-originating request from /xxx.xxx.xxx.xxy:50526
DEBUG 2017-02-22 20:52:50.650 [ffmpeg-2] Starting "/Applications/Universal Media Server_v8.app/Contents/Resources/osx/ffmpeg" 

DEBUG 2017-02-22 20:53:48.355 [New I/O worker #14] Unix process ID (mkfifo): 1554
TRACE 2017-02-22 20:53:53.267 [UPNPHelper] Receiving a NOTIFY from [xxx.xxx.xxx.xxy:52141]
TRACE 2017-02-22 20:53:53.269 [New I/O worker #15] Ignoring self-originating request from /xxx.xxx.xxx.xxy:50534
TRACE 2017-02-22 20:53:53.271 [New I/O worker #16] Ignoring self-originating request from /xxx.xxx.xxx.xxy:50535
DEBUG 2017-02-22 20:54:08.657 [ffmpeg-4] Starting "/Applications/Universal Media Server_v8.app/Contents/Resources/osx/ffmpeg"

In the other hand, the transtreaming of ts files works. 35.ts is used in debug.log.
ums_dbg2017223.zip

@onon765trb Did you tried to activate IPv6 in UMS ? as it's disabled by default.

As you already know, you can access to the _info.plist_ file by doing the following:
Right click on the application Universal Media Server in your applications folder, select show package contents, open up the contents directory. Inside this there should be the _info.plist_ file.

Edit that file and modify the following line: (in _VMOptions_)
<string>-Djava.net.preferIPv4Stack=true</string>
and change its bolean value to false.

@Sami32 @onon765trb Forget IPv6. DLNA is IPv4 only. Setting preferIPv4Stack to false doesn't do anything because UMS sets it to true.

You need IPv4 multicast to work. UMS works on "two level", both with HTTP and UPnP. HTTP will work with both IPv4 and IPv6, but since the UPnP part won't there's no point in trying to use IPv6. I'd try to disable IPv6 on the NIC UMS is using to see if things work smoother. IPv6 multicast might "confuse" communication because it might be implemented in some parts but not in others.

Edit: I see that IPv6 is described in UPnP version 2. However, DLNA is based on UPnP version 1 where IPv6 isn't mentioned at all. Only the 2016 version of the DLNA guidelines mentions IPv6.

17:03:57 TRACE has /fe80:0:0:0:0:0:0:1%lo0, which is skipped, because loopback=false, ipv6=true

http://www.businesswire.com/news/home/20150818005244/en/DLNA%C2%AE-Announces-3.0-Certification-Program-Updated-Guidelines

_DLNA guidelines; Part 1-1: Architecture and protocols_

3.2.50
IPv6
Internet Protocol Version 6an OSI network layer 3 protocol intended to replace IPv4
Note 1 to entry: In the DLNA architecture IPv4 and Ipv6 are mandatory, with preference given to IPv4. They will run in a dual stack model.

@Sami32 I know, but even though they introduced it in the 2016 guidelines doesn't mean it's implemented. Cling has no IPv6 support, nor does UMS's own UPnP routines nor does the vast majority of DLNA devices.

It's easy to implement IPv6 for most devices using unicast and TCP (where almost everything works the same). UDP and multicast is very different, they have done significant changes there and honestly I haven't taken the trouble to learn the IPv6 stuff.

@Nadahar I know that you know that many UMS users on the forum solved their connexion issue doing that...

EDIT: Changing for IPv6 as explained above.

@Sami32 Doing what? If setting "PreferIPv4" to false solves anything, I don't understand anything. I'd rather just turn off IPv6 as I fail to see any benefits using it. Also, "PreferIPv4" doesn't disable IPv6 - you can't disable IPv6 in Java, you have to do it at the IP level/NIC driver.

@onon765trb What is your Panasonic DMR model ? BCT720 ? BWT740 ?

Thank you for your interest.
My model is DMR BRZ2000.

I will try some tests in v6.7.0. Plesse wait.

@onon765trb Please, post a new log, as we don't have such renderer configuration file yet, and the new log verbose produced by the 6.7.0 version should be very helful to us.

Thank you for your understanding ;)

The above problem don't appear in v6.7.0. Excellent!
What setting do you want? Please wait.

I cant use devise spy of http://www.universalmediaserver.com/forum/viewtopic.php?t=1403 because I am Mac user.
I think http://www.dlna.org/consumer-home/look-for-dlna/product-search don't show all supported profiles.
Do you know another tool?

That said, as your renderer didn't sent any informations in the 6.7.0 version, it will certainly do same with an other tool, except if it's come from a network issue and that you use an other network for the test.
The latest UMS version is 6.7.1.

You can try this tool:
http://mac.softpedia.com/get/Network-Admin/UPnP-Inspector.shtml

Thank you for telling the tool.
I tried it. I can' find anything like Invoke Action of Devise Spy.
Alternatively, I extracted XML. And I get the following. If useful, please use.
<vli:X_UPS_LIST><vli:X_UPS_VERSION>UPS-2.00</vli:X_UPS_VERSION><vli:X_UPS_APPFMT>AV-1.00</vli:X_UPS_APPFMT><vli:X_UPS_FUNCTION>MEDIA_EXPORT,IP_STREAMING</vli:X_UPS_FUNCTION><vli:X_UPS_PROFILE>DTCP_MPEG_TS_JP_T,DTCP_AVC_TS_JP_AAC_T,DTCP_MPEG_TS_SD_JP_MPEG1_L2_T,MPEG_TS_JP_T,AVC_TS_JP_AAC_T,MPEG_TS_SD_JP_MPEG1_L2_T,AVC_TS_HD_60_AC3_T,AVC_TS_HD_24_AC3_T</vli:X_UPS_PROFILE><vli:X_UPS_PROFILE_X>MVC_TS_HD_60_AC3_T,AVC_TS_HD_60_SBS_AC3_T,AVC_TS_1080p_60_AC3_T</vli:X_UPS_PROFILE_X></vli:X_UPS_LIST><vli:X_DUS_LIST><vli:X_DUS_VERSION>DUS-2.00</vli:X_DUS_VERSION><vli:X_DUS_APPFMT>AV-2.00</vli:X_DUS_APPFMT><vli:X_DUS_PROFILE>DTCP_MPEG_TS_JP_T,DTCP_AVC_TS_JP_AAC_T,DTCP_MPEG_TS_SD_JP_MPEG1_L2_T,MPEG_TS_JP_T,AVC_TS_JP_AAC_T,MPEG_TS_SD_JP_MPEG1_L2_T,AVC_TS_HD_60_AC3_T,AVC_TS_HD_24_AC3_T,AVC_TS_HD_60_LPCM_T,AVC_TS_HD_24_LPCM_T,DTCP_AVC_TS_HD_60_AC3_X_T,AVC_TS_HD_60_AC3_X_T</vli:X_DUS_PROFILE></vli:X_DUS_LIST>

What setting do you want a log of?

@onon765trb i guess that i should have been more descriptive:

  • Run UPnP Inspector, wait until your Panasonic appear.
  • Select the BRZ2000 (MediaRender:)
  • Select ConnectionManager
  • Select GetProtocolInfo
  • Select Sink
  • Then, in the menu's "View" tab select "show events" and copy paste here.

These settings are necessary if you wish make a correct configuration file for your renderer, since it seem that your network block these kind of informations as they're not displayed in the log as they should have. It also explain and confirm why you get network issue.

Thank you for your understanding.

Thank you for your advice. It help me because I don't well know network.

I could find not BRZ2000 (MediaRender:) but BRZ2000 (MediaServer:) when a server function works.
But source and Sink of GetProtocolInfo were null.

I tried gupnp-universal-cp of gupnp-tools. And I could find not BRZ2000 (MediaRender:) but BRZ2000 (MediaServrr:), also.
Sink of GetProtocolInfo was null. On the other hand, Source of GetProtocolInfo has data.

Do ypu need it?

@onon765trb Yes, thanks.

It'll far from ideal, but if you didn't found the necessary informations in your japaneese manual, what other choice ? except try and test...

I never saw a such renderer, that's look strange to me.

I could use a notebook with win7, and tried DeveloperToolsForUPnPTechnologies.
But results are the same as those of gupnp-universal-cp.

On my japaneese manual. very few. Only the below
Supported: HiVision movie (HiVision quality); 3D HiVision movie (HiVision quality); HiVision movie (HiVision quality, 1080/60p); JPEG; MP4 720,1080/30p, etc; MP4 1080/60p,iFrame
Support Center never say beyond this.
mp4 files can't be transstreamed via UMS and can be transcoded with -c:v copy -c:a copy.

I think Panasonic puts restrictions and use Pana's own way on products sold in Japan because there are many olders who can't use various functions and don't take care of security in Panasonic users.
For example, BRZ2000 can't transstream mp4 files via UMS from many test.
I can't find that who can transstream mp4 files with DMR on the internet. All of DMR users abandon transstreaming mp4 files. Of cause, mkv, flv, mov.etc.

Source of GetProtocolInfo

DMR-BRZ2000 urn:upnp-org:serviceId:ConnectionManager SourceProtocolInfo http-get:*:application/x-dtcp1;DTCP1HOST=xxx.xxx.10.100;DTCP1PORT=60010;

CONTENTFORMAT="video/vnd.dlna.mpeg-tts":DLNA.ORG_PN=DTCP_MPEG_TS_JP_T;DLNA.ORG_OP=10;DLNA.ORG_FLAGS=0151b000000000000000000000000000;ARIB.OR.JP_PN=MPEG_TTS_CP,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_JP_MPEG1_L2_T;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,
http-get:*:application/x-dtcp1;DTCP1HOST=192.168.10.100;DTCP1PORT=60010;

CONTENTFORMAT="video/vnd.dlna.mpeg-tts":DLNA.ORG_PN=DTCP_MPEG_TS_SD_JP_MPEG1_L2_T;DLNA.ORG_OP=10;DLNA.ORG_FLAGS=0151b000000000000000000000000000,
http-get:*:application/x-dtcp1;DTCP1HOST=192.168.10.100;DTCP1PORT=60010;

CONTENTFORMAT="video/vnd.dlna.mpeg-tts":DLNA.ORG_PN=DTCP_AVC_TS_JP_AAC_T;DLNA.ORG_OP=10;DLNA.ORG_FLAGS=0151b000000000000000000000000000,
http-get:*:application/x-dtcp1;DTCP1HOST=192.168.10.100;DTCP1PORT=60010;

CONTENTFORMAT="video/vnd.dlna.mpeg-tts":DLNA.ORG_PN=DTCP_AVC_TS_HD_60_AC3_X_T;DLNA.ORG_OP=10;DLNA.ORG_FLAGS=0151b000000000000000000000000000,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_HD_60_AC3_X_T;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_HD_24_AC3_T;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_HD_24_LPCM_T;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_HD_60_AC3_T;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_HD_60_LPCM_T;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_JP_AAC_T;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_JP_T;DLNA.ORG_OP=10;DLNA.ORG_FLAGS=01100000000000000000000000000000,
http-get:*:application/x-dtcp1;DTCP1HOST=192.168.10.100;DTCP1PORT=60010;

CONTENTFORMAT="video/vnd.dlna.mpeg-tts":DLNA.ORG_PN=DTCP_AVC_TS_MP_HD_AAC_LTP_T;DLNA.ORG_OP=10;DLNA.ORG_FLAGS=01513000000000000000000000000000,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_HD_AAC_LTP_T;DLNA.ORG_OP=10;DLNA.ORG_FLAGS=01500000000000000000000000000000,
http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_TN;DLNA.ORG_OP=01;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=00D00000000000000000000000000000,
http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_SM;DLNA.ORG_OP=01;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=00D00000000000000000000000000000,
http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_MED;DLNA.ORG_OP=01;DLNA.ORG_FLAGS=00D00000000000000000000000000000,
http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_LRG;DLNA.ORG_OP=01;DLNA.ORG_FLAGS=00D00000000000000000000000000000,
http-get:*:application/x-dtcp1;DTCP1HOST=192.168.10.100;DTCP1PORT=60010;

CONTENTFORMAT="video/vnd.dlna.mpeg-tts":DLNA.ORG_OP=10;DLNA.ORG_FLAGS=0151b000000000000000000000000000,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01500000000000000000000000000000,
http-get:*:application/X-arib-cp;

CONTENTFORMAT="video/vnd.dlna.mpeg-tts":ARIB.OR.JP_PN=MPEG_TTS_CP,
http-get:*:video/vnd.dlna.mpeg-tts:DTV_MVP_PN=AVC_TS_DTV_SD_AAC_T;DLNA.ORG_OP=11;DLNA.ORG_FLAGS=01502000000000000000000000000000,
http-get:*:application/x-dtcp1;DTCP1HOST=192.168.10.100;DTCP1PORT=60010;

CONTENTFORMAT="video/vnd.dlna.mpeg-tts":DTV_MVP_PN=DTCP_AVC_TS_DTV_SD_AAC_T;DLNA.ORG_OP=10;DLNA.ORG_FLAGS=0151b000000000000000000000000000,
http-get:*:video/vnd.dlna.mpeg-tts:DTV_MVP_PN=AVC_TS_DTV_SD_AAC_T;DLNA.ORG_OP=10;DLNA.ORG_FLAGS=01500000000000000000000000000000,
http-get:*:video/mp4:DLNA.ORG_OP=01;DLNA.ORG_FLAGS=01500000000000000000000000000000,
http-get:*:image/jpeg:DLNA.ORG_OP=01;DLNA.ORG_FLAGS=00D00000000000000000000000000000,
http-get:*:image/jpeg:PANASONIC.COM_PN=MPO_3D;DLNA.ORG_OP=01;DLNA.ORG_FLAGS=00D00000000000000000000000000000

@onon765trb You can try it, and adapt it to your need: (you shouldn't need to force this renderer)
Panasonic-DMR-BRZ2000.conf.txt

If transcoding still doesn't work as expected, from your TV, you should try addind one of these lines into your renderer's configuration file:(with TranscodeVideo = MPEGTS-H264-AAC)

CustomFFmpegOptions = -c:v libx264 -tune zerolatency -level 41 -flags +global_header -movflags +faststart -f mp4
or
CustomFFmpegOptions = -c:v libx264 -preset superfast -tune zerolatency -level 41 -movflags frag_keyframe+empty_moov -f mp4
or
CustomFFmpegOptions = -c:v libx264 -tune zerolatency -level 41 -flags +global_header -bsf dump_extra -movflags +faststart -f mp4

Also try to change / add -preset superfast, -preset veryfast or -preset fast into these CustomFFmpegOptions lines.

Audio can be easily tested and the non working lines should be deleted. If WAV doesn't play as it, you can try with audio/wav or audio/x-wav MIME types.

Note: Test without bumping, as bumping could require PushMetadata=false into your renderer's configuration file.

Thank you for your conf file. I will try it.
Is Source of GetProtocolInfo useful for UMS?

Playback by transcoding is greatly improved in UMS v670 and 671.
What are unstable are that connections often disconnect and impossible often seeking.
A reproduce situation of disconnection I find is one after a long playback. This may be due to a economy or a TV(streaming) mode of my router.
A reproduce situation of impossible seeking I find is one when resume = false in UMS. I haven't been sure about it, still.
Readable logs isn't gotten about these.

I could not think of using CustomFFmpegOptions = -f mp4. I will try this.

@onon765trb You are welcome.

As i already said, the Source of GetProtocolInfo was only the last way to try to get some useful informations about your renderer. Normally, the use of SinkProtocolInfo is the one that is need.

As i explained above, CustomFFmpegOptions = -f mp4 sould not be suffisant, and the full command lines should be tried.

Happy testing :wink:

EDIT: I've reedited the CustomFFmpegOptions lines given above.
If it doesn't work, set SeekByTime to exclusive.

@onon765trb EDIT 2: Sorry, i forgot to add this line into the renderer's configuration file that i posted above:
LoadingPriority = 2
Panasonic-DMR-BRZ2000.conf.txt

@onon765trb As i see the same strange network issue in your log, could you try these 2 command lines and post the result ? (Because after having disabled IPv6 you still get multicast issue)

netstat -nr -f inet
ping 239.255.255.250

Note: I rely on @Nadahar expertise and advices, as he's the one around with the most skills in network and Mac.

I'd just like to note that I'm not skilled with macOS or anything aPple. I do have some level of understanding of network in general. All I can say is that the problem isn't with UMS, but with the network configuration on the host computer running UMS, or possibly on the router.

Regrettably, CustomFFmpegOptions = -f mp4 doesn't work.
In my many tests, only vob, ts, m2ts can be transstreamed. mpg can't.
Probably, DMR series sold in Japan can address only these formats for a movie.
Now, I am reserching supported codecs and reproduce situations of the above problems.
For audio, I haven't tested, still.

netstat -nr -f inet
Routing tables

Internet:
Destination        Gateway               Flags        Refs      Use   Netif Expire
default             IP of Router          UGSc           20        0     en1
127                 127.0.0.1             UCS             0        0     lo0
127.0.0.1           127.0.0.1             UH              8    72514     lo0
xxx.xxx             link#5                UCS             0        0     en1
xxx.xxx.xxx         link#5                UCS             1        0     en1
xxx.xxx.xxx.1/32    link#5                UCS             1        0     en1
xxx.xxx.xxx.1       BSSID of Router       UHLWIir        28     2148     en1   1105
xxx.xxx.xxx.100/32  link#5                UCS             0        0     en1
xxx.xxx.xxx.101     MacAddress of my DMR  UHLWI           0      296     en1   1099
224.0.0/4           link#5                UmCS            1        0     en1
224.0.0.251         y:y:yy:y:y:yy         UHmLWI          0        0     en1
239.255.255.250     y:y:yy:zz:zz:zz       UHmLWI          0       55     en1
255.255.255.255/32  link#5                UCS             0        0     en1

xxx.xxx.xxx.1: IP of Router

firewall of mac is on, USM is permitted in firewall, stealth mode is on

ping 239.255.255.250
PING 239.255.255.250 (239.255.255.250): 56 data bytes
Request timeout for icmp_seq 0
Request timeout for icmp_seq 1
Request timeout for icmp_seq 2
Request timeout for icmp_seq 3
Request timeout for icmp_seq 4
Request timeout for icmp_seq 5
^C
--- 239.255.255.250 ping statistics ---
7 packets transmitted, 0 packets received, 100.0% packet loss

firewall of mac is on, USM is permitted in firewall, stealth mode is off

ping 239.255.255.250
PING 239.255.255.250 (239.255.255.250): 56 data bytes
64 bytes from xxx.xxx.xxx.100: icmp_seq=0 ttl=64 time=0.103 ms
64 bytes from xxx.xxx.xxx.100: icmp_seq=1 ttl=64 time=0.215 ms
64 bytes from xxx.xxx.xxx.100: icmp_seq=2 ttl=64 time=0.217 ms
64 bytes from xxx.xxx.xxx.100: icmp_seq=3 ttl=64 time=0.201 ms
64 bytes from xxx.xxx.xxx.100: icmp_seq=4 ttl=64 time=0.190 ms
64 bytes from xxx.xxx.xxx.100: icmp_seq=5 ttl=64 time=0.183 ms
64 bytes from xxx.xxx.xxx.100: icmp_seq=6 ttl=64 time=0.191 ms
^C
--- 239.255.255.250 ping statistics ---
7 packets transmitted, 7 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 0.103/0.186/0.217/0.036 ms

firewall of mac is off

ping 239.255.255.250
PING 239.255.255.250 (239.255.255.250): 56 data bytes
64 bytes from xxx.xxx.xxx.100: icmp_seq=0 ttl=64 time=0.127 ms
64 bytes from xxx.xxx.xxx.100: icmp_seq=1 ttl=64 time=0.188 ms
64 bytes from xxx.xxx.xxx.100: icmp_seq=2 ttl=64 time=0.194 ms
64 bytes from xxx.xxx.xxx.100: icmp_seq=3 ttl=64 time=0.109 ms
64 bytes from xxx.xxx.xxx.100: icmp_seq=4 ttl=64 time=0.193 ms
64 bytes from xxx.xxx.xxx.100: icmp_seq=5 ttl=64 time=0.194 ms
^C
--- 239.255.255.250 ping statistics ---
6 packets transmitted, 6 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 0.109/0.167/0.194/0.035 ms

From the above, it seems that "stealth mode" (whatever that is, it's not a network term) was killing multicast. Do you still have multicast issues with that off?

I can't decide whether there are issues in multicast from the logs of UMSv672 or not.
Are there multicast issues?

firewall of mac is on, UMS is permitted in firewall, stealth mode is off

DEBUG 2017-07-14 09:48:30.292 [UPNP-AliveMessageSender] Sending ALIVE...
DEBUG 2017-07-14 09:48:30.324 [UPNP-AliveMessageSender] Error sending ALIVE message
java.io.IOException: No route to host (sendto failed)
    at java.net.PlainDatagramSocketImpl.send(Native Method)
    at java.net.DatagramSocket.send(DatagramSocket.java:693)
    at net.pms.network.UPNPHelper.sendMessage(UPNPHelper.java:389)
    at net.pms.network.UPNPHelper.sendMessage(UPNPHelper.java:361)
    at net.pms.network.UPNPHelper.sendAlive(UPNPHelper.java:226)
    at net.pms.network.UPNPHelper$1.run(UPNPHelper.java:414)
    at java.lang.Thread.run(Thread.java:748)
DEBUG 2017-07-14 09:49:00.323 [UPNP-AliveMessageSender] Sending ALIVE...
DEBUG 2017-07-14 09:49:01.496 [UPNP-AliveMessageSender] Error sending ALIVE message
java.io.IOException: No route to host (sendto failed)
    at java.net.PlainDatagramSocketImpl.send(Native Method)
    at java.net.DatagramSocket.send(DatagramSocket.java:693)
    at net.pms.network.UPNPHelper.sendMessage(UPNPHelper.java:389)
    at net.pms.network.UPNPHelper.sendMessage(UPNPHelper.java:361)
    at net.pms.network.UPNPHelper.sendAlive(UPNPHelper.java:226)
    at net.pms.network.UPNPHelper$1.run(UPNPHelper.java:414)
    at java.lang.Thread.run(Thread.java:748)
DEBUG 2017-07-14 09:49:31.495 [UPNP-AliveMessageSender] Sending ALIVE...
DEBUG 2017-07-14 09:49:33.007 [UPNP-AliveMessageSender] Error sending ALIVE message
java.io.IOException: No route to host (sendto failed)
    at java.net.PlainDatagramSocketImpl.send(Native Method)
    at java.net.DatagramSocket.send(DatagramSocket.java:693)
    at net.pms.network.UPNPHelper.sendMessage(UPNPHelper.java:389)
    at net.pms.network.UPNPHelper.sendMessage(UPNPHelper.java:361)
    at net.pms.network.UPNPHelper.sendAlive(UPNPHelper.java:226)
    at net.pms.network.UPNPHelper$1.run(UPNPHelper.java:414)
    at java.lang.Thread.run(Thread.java:748)
DEBUG 2017-07-14 09:50:03.006 [UPNP-AliveMessageSender] Sending ALIVE...
DEBUG 2017-07-14 09:50:03.237 [UPNP-AliveMessageSender] Error sending ALIVE message
java.io.IOException: No route to host (sendto failed)
    at java.net.PlainDatagramSocketImpl.send(Native Method)
    at java.net.DatagramSocket.send(DatagramSocket.java:693)
    at net.pms.network.UPNPHelper.sendMessage(UPNPHelper.java:389)
    at net.pms.network.UPNPHelper.sendMessage(UPNPHelper.java:361)
    at net.pms.network.UPNPHelper.sendAlive(UPNPHelper.java:226)
    at net.pms.network.UPNPHelper$1.run(UPNPHelper.java:414)
    at java.lang.Thread.run(Thread.java:748)

firewall of mac is off

DEBUG 2017-07-14 09:55:54.583 [UPNP-AliveMessageSender] Sending ALIVE...
DEBUG 2017-07-14 09:56:04.586 [UPNP-AliveMessageSender] Error sending ALIVE message
java.io.IOException: No route to host (sendto failed)
    at java.net.PlainDatagramSocketImpl.send(Native Method)
    at java.net.DatagramSocket.send(DatagramSocket.java:693)
    at net.pms.network.UPNPHelper.sendMessage(UPNPHelper.java:389)
    at net.pms.network.UPNPHelper.sendMessage(UPNPHelper.java:361)
    at net.pms.network.UPNPHelper.sendAlive(UPNPHelper.java:226)
    at net.pms.network.UPNPHelper$1.run(UPNPHelper.java:414)
    at java.lang.Thread.run(Thread.java:748)
DEBUG 2017-07-14 09:56:44.585 [UPNP-AliveMessageSender] Sending ALIVE...
DEBUG 2017-07-14 09:56:47.096 [UPNP-AliveMessageSender] Error sending ALIVE message
java.io.IOException: No route to host (sendto failed)
    at java.net.PlainDatagramSocketImpl.send(Native Method)
    at java.net.DatagramSocket.send(DatagramSocket.java:693)
    at net.pms.network.UPNPHelper.sendMessage(UPNPHelper.java:389)
    at net.pms.network.UPNPHelper.sendMessage(UPNPHelper.java:361)
    at net.pms.network.UPNPHelper.sendAlive(UPNPHelper.java:226)
    at net.pms.network.UPNPHelper$1.run(UPNPHelper.java:414)
    at java.lang.Thread.run(Thread.java:748)
DEBUG 2017-07-14 09:57:17.096 [UPNP-AliveMessageSender] Sending ALIVE...
DEBUG 2017-07-14 09:57:27.177 [UPNP-AliveMessageSender] Error sending ALIVE message
java.io.IOException: No route to host (sendto failed)
    at java.net.PlainDatagramSocketImpl.send(Native Method)
    at java.net.DatagramSocket.send(DatagramSocket.java:693)
    at net.pms.network.UPNPHelper.sendMessage(UPNPHelper.java:389)
    at net.pms.network.UPNPHelper.sendMessage(UPNPHelper.java:361)
    at net.pms.network.UPNPHelper.sendAlive(UPNPHelper.java:226)
    at net.pms.network.UPNPHelper$1.run(UPNPHelper.java:414)
    at java.lang.Thread.run(Thread.java:748)

@onon765trb You still have trouble, multicast doesn't work as it should. I'm not sure what the problem is, it doesn't look like the firewall is the problem, and the routing table looks reasonable.

From what I can understand it must be some problem in the network somewhere, this post seems to be caused by the same problem even it doesn't say how the problem was solved. Since the routing table seems to be ok, it sounds like the router configuration might be the problem.

Here's a couple of other "odd" links relating to macOS and multicast:
https://issues.jboss.org/browse/JGRP-1808
https://developer.jboss.org/wiki/MulticastRoutingOnMacOSX?_sscc=t

Even though I don't understand that this should be necessary (I have a macOS 10.12.5 VM that works without this problem), it might be worth a try making the suggested multicast routes?

I tried to remove All Java apps, where there is PS3 Media Server. Some of them have files whose file nemes are java, javaws.etc.
As a result, logs change as follows. Is the below log normal?

TRACE 2017-07-15 03:44:19.226 [UPNPHelper] Received a NOTIFY from [xxx.xxx.xxx.1:36303]
TRACE 2017-07-15 03:44:32.528 [cling-21] Ignoring remote device: WFADevice (RemoteDevice) Identity: (RemoteDeviceIdentity) UDN: uuid:09182736-4554-6372-8190-c025a28010ac, Descriptor: http://xxx.xxx.xxx.1:52881/simplecfg.xml, Root: true
DEBUG 2017-07-15 03:44:49.216 [UPNP-AliveMessageSender] Sending ALIVE...
TRACE 2017-07-15 03:44:50.016 [UPNPHelper] Received a NOTIFY from [xxx.xxx.xxx.100:55725]
TRACE 2017-07-15 03:46:06.822 [HTTPv2 Request Worker 14] Matched media renderer "Panasonic_HDD_Recoder_2" based on address xxx.xxx.xxx.101
DEBUG 2017-07-15 03:46:06.823 [HTTPv2 Request Worker 14] Recognized media renderer "Panasonic_HDD_Recoder_2"
TRACE 2017-07-15 03:46:06.823 [HTTPv2 Request Worker 14] Received a request from Panasonic_HDD_Recoder_2 (xxx.xxx.xxx.101:34849):

SUBSCRIBE /upnp/event/content_directory HTTP/1.1

HEADER:
  HOST: xxx.xxx.xxx.100:10045
  SID: uuid:e7621198-2482-4eb2-854f-223ff5c57723
  TIMEOUT: Second-300
  CONNECTION: close

DEBUG 2017-07-15 03:46:06.824 [HTTPv2 Request Worker 14] Expected soap action in request
TRACE 2017-07-15 03:46:06.829 [HTTPv2 Request Worker 14] Response sent to Panasonic_HDD_Recoder_2:

HEADER:
  HTTP/1.1 200 OK
  SID: uuid:e7621198-2482-4eb2-854f-223ff5c57723
  TIMEOUT: Second-300
  Server: Mac_OS_X-x86_64-10.12.5, UPnP/1.0 DLNADOC/1.50, UMS/6.7.2
  Content-Length: 307

CONTENT:
<e:propertyset xmlns:e="urn:schemas-upnp-org:event-1-0" xmlns:s="urn:schemas-upnp-org:service:ContentDirectory:1">
    <e:property>
        <TransferIDs/>
    </e:property>
    <e:property>
        <ContainerUpdateIDs/>
    </e:property>
    <e:property>
        <SystemUpdateID>1</SystemUpdateID>
    </e:property>
</e:propertyset>

DEBUG 2017-07-15 03:46:15.788 [UPNP-AliveMessageSender] Sending ALIVE...
TRACE 2017-07-15 03:47:21.156 [UPNPHelper] Received a NOTIFY from [xxx.xxx.xxx.1:36303]
TRACE 2017-07-15 03:47:23.020 [UPNPHelper] Received a NOTIFY from [xxx.xxx.xxx.100:55188]
DEBUG 2017-07-15 03:47:53.019 [UPNP-AliveMessageSender] Sending ALIVE...
TRACE 2017-07-15 03:48:36.937 [HTTPv2 Request Worker 9] Matched media renderer "Panasonic_HDD_Recoder_2" based on address xxx.xxx.xxx.101
DEBUG 2017-07-15 03:48:36.937 [HTTPv2 Request Worker 9] Recognized media renderer "Panasonic_HDD_Recoder_2"
TRACE 2017-07-15 03:48:36.938 [HTTPv2 Request Worker 9] Received a request from Panasonic_HDD_Recoder_2 (xxx.xxx.xxx.101:34850):

SUBSCRIBE /upnp/event/content_directory HTTP/1.1

HEADER:
  HOST: xxx.xxx.xxx.100:10045
  SID: uuid:e7621198-2482-4eb2-854f-223ff5c57723
  TIMEOUT: Second-300
  CONNECTION: close

DEBUG 2017-07-15 03:48:36.938 [HTTPv2 Request Worker 9] Expected soap action in request
TRACE 2017-07-15 03:48:36.942 [HTTPv2 Request Worker 9] Response sent to Panasonic_HDD_Recoder_2:

HEADER:
  HTTP/1.1 200 OK
  SID: uuid:e7621198-2482-4eb2-854f-223ff5c57723
  TIMEOUT: Second-300
  Server: Mac_OS_X-x86_64-10.12.5, UPnP/1.0 DLNADOC/1.50, UMS/6.7.2
  Content-Length: 307

CONTENT:
<e:propertyset xmlns:e="urn:schemas-upnp-org:event-1-0" xmlns:s="urn:schemas-upnp-org:service:ContentDirectory:1">
    <e:property>
        <TransferIDs/>
    </e:property>
    <e:property>
        <ContainerUpdateIDs/>
    </e:property>
    <e:property>
        <SystemUpdateID>1</SystemUpdateID>
    </e:property>
</e:propertyset>

@onon765trb That looks much more normal yes. Multicast seems to be working there, as UMS recieves several multicast messages (NOTIFY is multicast). I can even see that your router has UPnP enabled:

Ignoring remote device: WFADevice (RemoteDevice) Identity: (RemoteDeviceIdentity) UDN: uuid:09182736-4554-6372-8190-c025a28010ac, Descriptor: http://xxx.xxx.xxx.1:52881/simplecfg.xml, Root: true

馃憤

@Nadahar
Is a cause for my error log a conflict amang JAVA?
Sometimes, I saw
Root: false
Is this normal?

@Sami32
I will report supported codecs in my dmr.

@onon765trb I'm sorry, but I don't understand your question. Could you try to rephrase?

@Nadahar
Sorry for not enough explanation.
By removing all Java apps whose some of them have file whose name are java, javaws.etc., I got the normal log. Can I think that a cause for my error log about multicast is a conflict amang JAVA?

Sometimes, not
Ignoring remote device: WFADevice (RemoteDevice) Identity: (RemoteDeviceIdentity) UDN: uuid:09182736-4554-6372-8190-c025a28010ac, Descriptor: http://xxx.xxx.xxx.1:52881/simplecfg.xml, Root: true
Root: true
but
Ignoring remote device: WFADevice (RemoteDevice) Identity: (RemoteDeviceIdentity) UDN: uuid:09182736-4554-6372-8190-c025a28010ac, Descriptor: http://xxx.xxx.xxx.1:52881/simplecfg.xml, Root:false
Root:false
appeaers. Is this norma?

@Sami32
My dmr can transstream the below formats.
extensions: ts, m2ts
codecs: h264,mpeg2,mpeg1,aaa(lc, he, hev2,ltp,main,ssr),ac3,eac3,mp2,mp3
extensions: vob
codecs: mpeg2,mpeg1,,ac3,mp2,mp3
TrueHD and all dts aren't playbacked.

It can' do any audio file, even wav, aiff with your suggestions. But can strascode them with profile LPCM.

I think these can be applied to all dmr sold in Japan as long as reading internet boards about Panasonic in Japan, and UMS can supports all dmr sold in Japan by configure file you suggests and these formats.
I don't suppose the strict restriction of Panasonic.

@onon765trb Nice, thanks :+1:

Do that mean that the renderer draft i did for you is correctly detected without the need to force it ?

Did you tried to test the subtitles support ? SRT, SUB and TXT (external and embedded)

Here a restricted version a of a new renderer configuration file that i did using your informations:
https://we.tl/k0dsCq8B4I

I have used your informations, but i don't now what DLNA flags it will need for VOB files as we cannot get the SinkProtocolInfo informations from your renderer.

So, i suspect that Twonky should work for you ?
The free trial will permit to get a Wireshark capture, in case Twonky is effectively working with your renderer, that will show us the DLNA flags and others parameters used for your rendrer.

EDIT: Some Wireshark tutorials.
https://github.com/UniversalMediaServer/UniversalMediaServer/issues/880#issuecomment-220171613
http://www.universalmediaserver.com/forum/viewtopic.php?f=9&t=9126&p=29350&hilit=Wireshark#p29350
http://www.universalmediaserver.com/forum/viewtopic.php?f=5&t=1563&p=29725&hilit=Wireshark#p29725

@onon765trb Could you try that modified UMS version, and report if you was able to stream VOB files ?
https://we.tl/ImgHEhRfHv (7 days validity)

@Sami32
I downloaded the two files.

Did you tried to test the subtitles support ?

No. I don't have ever treated with movies with subtitles even with ffmpeg, mplayer, mencoder, mpv, vlc.
Do you have good samples or know the way to make them?

I will try wireshark. But we don't had better have unreasonable expectations because of the strict restriction of Panasonic.

@onon765trb

When it's about Panasonic, i use Twonky as a reference, as they was officially annouced as their media server.
That should give us a better hope :wink:

About subtiles settings, you should read that.
The external subtitles can be added later after having tried the embedded one, as they have priority by default, if i remember correctly.
About subtitles samples: (remove the fake _.txt_ extensions)
MKV-H264-AACHE-2ch (2)_Delay.mkv.txt
MKV-H264-AACHE-2ch (1)_Delay.mkv.txt
MKV-H264-AACHE-2ch (2).srt.txt
MKV-H264-AACHE-2ch (2).sub.txt
MKV-H264-AACHE-2ch (2).txt

When i see how limited is the japaneese TV market, it look mafia to me, without any offense, i suspect that your country prevent japaneese people to buy by Internet from foreign countries with crazy huge import tax ?
In your case, it seem that it will be nice to buy Panasonic from USA or Europe, because my Panasonic work very well :wink:

Note: Please, feel free to ask if i was unclear.

@onon765trb Could you try that build and tell me if your transcoding issue get any better if not solved ? And MP4 play as well. Thanks.
https://we.tl/hompi2n4UU (Link valid 7 days) with this renderer:

Panasonic-DMR-BRZ2000.conf.txt

Thank you for waiting.
I spilled much water on my notebook... I spent most of my time on a recovery. I am tired.

As you said, I was going to use product of USA or Europe. But to watch TV Program, TVs and Recoders need a Card in Japan.
But mafia??? When you feel so, I recommend watch this. Warning don't get crazy about.

Result of my test
Even Wireshark couldn't get SinkProtocolInfo under Twonky and most of free and share(trial version) wares.

Because I couldn't download https://we.tl/hompi2n4UU, I didn't test it.

On vob file
good
mpeg1,mpeg2
480
ac3 mp3 mp2
48k 44.1k

bad, playback stops along the way
mpeg1,mpeg2
1080 720
ac3 mp3 mp2
48k 44.1k

On subtitle
MKV-H264-AACHE-2ch.1._Delay.mkv
It can't be playbsacked.
by ffmpeg in transcode folder
first: the subtitle isn't displayed.
second: the subtitle is displayed. But the subtitle isn't on black pad.
third: the subtitle is displayed. But the subtitle isn't on black pad.

MKV-H264-AACHE-2ch.2._Delay.mkv
the subtitle isn't displayed.
by ffmpeg in transcode folder
first : the subtitle isn't displayed.
second: the subtitle isn't displayed.
third: the subtitle is displayed. But the subtitle isn't on black pad.

The log of MKV-H264-AACHE-2ch.1._Delay.mkv not be able playbacked

TRACE 2017-09-29 12:47:13.881 [HTTPv2 Request Worker 14] Matched media renderer "Panasonic DMR-BRZ my conf" based on address xxx.xxx.xxx.xxx
DEBUG 2017-09-29 12:47:13.881 [HTTPv2 Request Worker 14] Recognized media renderer "Panasonic DMR-BRZ my conf"
TRACE 2017-09-29 12:47:13.881 [HTTPv2 Request Worker 14] Received a request from Panasonic DMR-BRZ my conf (xxx.xxx.xxx.xxx:39848):

GET /get/74/MKV-H264-AACHE-2ch.1._Delay.mkv_transcoded_to.ts HTTP/1.1

HEADER:
  TimeSeekRange.dlna.org: npt=0.000-
  HOST: xxx.xxx.xxx.xxx:10045
  transferMode.dlna.org: Streaming
  getcontentFeatures.dlna.org: 1

TRACE 2017-09-29 12:47:13.882 [HTTPv2 Request Worker 14] Asked stream chunk : TimeRange [start=0.0, end=null] of MKV-H264-AACHE-2ch.1._Delay.mkv and player FFmpeg
TRACE 2017-09-29 12:47:13.882 [HTTPv2 Request Worker 14] Setting lastStartPosition from time-seeking: 0.0
DEBUG 2017-09-29 12:47:13.882 [HTTPv2 Request Worker 14] Starting transcode/remux of MKV-H264-AACHE-2ch.1._Delay.mkv with media info: Container: MATROSKA, Size: 4591238, Video Bitrate: 3091456, Video Tracks: 1, Video Codec: h264 (high), Duration: 0:00:12.170, Video Resolution: 1920 x 816, Frame Rate: 23.98, Audio Tracks: 1 [Id: 0, Language Code: eng, Audio Codec: aac (he-aac), Bitrate: 0, Channels: 2, Sample Frequency: 48000 Hz], Subtitle Tracks: 2 [id: 0, type: SUBRIP, lang: fre], [id: 1, type: SUBRIP, lang: und], Mime Type: video/x-matroska
TRACE 2017-09-29 12:47:13.882 [HTTPv2 Request Worker 14] Looking for an audio track with lang: jpn
TRACE 2017-09-29 12:47:13.882 [HTTPv2 Request Worker 14] Looking for an audio track with lang: eng
TRACE 2017-09-29 12:47:13.882 [HTTPv2 Request Worker 14] Matched audio track: Id: 0, Language Code: eng, Audio Codec: aac (he-aac), Bitrate: 0, Channels: 2, Sample Frequency: 48000 Hz
TRACE 2017-09-29 12:47:13.883 [HTTPv2 Request Worker 14] Searching for a match for: eng with jpn and off
TRACE 2017-09-29 12:47:13.884 [HTTPv2 Request Worker 14] Searching for a match for: eng with * and jpn
TRACE 2017-09-29 12:47:13.884 [HTTPv2 Request Worker 14] Searching for a match for: eng with * and eng
TRACE 2017-09-29 12:47:13.884 [HTTPv2 Request Worker 14] Searching for a match for: eng with * and und
TRACE 2017-09-29 12:47:13.884 [HTTPv2 Request Worker 14] Matched internal subtitles track: id: 1, type: SUBRIP, lang: und
TRACE 2017-09-29 12:47:13.885 [HTTPv2 Request Worker 14] Switching from FFmpeg to MEncoder to transcode subtitles because the user setting is enabled.
TRACE 2017-09-29 12:47:13.885 [HTTPv2 Request Worker 14] Searching for a match for: eng with jpn and off
TRACE 2017-09-29 12:47:13.885 [HTTPv2 Request Worker 14] Searching for a match for: eng with * and jpn
TRACE 2017-09-29 12:47:13.885 [HTTPv2 Request Worker 14] Searching for a match for: eng with * and eng
TRACE 2017-09-29 12:47:13.885 [HTTPv2 Request Worker 14] Searching for a match for: eng with * and und
TRACE 2017-09-29 12:47:13.885 [HTTPv2 Request Worker 14] Matched internal subtitles track: id: 1, type: SUBRIP, lang: und
TRACE 2017-09-29 12:47:13.885 [HTTPv2 Request Worker 14] Not muxing the video stream with tsMuxeR via MEncoder because the user setting is disabled
TRACE 2017-09-29 12:47:13.886 [HTTPv2 Request Worker 14] Using video bitrate limit from the general configuration (1000 Mb/s)
TRACE 2017-09-29 12:47:13.886 [HTTPv2 Request Worker 14] Adjusting the video bitrate limit to the H.264 Level 4.1-safe value of 31250 kb/s
DEBUG 2017-09-29 12:47:13.889 [mencoder-10] Starting "/Applications/Universal Media Server.app/Contents/Resources/osx/mencoder" -ss 0 /Users/x/dlna/samples/subtitles/MKV-H264-AACHE-2ch.1._Delay.mkv -msglevel statusline=2 -oac faac -faacopts br=320:mpeg=4:object=2 -of lavf -lavfopts format=mpegts -mpegopts format=mpeg2:muxrate=500000:vbuf_size=1194:abuf_size=64 -ovc lavc -channels 6 -lavdopts debug=0:threads=4 -lavcopts autoaspect=1:vcodec=libx264:threads=8:o=preset=superfast,crf=16,g=250,i_qfactor=0.71,qcomp=0.6,level=3.1,weightp=0,8x8dct=0,aq-strength=0,me_range=16:vrc_maxrate=31250:vrc_buf_size=31250 -ass -ass-color FFFFFF00 -ass-border-color 00000000 -ass-font-scale 1.4 -font Arial -ass-force-style FontName=Arial,Outline=1,Shadow=1,MarginV=10 -noautosub -sid 1 -ofps 24000/1001 -lavdopts fast -mc 0 -noskip -af lavcresample=48000 -srate 48000 -o - -really-quiet -msglevel statusline=2
TRACE 2017-09-29 12:47:13.890 [mencoder-10] Setting FONTCONFIG_PATH to "/Applications/Universal Media Server.app/Contents/Resources/fonts"
TRACE 2017-09-29 12:47:13.904 [mencoder-10] Successfully initialized buffer to 52,428,800 bytes.
DEBUG 2017-09-29 12:47:13.904 [mencoder-10] Attaching thread: mencoder-10
DEBUG 2017-09-29 12:47:13.904 [mencoder-10] Unix process ID ("/Applications/Universal Media Server.app/Contents/Resources/osx/mencoder"): 1731
TRACE 2017-09-29 12:47:13.905 [mencoder-10-Timer] buffered: 0 bytes / inputs: 0
TRACE 2017-09-29 12:47:13.914 [mencoder-10] EOF
TRACE 2017-09-29 12:47:13.995 [HTTPv2 Request Worker 14] Did not send subtitle headers because dlna.getMediaSubtitle().isStreamable() is false
TRACE 2017-09-29 12:47:13.995 [macOS Sleep Worker] Calling IOKitUtils.disableGoToSleep() to prevent macOS idle sleep
TRACE 2017-09-29 12:47:13.995 [StartPlaying Event] Matched media renderer "Panasonic DMR-BRZ my conf" based on address xxx.xxx.xxx.xxx
INFO  2017-09-29 12:47:13.996 [StartPlaying Event] Started playing MKV-H264-AACHE-2ch.1._Delay.mkv on your Panasonic DMR-BRZ my conf
DEBUG 2017-09-29 12:47:13.996 [StartPlaying Event] The full filename of which is: /Users/m/dlna/samples/subtitles/MKV-H264-AACHE-2ch.1._Delay.mkv and the address of the renderer is: xxx.xxx.xxx.xxx
TRACE 2017-09-29 12:47:13.996 [HTTPv2 Request Worker 14] Ready to Stop: true
TRACE 2017-09-29 12:47:13.997 [HTTPv2 Request Worker 14] Transfer response sent to Panasonic DMR-BRZ my conf:

HEADER:
  HTTP/1.1 200 OK (non-chunked)
  TransferMode.DLNA.ORG: Streaming
  Content-Type: video/mpeg
  ContentFeatures.DLNA.ORG: DLNA.ORG_PN=AVC_TS_HP_HD_AAC;DLNA.ORG_OP=11;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=01700000000000000000000000000000
  Accept-Ranges: bytes
  Connection: keep-alive
  Server: Mac_OS_X-x86_64-10.12.6, UPnP/1.0 DLNADOC/1.50, UMS/6.7.3
  TimeSeekRange.dlna.org: npt=0:00:00.000-0:00:12.170/0:00:12.170
  X-Seek-Range: npt=0:00:00.000-0:00:12.170/0:00:12.170

TRACE 2017-09-29 12:47:15.909 [mencoder-10-Timer] buffered: 0 bytes / inputs: 0
DEBUG 2017-09-29 12:47:16.497 [mencoder-10-Cleanup] Stopping Unix process 1731: mencoder-10
TRACE 2017-09-29 12:47:16.498 [mencoder-10-Cleanup] Destroying buffer
TRACE 2017-09-29 12:47:16.498 [mencoder-10-Cleanup] Killing the Unix process: 1731
TRACE 2017-09-29 12:47:18.001 [StopPlaying Event] Matched media renderer "Panasonic DMR-BRZ my conf" based on address xxx.xxx.xxx.xxx
INFO  2017-09-29 12:47:18.002 [StopPlaying Event] Stopped playing MKV-H264-AACHE-2ch.1._Delay.mkv on your Panasonic DMR-BRZ my conf
DEBUG 2017-09-29 12:47:18.002 [StopPlaying Event] The full filename of which is: /Users/x/dlna/samples/subtitles/MKV-H264-AACHE-2ch.1._Delay.mkv and the address of the renderer is: xxx.xxx.xxx.xxx
DEBUG 2017-09-29 12:47:18.002 [StopPlaying Event] Resume stop. This segment 4006 new time 8014
INFO  2017-09-29 12:47:18.004 [StopPlaying Event] Checking shared folder: /Users/x/dlna
TRACE 2017-09-29 12:47:19.001 [macOS Sleep Worker] Calling IOKitUtils.resetSleepTimer() to postpone macOS idle sleep
TRACE 2017-09-29 12:47:19.002 [macOS Sleep Worker] Calling IOKitUtils.enableGoToSleep to stop preventing macOS idle sleep
DEBUG 2017-09-29 12:47:32.434 [UPNP-AliveMessageSender] Sending ALIVE...

@onon765trb Arghh...sorry for you, good that you get your computer back to life again :+1:
I see, it seem as in France for satellite "mafia", lobbying, national limitation.
Some renderers as _DreamBox_ with _Enigma2_ and some plugins can sometimes do miracles ;)
Also Samsung renderers with open source firmware:
https://www.samygo.tv/
https://wiki.samygo.tv/index.php?title=Main_Page

OK, none are japaneese stuff, but if it can work and help you work around all these stupid and commercial limitations...

Yes, lobbying or national protectionnism should have been more appropriate words.
"Mafia" word should be kept for France-Japan nuclear dirty buzziness :wink: (I'm french by the way)

Sorry, i'm not sure to understand you:

MKV-H264-AACHE-2ch.2._Delay.mkv
the subtitle isn't displayed.
by ffmpeg in transcode folder
first : the subtitle isn't displayed.
second: the subtitle isn't displayed.
third: the subtitle is displayed. But the subtitle isn't on black pad.

What is first, second and third meaning ?
Is it FFmpeg, Mencoder and tsMuxeR engines used ?
or external subtitles SRT, SUB and TXT ?

EDIT: BTW thank you for the link. Cuet girls, but definitively not my kind of music ! Only that music could make me crazy :wink: I prefer "the Walkyries" from Richard WAGNER.

@onon765trb Sorry, but i don't know how to work without your full trace log...I miss cruelly all the DLNA informations. By now i'm only testing in the dark, as i don't know what happened in all that cases that you have mentioned...

Here is another build: (the subtitles are disabled and will not work)
https://we.tl/Hxx5ygL2QK

But this build will work only if you update your FFmpeg version to the latest static version:
https://evermeet.cx/ffmpeg/

Test the transcoding with
As i discovered an ugly hack that affected the MPEGTS transcoding, you should also try with that renderer:
Panasonic-DMR-BRZ2000.conf.txt
That's said i could make 100 different renderers without seing your full log...at least one recent.

Try also commenting the _CustomFFmpegOptions_ line (#)

@Sami32
Thank you for your message.
I downloaded your build.
Please wait.

@Sami32
Thank you for waiting.
I have searched a cause for errors of subtitles.
A cause is mencoder. When mencoder is used instead of ffmpeg, a error happens.
The others aren't solved.

Results of test, using your build, your mkv test samples, the master of ffmpeg
MKV-H264-AACHE-2ch.1._Delay.mkv
good

of [ffmpeg] [Audio] in transcode folder
1st
good
2nd[subrip]
good
3rd[subrip/french]
good

MKV-H264-AACHE-2ch.2._Delay.mkv
good

of [ffmpeg] [Audio] in a transcode folder
1st[generic/english]
bad The subtitle isn't displayed
2nd[generic/english]
bad The subtitle isn't displayed
3rd[subrip/english]
good
4th[subrip/french]
good
5th[generic]
bad The subtitle isn't displayed
When subtitle codec is hdmv_pgs_subtitle, errors seem to happen. Need burn to video by overlay filter?

log of MKV-H264-AACHE-2ch.2._Delay.mkv
````
14:11:27 TRACE Asked stream chunk : TimeRange [start=0.0, end=null] of MKV-H264-AACHE-2ch.2._Delay.mkv and player FFmpeg
14:11:27 TRACE Setting lastStartPosition from time-seeking: 0.0
14:11:27 DEBUG Starting transcode/remux of MKV-H264-AACHE-2ch.2._Delay.mkv with media info: Container: MATROSKA, Size: 4595795, Video Bitrate: 0, Video Tracks: 1, Video Codec: h264 (high), Duration: 13:15:21, Video Resolution: 1920 x 816, Frame Rate: 23.98, Audio Tracks: 1 [Id: 0, Language Code: eng, Audio Codec: aac (he-aac), ], Subtitle Tracks: 4 [id: 0, type: SUBRIP, lang: fre], [id: 1, type: UNKNOWN, lang: und], [id: 2, type: UNKNOWN, lang: eng], [id: 3, type: SUBRIP, lang: eng], Mime Type: video/x-matroska
14:11:27 TRACE Looking for an audio track with lang: jpn
14:11:27 TRACE Looking for an audio track with lang: eng
14:11:27 TRACE Matched audio track: Id: 0, Language Code: eng, Audio Codec: aac (he-aac),
14:11:27 TRACE Searching for a match for: eng with jpn and off
14:11:27 TRACE Searching for a match for: eng with * and jpn
14:11:27 TRACE Searching for a match for: eng with * and eng
14:11:27 TRACE Matched internal subtitles track: id: 2, type: UNKNOWN, lang: eng
14:11:27 TRACE Searching for a match for: eng with * and und
14:11:27 TRACE Using video bitrate limit from the general configuration (1000 Mb/s)
14:11:27 TRACE Adjusting the video bitrate limit to the H.264 Level 4.1-safe value of 31250 kb/s
14:11:27 DEBUG Starting mkfifo -m 777 /var/folders/xv/0447t6vs2vz5ws7j5m5t213m0000gn/T/UMS-x/ffmpegvideo_61_1520226687879
14:11:27 TRACE Setting FONTCONFIG_PATH to "/Applications/Universal Media Server.app/Contents/Resources/fonts"
14:11:27 DEBUG Unix process ID (mkfifo): 4064
14:11:28 DEBUG Starting /sw/bin/ffmpeg -y -loglevel info -i /Users/x/dlna/samples/subtitles/MKV-H264-AACHE-2ch.2._Delay.mkv -filter_complex format=pix_fmts=yuv420p16le,idet=analyze_interlaced_flag=1,bwdif=mode=send_frame:parity=auto:deint=interlaced,fps=24000/1001,hqdn3d=0:0:9:9,format=pix_fmts=yuv420p,smartblur=lr=1.5:ls=-1:lt=0:cr=1.0:cs=0.3:ct=0,pp=ha|a|127|7/va|a/dr|a/al|a,scale=ohdar:min(ih\,1080):flags=lanczos+accurate_rnd,setsar=sar=1/1,pad=ceil(max(iw\,ih(16/9))/2)2:ceil(ow/(16/9)/2)2:(ow-iw)/2:(oh-ih)/2 -bufsize 31250k -maxrate 31250k -crf 16 -c:v libx264 -tune zerolatency -level 31 -c:a aac -ac 2 -ab 320k -ar 48000 -c:v libx264 -preset veryfast -crf 19 -b:v 20000k -bufsize 25000k -maxrate 25000k -resampler soxr -precision 28 -c:a aac_at -pix_fmt yuv420p -max_muxing_queue_size 9999 -vsync 1 -async 1 -f mpegts /var/folders/xv/0447t6vs2vz5ws7j5m5t213m0000gn/T/UMS-x/ffmpegvideo_61_1520226687879
14:11:28 TRACE Setting FONTCONFIG_PATH to "/Applications/Universal Media Server.app/Contents/Resources/fonts"
14:11:28 DEBUG Reading pipe: /var/folders/xv/0447t6vs2vz5ws7j5m5t213m0000gn/T/UMS-x/ffmpegvideo_61_1520226687879
14:11:28 TRACE Opening file /var/folders/xv/0447t6vs2vz5ws7j5m5t213m0000gn/T/UMS-x/ffmpegvideo_61_1520226687879 for reading...
14:11:28 DEBUG ffmpeg version N-90169-gf4709f1b7b Copyright (c) 2000-2018 the FFmpeg developers
14:11:28 DEBUG built with clang version 5.0.1 (tags/RELEASE_501/final)
14:11:28 DEBUG configuration: --prefix=/sw --cc=clang-mp-5.0 --cxx=clang++-mp-5.0 --disable-shared --enable-static --enable-gpl --enable-version3 --enable-nonfree --enable-pthreads --optflags=-Ofast --extra-cflags='-I/sw/include -I/opt/local/include ' --extra-ldflags=' -L/sw/lib -L/opt/local/lib -fopenmp' --extra-ldsoflags='-L/sw/lib -L/opt/local/lib -static--target-os=darwin' --arch=x86_64 --cpu=kabylake --enable-avresample --enable-libfdk-aac --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libxvid --enable-libfreetype --enable-gcrypt --enable-gmp --enable-openssl --enable-librtmp --enable-libass --enable-fontconfig --enable-libfribidi --enable-libbluray --enable-libdc1394 --enable-libmodplug --enable-lzma --enable-libx264 --enable-libx265 --enable-libzimg --enable-libvidstab --enable-libsoxr --enable-libsmbclient --enable-libcdio --enable-libtesseract --enable-opengl --enable-opencl --pkg-config-flags=' --libs --static'
14:11:28 DEBUG libavutil 56. 7.101 / 56. 7.101
14:11:28 DEBUG libavcodec 58. 13.100 / 58. 13.100
14:11:28 DEBUG libavformat 58. 10.100 / 58. 10.100
14:11:28 DEBUG libavdevice 58. 2.100 / 58. 2.100
14:11:28 DEBUG libavfilter 7. 12.100 / 7. 12.100
14:11:28 DEBUG libavresample 4. 0. 0 / 4. 0. 0
14:11:28 DEBUG libswscale 5. 0.101 / 5. 0.101
14:11:28 DEBUG libswresample 3. 0.101 / 3. 0.101
14:11:28 DEBUG libpostproc 55. 0.100 / 55. 0.100
14:11:28 DEBUG [matroska,webm @ 0x7fa26080fe00] Could not find codec parameters for stream 4 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
14:11:28 DEBUG Consider increasing the value for the 'analyzeduration' and 'probesize' options
14:11:28 DEBUG Input #0, matroska,webm, from '/Users/x/dlna/samples/subtitles/MKV-H264-AACHE-2ch.2._Delay.mkv':
14:11:28 DEBUG Metadata:
14:11:28 DEBUG encoder : libebml v1.3.4 + libmatroska v1.4.5
14:11:28 DEBUG creation_time : 2016-11-27T16:35:52.000000Z
14:11:28 DEBUG Duration: 13:15:21.82, start: 0.000000, bitrate: 0 kb/s
14:11:28 DEBUG Stream #0:0(eng): Video: h264 (High), yuv420p(tv, bt709/unknown/unknown, progressive), 1920x816 [SAR 1:1 DAR 40:17], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
14:11:28 DEBUG Metadata:
14:11:28 DEBUG BPS : 3015213
14:11:28 DEBUG BPS-eng : 3015213
14:11:28 DEBUG DURATION : 00:00:11.428000000
14:11:28 DEBUG DURATION-eng : 00:00:11.428000000
14:11:28 DEBUG NUMBER_OF_FRAMES: 274
14:11:28 DEBUG NUMBER_OF_FRAMES-eng: 274
14:11:28 DEBUG NUMBER_OF_BYTES : 4307232
14:11:28 DEBUG NUMBER_OF_BYTES-eng: 4307232
14:11:28 DEBUG _STATISTICS_WRITING_APP: mkvmerge v9.5.0 ('Quiet Fire') 32bit
14:11:28 DEBUG _STATISTICS_WRITING_APP-eng: mkvmerge v9.5.0 ('Quiet Fire') 32bit
14:11:28 DEBUG _STATISTICS_WRITING_DATE_UTC: 2016-11-27 16:35:52
14:11:28 DEBUG _STATISTICS_WRITING_DATE_UTC-eng: 2016-11-27 16:35:52
14:11:28 DEBUG _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
14:11:28 DEBUG _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
14:11:28 DEBUG Stream #0:1(eng): Audio: aac (HE-AAC), 48000 Hz, stereo, fltp (default)
14:11:28 DEBUG Metadata:
14:11:28 DEBUG BPS : 190997
14:11:28 DEBUG BPS-eng : 190997
14:11:28 DEBUG DURATION : 00:00:11.434000000
14:11:28 DEBUG DURATION-eng : 00:00:11.434000000
14:11:28 DEBUG NUMBER_OF_FRAMES: 268
14:11:28 DEBUG NUMBER_OF_FRAMES-eng: 268
14:11:28 DEBUG NUMBER_OF_BYTES : 272983
14:11:28 DEBUG NUMBER_OF_BYTES-eng: 272983
14:11:28 DEBUG _STATISTICS_WRITING_APP: mkvmerge v9.5.0 ('Quiet Fire') 32bit
14:11:28 DEBUG _STATISTICS_WRITING_APP-eng: mkvmerge v9.5.0 ('Quiet Fire') 32bit
14:11:28 DEBUG _STATISTICS_WRITING_DATE_UTC: 2016-11-27 16:35:52
14:11:28 DEBUG _STATISTICS_WRITING_DATE_UTC-eng: 2016-11-27 16:35:52
14:11:28 DEBUG _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
14:11:28 DEBUG _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
14:11:28 DEBUG Stream #0:2(fre): Subtitle: subrip (default)
14:11:28 DEBUG Metadata:
14:11:28 DEBUG BPS : 160
14:11:28 DEBUG BPS-eng : 160
14:11:28 DEBUG DURATION : 00:00:11.673000000
14:11:28 DEBUG DURATION-eng : 00:00:11.673000000
14:11:28 DEBUG NUMBER_OF_FRAMES: 6
14:11:28 DEBUG NUMBER_OF_FRAMES-eng: 6
14:11:28 DEBUG NUMBER_OF_BYTES : 234
14:11:28 DEBUG NUMBER_OF_BYTES-eng: 234
14:11:28 DEBUG _STATISTICS_WRITING_APP: mkvmerge v9.5.0 ('Quiet Fire') 32bit
14:11:28 DEBUG _STATISTICS_WRITING_APP-eng: mkvmerge v9.5.0 ('Quiet Fire') 32bit
14:11:28 DEBUG _STATISTICS_WRITING_DATE_UTC: 2016-11-27 16:35:52
14:11:28 DEBUG _STATISTICS_WRITING_DATE_UTC-eng: 2016-11-27 16:35:52
14:11:28 DEBUG _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
14:11:28 DEBUG _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
14:11:28 DEBUG Stream #0:3: Subtitle: hdmv_pgs_subtitle, 1920x1080
14:11:28 DEBUG Metadata:
14:11:28 DEBUG BPS : 270
14:11:28 DEBUG BPS-eng : 270
14:11:28 DEBUG DURATION : 00:00:34.860000000
14:11:28 DEBUG DURATION-eng : 00:00:34.860000000
14:11:28 DEBUG NUMBER_OF_FRAMES: 22
14:11:28 DEBUG NUMBER_OF_FRAMES-eng: 22
14:11:28 DEBUG NUMBER_OF_BYTES : 1177
14:11:28 DEBUG NUMBER_OF_BYTES-eng: 1177
14:11:28 DEBUG _STATISTICS_WRITING_APP: mkvmerge v9.5.0 ('Quiet Fire') 32bit
14:11:28 DEBUG _STATISTICS_WRITING_APP-eng: mkvmerge v9.5.0 ('Quiet Fire') 32bit
14:11:28 DEBUG _STATISTICS_WRITING_DATE_UTC: 2016-11-27 16:35:52
14:11:28 DEBUG _STATISTICS_WRITING_DATE_UTC-eng: 2016-11-27 16:35:52
14:11:28 DEBUG _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
14:11:28 DEBUG _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
14:11:28 DEBUG Stream #0:4(eng): Subtitle: hdmv_pgs_subtitle
14:11:28 DEBUG Metadata:
14:11:28 DEBUG BPS : 0
14:11:28 DEBUG BPS-eng : 0
14:11:28 DEBUG DURATION : 13:15:11.859000000
14:11:28 DEBUG DURATION-eng : 13:15:11.859000000
14:11:28 DEBUG NUMBER_OF_FRAMES: 20
14:11:28 DEBUG NUMBER_OF_FRAMES-eng: 20
14:11:28 DEBUG NUMBER_OF_BYTES : 1070
14:11:28 DEBUG NUMBER_OF_BYTES-eng: 1070
14:11:28 DEBUG _STATISTICS_WRITING_APP: mkvmerge v9.5.0 ('Quiet Fire') 32bit
14:11:28 DEBUG _STATISTICS_WRITING_APP-eng: mkvmerge v9.5.0 ('Quiet Fire') 32bit
14:11:28 DEBUG _STATISTICS_WRITING_DATE_UTC: 2016-11-27 16:35:52
14:11:28 DEBUG _STATISTICS_WRITING_DATE_UTC-eng: 2016-11-27 16:35:52
14:11:28 DEBUG _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
14:11:28 DEBUG _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
14:11:28 DEBUG Stream #0:5(eng): Subtitle: subrip
14:11:28 DEBUG Metadata:
14:11:28 DEBUG BPS : 160
14:11:28 DEBUG BPS-eng : 160
14:11:28 DEBUG DURATION : 00:00:11.673000000
14:11:28 DEBUG DURATION-eng : 00:00:11.673000000
14:11:28 DEBUG NUMBER_OF_FRAMES: 6
14:11:28 DEBUG NUMBER_OF_FRAMES-eng: 6
14:11:28 DEBUG NUMBER_OF_BYTES : 234
14:11:28 DEBUG NUMBER_OF_BYTES-eng: 234
14:11:28 DEBUG _STATISTICS_WRITING_APP: mkvmerge v9.5.0 ('Quiet Fire') 32bit
14:11:28 DEBUG _STATISTICS_WRITING_APP-eng: mkvmerge v9.5.0 ('Quiet Fire') 32bit
14:11:28 DEBUG _STATISTICS_WRITING_DATE_UTC: 2016-11-27 16:35:52
14:11:28 DEBUG _STATISTICS_WRITING_DATE_UTC-eng: 2016-11-27 16:35:52
14:11:28 DEBUG _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
14:11:28 DEBUG _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
14:11:28 DEBUG [Parsed_idet_1 @ 0x7fa261000440] Repeated Fields: Neither: 0 Top: 0 Bottom: 0
14:11:28 DEBUG [Parsed_idet_1 @ 0x7fa261000440] Single frame detection: TFF: 0 BFF: 0 Progressive: 0 Undetermined: 0
14:11:28 DEBUG [Parsed_idet_1 @ 0x7fa261000440] Multi frame detection: TFF: 0 BFF: 0 Progressive: 0 Undetermined: 0
14:11:28 DEBUG Stream mapping:
14:11:28 DEBUG Stream #0:0 (h264) -> format (graph 0)
14:11:28 DEBUG pad (graph 0) -> Stream #0:0 (libx264)
14:11:28 DEBUG Stream #0:1 -> #0:1 (aac (native) -> aac (aac_at))
14:11:28 DEBUG Press [q] to stop, [?] for help
14:11:28 DEBUG -async is forwarded to lavfi similarly to -af aresample=async=1:min_hard_comp=0.100000:first_pts=0.
14:11:28 TRACE Successfully initialized buffer to 52,428,800 bytes.
14:11:28 DEBUG Attaching thread: ffmpeg-20
14:11:28 TRACE buffered: 0 bytes / inputs: 0
14:11:28 DEBUG Unix process ID (/sw/bin/ffmpeg): 4065
14:11:28 DEBUG [libx264 @ 0x7fa262001200] using SAR=1/1
14:11:28 DEBUG [libx264 @ 0x7fa262001200] frame MB size (120x68) > level limit (3600)
14:11:28 DEBUG [libx264 @ 0x7fa262001200] VBV bitrate (25000) > level limit (17500)
14:11:28 DEBUG [libx264 @ 0x7fa262001200] VBV buffer (25000) > level limit (17500)
14:11:28 DEBUG [libx264 @ 0x7fa262001200] MB rate (195644) > level limit (108000)
14:11:28 DEBUG [libx264 @ 0x7fa262001200] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
14:11:28 DEBUG [libx264 @ 0x7fa262001200] profile High, level 3.1, 4:2:0, 8-bit
14:11:28 DEBUG Output #0, mpegts, to '/var/folders/xv/0447t6vs2vz5ws7j5m5t213m0000gn/T/UMS-x/ffmpegvideo_61_1520226687879':
14:11:28 DEBUG Metadata:
14:11:28 DEBUG encoder : Lavf58.10.100
14:11:28 DEBUG Stream #0:0: Video: h264 (libx264), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 20000 kb/s, 23.98 fps, 90k tbn, 23.98 tbc (default)
14:11:28 DEBUG Metadata:
14:11:28 DEBUG encoder : Lavc58.13.100 libx264
14:11:28 DEBUG Side data:
14:11:28 DEBUG cpb: bitrate max/min/avg: 25000000/0/20000000 buffer size: 25000000 vbv_delay: -1
14:11:28 DEBUG Stream #0:1(eng): Audio: aac (aac_at), 48000 Hz, stereo, s16, 320 kb/s (default)
14:11:28 DEBUG Metadata:
14:11:28 DEBUG BPS : 190997
14:11:28 DEBUG BPS-eng : 190997
14:11:28 DEBUG DURATION : 00:00:11.434000000
14:11:28 DEBUG DURATION-eng : 00:00:11.434000000
14:11:28 DEBUG NUMBER_OF_FRAMES: 268
14:11:28 DEBUG NUMBER_OF_FRAMES-eng: 268
14:11:28 DEBUG NUMBER_OF_BYTES : 272983
14:11:28 DEBUG NUMBER_OF_BYTES-eng: 272983
14:11:28 DEBUG _STATISTICS_WRITING_APP: mkvmerge v9.5.0 ('Quiet Fire') 32bit
14:11:28 DEBUG _STATISTICS_WRITING_APP-eng: mkvmerge v9.5.0 ('Quiet Fire') 32bit
14:11:28 DEBUG _STATISTICS_WRITING_DATE_UTC: 2016-11-27 16:35:52
14:11:28 DEBUG _STATISTICS_WRITING_DATE_UTC-eng: 2016-11-27 16:35:52
14:11:28 DEBUG _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
14:11:28 DEBUG _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
14:11:28 DEBUG encoder : Lavc58.13.100 aac_at
14:11:28 TRACE Did not send subtitle headers because dlna.getMediaSubtitle().isStreamable() is false
14:11:28 TRACE Calling IOKitUtils.disableGoToSleep() to prevent macOS idle sleep
14:11:28 TRACE Matched media renderer "Panasonic DMR-BRZ my conf" based on address x
14:11:28 TRACE Suspend Read: readCount=0 / writeCount=0
14:11:28 INFO Started playing MKV-H264-AACHE-2ch.2._Delay.mkv on your Panasonic DMR-BRZ my conf
14:11:28 DEBUG The full filename of which is: /Users/x/dlna/samples/subtitles/MKV-H264-AACHE-2ch.2._Delay.mkv and the address of the renderer is: x
14:11:28 DEBUG frame= 14 fps=0.0 q=21.0 size= 1024kB time=00:00:01.04 bitrate=8038.6kbits/s speed=2.03x
14:11:28 TRACE Resume Read: readCount=0 / writeCount=1315436
14:11:28 TRACE Transfer response sent to Panasonic DMR-BRZ my conf:

HEADER:
HTTP/1.1 200 OK (non-chunked)
TransferMode.DLNA.ORG: Streaming
Content-Type: video/mpeg
ContentFeatures.DLNA.ORG: DLNA.ORG_PN=AVC_TS_HP_HD_AAC;DLNA.ORG_OP=11;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=01700000000000000000000000000000
Accept-Ranges: bytes
Connection: keep-alive
Server: Mac_OS_X-x86_64-10.12.6, UPnP/1.0 DLNADOC/1.50, UMS/6.7.2-SNAPSHOT
TimeSeekRange.dlna.org: npt=00:00:00.00-13:15:21/13:15:21
X-Seek-Range: npt=00:00:00.00-13:15:21/13:15:21

14:11:28 TRACE Suspend Read: readCount=352256 / writeCount=1347208
14:11:29 DEBUG frame= 35 fps= 34 q=19.0 size= 2339kB time=00:00:02.06 bitrate=9264.0kbits/s speed=2.02x
14:11:29 TRACE Resume Read: readCount=352256 / writeCount=2564132
14:11:29 DEBUG Connection error: java.io.IOException: Connection reset by peer
14:11:29 DEBUG Premature end, stopping...
14:11:29 TRACE Ready to Stop: true
14:11:29 TRACE Matched media renderer "Panasonic DMR-BRZ my conf" based on address x
14:11:29 DEBUG Recognized media renderer "Panasonic DMR-BRZ my conf"
14:11:29 TRACE Received a request from Panasonic DMR-BRZ my conf (x:41062):

GET /get/142/MKV-H264-AACHE-2ch.2._Delay.mkv_transcoded_to.ts HTTP/1.1

HEADER:
TimeSeekRange.dlna.org: npt=0.000-
HOST: x:10045
transferMode.dlna.org: Streaming
getcontentFeatures.dlna.org: 1

14:11:29 TRACE Asked stream chunk : TimeRange [start=0.0, end=null] of MKV-H264-AACHE-2ch.2._Delay.mkv and player FFmpeg
14:11:29 TRACE Setting lastStartPosition from time-seeking: 0.0
14:11:29 TRACE Ready to Stop: false
14:11:29 TRACE Did not send subtitle headers because dlna.getMediaSubtitle().isStreamable() is false
14:11:29 TRACE Transfer response sent to Panasonic DMR-BRZ my conf:

HEADER:
HTTP/1.1 200 OK (non-chunked)
TransferMode.DLNA.ORG: Streaming
Content-Type: video/mpeg
ContentFeatures.DLNA.ORG: DLNA.O
````

Supported codec by my ffmpeg
````

DES... ass ASS (Advanced SSA) subtitle (decoders: ssa ass ) (encoders: ssa ass )
DES... dvb_subtitle DVB subtitles (decoders: dvbsub ) (encoders: dvbsub )
..S... dvb_teletext DVB teletext
DES... dvd_subtitle DVD subtitles (decoders: dvdsub ) (encoders: dvdsub )
D.S... eia_608 EIA-608 closed captions (decoders: cc_dec )
D.S... hdmv_pgs_subtitle HDMV Presentation Graphic Stream subtitles (decoders: pgssub )
..S... hdmv_text_subtitle HDMV Text subtitle
D.S... jacosub JACOsub subtitle
D.S... microdvd MicroDVD subtitle
DES... mov_text MOV text
D.S... mpl2 MPL2 subtitle
D.S... pjs PJS (Phoenix Japanimation Society) subtitle
D.S... realtext RealText subtitle
D.S... sami SAMI subtitle
..S... srt SubRip subtitle with embedded timing
..S... ssa SSA (SubStation Alpha) subtitle
D.S... stl Spruce subtitle format
DES... subrip SubRip subtitle (decoders: srt subrip ) (encoders: srt subrip )
D.S... subviewer SubViewer subtitle
D.S... subviewer1 SubViewer v1 subtitle
DES... text raw UTF-8 text
D.S... vplayer VPlayer subtitle
DES... webvtt WebVTT subtitle
DES... xsub XSUB
````

Was this page helpful?
0 / 5 - 0 ratings

Related issues

onon765trb picture onon765trb  路  37Comments

Goten87 picture Goten87  路  34Comments

MediaMania1 picture MediaMania1  路  40Comments

rd1 picture rd1  路  57Comments

Residentcl picture Residentcl  路  136Comments