Universalmediaserver: Support adding silence sounds

Created on 7 Feb 2017  Â·  37Comments  Â·  Source: UniversalMediaServer/UniversalMediaServer

My Panasonic Diga can't playback movie without sounds.
But movie made by
ffmpeg -i movie_without_sounds -f lavfi -i aevalsrc=0:s=48000:c=stereo -shortest -vcodec copy -acodec aac test.mp4
can be playbacked.

I request automatically adding
-f lavfi -i aevalsrc=0:s=48000:c=stereo -shortest
to movie without sounds.

Or support shell script to automatically customize ffmpeg options by getting movie information.

enhancement

All 37 comments

It's seem that annulsrc, with it's default values, will be faster while using -f lavfi
https://ffmpeg.org/ffmpeg-filters.html#anullsrc
https://trac.ffmpeg.org/wiki/Null#anullsrc

And if we believe a FFmpeg developper named Carl using -f s16be -i /dev/zero should be even better.
https://ffmpeg.org/pipermail/ffmpeg-user/2015-July/027363.html

@Sami32 Thank you for your good suggestion.

@onon765trb @Sami32 I'm still not sure exactly what is suggested here. Are you saying that we should analyse videos and if they have no sound and if they are being transcoded and if the renderer is a Panasonic Diga we should add "fake sound" in the transcoding process?

I think we'd need to look at the number of videos wihtout sound out there and the number of renderers with this problem (that can actually be a lot for all I know, I bet the DLNA spec doesn't have a profile for video without audio). Still, what video files out there doesn't have an audio track..? 1920's movies?

If there only are a few videos, the better solution might be that the file itself is "reencoded" with a silent audio track without UMS' intervention.

@Nadahar Homemade ones, and perhaps very rares others.

It doesn't need to be Diga tied, just an option in the renderer configuration file for such case.
DLNA don't mind about that, it's sadly BD/DVD renderers that are most of the time too limited in their implementation. Maximum price/minimum service...

If your point was that it have a very low priority, yes.

DLNA "minds" in the way that I doubt there are any media format profiles for video without audio. I just looked through all the MPEG 4 profiles, and there are none that doesn't also define an audio codec.

Yes, i know, but that's just mean that it's not mandatory, not that it doesn't work.

@Sami32 Not really. The way it works is that as long as we send a DLNA media format profile in protocolinfo the renderer can assume that the media actually adheres to that profile. It doesn't have to analyze the content itself. If you want to deliver "non-DLNA" content you can do so, but then you're not allowed to send a DLNA profile - so you're basicly falling back to UPnP. Under that scenario you can offer media in any form you want, but you can't expect DLNA compliant renderers to understand/play it.

Actually, very few profiles are mandatory - most are optional. That's not what the profiles are for, they are there to ensure compatibility - so the renderer is supposed to trust the information given there.

@Nadahar You cannot expect that, but you could have, as many renderer's producter go farest than that minimum DLNA implementation. The DLNA specification is very clear on that, and leave the liberty to the producter on that matter.
Don't forget that DLNA is only a standard "a minima".

