UniversalMediaServer/UniversalMediaServer — pull request #66 by ExSport (2013-04-02 09:18:19+00:00)
Title: More debug for network traffic

When I was debugging https://github.com/UniversalMediaServer/UniversalMediaServer/pull/65 and why transcoded files are not working on Android, this pretty dirty patch helped me to not worry about Wireshark.
I spotted that transcoded files stopped working in MXPlayer/BSPlayer/VPLayer/etc.
I troubleshooted it if MIMETYPE, DLNA.ORG_OP or DLNA.ORG_PN is the culprit but found out it is not.
Archos Player worked with some, not with others but VLC beta worked with any. So it seems problem is some update in players. Manually transcoded and then directly streamed file worked OK.
Also tried to play it directly on PC via direct links generated with this patch and it worked so I lost the idea why it stopped to work if not some player update.
Feel free to change it so it will be OK with UMS code but I think it will be helpful when debugging.
Exaple what it generated in LOG:
```
[#####]=> test.mkv [MEncoder] http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_PS_PAL;DLNA.ORG_OP=01 duration=01:41:46.00 http://192.168.1.13:5001/get/0$1$2$1$1/test.mkv
[#####]=> [No encoding] http-get:*:video/x-matroska:DLNA.ORG_OP=01 size=6664577653 duration=01:41:46.00 http://192.168.1.13:5001/get/0$1$2$1$2/test.mkv
[#####]=> [MEncoder] {Audio: AC3/Czech (DD 5.1 CZ @ 448 kbps (DVD))} http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_PS_PAL;DLNA.ORG_OP=01 duration=01:41:46.00 http://192.168.1.13:5001/get/0$1$2$1$3/test.mkv
[#####]=> [MEncoder] {Audio: AC3/Czech (DD 5.1 CZ @ 448 kbps (DVD))} {Sub: Generic/Czech (CZ forced)} http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_PS_PAL;DLNA.ORG_OP=01 duration=01:41:46.00 http://192.168.1.13:5001/get/0$1$2$1$4/test.mkv
[#####]=> [MEncoder] {Audio: AC3/Czech (DD 5.1 CZ @ 448 kbps (DVD))} {Sub: Generic/Czech (CZ (DVD))} http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_PS_PAL;DLNA.ORG_OP=01 duration=01:41:46.00 http://192.168.1.13:5001/get/0$1$2$1$5/test.mkv
[#####]=> [MEncoder] {Audio: AC3/Czech (DD 5.1 CZ @ 448 kbps (DVD))} {Sub: Generic/English (EN)} http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_PS_PAL;DLNA.ORG_OP=01 duration=01:41:46.00 http://192.168.1.13:5001/get/0$1$2$1$6/test.mkv
[#####]=> [MEncoder] {Audio: AC3/Czech (DD 5.1 CZ @ 448 kbps (DVD))} {Sub: Generic/Spanish (ES)} http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_PS_PAL;DLNA.ORG_OP=01 duration=01:41:46.00 http://192.168.1.13:5001/get/0$1$2$1$7/test.mkv
[#####]=> [MEncoder] {Audio: DTS/English (DTS 5.1 EN @ 1,5 Mbps)} http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_PS_PAL;DLNA.ORG_OP=01 duration=01:41:46.00 http://192.168.1.13:5001/get/0$1$2$1$8/test.mkv
[#####]=> [MEncoder] {Audio: DTS/English (DTS 5.1 EN @ 1,5 Mbps)} {Sub: Generic/Czech (CZ forced)} http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_PS_PAL;DLNA.ORG_OP=01 duration=01:41:46.00 http://192.168.1.13:5001/get/0$1$2$1$9/test.mkv
[#####]=> [MEncoder] {Audio: DTS/English (DTS 5.1 EN @ 1,5 Mbps)} {Sub: Generic/Czech (CZ (DVD))} http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_PS_PAL;DLNA.ORG_OP=01 duration=01:41:46.00 http://192.168.1.13:5001/get/0$1$2$1$10/test.mkv
[#####]=> [MEncoder] {Audio: DTS/English (DTS 5.1 EN @ 1,5 Mbps)} {Sub: Generic/English (EN)} http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_PS_PAL;DLNA.ORG_OP=01 duration=01:41:46.00 http://192.168.1.13:5001/get/0$1$2$1$11/test.mkv
[#####]=> [MEncoder] {Audio: DTS/English (DTS 5.1 EN @ 1,5 Mbps)} {Sub: Generic/Spanish (ES)} http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_PS_PAL;DLNA.ORG_OP=01 duration=01:41:46.00 http://192.168.1.13:5001/get/0$1$2$1$12/test.mkv
[#####]=> [tsMuxeR] {Audio: AC3/Czech (DD 5.1 CZ @ 448 kbps (DVD))} http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_SD_EU_ISO;DLNA.ORG_OP=01 duration=01:41:46.00 http://192.168.1.13:5001/get/0$1$2$1$13/test.mkv
[#####]=> [FFmpeg] {Audio: AC3/Czech (DD 5.1 CZ @ 448 kbps (DVD))} http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_PS_PAL;DLNA.ORG_OP=01 duration=01:41:46.00 http://192.168.1.13:5001/get/0$1$2$1$14/test.mkv
[#####]=> [FFmpeg] {Audio: DTS/English (DTS 5.1 EN @ 1,5 Mbps)} http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_PS_PAL;DLNA.ORG_OP=01 duration=01:41:46.00 http://192.168.1.13:5001/get/0$1$2$1$15/test.mkv
```