Questions tagged [omxplayer]

Omxplayer is a video player specifically made for the Raspberry Pi's GPU.

Omxplayer is a command-line media player made by Edgar Hucek from the XBMC project. It has built in support for streaming RTMP and RTSP.

GitHub Project

103 questions
0
votes
1 answer

omxplayer freezes with videos generated with FFMPEG

Omxplayer won't play any videos generated with FFmpeg on a Raspberry Pi I found this thread showing that it is necessary to include '-profile baseline -level 3.0' parameters: https://github.com/popcornmix/omxplayer/issues/577 The full command…
Chocksmith
  • 1,188
  • 2
  • 12
  • 40
0
votes
0 answers

Save omxplayer "-s" output as string

i'm working with omxplayer in Python. Is there a way to filter the elapsed time shown by executing omxplayer with the '-s' parameter and save it as a string? I'm avoiding using omxplayer-wrapper because this string i'm trying to get will actually…
0
votes
1 answer

create mp4 slide show on raspbian

I have RPi running raspbian. I want a solution to convert a folder of image files to an mp4 slide show video that can be played with omxplayer. I did it with ffmpeg and following command: ffmpeg -y -framerate .1 -pattern_type glob -i '*.jpg' -c:v…
Ramin
  • 1
  • 3
0
votes
1 answer

Playing a MP3 from a Python process's memory via omxplayer, without writing to disk

The following code receives an MP3, writes it to disk and plays it using OMXPlayer. I want to eliminate the need to write the MP3 to disk before playing it. song = response.content file = open("temp.mp3",…
mmclean
  • 111
  • 1
  • 9
0
votes
1 answer

playing sound in Python with the ability to cut it off mid-play

I am writing a bit of python code that plays a sound file (MP3 or the equivalent) and should cut that sound off if the user strikes a (hardware) button that is wired into the system. This will be on a Raspberry Pi running Raspbian. The libraries…
Michael Stern
  • 479
  • 3
  • 13
0
votes
1 answer

youtube-dl mp4 or mkv and 720p or less

I'm using a video player that can't play webm video files. (omxplayer on raspberry pi). And i'm trying to have all of my downloaded videos not be webm. mp4 or mkv work. This is what I have in my config, but it still downloads it as webm. What…
user2570937
  • 802
  • 3
  • 17
  • 34
0
votes
0 answers

Open web video with nodejs

Hi i'm trying to build a nodejs app on my raspberry pi model 4 that after receiving an input (nfc tag) open a url that contain a video. Es 'http://www.example.com/webapi/content?rfid=05:66:77:66:93:67'. The problem is that when i try to open my link…
0
votes
0 answers

How to start and stop a process using multiprocessing?

I'm trying to code a simple script that will help me to start and stop video playback on multiple Raspberry Pi using mqtt. This is the first time I'm trying to start and stop subprocess from a python script and I'm having trouble understanding the…
dezmob
  • 3
  • 2
0
votes
1 answer

Using OMXIV, OMXPLAYER and writing to framebuffer in the same program

In my program I am writing menus direct to the framebuffer on a Raspberry Pi. This program can play videos with omxplayer and call another program to display jpeg-pictures with omxiv. If omxplayer runs before omxiv, the menus becomes invisible…
Eddy Sorngard
  • 149
  • 1
  • 12
0
votes
1 answer

How to put omxPlayer on top of Kivy application in raspbian lite?

I need to run a omxplayer into a kivy application. The problem is that when I start the omxplayer its appearance behind the kivy app, so it is not visible. I tried using: Window.clearcolor = (0,0,0,0) but it doesn't work. I think that is because I'm…
0
votes
0 answers

omxplayer plays when the program is terminated

I'm pretty new with Python and Raspberry Pi so please excuse if the issue is naive. I'm writing a program where the it plays a video when triggered by a PIR sensor. The trigger sensed is visible but the video plays when I terminate/stop the program…
0
votes
1 answer

Make tkinter GUI window on top over omxplayer HDMI video screen

I have a project of IOT where i am using python-3.6 on raspberry pi zero and tkinter for GUI. Pi is always playing video on a TV with direct HDMI (omxplayer). Problem: I need to open a tkinter GUI window to connect wifi but GUI display index is…
Ajit Maurya
  • 56
  • 1
  • 9
0
votes
1 answer

how to set interval-intraframes with omxh264enc element in gstreamer on raspberry pi

I am using the omxh264enc to encode USB camera source on raspberry pi and stream the video, I would like to control the keyframe interval, but could not figure out how to, I currently using the following bash script : gst-launch-1.0 v4l2src !…
0
votes
0 answers

How can I know if the omxplayer is playing or not?

new to programming, I would like to know if there is any way to know if a video is running or not with omxplayer, preferably by returning a boolean, in recent Raspian versions. If there isn't, how can I get something that does? The command I'm…
R.Matinha
  • 1
  • 1
0
votes
1 answer

How to play a shuffled list of videos in omxplayer

To start: I'm a novice with Python and bash - I did some bashscripting many years ago, and I've only ever dabbled in Python. And I think I'm slightly out of my depth. What I have 91 mp4 video files (more on them anon) A Raspberry Pi 3 B, running…
KBKarma
  • 132
  • 1
  • 10