@Sami32 I know, I'm not saying that renderers can't do this or that, I'm saying that there doesn't seem like there is a compliant way to deliver video without audio, at least not MPEG 4 (I don't have the stamina to look through them all).

My view is that until UMS has more control over the profiles used, the focus should be to get things working properly with the profiles. Then one could look at non-DLNA content.

@Nadahar Some profiles like MPEG1 or MPEG2 are able to handle it, but for some that could be "jeopardy"...

EDIT: It's seem that i was wrong, they doesn't support it as well.

@Sami32 Just to explain what I mean:

There are DLNA profiles. If you send a DLNA profile with DLNA.ORG_PN for the media, then the media HAS to match that profile. That is the "contract", the renderer is expected to fail to play the content if you send something that doesn't match the profile. If you don't send a DLNA.ORG_PN, you can send whatever you want - it's no longer DLNA, and it's entirely up to the renderer if playback is supported. There is however no way to know.

Note that the use of the DLNA.ORG_PN parameter indicates that content conforms to a DLNA media format profile, and the DLNA.ORG_PN parameter is the only protocolInfo 4th field parameter that is required for DLNA content.

The pn-param is reserved for use with contexts where content conforms to a DLNA media format profile. Use of pn-param for content not conformant with a DLNA media format profile is expressly prohibited.

@Nadahar To be more precise :

7.5.4.3.2.10.9
[GUIDELINE] If an HTTP Server Endpoint receives a POST request
• without the contentFeatures.dlna.org HTTP header, or
• with a DLNA.ORG_PN parameter that is inconsistent with guideline 7.5.4.3.2.10.8,
then the HTTP Server Endpoint may respond with an HTTP error.
[ATTRIBUTES]
O C DMS M-DMS n/a IETF RFC
2616
ISO/IEC
29341-3-3
U5R3P
[COMMENT] This guideline allows an HTTP Server Endpoint to accept upload of non-DLNA
content or allow it to reject such content.

To be more kidding: DLNA.ORG is dead :stuck_out_tongue_winking_eye:

@Sami32 Your quote concerns uploads to the server. I'm not saying that renderes are required to fail if the rules are broken, I'm saying that they are expected to fail.

It's not that I think following DLNA is sacred and should be done just "to be correct" - but that document is the only "common ground" we have with the people that wrote the software we're supposed to interface with. In my experience, the best chance of success in such a scenario is to stick as close as possible to the standard except in situations where you have the full overview of all possible scenarios and can handle something more robustly/better than the standard suggests.

Could be useful in the case of WTV videos or, like this user, for IP surveillance/security camera streaming or home made videos.

@onon765trb can you provide the mediainfo information for your video? Either use mediainfo tool or find it in the logs.

I actually have wondered about this. I have some videos with no sound, and they only play if i choose [no transcoding] option from #--transcode--# folder.
This mkv file would be one of them.

@squadjot Thanks for confirming that you are able to stream them, also if no standard specific DLNA profiles exist for that case.

Do you have any samples that give you A/V issue ? i'm very interested, if they are not too big.

@Sami32 , sorry i'm not sure what you are referring to, i just commented cause i notice files with no sound wouldnt play, i dont have A/V sync problems.

@squadjot Sorry, as i'm interested to have some samples that give A/V issues, i asked you if you have some. Nothing to do with this issue though.
But it seem that you have only good quality videos :wink:

@onon765trb Could you try with this version and give feedback, as my renderer support videos without audio i cannot test it. It's just an idea, so not sure it'll work, but if it does it will avoid to modify the video engines handling

Just backup your original _ums.jar_ and use that one instead.
https://we.tl/QLUcxjj0iZ
As i don't know, or cannot remember, what is your OS or your Java environnment, i did a Java 7 build.

I tested in 6.7.0.
Good when using TranscodeVideo= MPEGPS-MPEG2-AC3.
Bad when using TranscodeVideo= MPEGTS-H264-AAC.
The logs of the bad results are attached.

ums_dbg_no_audio.zip

@onon765trb The only work that i have been done was in that test version posted for you.
Did you tested it ? Without feedback, i just deleted the branch some time ago.

I can only post the JAR file as i cannot compile it for Mac OS myself, so if you want compile it just use the new "no-audio" branch.
I don't know how that work on Mac, but if you can put the enclosed _update.jar_ next to ums.jar in your UMS program folder, restart and test again, you should be good.
I added the full _ums.jar_ in case it should be more easy to just replace it.
https://we.tl/Kv5yNgvELh

That should work with or without transcoding.

EDIT: In case i've forgot to build it with Java 8:
https://we.tl/onAo3FTrdt

The results are same as the above in TranscodeVideo= MPEGTS-H264-AC3 and TranscodeVideo= MPEGTS-H264-AAC.

TranscodeVideo= MPEGTS-H264-AC3

GET /get/30/no_audio.mkv_transcoded_to.ts HTTP/1.1

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

TRACE 2017-06-19 16:02:08.159 [HTTPv2 Request Worker 2] Asked stream chunk : TimeRange [start=0.0, end=null] of no_audio.mkv and player FFmpeg
TRACE 2017-06-19 16:02:08.159 [HTTPv2 Request Worker 2] Setting lastStartPosition from time-seeking: 0.0
DEBUG 2017-06-19 16:02:08.160 [HTTPv2 Request Worker 2] Starting transcode/remux of no_audio.mkv with media info: Container: MKV, Size: 45024545, Video Bitrate: 327749, Video Tracks: 1, Video Codec: h264, Duration: 0:18:19, Video Resolution: 640 x 360, Frame Rate Mode: null, AVC Level: 3.2, Mime Type: video/x-matroska
DEBUG 2017-06-19 16:02:08.160 [HTTPv2 Request Worker 2] Reading TranscodeFastStart: true (default: false)
TRACE 2017-06-19 16:02:08.161 [HTTPv2 Request Worker 2] Searching for a match for: null with jpn and off
TRACE 2017-06-19 16:02:08.335 [HTTPv2 Request Worker 2] Searching for a match for: null with * and jpn
TRACE 2017-06-19 16:02:08.335 [HTTPv2 Request Worker 2] Searching for a match for: null with * and eng
TRACE 2017-06-19 16:02:08.335 [HTTPv2 Request Worker 2] Searching for a match for: null with * and und
TRACE 2017-06-19 16:02:08.335 [HTTPv2 Request Worker 2] Looking for a subtitle track with lang: jpn
TRACE 2017-06-19 16:02:08.335 [HTTPv2 Request Worker 2] Looking for a subtitle track with lang: eng
TRACE 2017-06-19 16:02:08.335 [HTTPv2 Request Worker 2] Looking for a subtitle track with lang: fre
TRACE 2017-06-19 16:02:08.335 [HTTPv2 Request Worker 2] Looking for a subtitle track with lang: ger
TRACE 2017-06-19 16:02:08.335 [HTTPv2 Request Worker 2] Looking for a subtitle track with lang: und
DEBUG 2017-06-19 16:02:08.335 [HTTPv2 Request Worker 2] Reading engines: "ffmpegvideo,tsmuxer,mencoder,ffmpegaudio,tsmuxeraudio,ffmpegwebvideo,vlcwebvideo,vlcvideo,mencoderwebvideo,vlcaudio,dcraw" (default: "ffmpegvideo,mencoder,tsmuxer,ffmpegaudio,tsmuxeraudio,ffmpegwebvideo,vlcwebvideo,vlcvideo,mencoderwebvideo,vlcaudio,ffmpegdvrmsremux,dcraw")
DEBUG 2017-06-19 16:02:08.336 [HTTPv2 Request Worker 2] Reading maximum_bitrate: "0" (default: "90")
TRACE 2017-06-19 16:02:08.336 [HTTPv2 Request Worker 2] Using video bitrate limit from the general configuration (1000 Mb/s)
TRACE 2017-06-19 16:02:08.337 [HTTPv2 Request Worker 2] Adjusting the video bitrate limit to the H.264 Level 4.1-safe value of 31250 kb/s
DEBUG 2017-06-19 16:02:08.337 [HTTPv2 Request Worker 2] Reading x264_constant_rate_factor: "Automatic (Wireless)" (default: "Automatic (Wired)")
DEBUG 2017-06-19 16:02:08.340 [HTTPv2 Request Worker 2] Reading resume: false (default: true)
DEBUG 2017-06-19 16:02:08.340 [HTTPv2 Request Worker 2] Starting mkfifo -m 777 /var/folders/jx/3pqjsj6x5vb5_wnywhxcm9_40000gn/T/UMS-m/ffmpegvideo_50_1497855728340
TRACE 2017-06-19 16:02:08.341 [HTTPv2 Request Worker 2] Setting FONTCONFIG_PATH to "/Applications/Universal Media Server.app/Contents/Resources/fonts"
DEBUG 2017-06-19 16:02:08.362 [HTTPv2 Request Worker 2] Unix process ID (mkfifo): 1670
DEBUG 2017-06-19 16:02:08.669 [ffmpeg-3] Starting "/Applications/Universal Media Server.app/Contents/Resources/osx/ffmpeg" -y -loglevel info -i /Users/x/dlna/no_audio.mkv -bufsize 31250k -maxrate 31250k -crf 19 -ab 640k -ar 48000 -c:a ac3 -c:v libx264 -tune zerolatency -preset ultrafast -level 31 -pix_fmt yuv420p -f mpegts /var/folders/jx/3pqjsj6x5vb5_wnywhxcm9_40000gn/T/UMS-m/ffmpegvideo_50_1497855728340
TRACE 2017-06-19 16:02:08.669 [ffmpeg-3] Setting FONTCONFIG_PATH to "/Applications/Universal Media Server.app/Contents/Resources/fonts"
DEBUG 2017-06-19 16:02:08.680 [ffmpeg-3] Reading pipe: /var/folders/jx/3pqjsj6x5vb5_wnywhxcm9_40000gn/T/UMS-m/ffmpegvideo_50_1497855728340
TRACE 2017-06-19 16:02:08.680 [ffmpeg-3] Opening file /var/folders/jx/3pqjsj6x5vb5_wnywhxcm9_40000gn/T/UMS-m/ffmpegvideo_50_1497855728340 for reading...
DEBUG 2017-06-19 16:02:08.693 [ffmpeg-3-2] ffmpeg version N-84607-g9bcc5e8-tessus Copyright (c) 2000-2017 the FFmpeg developers
DEBUG 2017-06-19 16:02:08.693 [ffmpeg-3-2]   built with Apple LLVM version 8.0.0 (clang-800.0.42.1)
DEBUG 2017-06-19 16:02:08.693 [ffmpeg-3-2]   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
DEBUG 2017-06-19 16:02:08.693 [ffmpeg-3-2]   libavutil      55. 50.100 / 55. 50.100
DEBUG 2017-06-19 16:02:08.693 [ffmpeg-3-2]   libavcodec     57. 86.102 / 57. 86.102
DEBUG 2017-06-19 16:02:08.693 [ffmpeg-3-2]   libavformat    57. 67.100 / 57. 67.100
DEBUG 2017-06-19 16:02:08.693 [ffmpeg-3-2]   libavdevice    57.  3.101 / 57.  3.101
DEBUG 2017-06-19 16:02:08.693 [ffmpeg-3-2]   libavfilter     6. 78.100 /  6. 78.100
DEBUG 2017-06-19 16:02:08.693 [ffmpeg-3-2]   libswscale      4.  3.101 /  4.  3.101
DEBUG 2017-06-19 16:02:08.693 [ffmpeg-3-2]   libswresample   2.  4.100 /  2.  4.100
DEBUG 2017-06-19 16:02:08.693 [ffmpeg-3-2]   libpostproc    54.  2.100 / 54.  2.100
DEBUG 2017-06-19 16:02:08.704 [ffmpeg-3-2] Input #0, matroska,webm, from '/Users/x/dlna/no_audio.mkv':
DEBUG 2017-06-19 16:02:08.704 [ffmpeg-3-2]   Metadata:
DEBUG 2017-06-19 16:02:08.704 [ffmpeg-3-2]     COMPATIBLE_BRANDS: isomiso2avc1mp41
DEBUG 2017-06-19 16:02:08.704 [ffmpeg-3-2]     MAJOR_BRAND     : isom
DEBUG 2017-06-19 16:02:08.704 [ffmpeg-3-2]     MINOR_VERSION   : 512
DEBUG 2017-06-19 16:02:08.704 [ffmpeg-3-2]     ENCODER         : Lavf57.72.101
DEBUG 2017-06-19 16:02:08.704 [ffmpeg-3-2]   Duration: 00:18:19.00, start: 0.000000, bitrate: 327 kb/s
DEBUG 2017-06-19 16:02:08.704 [ffmpeg-3-2]     Stream #0:0: Video: h264 (High), yuv420p(progressive), 640x360, 25 fps, 25 tbr, 1k tbn, 50 tbc (default)
DEBUG 2017-06-19 16:02:08.704 [ffmpeg-3-2]     Metadata:
DEBUG 2017-06-19 16:02:08.704 [ffmpeg-3-2]       HANDLER_NAME    : VideoHandler
DEBUG 2017-06-19 16:02:08.704 [ffmpeg-3-2]       DURATION        : 00:18:19.000000000
DEBUG 2017-06-19 16:02:08.706 [ffmpeg-3-2] Codec AVOption b (set bitrate (in bits/s)) specified for output file #0 (/var/folders/jx/3pqjsj6x5vb5_wnywhxcm9_40000gn/T/UMS-m/ffmpegvideo_50_1497855728340) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.
DEBUG 2017-06-19 16:02:08.707 [ffmpeg-3-2] Stream mapping:
DEBUG 2017-06-19 16:02:08.707 [ffmpeg-3-2]   Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
DEBUG 2017-06-19 16:02:08.707 [ffmpeg-3-2] Press [q] to stop, [?] for help
TRACE 2017-06-19 16:02:08.716 [ffmpeg-3] Successfully initialized buffer to 52,428,800 bytes.
DEBUG 2017-06-19 16:02:08.716 [ffmpeg-3] Attaching thread: ffmpeg-3
DEBUG 2017-06-19 16:02:08.717 [ffmpeg-3] Unix process ID ("/Applications/Universal Media Server.app/Contents/Resources/osx/ffmpeg"): 1671
TRACE 2017-06-19 16:02:08.717 [ffmpeg-3-Timer] buffered: 0 bytes / inputs: 0
DEBUG 2017-06-19 16:02:08.717 [ffmpeg-3-2] [libx264 @ 0x7fce97803200] VBV bitrate (31250) > level limit (14000)
DEBUG 2017-06-19 16:02:08.718 [ffmpeg-3-2] [libx264 @ 0x7fce97803200] VBV buffer (31250) > level limit (14000)
DEBUG 2017-06-19 16:02:08.719 [ffmpeg-3-Timer] Created playback timer for Panasonic_HDD_Recoder_2
DEBUG 2017-06-19 16:02:08.721 [ffmpeg-3-2] [libx264 @ 0x7fce97803200] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
DEBUG 2017-06-19 16:02:08.725 [ffmpeg-3-2] [libx264 @ 0x7fce97803200] profile Constrained Baseline, level 3.1
DEBUG 2017-06-19 16:02:08.725 [ffmpeg-3-2] Output #0, mpegts, to '/var/folders/jx/3pqjsj6x5vb5_wnywhxcm9_40000gn/T/UMS-m/ffmpegvideo_50_1497855728340':
DEBUG 2017-06-19 16:02:08.725 [ffmpeg-3-2]   Metadata:
DEBUG 2017-06-19 16:02:08.725 [ffmpeg-3-2]     COMPATIBLE_BRANDS: isomiso2avc1mp41
DEBUG 2017-06-19 16:02:08.725 [ffmpeg-3-2]     MAJOR_BRAND     : isom
DEBUG 2017-06-19 16:02:08.725 [ffmpeg-3-2]     MINOR_VERSION   : 512
DEBUG 2017-06-19 16:02:08.725 [ffmpeg-3-2]     encoder         : Lavf57.67.100
DEBUG 2017-06-19 16:02:08.726 [ffmpeg-3-2]     Stream #0:0: Video: h264 (libx264), yuv420p, 640x360, q=-1--1, 25 fps, 90k tbn, 25 tbc (default)
DEBUG 2017-06-19 16:02:08.726 [ffmpeg-3-2]     Metadata:
DEBUG 2017-06-19 16:02:08.726 [ffmpeg-3-2]       HANDLER_NAME    : VideoHandler
DEBUG 2017-06-19 16:02:08.726 [ffmpeg-3-2]       DURATION        : 00:18:19.000000000
DEBUG 2017-06-19 16:02:08.726 [ffmpeg-3-2]       encoder         : Lavc57.86.102 libx264
DEBUG 2017-06-19 16:02:08.726 [ffmpeg-3-2]     Side data:
DEBUG 2017-06-19 16:02:08.726 [ffmpeg-3-2]       cpb: bitrate max/min/avg: 31250000/0/0 buffer size: 31250000 vbv_delay: -1
TRACE 2017-06-19 16:02:08.870 [HTTPv2 Request Worker 2] Did not send subtitle headers because dlna.getMediaSubtitle() is null
TRACE 2017-06-19 16:02:08.872 [StartPlaying Event] Matched media renderer "Panasonic_HDD_Recoder_2" based on address 192.168.10.100
DEBUG 2017-06-19 16:02:08.872 [HTTPv2 Request Worker 2] Reading ChunkedTransfer: true (default: false)
TRACE 2017-06-19 16:02:08.872 [macOS Sleep Worker] Calling IOKitUtils.disableGoToSleep() to prevent macOS idle sleep
TRACE 2017-06-19 16:02:08.875 [HTTPv2 Request Worker 2] Suspend Read: readCount=0 / writeCount=982300
INFO  2017-06-19 16:02:08.879 [StartPlaying Event] Started playing no_audio.mkv on your Panasonic_HDD_Recoder_2
DEBUG 2017-06-19 16:02:08.880 [StartPlaying Event] The full filename of which is: /Users/x/dlna/no_audio.mkv and the address of the renderer is: 192.168.10.100
DEBUG 2017-06-19 16:02:09.209 [ffmpeg-3-2] frame=  409 fps=0.0 q=17.0 size=    3774kB time=00:00:16.32 bitrate=1894.4kbits/s speed=32.6x    
TRACE 2017-06-19 16:02:09.375 [HTTPv2 Request Worker 2] Resume Read: readCount=0 / writeCount=5353300
TRACE 2017-06-19 16:02:09.377 [HTTPv2 Request Worker 2] Transfer response sent to Panasonic_HDD_Recoder_2:

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

DEBUG 2017-06-19 16:02:09.711 [ffmpeg-3-2] frame=  814 fps=812 q=18.0 size=    7660kB time=00:00:32.52 bitrate=1929.5kbits/s speed=32.5x    
DEBUG 2017-06-19 16:02:10.212 [ffmpeg-3-2] frame= 1209 fps=804 q=19.0 size=   11160kB time=00:00:48.32 bitrate=1892.0kbits/s speed=32.1x    
DEBUG 2017-06-19 16:02:10.713 [ffmpeg-3-2] frame= 1618 fps=807 q=18.0 size=   14843kB time=00:01:04.68 bitrate=1879.9kbits/s speed=32.3x    
TRACE 2017-06-19 16:02:10.717 [ffmpeg-3-Timer] buffered: 5,666,619 bytes / inputs: 1
TRACE 2017-06-19 16:02:11.165 [HTTPv2 Request Worker 2] Ready to Stop: true
TRACE 2017-06-19 16:02:11.171 [HTTPv2 Request Worker 3] Matched media renderer "Panasonic_HDD_Recoder_2" based on address 192.168.10.100
DEBUG 2017-06-19 16:02:11.171 [HTTPv2 Request Worker 3] Recognized media renderer "Panasonic_HDD_Recoder_2"
TRACE 2017-06-19 16:02:11.171 [HTTPv2 Request Worker 3] Received a request from Panasonic_HDD_Recoder_2 (192.168.10.100:52927):

GET /get/30/no_audio.mkv_transcoded_to.ts HTTP/1.1

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

TRACE 2017-06-19 16:02:11.171 [HTTPv2 Request Worker 3] Asked stream chunk : TimeRange [start=0.0, end=null] of no_audio.mkv and player FFmpeg
TRACE 2017-06-19 16:02:11.171 [HTTPv2 Request Worker 3] Setting lastStartPosition from time-seeking: 0.0
TRACE 2017-06-19 16:02:11.171 [HTTPv2 Request Worker 3] Ready to Stop: false
TRACE 2017-06-19 16:02:11.172 [HTTPv2 Request Worker 3] Did not send subtitle headers because dlna.getMediaSubtitle() is null
TRACE 2017-06-19 16:02:11.173 [HTTPv2 Request Worker 3] Transfer response sent to Panasonic_HDD_Recoder_2:

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

DEBUG 2017-06-19 16:02:11.214 [ffmpeg-3-2] frame= 2008 fps=802 q=17.0 size=   18248kB time=00:01:20.28 bitrate=1862.0kbits/s speed=  32x    
TRACE 2017-06-19 16:02:11.303 [HTTPv2 Request Worker 3] Ready to Stop: true
TRACE 2017-06-19 16:02:11.310 [HTTPv2 Request Worker 4] Matched media renderer "Panasonic_HDD_Recoder_2" based on address 192.168.10.100
DEBUG 2017-06-19 16:02:11.310 [HTTPv2 Request Worker 4] Recognized media renderer "Panasonic_HDD_Recoder_2"
TRACE 2017-06-19 16:02:11.310 [HTTPv2 Request Worker 4] Received a request from Panasonic_HDD_Recoder_2 (192.168.10.100:52928):

GET /get/30/no_audio.mkv_transcoded_to.ts HTTP/1.1

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

TRACE 2017-06-19 16:02:11.310 [HTTPv2 Request Worker 4] Asked stream chunk : TimeRange [start=0.0, end=null] of no_audio.mkv and player FFmpeg
TRACE 2017-06-19 16:02:11.310 [HTTPv2 Request Worker 4] Setting lastStartPosition from time-seeking: 0.0
TRACE 2017-06-19 16:02:11.310 [HTTPv2 Request Worker 4] Ready to Stop: false
TRACE 2017-06-19 16:02:11.310 [HTTPv2 Request Worker 4] Did not send subtitle headers because dlna.getMediaSubtitle() is null
TRACE 2017-06-19 16:02:11.312 [HTTPv2 Request Worker 4] Transfer response sent to Panasonic_HDD_Recoder_2:

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

DEBUG 2017-06-19 16:02:11.714 [ffmpeg-3-2] frame= 2435 fps=810 q=18.0 size=   21422kB time=00:01:37.36 bitrate=1802.4kbits/s speed=32.4x    
DEBUG 2017-06-19 16:02:12.215 [ffmpeg-3-2] frame= 2865 fps=817 q=18.0 size=   25331kB time=00:01:54.56 bitrate=1811.4kbits/s speed=32.7x    
TRACE 2017-06-19 16:02:12.247 [HTTPv2 Request Worker 4] Ready to Stop: true
DEBUG 2017-06-19 16:02:12.716 [ffmpeg-3-2] frame= 3273 fps=817 q=19.0 size=   28994kB time=00:02:10.88 bitrate=1814.8kbits/s speed=32.7x    
TRACE 2017-06-19 16:02:12.717 [ffmpeg-3-Timer] buffered: 29,690,276 bytes / inputs: 0
DEBUG 2017-06-19 16:02:13.217 [ffmpeg-3-2] frame= 3640 fps=807 q=18.0 size=   32297kB time=00:02:25.56 bitrate=1817.7kbits/s speed=32.3x    
DEBUG 2017-06-19 16:02:13.668 [ffmpeg-3-Cleanup] Stopping Unix process 1671: ffmpeg-3
TRACE 2017-06-19 16:02:13.668 [ffmpeg-3-Cleanup] Killing the Unix process: 1671
DEBUG 2017-06-19 16:02:13.670 [ffmpeg-3-Cleanup] Stopping Unix process 1670: mkfifo-4
TRACE 2017-06-19 16:02:13.670 [ffmpeg-3-Cleanup] Killing the Unix process: 1670
TRACE 2017-06-19 16:02:13.670 [ffmpeg-3-Cleanup] Destroying buffer
TRACE 2017-06-19 16:02:13.674 [ffmpeg-3] EOF
TRACE 2017-06-19 16:02:16.254 [StopPlaying Event] Matched media renderer "Panasonic_HDD_Recoder_2" based on address 192.168.10.100
INFO  2017-06-19 16:02:16.255 [StopPlaying Event] Stopped playing no_audio.mkv on your Panasonic_HDD_Recoder_2
DEBUG 2017-06-19 16:02:16.255 [StopPlaying Event] The full filename of which is: /Users/x/dlna/no_audio.mkv and the address of the renderer is: 192.168.10.100
TRACE 2017-06-19 16:02:16.256 [StopPlaying Event]    final decision: not fully played
TRACE 2017-06-19 16:02:17.252 [macOS Sleep Worker] Calling IOKitUtils.resetSleepTimer() to postpone macOS idle sleep
TRACE 2017-06-19 16:02:17.254 [macOS Sleep Worker] Calling IOKitUtils.enableGoToSleep to stop preventing macOS idle sleep
DEBUG 2017-06-19 16:02:27.900 [UPNP-AliveMessageSender] Sending ALIVE...
DEBUG 2017-06-19 16:02:59.441 [UPNP-AliveMessageSender] Sending ALIVE...
TRACE 2017-06-19 16:03:02.115 [UPNPHelper] Received a NOTIFY from [192.168.10.1:52950]
TRACE 2017-06-19 16:03:02.185 [cling-3] Ignoring remote device: InternetGatewayDevice (RemoteDevice) Identity: (RemoteDeviceIdentity) UDN: uuid:09182736-4554-6372-8191-c025a28010ac, Descriptor: http://192.168.10.1:52869/43a59e11.xml, Root: true
DEBUG 2017-06-19 16:03:02.185 [cling-3] Ignoring embedded device: urn:schemas-upnp-org:device:WANDevice:1 (RemoteDevice) Identity: (RemoteDeviceIdentity) UDN: uuid:09182736-4554-6372-8191-c025a28010ac, Descriptor: http://192.168.10.1:52869/43a59e11.xml, Root: false
DEBUG 2017-06-19 16:03:09.532 [UMS Shutdown] Sending BYEBYE...
DEBUG 2017-06-19 16:03:09.532 [UPNP-AliveMessageSender] Sending ALIVE...
DEBUG 2017-06-19 16:03:09.532 [Thread-25] Stopping UPNP Services...
TRACE 2017-06-19 16:03:09.554 [UPNPHelper] Received a NOTIFY from [192.168.10.102:59936]
TRACE 2017-06-19 16:03:09.800 [HTTPv2 Request Worker 13] Matched media renderer "Panasonic_HDD_Recoder_2" based on address 192.168.10.100
DEBUG 2017-06-19 16:03:09.801 [HTTPv2 Request Worker 13] Recognized media renderer "Panasonic_HDD_Recoder_2"
TRACE 2017-06-19 16:03:09.801 [HTTPv2 Request Worker 13] Received a request from Panasonic_HDD_Recoder_2 (192.168.10.100:52929):

TranscodeVideo= MPEGTS-H264-AAC

GET /get/30/no_audio.mkv_transcoded_to.ts HTTP/1.1

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

TRACE 2017-06-19 16:13:09.237 [HTTPv2 Request Worker 8] Asked stream chunk : TimeRange [start=0.0, end=null] of no_audio.mkv and player FFmpeg
TRACE 2017-06-19 16:13:09.237 [HTTPv2 Request Worker 8] Setting lastStartPosition from time-seeking: 0.0
DEBUG 2017-06-19 16:13:09.238 [HTTPv2 Request Worker 8] Starting transcode/remux of no_audio.mkv with media info: Container: MKV, Size: 45024545, Video Bitrate: 327749, Video Tracks: 1, Video Codec: h264, Duration: 0:18:19, Video Resolution: 640 x 360, Frame Rate Mode: null, AVC Level: 3.2, Mime Type: video/x-matroska
DEBUG 2017-06-19 16:13:09.239 [HTTPv2 Request Worker 8] Reading TranscodeFastStart: true (default: false)
TRACE 2017-06-19 16:13:09.239 [HTTPv2 Request Worker 8] Searching for a match for: null with jpn and off
TRACE 2017-06-19 16:13:09.246 [HTTPv2 Request Worker 8] Searching for a match for: null with * and jpn
TRACE 2017-06-19 16:13:09.247 [HTTPv2 Request Worker 8] Searching for a match for: null with * and eng
TRACE 2017-06-19 16:13:09.247 [HTTPv2 Request Worker 8] Searching for a match for: null with * and und
TRACE 2017-06-19 16:13:09.247 [HTTPv2 Request Worker 8] Looking for a subtitle track with lang: jpn
TRACE 2017-06-19 16:13:09.247 [HTTPv2 Request Worker 8] Looking for a subtitle track with lang: eng
TRACE 2017-06-19 16:13:09.247 [HTTPv2 Request Worker 8] Looking for a subtitle track with lang: fre
TRACE 2017-06-19 16:13:09.247 [HTTPv2 Request Worker 8] Looking for a subtitle track with lang: ger
TRACE 2017-06-19 16:13:09.247 [HTTPv2 Request Worker 8] Looking for a subtitle track with lang: und
DEBUG 2017-06-19 16:13:09.247 [HTTPv2 Request Worker 8] Reading engines: "ffmpegvideo,tsmuxer,mencoder,ffmpegaudio,tsmuxeraudio,ffmpegwebvideo,vlcwebvideo,vlcvideo,mencoderwebvideo,vlcaudio,dcraw" (default: "ffmpegvideo,mencoder,tsmuxer,ffmpegaudio,tsmuxeraudio,ffmpegwebvideo,vlcwebvideo,vlcvideo,mencoderwebvideo,vlcaudio,ffmpegdvrmsremux,dcraw")
DEBUG 2017-06-19 16:13:09.247 [HTTPv2 Request Worker 8] Reading maximum_bitrate: "0" (default: "90")
TRACE 2017-06-19 16:13:09.248 [HTTPv2 Request Worker 8] Using video bitrate limit from the general configuration (1000 Mb/s)
TRACE 2017-06-19 16:13:09.248 [HTTPv2 Request Worker 8] Adjusting the video bitrate limit to the H.264 Level 4.1-safe value of 31250 kb/s
DEBUG 2017-06-19 16:13:09.248 [HTTPv2 Request Worker 8] Reading x264_constant_rate_factor: "Automatic (Wireless)" (default: "Automatic (Wired)")
DEBUG 2017-06-19 16:13:09.248 [HTTPv2 Request Worker 8] Reading resume: false (default: true)
DEBUG 2017-06-19 16:13:09.248 [HTTPv2 Request Worker 8] Starting mkfifo -m 777 /var/folders/jx/3pqjsj6x5vb5_wnywhxcm9_40000gn/T/UMS-m/ffmpegvideo_56_1497856389248
TRACE 2017-06-19 16:13:09.249 [HTTPv2 Request Worker 8] Setting FONTCONFIG_PATH to "/Applications/Universal Media Server.app/Contents/Resources/fonts"
DEBUG 2017-06-19 16:13:09.258 [HTTPv2 Request Worker 8] Unix process ID (mkfifo): 1685
DEBUG 2017-06-19 16:13:09.566 [ffmpeg-3] Starting "/Applications/Universal Media Server.app/Contents/Resources/osx/ffmpeg" -y -loglevel info -i /Users/x/dlna/no_audio.mkv -bufsize 31250k -maxrate 31250k -crf 19 -ab 320k -ar 48000 -c:a aac -c:v libx264 -tune zerolatency -preset ultrafast -level 31 -pix_fmt yuv420p -f mpegts /var/folders/jx/3pqjsj6x5vb5_wnywhxcm9_40000gn/T/UMS-m/ffmpegvideo_56_1497856389248
TRACE 2017-06-19 16:13:09.566 [ffmpeg-3] Setting FONTCONFIG_PATH to "/Applications/Universal Media Server.app/Contents/Resources/fonts"
DEBUG 2017-06-19 16:13:09.583 [ffmpeg-3] Reading pipe: /var/folders/jx/3pqjsj6x5vb5_wnywhxcm9_40000gn/T/UMS-m/ffmpegvideo_56_1497856389248
TRACE 2017-06-19 16:13:09.583 [ffmpeg-3] Opening file /var/folders/jx/3pqjsj6x5vb5_wnywhxcm9_40000gn/T/UMS-m/ffmpegvideo_56_1497856389248 for reading...
DEBUG 2017-06-19 16:13:09.596 [ffmpeg-3-2] ffmpeg version N-84607-g9bcc5e8-tessus Copyright (c) 2000-2017 the FFmpeg developers
DEBUG 2017-06-19 16:13:09.596 [ffmpeg-3-2]   built with Apple LLVM version 8.0.0 (clang-800.0.42.1)
DEBUG 2017-06-19 16:13:09.596 [ffmpeg-3-2]   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
DEBUG 2017-06-19 16:13:09.597 [ffmpeg-3-2]   libavutil      55. 50.100 / 55. 50.100
DEBUG 2017-06-19 16:13:09.597 [ffmpeg-3-2]   libavcodec     57. 86.102 / 57. 86.102
DEBUG 2017-06-19 16:13:09.597 [ffmpeg-3-2]   libavformat    57. 67.100 / 57. 67.100
DEBUG 2017-06-19 16:13:09.597 [ffmpeg-3-2]   libavdevice    57.  3.101 / 57.  3.101
DEBUG 2017-06-19 16:13:09.597 [ffmpeg-3-2]   libavfilter     6. 78.100 /  6. 78.100
DEBUG 2017-06-19 16:13:09.597 [ffmpeg-3-2]   libswscale      4.  3.101 /  4.  3.101
DEBUG 2017-06-19 16:13:09.597 [ffmpeg-3-2]   libswresample   2.  4.100 /  2.  4.100
DEBUG 2017-06-19 16:13:09.597 [ffmpeg-3-2]   libpostproc    54.  2.100 / 54.  2.100
DEBUG 2017-06-19 16:13:09.607 [ffmpeg-3-2] Input #0, matroska,webm, from '/Users/x/dlna/no_audio.mkv':
DEBUG 2017-06-19 16:13:09.607 [ffmpeg-3-2]   Metadata:
DEBUG 2017-06-19 16:13:09.607 [ffmpeg-3-2]     COMPATIBLE_BRANDS: isomiso2avc1mp41
DEBUG 2017-06-19 16:13:09.607 [ffmpeg-3-2]     MAJOR_BRAND     : isom
DEBUG 2017-06-19 16:13:09.607 [ffmpeg-3-2]     MINOR_VERSION   : 512
DEBUG 2017-06-19 16:13:09.607 [ffmpeg-3-2]     ENCODER         : Lavf57.72.101
DEBUG 2017-06-19 16:13:09.607 [ffmpeg-3-2]   Duration: 00:18:19.00, start: 0.000000, bitrate: 327 kb/s
DEBUG 2017-06-19 16:13:09.607 [ffmpeg-3-2]     Stream #0:0: Video: h264 (High), yuv420p(progressive), 640x360, 25 fps, 25 tbr, 1k tbn, 50 tbc (default)
DEBUG 2017-06-19 16:13:09.607 [ffmpeg-3-2]     Metadata:
DEBUG 2017-06-19 16:13:09.607 [ffmpeg-3-2]       HANDLER_NAME    : VideoHandler
DEBUG 2017-06-19 16:13:09.608 [ffmpeg-3-2]       DURATION        : 00:18:19.000000000
DEBUG 2017-06-19 16:13:09.608 [ffmpeg-3-2] Codec AVOption b (set bitrate (in bits/s)) specified for output file #0 (/var/folders/jx/3pqjsj6x5vb5_wnywhxcm9_40000gn/T/UMS-m/ffmpegvideo_56_1497856389248) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.
DEBUG 2017-06-19 16:13:09.609 [ffmpeg-3-2] Stream mapping:
DEBUG 2017-06-19 16:13:09.609 [ffmpeg-3-2]   Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
DEBUG 2017-06-19 16:13:09.609 [ffmpeg-3-2] Press [q] to stop, [?] for help
DEBUG 2017-06-19 16:13:09.617 [ffmpeg-3-2] [libx264 @ 0x7fc02109f400] VBV bitrate (31250) > level limit (14000)
DEBUG 2017-06-19 16:13:09.617 [ffmpeg-3-2] [libx264 @ 0x7fc02109f400] VBV buffer (31250) > level limit (14000)
DEBUG 2017-06-19 16:13:09.620 [ffmpeg-3-2] [libx264 @ 0x7fc02109f400] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
DEBUG 2017-06-19 16:13:09.625 [ffmpeg-3-2] [libx264 @ 0x7fc02109f400] profile Constrained Baseline, level 3.1
DEBUG 2017-06-19 16:13:09.625 [ffmpeg-3-2] Output #0, mpegts, to '/var/folders/jx/3pqjsj6x5vb5_wnywhxcm9_40000gn/T/UMS-m/ffmpegvideo_56_1497856389248':
DEBUG 2017-06-19 16:13:09.625 [ffmpeg-3-2]   Metadata:
DEBUG 2017-06-19 16:13:09.625 [ffmpeg-3-2]     COMPATIBLE_BRANDS: isomiso2avc1mp41
DEBUG 2017-06-19 16:13:09.625 [ffmpeg-3-2]     MAJOR_BRAND     : isom
DEBUG 2017-06-19 16:13:09.625 [ffmpeg-3-2]     MINOR_VERSION   : 512
DEBUG 2017-06-19 16:13:09.625 [ffmpeg-3-2]     encoder         : Lavf57.67.100
DEBUG 2017-06-19 16:13:09.625 [ffmpeg-3-2]     Stream #0:0: Video: h264 (libx264), yuv420p, 640x360, q=-1--1, 25 fps, 90k tbn, 25 tbc (default)
DEBUG 2017-06-19 16:13:09.625 [ffmpeg-3-2]     Metadata:
DEBUG 2017-06-19 16:13:09.625 [ffmpeg-3-2]       HANDLER_NAME    : VideoHandler
DEBUG 2017-06-19 16:13:09.625 [ffmpeg-3-2]       DURATION        : 00:18:19.000000000
DEBUG 2017-06-19 16:13:09.625 [ffmpeg-3-2]       encoder         : Lavc57.86.102 libx264
DEBUG 2017-06-19 16:13:09.625 [ffmpeg-3-2]     Side data:
DEBUG 2017-06-19 16:13:09.626 [ffmpeg-3-2]       cpb: bitrate max/min/avg: 31250000/0/0 buffer size: 31250000 vbv_delay: -1
TRACE 2017-06-19 16:13:09.635 [ffmpeg-3] Successfully initialized buffer to 52,428,800 bytes.
DEBUG 2017-06-19 16:13:09.635 [ffmpeg-3] Attaching thread: ffmpeg-3
TRACE 2017-06-19 16:13:09.636 [ffmpeg-3-Timer] buffered: 0 bytes / inputs: 0
DEBUG 2017-06-19 16:13:09.636 [ffmpeg-3] Unix process ID ("/Applications/Universal Media Server.app/Contents/Resources/osx/ffmpeg"): 1686
DEBUG 2017-06-19 16:13:09.637 [ffmpeg-3-Timer] Created playback timer for Panasonic_HDD_Recoder_2
TRACE 2017-06-19 16:13:09.766 [HTTPv2 Request Worker 8] Did not send subtitle headers because dlna.getMediaSubtitle() is null
TRACE 2017-06-19 16:13:09.768 [StartPlaying Event] Matched media renderer "Panasonic_HDD_Recoder_2" based on address 192.168.10.100
TRACE 2017-06-19 16:13:09.768 [macOS Sleep Worker] Calling IOKitUtils.disableGoToSleep() to prevent macOS idle sleep
DEBUG 2017-06-19 16:13:09.768 [HTTPv2 Request Worker 8] Reading ChunkedTransfer: true (default: false)
TRACE 2017-06-19 16:13:09.770 [HTTPv2 Request Worker 8] Suspend Read: readCount=0 / writeCount=841864
INFO  2017-06-19 16:13:09.774 [StartPlaying Event] Started playing no_audio.mkv on your Panasonic_HDD_Recoder_2
DEBUG 2017-06-19 16:13:09.774 [StartPlaying Event] The full filename of which is: /Users/x/dlna/no_audio.mkv and the address of the renderer is: 192.168.10.100
DEBUG 2017-06-19 16:13:10.111 [ffmpeg-3-2] frame=  391 fps=0.0 q=17.0 size=    3615kB time=00:00:15.60 bitrate=1898.2kbits/s speed=31.2x    
TRACE 2017-06-19 16:13:10.270 [HTTPv2 Request Worker 8] Resume Read: readCount=0 / writeCount=5086340
TRACE 2017-06-19 16:13:10.272 [HTTPv2 Request Worker 8] Transfer response sent to Panasonic_HDD_Recoder_2:

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=10;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=01700000000000000000000000000000
  Accept-Ranges: bytes
  Connection: keep-alive
  Server: Mac_OS_X-x86_64-10.12.5, UPnP/1.0 DLNADOC/1.50, UMS/6.7.0
  TimeSeekRange.dlna.org: npt=00:00:00.00-0:18:19/0:18:19
  X-Seek-Range: npt=00:00:00.00-0:18:19/0:18:19

DEBUG 2017-06-19 16:13:10.612 [ffmpeg-3-2] frame=  797 fps=796 q=18.0 size=    7511kB time=00:00:31.84 bitrate=1932.5kbits/s speed=31.8x    
DEBUG 2017-06-19 16:13:11.112 [ffmpeg-3-2] frame= 1204 fps=802 q=19.0 size=   11101kB time=00:00:48.12 bitrate=1889.9kbits/s speed=32.1x    
DEBUG 2017-06-19 16:13:11.612 [ffmpeg-3-2] frame= 1620 fps=809 q=18.0 size=   14862kB time=00:01:04.76 bitrate=1880.0kbits/s speed=32.4x    
TRACE 2017-06-19 16:13:11.637 [ffmpeg-3-Timer] buffered: 5,952,495 bytes / inputs: 1
TRACE 2017-06-19 16:13:12.083 [HTTPv2 Request Worker 8] Ready to Stop: true
TRACE 2017-06-19 16:13:12.092 [HTTPv2 Request Worker 9] Matched media renderer "Panasonic_HDD_Recoder_2" based on address 192.168.10.100
DEBUG 2017-06-19 16:13:12.092 [HTTPv2 Request Worker 9] Recognized media renderer "Panasonic_HDD_Recoder_2"
TRACE 2017-06-19 16:13:12.092 [HTTPv2 Request Worker 9] Received a request from Panasonic_HDD_Recoder_2 (192.168.10.100:51606):

GET /get/30/no_audio.mkv_transcoded_to.ts HTTP/1.1

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

TRACE 2017-06-19 16:13:12.093 [HTTPv2 Request Worker 9] Asked stream chunk : TimeRange [start=0.0, end=null] of no_audio.mkv and player FFmpeg
TRACE 2017-06-19 16:13:12.093 [HTTPv2 Request Worker 9] Setting lastStartPosition from time-seeking: 0.0
TRACE 2017-06-19 16:13:12.093 [HTTPv2 Request Worker 9] Ready to Stop: false
TRACE 2017-06-19 16:13:12.093 [HTTPv2 Request Worker 9] Did not send subtitle headers because dlna.getMediaSubtitle() is null
TRACE 2017-06-19 16:13:12.095 [HTTPv2 Request Worker 9] Transfer response sent to Panasonic_HDD_Recoder_2:

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=10;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=01700000000000000000000000000000
  Accept-Ranges: bytes
  Connection: keep-alive
  Server: Mac_OS_X-x86_64-10.12.5, UPnP/1.0 DLNADOC/1.50, UMS/6.7.0
  TimeSeekRange.dlna.org: npt=00:00:00.00-0:18:19/0:18:19
  X-Seek-Range: npt=00:00:00.00-0:18:19/0:18:19

DEBUG 2017-06-19 16:13:12.113 [ffmpeg-3-2] frame= 2020 fps=807 q=19.0 size=   18340kB time=00:01:20.76 bitrate=1860.3kbits/s speed=32.3x    
TRACE 2017-06-19 16:13:12.222 [HTTPv2 Request Worker 9] Ready to Stop: true
TRACE 2017-06-19 16:13:12.228 [HTTPv2 Request Worker 10] Matched media renderer "Panasonic_HDD_Recoder_2" based on address 192.168.10.100
DEBUG 2017-06-19 16:13:12.228 [HTTPv2 Request Worker 10] Recognized media renderer "Panasonic_HDD_Recoder_2"
TRACE 2017-06-19 16:13:12.228 [HTTPv2 Request Worker 10] Received a request from Panasonic_HDD_Recoder_2 (192.168.10.100:51607):

GET /get/30/no_audio.mkv_transcoded_to.ts HTTP/1.1

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

TRACE 2017-06-19 16:13:12.229 [HTTPv2 Request Worker 10] Asked stream chunk : TimeRange [start=0.0, end=null] of no_audio.mkv and player FFmpeg
TRACE 2017-06-19 16:13:12.229 [HTTPv2 Request Worker 10] Setting lastStartPosition from time-seeking: 0.0
TRACE 2017-06-19 16:13:12.229 [HTTPv2 Request Worker 10] Ready to Stop: false
TRACE 2017-06-19 16:13:12.229 [HTTPv2 Request Worker 10] Did not send subtitle headers because dlna.getMediaSubtitle() is null
TRACE 2017-06-19 16:13:12.230 [HTTPv2 Request Worker 10] Transfer response sent to Panasonic_HDD_Recoder_2:

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=10;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=01700000000000000000000000000000
  Accept-Ranges: bytes
  Connection: keep-alive
  Server: Mac_OS_X-x86_64-10.12.5, UPnP/1.0 DLNADOC/1.50, UMS/6.7.0
  TimeSeekRange.dlna.org: npt=00:00:00.00-0:18:19/0:18:19
  X-Seek-Range: npt=00:00:00.00-0:18:19/0:18:19

DEBUG 2017-06-19 16:13:12.614 [ffmpeg-3-2] frame= 2451 fps=816 q=18.0 size=   21571kB time=00:01:38.00 bitrate=1803.2kbits/s speed=32.6x    
DEBUG 2017-06-19 16:13:13.114 [ffmpeg-3-2] frame= 2879 fps=822 q=18.0 size=   25447kB time=00:01:55.12 bitrate=1810.8kbits/s speed=32.9x    
DEBUG 2017-06-19 16:13:13.175 [HTTPv2 Request Worker 10] Connection error: java.io.IOException: Connection reset by peer
DEBUG 2017-06-19 16:13:13.175 [HTTPv2 Request Worker 10] Premature end, stopping...
TRACE 2017-06-19 16:13:13.176 [HTTPv2 Request Worker 10] Ready to Stop: true
DEBUG 2017-06-19 16:13:13.616 [ffmpeg-3-2] frame= 3323 fps=830 q=19.0 size=   29423kB time=00:02:12.88 bitrate=1813.9kbits/s speed=33.2x    
TRACE 2017-06-19 16:13:13.636 [ffmpeg-3-Timer] buffered: 30,300,712 bytes / inputs: 0
DEBUG 2017-06-19 16:13:14.116 [ffmpeg-3-2] frame= 3749 fps=832 q=19.0 size=   33171kB time=00:02:29.92 bitrate=1812.6kbits/s speed=33.3x    
DEBUG 2017-06-19 16:13:14.584 [ffmpeg-3-Cleanup] Stopping Unix process 1686: ffmpeg-3
TRACE 2017-06-19 16:13:14.584 [ffmpeg-3-Cleanup] Killing the Unix process: 1686
DEBUG 2017-06-19 16:13:14.586 [ffmpeg-3-Cleanup] Stopping Unix process 1685: mkfifo-4
TRACE 2017-06-19 16:13:14.586 [ffmpeg-3-Cleanup] Destroying buffer
TRACE 2017-06-19 16:13:14.586 [ffmpeg-3-Cleanup] Killing the Unix process: 1685
TRACE 2017-06-19 16:13:14.589 [ffmpeg-3] EOF
TRACE 2017-06-19 16:13:17.181 [StopPlaying Event] Matched media renderer "Panasonic_HDD_Recoder_2" based on address 192.168.10.100
INFO  2017-06-19 16:13:17.181 [StopPlaying Event] Stopped playing no_audio.mkv on your Panasonic_HDD_Recoder_2
DEBUG 2017-06-19 16:13:17.182 [StopPlaying Event] The full filename of which is: /Users/x/dlna/no_audio.mkv and the address of the renderer is: 192.168.10.100
TRACE 2017-06-19 16:13:17.182 [StopPlaying Event]    final decision: not fully played
TRACE 2017-06-19 16:13:18.179 [macOS Sleep Worker] Calling IOKitUtils.resetSleepTimer() to postpone macOS idle sleep
TRACE 2017-06-19 16:13:18.180 [macOS Sleep Worker] Calling IOKitUtils.enableGoToSleep to stop preventing macOS idle sleep
DEBUG 2017-06-19 16:13:40.150 [UPNP-AliveMessageSender] Sending ALIVE...
DEBUG 2017-06-19 16:13:51.432 [UMS Shutdown] Sending BYEBYE...

TranscodeVideo= MPEGPS-MPEG2-AC3

GET /get/30/no_audio.mkv_transcoded_to.mpg HTTP/1.1

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

TRACE 2017-06-19 16:16:31.068 [HTTPv2 Request Worker 14] Asked stream chunk : TimeRange [start=0.0, end=null] of no_audio.mkv and player FFmpeg
TRACE 2017-06-19 16:16:31.068 [HTTPv2 Request Worker 14] Setting lastStartPosition from time-seeking: 0.0
DEBUG 2017-06-19 16:16:31.069 [HTTPv2 Request Worker 14] Starting transcode/remux of no_audio.mkv with media info: Container: MKV, Size: 45024545, Video Bitrate: 327749, Video Tracks: 1, Video Codec: h264, Duration: 0:18:19, Video Resolution: 640 x 360, Frame Rate Mode: null, AVC Level: 3.2, Mime Type: video/x-matroska
DEBUG 2017-06-19 16:16:31.069 [HTTPv2 Request Worker 14] Reading TranscodeFastStart: true (default: false)
TRACE 2017-06-19 16:16:31.070 [HTTPv2 Request Worker 14] Searching for a match for: null with jpn and off
TRACE 2017-06-19 16:16:31.077 [HTTPv2 Request Worker 14] Searching for a match for: null with * and jpn
TRACE 2017-06-19 16:16:31.078 [HTTPv2 Request Worker 14] Searching for a match for: null with * and eng
TRACE 2017-06-19 16:16:31.078 [HTTPv2 Request Worker 14] Searching for a match for: null with * and und
TRACE 2017-06-19 16:16:31.078 [HTTPv2 Request Worker 14] Looking for a subtitle track with lang: jpn
TRACE 2017-06-19 16:16:31.078 [HTTPv2 Request Worker 14] Looking for a subtitle track with lang: eng
TRACE 2017-06-19 16:16:31.078 [HTTPv2 Request Worker 14] Looking for a subtitle track with lang: fre
TRACE 2017-06-19 16:16:31.078 [HTTPv2 Request Worker 14] Looking for a subtitle track with lang: ger
TRACE 2017-06-19 16:16:31.078 [HTTPv2 Request Worker 14] Looking for a subtitle track with lang: und
DEBUG 2017-06-19 16:16:31.078 [HTTPv2 Request Worker 14] Reading engines: "ffmpegvideo,tsmuxer,mencoder,ffmpegaudio,tsmuxeraudio,ffmpegwebvideo,vlcwebvideo,vlcvideo,mencoderwebvideo,vlcaudio,dcraw" (default: "ffmpegvideo,mencoder,tsmuxer,ffmpegaudio,tsmuxeraudio,ffmpegwebvideo,vlcwebvideo,vlcvideo,mencoderwebvideo,vlcaudio,ffmpegdvrmsremux,dcraw")
DEBUG 2017-06-19 16:16:31.078 [HTTPv2 Request Worker 14] Reading maximum_bitrate: "0" (default: "90")
TRACE 2017-06-19 16:16:31.078 [HTTPv2 Request Worker 14] Using video bitrate limit from the general configuration (1000 Mb/s)
TRACE 2017-06-19 16:16:31.079 [HTTPv2 Request Worker 14] Adjusting the video bitrate limit to 999000 kb/s to make room for audio
DEBUG 2017-06-19 16:16:31.079 [HTTPv2 Request Worker 14] Reading mpeg2_main_settings: "keyint=25:vqmax=7:vqmin=2" (default: "Automatic (Wired)")
DEBUG 2017-06-19 16:16:31.081 [HTTPv2 Request Worker 14] Reading resume: false (default: true)
DEBUG 2017-06-19 16:16:31.082 [HTTPv2 Request Worker 14] Starting mkfifo -m 777 /var/folders/jx/3pqjsj6x5vb5_wnywhxcm9_40000gn/T/UMS-m/ffmpegvideo_62_1497856591081
TRACE 2017-06-19 16:16:31.082 [HTTPv2 Request Worker 14] Setting FONTCONFIG_PATH to "/Applications/Universal Media Server.app/Contents/Resources/fonts"
DEBUG 2017-06-19 16:16:31.090 [HTTPv2 Request Worker 14] Unix process ID (mkfifo): 1697
DEBUG 2017-06-19 16:16:31.393 [ffmpeg-3] Starting "/Applications/Universal Media Server.app/Contents/Resources/osx/ffmpeg" -y -loglevel info -i /Users/x/dlna/no_audio.mkv -bufsize 1835k -maxrate 999000k -g 25 -qmax 7 -qmin 2 -ab 640k -ar 48000 -c:a ac3 -c:v mpeg2video -f vob /var/folders/jx/3pqjsj6x5vb5_wnywhxcm9_40000gn/T/UMS-m/ffmpegvideo_62_1497856591081
TRACE 2017-06-19 16:16:31.393 [ffmpeg-3] Setting FONTCONFIG_PATH to "/Applications/Universal Media Server.app/Contents/Resources/fonts"
DEBUG 2017-06-19 16:16:31.409 [ffmpeg-3] Reading pipe: /var/folders/jx/3pqjsj6x5vb5_wnywhxcm9_40000gn/T/UMS-m/ffmpegvideo_62_1497856591081
TRACE 2017-06-19 16:16:31.409 [ffmpeg-3] Opening file /var/folders/jx/3pqjsj6x5vb5_wnywhxcm9_40000gn/T/UMS-m/ffmpegvideo_62_1497856591081 for reading...
DEBUG 2017-06-19 16:16:31.428 [ffmpeg-3-2] ffmpeg version N-84607-g9bcc5e8-tessus Copyright (c) 2000-2017 the FFmpeg developers
DEBUG 2017-06-19 16:16:31.428 [ffmpeg-3-2]   built with Apple LLVM version 8.0.0 (clang-800.0.42.1)
DEBUG 2017-06-19 16:16:31.428 [ffmpeg-3-2]   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
DEBUG 2017-06-19 16:16:31.428 [ffmpeg-3-2]   libavutil      55. 50.100 / 55. 50.100
DEBUG 2017-06-19 16:16:31.428 [ffmpeg-3-2]   libavcodec     57. 86.102 / 57. 86.102
DEBUG 2017-06-19 16:16:31.428 [ffmpeg-3-2]   libavformat    57. 67.100 / 57. 67.100
DEBUG 2017-06-19 16:16:31.428 [ffmpeg-3-2]   libavdevice    57.  3.101 / 57.  3.101
DEBUG 2017-06-19 16:16:31.428 [ffmpeg-3-2]   libavfilter     6. 78.100 /  6. 78.100
DEBUG 2017-06-19 16:16:31.428 [ffmpeg-3-2]   libswscale      4.  3.101 /  4.  3.101
DEBUG 2017-06-19 16:16:31.428 [ffmpeg-3-2]   libswresample   2.  4.100 /  2.  4.100
DEBUG 2017-06-19 16:16:31.428 [ffmpeg-3-2]   libpostproc    54.  2.100 / 54.  2.100
DEBUG 2017-06-19 16:16:31.433 [ffmpeg-3-2] Input #0, matroska,webm, from '/Users/x/dlna/no_audio.mkv':
DEBUG 2017-06-19 16:16:31.433 [ffmpeg-3-2]   Metadata:
DEBUG 2017-06-19 16:16:31.433 [ffmpeg-3-2]     COMPATIBLE_BRANDS: isomiso2avc1mp41
DEBUG 2017-06-19 16:16:31.433 [ffmpeg-3-2]     MAJOR_BRAND     : isom
DEBUG 2017-06-19 16:16:31.433 [ffmpeg-3-2]     MINOR_VERSION   : 512
DEBUG 2017-06-19 16:16:31.433 [ffmpeg-3-2]     ENCODER         : Lavf57.72.101
DEBUG 2017-06-19 16:16:31.433 [ffmpeg-3-2]   Duration: 00:18:19.00, start: 0.000000, bitrate: 327 kb/s
DEBUG 2017-06-19 16:16:31.433 [ffmpeg-3-2]     Stream #0:0: Video: h264 (High), yuv420p(progressive), 640x360, 25 fps, 25 tbr, 1k tbn, 50 tbc (default)
DEBUG 2017-06-19 16:16:31.433 [ffmpeg-3-2]     Metadata:
DEBUG 2017-06-19 16:16:31.433 [ffmpeg-3-2]       HANDLER_NAME    : VideoHandler
DEBUG 2017-06-19 16:16:31.433 [ffmpeg-3-2]       DURATION        : 00:18:19.000000000
DEBUG 2017-06-19 16:16:31.434 [ffmpeg-3-2] Codec AVOption b (set bitrate (in bits/s)) specified for output file #0 (/var/folders/jx/3pqjsj6x5vb5_wnywhxcm9_40000gn/T/UMS-m/ffmpegvideo_62_1497856591081) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.
DEBUG 2017-06-19 16:16:31.435 [ffmpeg-3-2] Stream mapping:
DEBUG 2017-06-19 16:16:31.435 [ffmpeg-3-2]   Stream #0:0 -> #0:0 (h264 (native) -> mpeg2video (native))
DEBUG 2017-06-19 16:16:31.435 [ffmpeg-3-2] Press [q] to stop, [?] for help
TRACE 2017-06-19 16:16:31.441 [ffmpeg-3] Successfully initialized buffer to 52,428,800 bytes.
DEBUG 2017-06-19 16:16:31.441 [ffmpeg-3] Attaching thread: ffmpeg-3
TRACE 2017-06-19 16:16:31.442 [ffmpeg-3-Timer] buffered: 0 bytes / inputs: 0
DEBUG 2017-06-19 16:16:31.442 [ffmpeg-3] Unix process ID ("/Applications/Universal Media Server.app/Contents/Resources/osx/ffmpeg"): 1698
DEBUG 2017-06-19 16:16:31.443 [ffmpeg-3-Timer] Created playback timer for Panasonic_HDD_Recoder_2
DEBUG 2017-06-19 16:16:31.445 [ffmpeg-3-2] Output #0, vob, to '/var/folders/jx/3pqjsj6x5vb5_wnywhxcm9_40000gn/T/UMS-m/ffmpegvideo_62_1497856591081':
DEBUG 2017-06-19 16:16:31.445 [ffmpeg-3-2]   Metadata:
DEBUG 2017-06-19 16:16:31.445 [ffmpeg-3-2]     COMPATIBLE_BRANDS: isomiso2avc1mp41
DEBUG 2017-06-19 16:16:31.445 [ffmpeg-3-2]     MAJOR_BRAND     : isom
DEBUG 2017-06-19 16:16:31.445 [ffmpeg-3-2]     MINOR_VERSION   : 512
DEBUG 2017-06-19 16:16:31.445 [ffmpeg-3-2]     encoder         : Lavf57.67.100
DEBUG 2017-06-19 16:16:31.445 [ffmpeg-3-2]     Stream #0:0: Video: mpeg2video (Main), yuv420p, 640x360, q=2-7, 200 kb/s, 25 fps, 90k tbn, 25 tbc (default)
DEBUG 2017-06-19 16:16:31.445 [ffmpeg-3-2]     Metadata:
DEBUG 2017-06-19 16:16:31.445 [ffmpeg-3-2]       HANDLER_NAME    : VideoHandler
DEBUG 2017-06-19 16:16:31.445 [ffmpeg-3-2]       DURATION        : 00:18:19.000000000
DEBUG 2017-06-19 16:16:31.445 [ffmpeg-3-2]       encoder         : Lavc57.86.102 mpeg2video
DEBUG 2017-06-19 16:16:31.445 [ffmpeg-3-2]     Side data:
DEBUG 2017-06-19 16:16:31.445 [ffmpeg-3-2]       cpb: bitrate max/min/avg: 999000000/0/200000 buffer size: 1835000 vbv_delay: -1
TRACE 2017-06-19 16:16:31.597 [HTTPv2 Request Worker 14] Did not send subtitle headers because dlna.getMediaSubtitle() is null
TRACE 2017-06-19 16:16:31.598 [StartPlaying Event] Matched media renderer "Panasonic_HDD_Recoder_2" based on address 192.168.10.100
DEBUG 2017-06-19 16:16:31.599 [HTTPv2 Request Worker 14] Reading ChunkedTransfer: true (default: false)
TRACE 2017-06-19 16:16:31.599 [macOS Sleep Worker] Calling IOKitUtils.disableGoToSleep() to prevent macOS idle sleep
TRACE 2017-06-19 16:16:31.601 [HTTPv2 Request Worker 14] Suspend Read: readCount=0 / writeCount=673792
INFO  2017-06-19 16:16:31.603 [StartPlaying Event] Started playing no_audio.mkv on your Panasonic_HDD_Recoder_2
DEBUG 2017-06-19 16:16:31.603 [StartPlaying Event] The full filename of which is: /Users/x/dlna/no_audio.mkv and the address of the renderer is: 192.168.10.100
DEBUG 2017-06-19 16:16:31.936 [ffmpeg-3-2] frame=  579 fps=0.0 q=31.0 size=    1908kB time=00:00:23.04 bitrate= 678.4kbits/s speed=  46x    
TRACE 2017-06-19 16:16:32.102 [HTTPv2 Request Worker 14] Resume Read: readCount=0 / writeCount=2590720
TRACE 2017-06-19 16:16:32.104 [HTTPv2 Request Worker 14] Transfer response sent to Panasonic_HDD_Recoder_2:

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

DEBUG 2017-06-19 16:16:32.437 [ffmpeg-3-2] frame= 1163 fps=1162 q=31.0 size=    3634kB time=00:00:46.40 bitrate= 641.6kbits/s speed=46.4x    
TRACE 2017-06-19 16:16:32.495 [HTTPv2 Request Worker 14] Suspend Read: readCount=2908160 / writeCount=3903488
DEBUG 2017-06-19 16:16:32.937 [ffmpeg-3-2] frame= 1787 fps=1190 q=31.0 size=    5228kB time=00:01:11.36 bitrate= 600.2kbits/s speed=47.5x    
TRACE 2017-06-19 16:16:32.996 [HTTPv2 Request Worker 14] Resume Read: readCount=2908160 / writeCount=5582848
TRACE 2017-06-19 16:16:33.343 [HTTPv2 Request Worker 14] Suspend Read: readCount=5578752 / writeCount=6578176
DEBUG 2017-06-19 16:16:33.437 [ffmpeg-3-2] frame= 2373 fps=1185 q=31.0 size=    6752kB time=00:01:34.80 bitrate= 583.5kbits/s speed=47.4x    
TRACE 2017-06-19 16:16:33.443 [ffmpeg-3-Timer] buffered: 1,349,632 bytes / inputs: 1
TRACE 2017-06-19 16:16:33.843 [HTTPv2 Request Worker 14] Resume Read: readCount=5578752 / writeCount=8210432
DEBUG 2017-06-19 16:16:33.938 [ffmpeg-3-2] frame= 2972 fps=1188 q=31.0 size=    8270kB time=00:01:58.76 bitrate= 570.5kbits/s speed=47.5x    
TRACE 2017-06-19 16:16:33.970 [HTTPv2 Request Worker 14] Ready to Stop: true
TRACE 2017-06-19 16:16:33.978 [HTTPv2 Request Worker 15] Matched media renderer "Panasonic_HDD_Recoder_2" based on address 192.168.10.100
DEBUG 2017-06-19 16:16:33.979 [HTTPv2 Request Worker 15] Recognized media renderer "Panasonic_HDD_Recoder_2"
TRACE 2017-06-19 16:16:33.979 [HTTPv2 Request Worker 15] Received a request from Panasonic_HDD_Recoder_2 (192.168.10.100:34288):

GET /get/30/no_audio.mkv_transcoded_to.mpg HTTP/1.1

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

TRACE 2017-06-19 16:16:33.979 [HTTPv2 Request Worker 15] Asked stream chunk : TimeRange [start=0.0, end=null] of no_audio.mkv and player FFmpeg
TRACE 2017-06-19 16:16:33.979 [HTTPv2 Request Worker 15] Setting lastStartPosition from time-seeking: 0.0
TRACE 2017-06-19 16:16:33.979 [HTTPv2 Request Worker 15] Ready to Stop: false
TRACE 2017-06-19 16:16:33.979 [HTTPv2 Request Worker 15] Did not send subtitle headers because dlna.getMediaSubtitle() is null
TRACE 2017-06-19 16:16:33.981 [HTTPv2 Request Worker 15] Transfer response sent to Panasonic_HDD_Recoder_2:

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

DEBUG 2017-06-19 16:16:34.438 [ffmpeg-3-2] frame= 3561 fps=1186 q=31.0 size=    9766kB time=00:02:22.32 bitrate= 562.1kbits/s speed=47.4x    
DEBUG 2017-06-19 16:16:34.938 [ffmpeg-3-2] frame= 4165 fps=1189 q=31.0 size=   11220kB time=00:02:46.48 bitrate= 552.1kbits/s speed=47.5x    
DEBUG 2017-06-19 16:16:35.438 [ffmpeg-3-2] frame= 4795 fps=1198 q=31.0 size=   12630kB time=00:03:11.68 bitrate= 539.8kbits/s speed=47.9x    
TRACE 2017-06-19 16:16:35.443 [ffmpeg-3-Timer] buffered: 5,730,303 bytes / inputs: 1
DEBUG 2017-06-19 16:16:35.939 [ffmpeg-3-2] frame= 5420 fps=1204 q=31.0 size=   13680kB time=00:03:36.68 bitrate= 517.2kbits/s speed=48.1x    
DEBUG 2017-06-19 16:16:36.439 [ffmpeg-3-2] frame= 6061 fps=1211 q=31.0 size=   15008kB time=00:04:02.32 bitrate= 507.4kbits/s speed=48.4x    
DEBUG 2017-06-19 16:16:36.939 [ffmpeg-3-2] frame= 6710 fps=1219 q=31.0 size=   16178kB time=00:04:28.28 bitrate= 494.0kbits/s speed=48.7x    
DEBUG 2017-06-19 16:16:37.440 [ffmpeg-3-2] frame= 7350 fps=1224 q=31.0 size=   17590kB time=00:04:53.88 bitrate= 490.3kbits/s speed=48.9x    
TRACE 2017-06-19 16:16:37.443 [ffmpeg-3-Timer] buffered: 6,840,319 bytes / inputs: 1
DEBUG 2017-06-19 16:16:37.940 [ffmpeg-3-2] frame= 7974 fps=1226 q=31.0 size=   19030kB time=00:05:18.84 bitrate= 488.9kbits/s speed=  49x    
DEBUG 2017-06-19 16:16:38.440 [ffmpeg-3-2] frame= 8654 fps=1235 q=31.0 size=   20394kB time=00:05:46.04 bitrate= 482.8kbits/s speed=49.4x    
DEBUG 2017-06-19 16:16:38.941 [ffmpeg-3-2] frame= 9270 fps=1235 q=31.0 size=   21692kB time=00:06:10.68 bitrate= 479.4kbits/s speed=49.4x    
DEBUG 2017-06-19 16:16:39.441 [ffmpeg-3-2] frame= 9885 fps=1235 q=31.0 size=   23158kB time=00:06:35.28 bitrate= 479.9kbits/s speed=49.4x    
TRACE 2017-06-19 16:16:39.444 [ffmpeg-3-Timer] buffered: 12,529,663 bytes / inputs: 1
DEBUG 2017-06-19 16:16:39.942 [ffmpeg-3-2] frame=10449 fps=1228 q=31.0 size=   24980kB time=00:06:57.84 bitrate= 489.7kbits/s speed=49.1x    
DEBUG 2017-06-19 16:16:40.442 [ffmpeg-3-2] frame=11045 fps=1226 q=31.0 size=   26970kB time=00:07:21.68 bitrate= 500.2kbits/s speed=  49x    
DEBUG 2017-06-19 16:16:40.943 [ffmpeg-3-2] frame=11634 fps=1224 q=31.0 size=   28692kB time=00:07:45.24 bitrate= 505.2kbits/s speed=48.9x    
DEBUG 2017-06-19 16:16:41.443 [ffmpeg-3-2] frame=12309 fps=1230 q=31.0 size=   29712kB time=00:08:12.24 bitrate= 494.5kbits/s speed=49.2x    
TRACE 2017-06-19 16:16:41.444 [ffmpeg-3-Timer] buffered: 18,989,055 bytes / inputs: 1
DEBUG 2017-06-19 16:16:41.943 [ffmpeg-3-2] frame=12982 fps=1235 q=31.0 size=   30458kB time=00:08:39.16 bitrate= 480.6kbits/s speed=49.4x    
DEBUG 2017-06-19 16:16:42.444 [ffmpeg-3-2] frame=13683 fps=1243 q=31.0 size=   31296kB time=00:09:07.20 bitrate= 468.5kbits/s speed=49.7x    
DEBUG 2017-06-19 16:16:42.944 [ffmpeg-3-2] frame=14344 fps=1246 q=31.0 size=   32328kB time=00:09:33.64 bitrate= 461.7kbits/s speed=49.8x    
TRACE 2017-06-19 16:16:43.444 [ffmpeg-3-Timer] buffered: 21,536,767 bytes / inputs: 1
DEBUG 2017-06-19 16:16:43.445 [ffmpeg-3-2] frame=15039 fps=1252 q=31.0 size=   33282kB time=00:10:01.44 bitrate= 453.3kbits/s speed=50.1x    
DEBUG 2017-06-19 16:16:43.946 [ffmpeg-3-2] frame=15711 fps=1256 q=31.0 size=   34058kB time=00:10:28.32 bitrate= 444.0kbits/s speed=50.2x    
DEBUG 2017-06-19 16:16:44.446 [ffmpeg-3-2] frame=16357 fps=1257 q=31.0 size=   35184kB time=00:10:54.16 bitrate= 440.6kbits/s speed=50.3x    
DEBUG 2017-06-19 16:16:44.947 [ffmpeg-3-2] frame=16969 fps=1256 q=31.0 size=   35814kB time=00:11:18.64 bitrate= 432.3kbits/s speed=50.2x    
TRACE 2017-06-19 16:16:45.444 [ffmpeg-3-Timer] buffered: 24,866,815 bytes / inputs: 1
DEBUG 2017-06-19 16:16:45.447 [ffmpeg-3-2] frame=17584 fps=1255 q=31.0 size=   36532kB time=00:11:43.24 bitrate= 425.6kbits/s speed=50.2x    
DEBUG 2017-06-19 16:16:45.947 [ffmpeg-3-2] frame=18181 fps=1253 q=24.8 size=   37238kB time=00:12:07.12 bitrate= 419.5kbits/s speed=50.1x    
DEBUG 2017-06-19 16:16:46.448 [ffmpeg-3-2] frame=18869 fps=1257 q=31.0 size=   38054kB time=00:12:34.64 bitrate= 413.1kbits/s speed=50.3x    
DEBUG 2017-06-19 16:16:46.948 [ffmpeg-3-2] frame=19517 fps=1258 q=31.0 size=   39100kB time=00:13:00.56 bitrate= 410.4kbits/s speed=50.3x    
TRACE 2017-06-19 16:16:47.444 [ffmpeg-3-Timer] buffered: 28,745,727 bytes / inputs: 1
DEBUG 2017-06-19 16:16:47.448 [ffmpeg-3-2] frame=20118 fps=1256 q=31.0 size=   40324kB time=00:13:24.60 bitrate= 410.6kbits/s speed=50.2x    
DEBUG 2017-06-19 16:16:47.949 [ffmpeg-3-2] frame=20790 fps=1259 q=31.0 size=   40960kB time=00:13:51.48 bitrate= 403.6kbits/s speed=50.4x    
DEBUG 2017-06-19 16:16:48.450 [ffmpeg-3-2] frame=21408 fps=1258 q=31.0 size=   41500kB time=00:14:16.20 bitrate= 397.1kbits/s speed=50.3x    
DEBUG 2017-06-19 16:16:48.950 [ffmpeg-3-2] frame=21940 fps=1253 q=31.0 size=   42418kB time=00:14:37.48 bitrate= 396.0kbits/s speed=50.1x    
TRACE 2017-06-19 16:16:49.444 [ffmpeg-3-Timer] buffered: 31,657,983 bytes / inputs: 1
DEBUG 2017-06-19 16:16:49.450 [ffmpeg-3-2] frame=22535 fps=1251 q=31.0 size=   43174kB time=00:15:01.28 bitrate= 392.4kbits/s speed=  50x    
DEBUG 2017-06-19 16:16:49.950 [ffmpeg-3-2] frame=23211 fps=1254 q=31.0 size=   43880kB time=00:15:28.32 bitrate= 387.2kbits/s speed=50.1x    
DEBUG 2017-06-19 16:16:50.450 [ffmpeg-3-2] frame=23869 fps=1255 q=31.0 size=   44894kB time=00:15:54.64 bitrate= 385.2kbits/s speed=50.2x    
DEBUG 2017-06-19 16:16:50.950 [ffmpeg-3-2] frame=24438 fps=1252 q=31.0 size=   45954kB time=00:16:17.40 bitrate= 385.2kbits/s speed=50.1x    
TRACE 2017-06-19 16:16:51.444 [ffmpeg-3-Timer] buffered: 34,607,103 bytes / inputs: 1
DEBUG 2017-06-19 16:16:51.451 [ffmpeg-3-2] frame=25108 fps=1254 q=31.0 size=   46826kB time=00:16:44.20 bitrate= 382.0kbits/s speed=50.2x    
DEBUG 2017-06-19 16:16:51.951 [ffmpeg-3-2] frame=25658 fps=1251 q=31.0 size=   48518kB time=00:17:06.20 bitrate= 387.3kbits/s speed=  50x    
DEBUG 2017-06-19 16:16:52.451 [ffmpeg-3-2] frame=26170 fps=1245 q=31.0 size=   50586kB time=00:17:26.68 bitrate= 395.9kbits/s speed=49.8x    
TRACE 2017-06-19 16:16:52.838 [ffmpeg-3-1] Successfully grown buffer from 52,428,800 bytes to 209,715,200 bytes.
DEBUG 2017-06-19 16:16:52.951 [ffmpeg-3-2] frame=26649 fps=1239 q=31.0 size=   51534kB time=00:17:45.84 bitrate= 396.1kbits/s speed=49.5x    
TRACE 2017-06-19 16:16:53.445 [ffmpeg-3-Timer] buffered: 40,951,807 bytes / inputs: 1
DEBUG 2017-06-19 16:16:53.452 [ffmpeg-3-2] frame=27226 fps=1237 q=31.0 size=   53022kB time=00:18:08.92 bitrate= 398.9kbits/s speed=49.5x    
DEBUG 2017-06-19 16:16:53.685 [ffmpeg-3-2] frame=27475 fps=1235 q=31.0 Lsize=   53812kB time=00:18:18.92 bitrate= 401.1kbits/s speed=49.4x    
DEBUG 2017-06-19 16:16:53.685 [ffmpeg-3-2] video:52981kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.568148%
TRACE 2017-06-19 16:16:53.690 [ffmpeg-3] EOF
DEBUG 2017-06-19 16:16:53.691 [ffmpeg-3] Stopping Unix process 1697: mkfifo-4
TRACE 2017-06-19 16:16:53.691 [ffmpeg-3] Killing the Unix process: 1697
DEBUG 2017-06-19 16:16:54.639 [UPNP-AliveMessageSender] Sending ALIVE...
TRACE 2017-06-19 16:16:55.448 [ffmpeg-3-Timer] buffered: 41,783,295 bytes / inputs: 1
TRACE 2017-06-19 16:16:57.450 [ffmpeg-3-Timer] buffered: 41,783,295 bytes / inputs: 1
TRACE 2017-06-19 16:16:59.454 [ffmpeg-3-Timer] buffered: 41,783,295 bytes / inputs: 1
TRACE 2017-06-19 16:17:01.459 [ffmpeg-3-Timer] buffered: 41,005,055 bytes / inputs: 1
TRACE 2017-06-19 16:17:03.464 [ffmpeg-3-Timer] buffered: 41,005,055 bytes / inputs: 1
TRACE 2017-06-19 16:17:05.467 [ffmpeg-3-Timer] buffered: 41,005,055 bytes / inputs: 1
TRACE 2017-06-19 16:17:07.472 [ffmpeg-3-Timer] buffered: 41,005,055 bytes / inputs: 1
TRACE 2017-06-19 16:17:09.477 [ffmpeg-3-Timer] buffered: 41,005,055 bytes / inputs: 1
TRACE 2017-06-19 16:17:11.483 [ffmpeg-3-Timer] buffered: 40,226,815 bytes / inputs: 1
DEBUG 2017-06-19 16:17:13.252 [HTTPv2 Request Worker 15] Connection error: java.io.IOExc

@onon765trb I need your full log.

EDIT: That is not my build, so you cannot expect changes on that...

I used Build: ce747649a (2017-06-12) in this test.
If not your build, I will test your build or official release of v6.7.2.

@onon765trb I should have pointed you to the right commit:
commit 98e1019a1316ad7e8ce9d9e6f8148d112faf415d

If it doesn't work, as it was just a guess that could have tricked some renderers as your, try that one:
commit e2cb191c54e65e1ab686b7d79beed25e4b641017 (in PS3_AC3_transcoding_issue branch)

Thank you for your comment.
I will try official release of v6.7.2 because I don't know JAVA build.
If I can make times, I try to build.
If I have known JAVA, I would commit many patches.
I know requests are easy and implements are difficult.
Thank you for your and the developers' works.

@onon765trb You'll not meet them in the official release.
As we said, that the intention that should be taken into consideration :wink:

Sorry, i never do the effort to try to make Mac OS build, as i didn't saw the need until now.
I could see if i can do it easily or not without any Mac OS, but no ETA ;-)

