I’ve been using Raspbmc for about two years, and I ordered a Model 2 B as soon as I heard about them. I was hoping more RAM and processor power would lead to better video performance. I unboxed it Wednesday night and got into the setup process. Switched to Confluence skin right away because the OSMC skin was slowing me down.
I decided to start using the 2 B with an episode of a television series that I had been watching on the Model B (with Raspbmc) earlier. It did not play, hung up with the timer at 8 seconds in. Tried something else on the NAS drive, and it played properly. Tried a third series, that didn’t play either. Okay, what about that 1080p movie that the B wouldn’t play? The 2 B played that properly.
Then I installed OSMC on a card for the B. Went back to that first episode, and it played straight away. Then I checked the other things that the 2 B would not play, and the B is fine with all of them. I’m rather surprised, and confused.
Had some problems with some 1080p files not playing on my raspberry 2. Sometimes they would play after a reboot, sometimes not. Checked the logfiles and they among other things said it was out of memory when running the 1080p files. Then I set “gpu_mem=320” in config.txt and so far 2 days in all files have played without problems.
So not in overclocking settings, but I have made my way to the config.txt and tried that edit. I’ve rebooted, and I’ll see how it goes.
No change. Still not playing my test file. Here’s the edits I made to config.txt, do I need to just get rid of the gpu_mem_256 and 512 lines and replace both of them with gpu_mem=320?
Run MediaInfo and use it to ‘Open’ the file you want to inspect.
Switch view from MediaInfo menu, select ‘View’ then from the drop down list select ‘Text’.
You can select the text in MediaInfo and then copy and paste then your posting. Remember to use the ‘Code’ option and paste the text into the code box on your posting so that it’s more readable.[/code]
It’s not just one file. There are many files that won’t play on the Model 2 B that will play on the Model B. I don’t know how to find or access the log files as yet.
No, I have never purchased any codecs. Never felt that I needed them, seeing how as the Model B could play most of what I threw at it. I’m trying to play mostly 720p mp4 and mkv files.
This is why I asked for mediainfo. mkv is a container that may contain any number of codecs. Mediainfo output will enlighten us on what codec is contained within. If they are in fact mpeg2/vc1 then yes, they may have played before, but they were likely being played by DVDPlayer and decoded in software. Hardware decode using OMXPlayer is going to be much more efficient and preferred but can only be achieved by use of the codecs.
Codec Details from VLC Player for OS X:
Stream 0
Type Video
Codec H264-MPEG4AVC (Part 10) (avc1)
Resolution 1280x720
Frame Rate 23.976216
Decoded Format Planar 4:2:0 YUV
Stream 1
Type audio
Codec A52 Audio (aka AC3) (a52)
Channels 3F2R/LFE
Sample Rate 48000 Hz
Bit Rate 448 kbs
Use of the mediainfo program as I asked would have provided much more relevant information. What you’ve provided does indicate that the codec isn’t necessary but, bitrate and other info would still be useful here. We also have no clue as to what kind of network connection you are using to connect the pi to your LAN. Again, useful info…
And again, as @SimonO indicated, providing a complete, debug enabled kodi log demonstrating the attempt to play a problematic file is how Kodi communicates to us what problem it’s having.
Okay, how about this, then? I’m still working my way through the kodi wiki to figure out the debug log stuff. Network connection is gigabit ethernet. http://xbmclogs.com/show.php?id=427031
Format : Matroska
Format version : Version 2
File size : 559 MiB
Duration : 20mn 19s
Overall bit rate : 3 843 Kbps
Encoded date : UTC 2010-11-16 00:43:03
Writing application : mkvmerge v2.9.8 (‘C’est le bon’) built on Aug 13 2009 12:49:06
Writing library : libebml v0.7.7 + libmatroska v0.8.1
Cool. Video’s playing, but audio’s out of whack, so I’ve got to go review those settings. I keep forgetting what my receiver can handle. Okay, no AC3 support, that’s sorted out now.