2014-07-28, 15:07
(2014-07-28, 07:48)delinend Wrote:(2014-07-27, 21:14)delinend Wrote:(2014-07-27, 20:01)Milhouse Wrote: Is this a 256MB or 512MB Pi? The default <cachemembuffersize> is now 2MB on 256MB Pis, and 20MB on 512MB Pis.
Is the FTP-buffering behaviour the same with omxplayer and dvdplayer?
Can you go back through older builds until you find a version which doesn't buffer over FTP? Do you get the same behaviour with stock builds?
It's a 512MB Pi running 1GHz.
I only use omplayer, as it only runs for all my contet.
I'll try older versions tomorow, but it's a new thing, that I was trying to play Blu-ray via FTP. Have not tryed it before. Only used FTP to playback SD, until yet.
But it look strange that the FTP protocol use 50% more CPU than the SMB.
I have allso tryed to test my FTP server localy, at I can pull 10 times more bandwith from it, than the Pi playback via FTP use. So it's not my FTP server that have a problem.
I have allso tryed to set cachemembuffering to 50MB, but no luck. Still 98-100% CPU load on Blu-ray playback.
I have just tryed Gotham (openELEC 4.0.7) and last build #0727, and both have the same issue when using the FTP protocol connector.
When I Playback Blu-ray via FTP the CPU load is 98-100% and the video stop/start each 50-60 sec.
When i Playback Blu-ray via SMB the CPU load is 50-70% and playback works fine.
It's the same CPU load with dvdplayer and omxplayer. But I see, that dvdplayer use much more memory, when I playback.
It look like there is some issue whith the FTP protocol, that takes too much CPU time.
Here my Overclock:
arm_freq=1000
core_freq=500
sdram_freq=500
over_voltage=6
Here my advancedsettings.xml :
<advancedsettings>
<video>
<defaultplayer>omxplayer</defaultplayer>
<defaultdvdplayer>omxplayer</defaultdvdplayer>
</video>
<ftp>
<remotethumbs>true</remotethumbs>
</ftp>
</advancedsettings>
Best regards
I have just tryed tested to playback a SD video via FTP vs SMB:
When I playback a SD movie via FTP protocol, the CPU load is 60-70%
When I playback a SD movie via SMB protocol, the CPU load is 30-50%
I test via the same SD video in both cases.. and the playback do not start/stop via FTP. Only if I playback a Blu-ray via FTP, then the CPU goes to 100% load.
Hmm.. The FTP protocol is normaly a more simple protocol, than the SMB. So I can't see why it takes more CPU time, to use FTP
Maybe I have overlooked some settings ?!?
Best regards