Video is stuttering

I just installed rasplex on my pi but I'm having some issues with some files.

I played a .mp4 without any issues what so ever but when I tried to watch a .mkv I only got stutter. I mostly have high quality files on my computer so if rasplex can't play them I'll be very sad :(

 

It was a clean install and it's version 0.9.9.7 I think. I downloaded the latest install today on rasplex.com

I just installed rasplex on my pi but I'm having some issues with some files.
I played a .mp4 without any issues what so ever but when I tried to watch a .mkv I only got stutter. I mostly have high quality files on my computer so if rasplex can't play them I'll be very sad :(


RasPlex should be able to handle high quality video too, though it might have problems with 'extreme' quality.
I'm not sure how high bitrates I've used, but I did play a video yesterday with over 12000 kbps.
This may however require some overclocking, such as I use (more on that below).
 

It was a clean install and it's version 0.9.9.7 I think.

That's not the RasPlex version. The only current RasPlex versions with "9.9" in their version numbers are the experimental betas with numbers like "9.9.18" which is the latest one of them, released 5 days ago and based on PHT v1.0.8, released for PCs the same day.

Your kernel log states the kernel version as 0.3.1, and your PlexHT log states the PHT version as 0.9.9.7, which was released for PCs appx one year ago.
 

I downloaded the latest install today on rasplex.com

The latest 'stable' release is still 0.3.1. This is not quite as old (October 2013), but at the time of its release the newer PHT versions were rather unstable betas, so for the stable v0.3.1 of RasPlex they chose to go with a known stable release of PHT.

I suggest that you download the experimental version 9.9.18, and if most of your videos have a high bitrate you probably need some overclocking.

I use that version myself with the following overclock values in the config.txt file:

arm_freq=950
core_freq=450
sdram_freq=450
over_voltage=4

Note that you need a 'Class 10' SDcard to safely use overclocking (slow cards are corrupted by high write speeds).
Note also that you need to place these settings AFTER any corresponding settings in the original config.txt, so that your settings override the others.

You may notice that one of the examples in the original file specifies a higher over_voltage value for these frequencies, but using such will increase the risk, and the value I use works fine for me. (Another guy uses an even lower value, but that fails to work with my RPi.)

In order to add the settings to your RasPlex setup, simply perform the install as normal, and then use your PC to edit the config.txt file in the small FAT32 partition of the SDcard. That file will at each boot of RasPlex be copied into the proper location of the Ext4 partition of the card. So you can modify these values in the file on the FAT32 partition on future occasions too, and have RasPlex adopt them in its next boot. This is also how you can add CODEC license codes to the config.txt file, to ensure maximum CODEC support (assuming you bought those licenses from the RPi site).

Another way to speed things up is to use a USB3 flash storage stick in addition to the SDcard, such that only the initial boot is done from the card, which then switches over to boot the system and PHT from the USB3 stick. To do this you simply perform the same basic install for both the SDcard and the USB3 stick, and then you edit the "cmdline.txt" file in the FAT32 partitions so that it contains: "boot=/dev/sda1 disk=/dev/sda2 ssh quiet oprofile.timer=1" (but without the quotes of course).

But this USB-based method will only work well if you use no other USB devices with intense traffic (such as WiFi adapters).

A keyboard or keyboard RF receiver in the other USB port will work fine though (I use the latter myself).

Best regards: dlanor

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.