Friday 6 March 2015

Best AdvancedSettings.xml for Kodi for Slow Internet Connection

I have been trying to play long youtube videos ( playback > 1 hr ) but it is failing consistently with error

ERROR: ffmpeg[A5B7E420]: [mov,mp4,m4a,3gp,3g2,mj2] error reading header

I am using Kodi on Raspberry Pi with OSMC distro.
Tried to load same video from Mac OS X 10.9 but Kodi video player failed to play with same FFMPEG error.

Please refer error log

http://pastebin.com/Skgz1LEK

More details on  
http://forum.kodi.tv/showthread.php?tid=219935

Debug log says
it failed to read header

3:00:10 T:2812802080 DEBUG: Thread JobWorker 2812802080 terminating (autodelete)
23:00:20 T:2751198240 ERROR: ffmpeg[A3FBF420]: [mov,mp4,m4a,3gp,3g2,mj2] error reading header
23:00:20 T:2751198240 ERROR: Open - Error, could not open file https://r3---sn-i5uif5t-2o9e.googlevideo ....75.185.58
23:00:20 T:2751198240 ERROR: OpenDemuxStream - Error creating demuxer
23:00:20 T:2751198240 NOTICE: CDVDPlayer::OnExit()

Please help in resolving this issue.

Thank you

Update:
This issue seems to be related low internet speed.
I did some tweaking in "advancedsettings.xml" and it started working for vidoes having playback greater than 1hr or but less than 2hrs.
Below settings helped me though it did not completely solve the issue.

<advancedsettings>
<network>
<buffermode>0</buffermode>
<cachemembuffersize>0</cachemembuffersize>
<readbufferfactor>20</readbufferfactor
<curlclienttimeout>500</curlclienttimeout>
<curllowspeedtime>1</curllowspeedtime>
</network>
</advancedsettings>





3 comments:

  1. This comment has been removed by a blog administrator.

    ReplyDelete
  2. Nice tip. Keep sharing such ideas! Make sure to check this Website

    ReplyDelete
  3. Entertaining information. I will check out the rest of your blog. I really like your blog. Thak you !! kodi download for mac

    ReplyDelete