Posts: 17,855
Joined: Jan 2011
Reputation:
1,055
Milhouse
Retired Team-Kodi Member
Posts: 17,855
a) Please use [code] tags when posting, or post long logs to pastebin...
b) Your CPU is maxed out 100%, at what point did you stop/start playing the video? Your Pi seems to be transmitting more data than it receives, which is odd (or a bug in the script).
c) Not sure if the MPG2 codec will help with this particular video codec or not - are you able to upload a sample somewhere?
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
Posts: 19,982
Joined: May 2009
Reputation:
451
nickr
Retired Team-Kodi Member
Posts: 19,982
In short, I don't think a RPi has the ability to play the files generated by whatever is generating your files.
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Posts: 37
Joined: May 2013
Reputation:
0
This video file was generated by a Sony-Ercison smartphone. I will try with other videos generated by my Kodak.
On the other hand, the test was made by connecting the Pi through DEVOLO (which seems to perform well) and not through WLAN.
Posts: 37
Joined: May 2013
Reputation:
0
I have checked: Pi can play without problems both AVC profile level4.0 and 4.2 from a USB stick, and with buffering over WLAN or DEVOLO.
Therefore, the suggestion of nickr was proven to be false.
Remarkably, whereas the DEVOLO connection is much better, the buffering problem is still identical!
Posts: 37
Joined: May 2013
Reputation:
0
2013-06-03, 15:35
(This post was last modified: 2013-06-03, 15:37 by Banyailaci.)
I run the pi from the Ubuntu laptop, not from Win7. I tried to run again your command (after deleting the former bcmstat.sh file), thinking to add to it "| tee file". But it did not work, neither with this addition nor without.
I got the messages:
chmod: cannot acces '+x' . No such file ...
chmod : cannot acces '.bcmstat.sh/bcmstat.sh' No such file ...
and that was all.
Indeed I gave formerly '^c' to the end.
By the way, it is correct first to start your command and after the video, or opposite!?
The '| tee file' command I have tested before on a simple example.
On the other hand, perhaps You already saw, the suggestion that the AVC profile of the video is guilty, was false.
Posts: 17,855
Joined: Jan 2011
Reputation:
1,055
Milhouse
Retired Team-Kodi Member
Posts: 17,855
You only need to download and run the chmod command once. After that, use "./bcmstat.sh -x" to run the script each time.
To simultaneously view and capture the output of the script, use "./bcmstat.sh -x | tee capture.log" which will write the output to capture.log but I'd rather you didn't do this as it will just add to your already high IO overhead - it's easy enough to copy the terminal output to the system clipboard and pastebin it.
Also, run "top" to find out what is using all the CPU on your Pi, as this might explain why you have such heavy IO.
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
Posts: 37
Joined: May 2013
Reputation:
0
Thanks! You are loosing much time with my small problem.
I will tray all that, however probably not so soon since I will be very busy today and tomorrow.
By the way, in the meantime I installed putty on my Win7. It starts easily an ssh session on Pi, but strangely enough it refuses to connect to the Ubuntu laptop!? (ping recognizes it!)
Posts: 17,855
Joined: Jan 2011
Reputation:
1,055
Milhouse
Retired Team-Kodi Member
Posts: 17,855
Check you have enabled/started the ssh server on the Ubuntu laptop.
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
Posts: 37
Joined: May 2013
Reputation:
0
I was doing all the time ssh to pi (and back) from the laptop.
I have to check the firewall settings (taken over by Norton 360) on the PC.
Posts: 32
Joined: May 2012
Reputation:
0
I had a similar issue streaming from a W7 machine on a wired network, tried everything I could think of, ended up being an issue with the W7 machine's network card driver (Mine was a Realtek NIC). Updating it solved my particular issue. Worth a look?