Bug #1927

MP4 playing audio-only via DLNA

Added by Aldo Vargas about 7 years ago. Updated about 7 years ago.

Status:FixedStart date:02/06/2014
Priority:NormalDue date:
Assignee:Andreas Smas% Done:


Category:UPnP & DLNA
Target version:4.6
Found in version:4.5.51 Platform:PS3


- I use my android cellphone as DLNA server with over 400 MP4 videos
(most of them are <20MB, downloaded from youtube) and some MKV movies (>800MB)

- All the MP4 video files play fine from XMB.

- In Showtime, the MKV movies stream fine too (start playing the audio+video in less than 5 seconds),
but the MP4 files take over 2 minutes to start to play (only audio can be heard with no video output).

DLNA Server used: https://play.google.com/store/apps/details?id=com.allfornisoft.smartdlna

(attached log file)

showtime-0.log - Log file (69.4 KB) Aldo Vargas, 02/06/2014 02:05 AM

1.txt Magnifier (50.2 KB) Aldo Vargas, 02/08/2014 03:20 PM

showtime-0.log (54.8 KB) Aldo Vargas, 02/27/2014 04:24 PM

showtime-0.zip (315 KB) Aldo Vargas, 03/13/2014 06:30 PM

Associated revisions

Revision cf8fb8f6
Added by Andreas Smas about 7 years ago

httpclient: Correctly deal with HEAD req. returning 404

Fixes #1927

Change included in version 4.5.247


#1 Updated by Aldo Vargas about 7 years ago

With "skifta" server, the MP4 files stream fine on Showtime
Link: https://play.google.com/store/apps/details?id=com.skifta.android.app

So it seems it is an issue with "SmartDLNA" server.
However, I still wonder why they play on the XMB and not on Showtime with that server.

#2 Updated by Leonid Protasov about 7 years ago

I second that. I get the same behaviour with UMS for Windows. ST uses proprietary UPnP/DLNA client and seems like some servers don't like the way it is implemented. But all can be fixed sometimes :)

All platforms are affected.

#3 Updated by Aldo Vargas about 7 years ago

(!) Update: The DLNA issue still exists in 4.5.84.g74223, but now I just noticed that Showtime for PS3 crashes when I enter to All Videos to browse the movies in the DLNA Server of Windows Media Player 12.0.7601.18150 (streamed from Windows 7 Home Premium 64bit on a Sony Vaio with Intel Core 2 Duo T6600 @ 2.20GHz and 4GB RAM).

00:00:13.527: THREADS [DEBUG]:Created thread upnpbrowse (0x11f00f3)
00:00:14.029: PANIC [EMERG]:Thread upnpbrowse (0x11f00f3) crashed (r=0x80010005)
00:00:14.037: PANIC [EMERG]:Thread list (self=0x11f00d9)

I have attached the full log.

#4 Updated by Aldo Vargas about 7 years ago

Using 4.5.105 the streaming of MP4 now show video the on Showtime PS3 using SmartDLNA as server, but the videos still take aproximately 1 minute to start.

Showtime is still crashing and exiting to XMB when I try to browser the videos streamed from Windows Media Player.

#5 Updated by Aldo Vargas about 7 years ago

Status: With 4.5.138 the streaming with Windows Media Player is working again :)

