Skip to content

No video output on Pi Zero #221

@Dschadu

Description

@Dschadu

Issue Report

Description

I got no video output on Pi Zero W. The video plays just fine with this command:
omxplayer /opt/vc/src/hello_pi/hello_video/test.h264
I've got a HDMI monitor connected to the Pi Zero. omxplayer works fine, but the wrapper does not produce any video output. I also tried with args=['--adev', 'hdmi'] without success. After I start the .py file, I can see that the CPU usages goes up for a few seconds and then back to idle.

Problem reproduction

I'm using the minimal example:

#!/usr/bin/env python3

from omxplayer.player import OMXPlayer
from pathlib import Path
from time import sleep

VIDEO_PATH = Path("/opt/vc/src/hello_pi/hello_video/test.h264")

player = OMXPlayer(VIDEO_PATH)

sleep(5)

player.quit()

Environment details

  • OS (lsb_release -a):
No LSB modules are available.
Distributor ID: Raspbian
Description:    Raspbian GNU/Linux 10 (buster)
Release:        10
Codename:       buster
Software Version
python-omxplayer-wrapper 0.3.3
python-dbus (dpkg -s python-dbus) 1.2.16
python (python --version) 2.7.16
omxplayer (omxplayer --version) f543a0d

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions