Streaming MKV to iPhone with Airplay - very laggy

Discuss alternative media renderers (not PS3) supported by PS3 Media Server (e.g. Xbox 360, TVs &c.)

Streaming MKV to iPhone with Airplay - very laggy

Postby Wizkid » Mon Apr 30, 2012 2:29 pm

Hi, I got some problems when trying to stream MKV files (720P and 1080P, mainly Anime but also TV series) to my iPhone. I'm using Airplay on the iPhone. According to the guidelines:

1. VMWare ESXi 5 - Ubuntu 11.10 minimal with the PMS package (ps3mediaserver (1.51.0+git+mencoder34587-3) )
Has 1.5GB of RAM and a Core i5 2400
2. iPhone 4 with Airplay - The default Airplay.conf file
3. Everything except the phone is wired with gigabit-cables. The connection: iPhone [Wireless] <--->WNDR3700 Wireless (G) AP/Switch <--->PFSense router
4. I think it's TSMuxer (which is bolded in the settings) (all default)
5. Streaming is very laggy. I wanted to use PMS to transcode since the iphone cannot handle 720P/1080P on its own - and manually converting all the time is a pain. I have the feeling it's not transcoding but just streaming, since the system load stays very low as well, and I was told transcoding is quite resource-intensive.
6. Screenshot from when it is streaming/transcoding (with lag/stuttering, audio and video) --> http://i.imgur.com/LqpTv.png
debug.log: http://pastebin.com/LFn32srH
7.
Code: Select all
General
Unique ID                                : 185861416655286081068618383606891727000 (0x8BD39B5636AD0A69A68E411A94E4C898)
Complete name                            : Z:\complete\Anime\Future Diary\Future Diary - s01e10 - 010 - Family Plan.mkv
Format                                   : Matroska
Format version                           : Version 2
File size                                : 234 MiB
Duration                                 : 23mn 40s
Overall bit rate                         : 1 381 Kbps
Encoded date                             : UTC 2012-01-27 02:44:25
Writing application                      : mkvmerge v4.1.1 ('Bouncin' Back') built on Jul  3 2010 22:54:08
Writing library                          : libebml v1.0.0 + libmatroska v1.0.0
Attachment                               : Yes / Yes / Yes / Yes / Yes / Yes / Yes / Yes / Yes / Yes / Yes / Yes / Yes / Yes / Yes / Yes / Yes / Yes / Yes / Yes / Yes / Yes

Video
ID                                       : 2
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High 10@L5.0
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 16 frames
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 23mn 40s
Width                                    : 1 280 pixels
Height                                   : 720 pixels
Display aspect ratio                     : 16:9
Frame rate                               : 23.976 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 10 bits
Scan type                                : Progressive
Writing library                          : x264 core 118 r2085+614 d1cc25d
Encoding settings                        : cabac=1 / ref=16 / deblock=1:1:1 / analyse=0x3:0x133 / me=umh / subme=10 / psy=1 / fade_compensate=0.70 / psy_rd=0.60:0.10 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-3 / threads=18 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / fgo=0 / bframes=10 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=18.5 / qcomp=0.70 / qpmin=0 / qpmax=81 / qpstep=4 / ip_ratio=1.40 / aq=2:0.80
Language                                 : English
Default                                  : Yes
Forced                                   : No

Audio
ID                                       : 3
Format                                   : AAC
Format/Info                              : Advanced Audio Codec
Format profile                           : LC
Codec ID                                 : A_AAC
Duration                                 : 23mn 40s
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 48.0 KHz
Compression mode                         : Lossy
Title                                    : Commie
Language                                 : Japanese
Default                                  : Yes
Forced                                   : No

Text
ID                                       : 1
Format                                   : ASS
Codec ID                                 : S_TEXT/ASS
Codec ID/Info                            : Advanced Sub Station Alpha
Compression mode                         : Lossless
Default                                  : Yes
Forced                                   : No

Menu
00:00:00.033                             : en:Intro
00:00:30.030                             : en:OP
00:02:00.020                             : en:Part A
00:10:17.016                             : en:Part B
00:20:49.999                             : en:ED
00:22:19.964                             : en:Part C
00:23:33.045                             : en:Preview


(The episode I used above is an example - I get this for Anime & TV series, all of them)

Hopefully you guys can help me out. Thanks a lot!
Wizkid
 
Posts: 1
Joined: Mon Apr 30, 2012 2:07 pm

Re: Streaming MKV to iPhone with Airplay - very laggy

Postby Nero905 » Thu May 17, 2012 11:22 pm

It's the same for me. It seems that the iPhone has trouble with materials coming at a high resolution. Streaming 1080p content is very laggy for me, but normal 480p content works like a charm.

There is an iPhone config in the renderers folder, but still the PS3 Mediaserver doesn't seem to notice the iPhone as such, but rather use the Airplay config it has. Now if someone could explain to us how to get the PS3 Mediaserver to use the iPhone config instead of just the Airplay config, and also how to set the config to a maximum resolution and to transcode every file to this resolution or into a format that the iPhone is easily able to play, this problem might be solved.

I'd appreciate help with this aswell.
Nero905
 
Posts: 5
Joined: Mon Sep 12, 2011 11:23 am

Re: Streaming MKV to iPhone with Airplay - very laggy

Postby happy.neko » Fri May 18, 2012 4:55 pm

Wizkid
Please create new folder with single test file, restart ps3ms, play it and post fresh debug.log.
Right now it is polluted with thumbnail generation messages for many files. Its hard to separate relevant info.

And why so many java processes are running on your system?
happy.neko
Project Member
 
Posts: 478
Joined: Fri Sep 23, 2011 5:38 pm


Return to Alternative Media Renderers

Who is online

Users browsing this forum: No registered users and 7 guests