Skip to content

[0.12.1 armhf, rip zero 2w, Bullseye] Issues with video playback, error in ofGstUtils. #8493

@sebsongs

Description

@sebsongs

Hi,

Just FYI, I'm fairly new to openFrameworks.

I'm trying to get 720p and 1080p h.264 video files playing on a Raspberry Pi Zero 2W using openFrameworks and the ofVideoPlayer.

I'm running 2023-05-03-raspios-bullseye-armhf.img.xz and have followed all instructions for installing OF. I installed version 0.12.1 from git.

As of now I just have the basic empty app with the ofVideoPlayer playing and looping a single video file. My first test was with the Fingers.mov video that's available in the example project, and that played back fine. But playing back any other mp4 or mov file has not worked yet. Sound IS working though, it's just the video that is not streaming as it should.

I'm running the OF app in command line using the "startx ./app -- -s off" command. And I know the app is running properly as there is sound from the video.

Video file is an mp4 downloaded from YouTube in 720p resolution.
14,6 MB size
H.264
29.97 FPS
299,09 kbps
ITU-R BT.709
1-1-1

The error message I get is:
modeset(0): Initialising kms colour map for depth 24, 8 abc.
[ error ] ofGstUtils: gstHandleMessage(): embedded video player halted for plugin, module v4l2h264dec0 reported: No valid frames decoded before end of stream
[warning] ofGstUtils: didn't received EOS in 5s, closing pipeline anyway

I think that the problem probably has to do with Gstreamer or the codecs I'm using? I've found some threads suggesting to install FFmpeg, and make sure that all the codec scripts for OF have been run - and I have done all that. Video playback is still a no go.

If it helps, playing back the files with ffplay works perfectly fine.

I'd much appreciate some help here. :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions