Hi all,
I know there is a similar thread out there, but not exactly the same - so I hope posting "again" is OK.
I have a problem with ofxOmxPlayer playing different videos on key press (we use the pi as a media player in a museum). Now each time I re-start a video it stutters for some seconds before running well. Looping is not a problem, it only occurs (each time) when opening the video, no matter what code, size, audio...
omxPlayer from shell plays without stuttering.
May well be I have a bad approach: I start the video with omxPlay.setup(settings), defining the path in the preceding line (I figured it will be bad to have one omxPlayer object for each video as I have many videos in some projects. Is this correct?).
Crazy thing is that same code worked without stuttering as I developed it some months ago (onPi B+, using OF 0.8.4 and ofxOmxPlayer from back then). I now use Pi2. The problem may be related to Pi2 or newer version of ofxOmxPlayer (although I tried multiple versions of the latter)?
Thanks for any hint or shared experience.
Have a great day
oe