:( But the MP4 still don't start immediately when streamed to PS3 with SmartDLNA. Streamed MKV movies play immediately though.

#6 Updated by Aldo Vargas about 7 years ago

Update: On 4.5.186 the MP4 streams through DLNA (with SmartDLNA) are still taking exactly 1 minute to start to play.
The MKV start immediately they are selected to play.

In the log below from 4.5.169 you can see there is no activity from 00:00:20.260 to 00:01:20.935
00:00:15.208: THREADS [DEBUG]:Created thread upnpbrowse (0x10600f5)
00:00:15.209: PROP [DEBUG]:navigator: Dispatch of [0x2021fac8] took 17773 us
00:00:17.055: UPNP [DEBUG]:Browsed 490 of 490 items
00:00:17.391: UPNP [DEBUG]:Browsed 490 of 490 items
00:00:19.893: navigator [INFO]:Opening upnp:uuid:81c93cb1-f5d6-445b-af92-2d203ddc548c:urn:upnp-org:serviceId:ContentDirectory:0/Justin Timberlake - Mirrors.mp4
00:00:20.259: THREADS [DEBUG]:Created thread upnpbrowse (0x10600f6)
00:00:20.260: PROP [INFO]:navigator: Dispatch of [0x2021fac8] took 367022 us
00:01:20.935: THREADS [DEBUG]:Thread 0x10600f6 (upnpbrowse) exiting
00:01:21.324: THREADS [DEBUG]:Created thread PC:mp (0x10600ff)
00:01:21.325: THREADS [DEBUG]:Created thread video decoder (0x1070001)
00:01:21.326: THREADS [DEBUG]:Created thread video player (0x107000b)
00:01:21.326: vp [DEBUG]:Waiting for event
00:01:21.327: vp [DEBUG]:Playing videoparams:{"canonicalUrl": "","no_fs_scan": 1,"title": "Justin Timberlake - Mirrors","sources": [{"url": "","mimetype": "video/mp4"}],"subtitles": []} flags:0x1
00:01:21.329: Video [DEBUG]:Playing

#7 Updated by Andreas Smas about 7 years ago

  • Status changed from New to Need feedback
  • Target version set to 4.6

My best guess is that there's some problem when Showtime checks the DLNA server for external subtitles for the file.

Can you please do the same check again, but first open


from the search/open bar on the home page and turn on "Debug all HTTP requests"

and then resubmit the new log.


#8 Updated by Aldo Vargas about 7 years ago

Sorry for the late reply. Yes it seems to be related to the subtitles.

I have attached a zip file with 3 logs. One with all subtitles settings turned off in Global Settings. The others are with the subtitle settings that I use as default. The 3rd log has more debug options enabled.

In the 3 logs, I launched "Britney%20Spears%20-%20Criminal.mp4" and you can see there is a 1 minute timeout before the video start to play.

00:00:14.801: HTTP [DEBUG]:Parking connection to (id=17)
00:00:14.802: HTTP [DEBUG]:Reusing connection to (id=17)
00:00:14.803: HTTP [DEBUG]:> HEAD /%25/Britney%20Spears%20-%20Criminal.srt HTTP/1.1
00:00:14.803: HTTP [DEBUG]:> User-Agent: Showtime PS3 4.5.225.g9c8c3
00:00:14.803: HTTP [DEBUG]:> Connection: keep-alive
00:00:14.804: HTTP [DEBUG]:> Accept: */*
00:00:14.804: HTTP [DEBUG]:> Accept-Encoding: identity
00:00:14.805: HTTP [DEBUG]:> Host:
00:00:14.805: HTTP [DEBUG]: Response:
00:00:14.809: HTTP [DEBUG]:< HTTP/1.1 404 Not Found
00:00:14.810: HTTP [DEBUG]:< Date: Thu, 13 Mar 2014 17:26:12 GMT
00:00:14.810: HTTP [DEBUG]:< Content-Length: 132
00:00:14.810: HTTP [DEBUG]:< Content-Type: text/html
00:00:14.810: HTTP [DEBUG]:< Server: UPnP/1.0 DLNADOC/1.50 Platinum/
00:00:14.811: HTTP [DEBUG]:< 
00:01:15.467: HTTP [DEBUG]:Disconnected from (id=17) Request destroyed

#9 Updated by Aldo Vargas about 7 years ago

Good news! I have added a subtitle file to the folder and now the MP4 plays immediately over DNLA.
The MP4 files without the .srt still start after the timeout of 1 minute.

#10 Updated by Andreas Smas about 7 years ago

  • Status changed from Need feedback to Accepted

I think I know what's wrong. But I can't test it so I'm gonna push a patch that I think should fix it.

#11 Updated by Andreas Smas about 7 years ago

  • Status changed from Accepted to Fixed
  • % Done changed from 0 to 100

Applied in changeset git|commit:cf8fb8f6f7b99fc58b9e78ccb98c240c3aaeb701.

#12 Updated by Aldo Vargas about 7 years ago

I'll test it and report it back ;)

#13 Updated by Aldo Vargas about 7 years ago

YEAH! It's fixed in 4.5.247! :D :D :D :D :D :D :D :D :D :D :D :D

Also available in: Atom PDF