11

We just received six Raspberry Pi boards with 512mb ram and plan to use them for HDMI playback.

Initial tests were working great with omxplayer, but we are experiencing extreme stuttering issues for every h264 file that has a bitrate over 3mbits.

After digging through the web, I found that several people play 11mbit files or higher without any issues. I am wondering if overclocking of the Raspberry Pi is really needed to get smooth playback or if there are any recommended encoding settings for files to play on the rasp?

Our current setting:

  • gpu split of 256/256
  • latest raspbian from http://www.raspbian.org/RaspbianImages and upgraded with apt-get dist-upgrade
  • tried with sandisk extreme pro 32GB 95mb/s cards and with standard class 10 SD cards
  • omxplayer from http://omxplayer.sconde.net/ Build date: 23/10/2012 01:40 CEST
  • omxplayer started from the console with audio passthrough; also tried with videoclips that have no audio track at all

Here is one of the videos we are trying to play.

Also, we tried with various smaller bitrates. Except for h.264 encoded in vbr with 3mbits all the videos stutter.

example videos that we want to play are on vimeo and on youtube:

6
  • What distro are you using?
    – Jivings
    Commented Nov 3, 2012 at 11:05
  • i am using raspbian.
    – parasew
    Commented Nov 3, 2012 at 11:16
  • Interesting problem. Do you have the newest firmware, and newest release of OMXPlayer? Would it be possible for you to try a different distro, or a different SD card?
    – Jivings
    Commented Nov 3, 2012 at 12:32
  • i tried different sd cards. will try a different distro tomorrow.
    – parasew
    Commented Nov 4, 2012 at 11:51
  • 2
    Looks like you fixed your problem on another forum. Could you post the fps,bitrate,codec,filetype information for others?
    – ow3n
    Commented Jan 1, 2013 at 23:31

1 Answer 1

4

The settings I use with ffmpeg to transcode video for playback using Xbmc on my Pi are this:

 -vcodec libx264 -profile:v high -preset fast -crf 18 -b-pyramid none 
    -acodec ac3 -ab 1536k -scodec copy

This plays back just fine at full HD.

The one other thing you do need to check is the vsync setting. You want to turn this off and see what affect it has. vsync on is very unforgiving if you have frames that take about a full frame to decode. Where this setting can be found depends on the graphical environment you're using to run omx player.

Using a class 10 SD card is also a must, but I see you have that covered already.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.