I don't think you need to make Mac OS build.
If you have ums.jar, I can retest it by replacing.
Thank you for your interest.

Cool :sunglasses:

Here they are: (Link validity of 7 days)
https://we.tl/NrlDbaiG42

I downloaded the two jar. Please wait.

GJ!FINE!
I tested

shasum ums-98e1019.jar 
90fed04486235ba792b7ea2bf9b352069bf9ae23  ums-98e1019.jar
shasum ums-PS3_AC3_transcoding_issue.jar 
31c6118d152ea0099136df233ad4fcbe84a17d71  ums-PS3_AC3_transcoding_issue.jar

The result of ums-98e1019.jar isn't good.
The result of ums-PS3_AC3_transcoding_issue.jar is good.

full logs
Archive.zip

@onon765trb Thank you :-)

As i understood that you like optimization, i think that you'll like this link :wink:
https://trac.ffmpeg.org/wiki/HWAccelIntro

Thank you for the link.
I am waiting for your commit being merged.

Probably, the below has the best performance on Mac by using hardware-decode and encode

ffmpeg -hwaccel auto -c:a foo -i input -c:v h264_videotoolbox -b:v *** -maxrate *** -level *** -profile high -preset none -allow_sw true -coder cabac -c:a aac_at -b:a *** -ar *** -resampler soxr -precision 28 -vf "idet,scale=trunc(oh*dar/2)*2:trunc(if(gt(ih\,480)\,ih\,480)/2)*2:flags=spline+accurate_rnd:interl=-1,setsar=sar=1/1,bwdif=mode=send_frame:parity=auto:deint=interlaced,pad=max(iw\,ih*(16/9)):ow/(16/9):(ow-iw)/2:(oh-ih)/2" output

