Page 1 of 1
iPhone 4 videos stutter

Posted:
Wed Oct 27, 2010 8:29 pm
by mattbrowne
Hi,
I've just stumbled across serviio and it looks great so far, its the best working DLNA server that I've found to work with my Sony BDP-S370 (and I've tried a few!).
My question is why do videos that I've shot on my iPhone 4 really stutter on play back on my blue ray player?
I'm new to this world of video formats and from what I can figure out the server isn't transcoding as the video kind of plays with it on or off.
I've downloaded a hd divx trailer and this streams perfectly so I don't think this is down to the server resources (also the CPU usage is low).
Does anyone have any ideas as it would help me out greatly!
Thanks
Matt
Re: iPhone 4 videos stutter

Posted:
Thu Oct 28, 2010 7:21 am
by Illico
mattbrowne wrote:...
I've just stumbled across serviio and it looks great so far, its the best working DLNA server that I've found to work with my Sony BDP-S370 (and I've tried a few!).
My question is why do videos that I've shot on my iPhone 4 really stutter on play back on my blue ray player?
...
What is your video format? Could you please make a "ffpmeg -i" of it.
See
thisPS: my BDP-S373 works well to

Re: iPhone 4 videos stutter

Posted:
Thu Oct 28, 2010 7:30 am
by mattbrowne
Hi,
Thanks for the reply, here's the output:
ffmpeg -i IMG_0117.MOV
FFmpeg version SVN-r0.5.1-4:0.5.1-1ubuntu1, Copyright (c) 2000-2009 Fabrice Bellard, et al.
configuration: --extra-version=4:0.5.1-1ubuntu1 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --disable-stripping --disable-vhook --enable-runtime-cpudetect --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --enable-shared --disable-static
libavutil 49.15. 0 / 49.15. 0
libavcodec 52.20. 1 / 52.20. 1
libavformat 52.31. 0 / 52.31. 0
libavdevice 52. 1. 0 / 52. 1. 0
libavfilter 0. 4. 0 / 0. 4. 0
libswscale 0. 7. 1 / 0. 7. 1
libpostproc 51. 2. 0 / 51. 2. 0
built on Mar 4 2010 12:35:30, gcc: 4.4.3
Seems stream 0 codec frame rate differs from container frame rate: 1200.00 (1200/1) -> 24.00 (24/1)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'IMG_0117.MOV':
Duration: 00:02:28.07, start: 0.000000, bitrate: 10485 kb/s
Stream #0.0(und): Video: h264, yuv420p, 1280x720, 24 tbr, 600 tbn, 1200 tbc
Stream #0.1(und): Audio: aac, 44100 Hz, mono, s16
At least one output file must be specified
Re: iPhone 4 videos stutter

Posted:
Thu Oct 28, 2010 7:55 am
by Illico
Which version of ffmpeg did you used?
I'm not a linux user, but I think you may try to compile source code of ffmpeg given in this
link"This release includes FFmpeg (rev. 23013, incl. a patch)"
Re: iPhone 4 videos stutter

Posted:
Thu Oct 28, 2010 9:41 pm
by mattbrowne
HI,
I'm using this version:
FFmpeg version SVN-r0.5.1-4:0.5.1-1ubuntu1
I'm not sure how to compile the version on this site, are there any instructions anywhere?
Thanks
Matt
Re: iPhone 4 videos stutter

Posted:
Thu Oct 28, 2010 9:50 pm
by zip
in the readme.txt distributed with the sw
Re: iPhone 4 videos stutter

Posted:
Thu Oct 28, 2010 10:07 pm
by mattbrowne
ta - really should have looked inside

Re: iPhone 4 videos stutter

Posted:
Thu Oct 28, 2010 10:10 pm
by zip
anyway, FFmpeg will not be the cause of the stuttering in your case, as the video is not transcoded. It might be that the player doesn't like the encoding... I guess the bitrate is no too much for the network to cope
Re: iPhone 4 videos stutter

Posted:
Thu Oct 28, 2010 10:15 pm
by mattbrowne
cool - didn't relish having to compile it!
The network shouldn't be a problem as the server and player are wired into the same router.
Is it worth transcoding it into something else?
Re: iPhone 4 videos stutter

Posted:
Thu Oct 28, 2010 10:19 pm
by zip
maybe..
looking at the ffmpeg output again, it's a HD video, 10MBit/sec ... are you sure the player can play this king of bitrate? It should be ok, just checking.
Re: iPhone 4 videos stutter

Posted:
Thu Oct 28, 2010 10:24 pm
by mattbrowne
not sure what it can handle, I'm trying to find out.
I managed to place a HD divx trailer (ffmpeg doesn't show a bit rate) without issues.
Re: iPhone 4 videos stutter

Posted:
Sat Oct 30, 2010 2:00 pm
by patters
You can see the bitrate displayed on the TV when you play a clip if you press the i+ button on the remote. It ought to be ok with 10Mbps because I have a test clip in 720p@60fps that hits around 15Mbps with no stutter.
Actually, I just remembered that although MOV files (very similar to MP4) are recognised by the player I found that they stuttered unless transcoded to M2TS. This has the added advantage of supporting FFWD/REW which is not permitted by the player for MP4.
viewtopic.php?f=5&t=326&start=100#p3664My most up to date BDP-S370 profiles:-
Euroviewtopic.php?f=5&t=326&p=3684#p3684US (incorporating lostinserviio's mod)
viewtopic.php?f=5&t=664#p3682Canada (no one has confirmed it yet)
viewtopic.php?f=5&t=727
Re: iPhone 4 videos stutter

Posted:
Sat Oct 30, 2010 2:13 pm
by mattbrowne
Thanks, I did that and its around 10mbps (I forget exactly) but in the top right there is another bit rate and this is about 70kbps which doesn't seem a lot...
Re: iPhone 4 videos stutter

Posted:
Sat Oct 30, 2010 2:20 pm
by patters
I edited my post above - are you playing the mov natively, or is it transcoding to m2ts? And what happens if you try to play it from the USB port directly?
Re: iPhone 4 videos stutter

Posted:
Sat Oct 30, 2010 4:50 pm
by mattbrowne
Sorry, just saw the edit. Tried it and it fixed it! Genius, many thanks!

Re: iPhone 4 videos stutter

Posted:
Sat Oct 30, 2010 7:49 pm
by patters
Cool. If I recall, MOV playback was dodgy from USB too so I think it's an issue with the player rather than Serviio.