PDA

View Full Version : Stutter/Lag with BubbleUPnP/MXPlayer on Android tablet



DouglasBaker
04-06-2014, 01:57 AM
Hi all,

I've recently loaded Mezzmo and absolutely love it on my wired connections. The particular video in question, for example, would not play to any device with any other media server until Mezzmo, so I've definitely found my player of choice, but would appreciate some assistance :)

My wireless, however, despite being 150 mbps N, cannot handle the quality of the video I am trying to stream and/or my tablet can't process it when it is received. I'm not clear which, but the symptoms are significant stuttering and major timing disconnects between audio and video.

I'm using a Motorola Xoom via BubbleUPnP and playing on MX Player. My profile is set to "BubbleUPnP to MXPlayer". I've changed the video bitrate to the lowest setting in the Performance tab, and while that makes it better, there is still significant lag (and the video still looks awesome). I've also tried changing the network to "Wireless A/G/Y (54 Mbps)" but that seems to make no difference (I chose to go one lower than my N network just to give myself some overhead).

MXPlayer is defaulting to Software Player, with neither Hardware nor Hardware+ being allowed for this file.

The files I'm trying to play are all high quality (HD) MKV or DVD/Blu-ray ISO's. My assumption was that Mezzmo would transcode for quality as appropriate based on profile, IE. I assumed that I would see transcoding going on for the videos when they are being sent to my tablet, but there is nothing in the transcoding pane when I'm streaming to the tablet (this same file gets transcoded when sent to my Xbox, for example).

The file I'm trying to play has the following FFmpeg details:
ffmpeg version N-50460-g393dcbf Copyright (c) 2000-2013 the FFmpeg developers
built on Jun 27 2013 17:20:20 with gcc 4.6.2 (GCC)
configuration: --enable-memalign-hack --arch=x86_64 --target-os=mingw32 --cross-prefix=x86_64-w64-mingw32- --enable-static --disable-shared --enable-zlib --disable-postproc --prefix=/home/peter/ffmpeg/build/gpl64 --enable-libmp3lame --enable-libx264 --enable-gpl --extra-libs='-lx264 -lpthread' --enable-runtime-cpudetect --extra-cflags=-I/home/peter/cc64/include --extra-ldflags=-L/home/peter/cc64/lib --pkg-config=pkg-config --disable-w32threads --enable-zlib
libavutil 52. 17.103 / 52. 17.103
libavcodec 54. 92.100 / 54. 92.100
libavformat 54. 63.102 / 54. 63.102
libavdevice 54. 3.103 / 54. 3.103
libavfilter 3. 41.100 / 3. 41.100
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
Input #0, matroska,webm, from 'F:\ServerFolders\Music\Animusic HD\01 - Pipe Dream.mkv':
Metadata:
creation_time : 2011-01-29 21:27:12
Duration: 00:03:23.57, start: 0.000000, bitrate: 37455 kb/s
Stream #0:0: Video: h264 (High), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 1k tbn, 59.94 tbc (default)
Stream #0:1: Audio: dts (DTS-HD MA), 48000 Hz, 5.1(side), fltp, 1536 kb/s (default)
At least one output file must be specified

<MEZZMO>: Child process ended with code: 109, ExitCode=1


---> DB Level Info: 41, 100
---> Frame rate: 29.97
---> Aspect ratio: 16:9 PAR=1:1

Any and all feedback or suggestions are more than welcome.

Thanks folks!

Doug

Paul
04-07-2014, 12:32 PM
Hi Doug,

Thanks for the detailed explanation. Mezzmo decides to transcode or not based on the device profile assigned to your device in the Media Devices dialog. Given you are streaming to MX Video Player and have the 'BubbleUPnP To MXPlayer" device profile, then Mezzmo is not transcoding this file and is streaming it directly to your Xoom. The video has a very high bitrate (37Mbps) and this will be the reason for the stuttering. Either your wireless network is not coping or MX Video Player is not coping (i.e. your Xoom tablet may not have the CPU performance). As a workaround, you can pre-transcode this file and then Mezzmo will use the Connection type setting and the Video bitrate setting to downgrade the video bitrate so it is not as high. To pre-transcode the video, right-click on it in Mezzmo and click 'Pre-transcode Files. See this FAQ for more details - http://forum.conceiva.com/showthread.php/6025-Tutorial-Pre-transcoding-Files.

Also, here's a helpful FAQ regarding possible causes for stuttering - http://forum.conceiva.com/showthread.php/6538-Tutorial-How-to-reduce-excessive-stuttering-or-buffering-when-streaming-videos

DouglasBaker
04-09-2014, 07:33 AM
Thank you so much Paul for your response. I suspect you may be correct that my Xoom simply can't handle it. Following your insight I went back in to the media player setup and found there was a setting for "Motorola Xoom" as a supported device. I have to admit that I hadn't bothered to look since I assumed that the BubbleUPnP/MX Player setting was the right one since it self selected.

I made the change to the profile and everything now runs perfectly - I still use MX Player, but I guess the moral of the story is to make sure you look through all the profiles and don't just assume the auto-selected one is correct even if it appears to be!

Thanks again Paul!

Doug

Paul
04-09-2014, 09:12 AM
Glad you are up and running now, Doug. Thanks for posting your solution.