foo: aac_at ac3_at adpcm_ima_qt_at alac_at eac3_at mp1_at mp2_at mp3_at pcm_alaw_at pcm_mulaw_at qdm2_at qdmc_at gsm_ms_at amr_nb_at
bar_at is codecs of CoreAudio of Mac, which can hardware-decode and encode.

Note: scale is needed because h264_videotoolbox needs that hight is beyond 480.
-resampler soxr -precision 28 exert its ability in ac3.
idet examines the accuracy of interlace flags.
bwdif is far more excellent than yadif.
-hwaccel auto falls back to the decoder of ffmpeg in the git master. Though -hwaccel videotoolbox can be used, errors happen in some codecs.

@onon765trb Thank you very much for sharing :-)

That should be nice to have, but sadly i cannot add -hwaccel auto now, as we still use a one year old _FFmpeg_ version, so can you understand that it will not be appropriate for many users
For now, AFAIK, you can only found it in Emby, as they well tested it already.
But when FFmpeg will be updated and if me or someone else still there, please feel free to remind us :wink:

After, to be honest, when it come to Mac users, they already have difficulty to get UMS running, so i'm not planning to optimize Mac transcoding in the code.
That could be added into the user's renderer configuration file though.

I don't know your video filter options, but i will study them to see if they could be added somewhere or for which case, outside of macOS :wink:

sadly i cannot add

This is a good decision because it doesn't work in the ffmpeg included in UMS.
But hwaccel is being developed with the change of API. Had better wait it.

Also -vf pp=hb/vb/dr/al is a good option for bad source though many devices have the engine of image quality improvements in the present.

I checked the video filder, great. That's a nice share :+1:
I didn't go too deep inside but the result look great.

As a side note parity=auto could be omitted as it is set by default. I thought that lanczos give better result than spline, but i could be wrong though.

Note: -allow_sw true will work, as if i understood correctly the FFmpeg code, anything different of zero should be considered as true, but 1 and 0 are the values in the code.

One time again, thank you for sharing it, as it's more CPU intensive, setting it in some renderers will be a good test, but still need to find Sony testers as they're known to have size display issue ;-)

EDIT: i also discovered that the filter that they use is faulty on some video size, so your should be prefered :wink:

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ExSport picture ExSport  Â·  38Comments

Lincoln-G picture Lincoln-G  Â·  71Comments

onon765trb picture onon765trb  Â·  45Comments

Nadahar picture Nadahar  Â·  42Comments

rd1 picture rd1  Â·  57Comments