PDA

View Full Version : Jerky playback - Android App/Xbox 360



paulsalter
06-21-2014, 11:19 PM
Hi,
The best way I can describe this is that it looks like the FPS are wrong, when I see any panning in the video, every few seconds it jerks (have had this before and it was when I accidentally ripped my files as 24 fps instead of 25

This issue are far as I can see is affecting all my mp4 files when streamed to xbox using the android app (is it using the xbox video app for playback?), as all my files are ripped using the same settings

If I play them using the xbox system player everything is fine
If I play the files on my Samsung all is fine
even playing the files on my PC all is fine

but when sending from the Android app I get this jerkiness every few seconds on panning shots

this is the details of one of the files

ffmpeg version N-59793-g7a8318f Copyright (c) 2000-2014 the FFmpeg developers
built on Jan 16 2014 16:51:32 with gcc 4.8.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/cc32/include --extra-ldflags=-L/home/peter/cc64/lib --pkg-config=pkg-config --disable-w32threads --enable-libvpx --enable-libvorbis
libavutil 52. 62.100 / 52. 62.100
libavcodec 55. 48.101 / 55. 48.101
libavformat 55. 23.103 / 55. 23.103
libavdevice 55. 5.102 / 55. 5.102
libavfilter 4. 1.100 / 4. 1.100
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 17.104 / 0. 17.104
[mov,mp4,m4a,3gp,3g2,mj2 @ 000000000033e340] stream 0, timescale not set
[mov,mp4,m4a,3gp,3g2,mj2 @ 000000000033e340] Stream #2: not enough frames to estimate rate; consider increasing probesize
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'E:\Videos\TV\Benidorm\Season 5\Benidorm S05E01 - The New Manager.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
genre : Comedy
title : Benidorm S05E01 - The New Manager
encoder : Lavf54.6.100
date : 2012
Duration: 00:45:39.47, start: 0.000000, bitrate: 1125 kb/s
Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 720x406 [SAR 721:720 DAR 103:58], 992 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 127 kb/s (default)
Metadata:
handler_name : SoundHandler
Stream #0:2: Video: mjpeg, yuvj420p(pc), 300x433 [SAR 1:1 DAR 300:433], 90k tbr, 90k tbn, 90k tbc
At least one output file must be specified

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


---> DB Level Info: 30, 578
---> Frame rate: 25.00
---> Aspect ratio: 103:58 PAR=721:720
---> Duration: 00:45:39

from properties in file explorer it is

720x406
data rate 992
total bitrate 1120
25 frames /second

I do see a message in the ffmpeg results about not enough frames to estimate rate and then mentions probesize (not sure if this is relevant)

Thanks

Paul
06-22-2014, 07:12 PM
Mezzmo will be streaming this video directly to your Xbox 360 - either when you stream it via Mezzmo Android or directly using your Xbox 360's controller. From Mezzmo Android, it is telling your Xbox 360 that it should start playing the video that your selected in Mezzmo Android. After that, it is up to Xbox 360's firmware to play the file.

Do you get a different result when you play it directly from your Xbox 360 (streaming from Mezzmo server) - i.e. does it play OK? If yes, then we'd like to see a set of logs when you are streaming it directly and a set of logs when you stream it via Mezzmo Android. Capture a set of logs in both cases and email them to us at support [at] conceiva [dot] com.

paulsalter
06-22-2014, 08:02 PM
Thanks, I will get some logs for you

It is a different result if I stream directly

Directly I am using the legacy video player (called system video player)
When I stream from Androoid app it looks like it is opening the xbox video app for streaming (this one does not work directly on the xbox, only works for xbox purchased/rented videos)

paulsalter
06-22-2014, 08:40 PM
Just to clarify how I am doing it (going out this afternoon so will be tomorrow I can get logs, Tuesday for you)

Direct on Xbox 360
Press the xbox menu on centre of controller
go across one tab and select the System Video Player
this lists all local media and dlna sources
select Mezzmo and find file to play
** Press A while playing and look at the playback controls/progress indicator at the top

With Android app select the video and send it to the xbox
** Press A while playing as above, look at controls (this is using a different app for playback)

It could be an issue with this app on the 360, but when playing the original way directly on the xbox the only one I have available is the first above, I don't know what app the Android app is getting the xbox to use (looks like xbox video app but that is a guess, if I open this app it only plays xbxox purchased/rented content, but looks like the one mezzmo is using)

Paul
06-23-2014, 09:04 AM
Thanks for the excellent explanation. We'll try to reproduce this here with our Xbox 360 and also analyse your logs. We'll respond back via email.

paulsalter
06-23-2014, 07:06 PM
Log files have been sent

1 minute playback via Android app which had jerky playback followed by 1 min playback direct on xbox which was perfect playback

Hope the logs show a difference between the 2 playbacks

Cheers

Paul
06-23-2014, 10:10 PM
Thanks, Paul. We'll analyse the logs and report back via email.