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
0 answers

Freezing scripit Raspberry Pi4 GPIO omx player button triggered video

I used the script for triggered video by GPIO Rapsberry Pi4 buttons from github site Jesse Cake RPi Triggered video player https://github.com/JesseCake/RPi_Triggered_video_player Mr. Cake did great job about it and the script with GPIO works great…
0
votes
0 answers

omxplayer audio volume control (Raspberry Pi 4)

I want to control the volume of the omxplayer audio output. I know omxplayer accepts '+' and '-' to change the volume but they are not useful using a slider in a GUI so my idea was to control the general volume of the Raspberry Pi but when I change…
Massimo Manca
  • 385
  • 1
  • 2
  • 15
0
votes
1 answer

synchronize video output on HDMI 1 and HDMI 2 on a Raspberry Pi 4B

I am trying to play a video using omxplayer (but I could use a different player to solve the problem) on both HDMI outputs of a Raspberry PI 4 but without much success. Until now I tryed starting 2 processes or threads but the output is not…
Massimo Manca
  • 385
  • 1
  • 2
  • 15
0
votes
0 answers

exit fullscreen OMX Player

I started a omx instance based on this script. it works great, but I can't quit the player with q or alt f4 or ctrl-z.in desktop the keyboard commands always arrive on the desktop. especially if I start the script on the raspberry in CLI mode, I…
bluelemonade
  • 1,115
  • 1
  • 14
  • 26
0
votes
0 answers

Quickly dispatching between `fbi` and `omxplayer`

I have a script running on a RaspberryPi Zero, which is waiting for the press of a button to then display a video through HDMI: Script is waiting and displaying an the waiting image The button is pressed and a loading-video image is shown As soon…
Besi
  • 22,579
  • 24
  • 131
  • 223
0
votes
0 answers

MP4 file won't stream into omxplayer,any idea why?

I have an MP4 that plays just fine using omxplayer omxplayer F.mp4 If I use the -i flag, I get the following media information Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'F.mp4': Metadata: major_brand : isom minor_version : 512 …
0
votes
1 answer

Omxplayer-wrapper will not open

I am having trouble opening the omxplayer-wrapper on my Raspberry Pi 3B, and I dont know why. I am hoping someone with a little better Linux knowledge will be able to help me out. I have followed all the steps as described in the documentation, but…
0
votes
1 answer

omxplayer - Seamless looping of a directory

I'm trying to make a script/program that will seamlessly loop through all video files in a directory using omxplayer. So far my best solution was using ffmpeg to concat the videos of the directory and loop the output using omxplayer --loop output,…
0
votes
0 answers

Play MP3 file in python script to Raspberry Pi 4's connected bluetooth device

I need to play .mp3 file in a python script on a bluetooth device connected to my Raspberry Pi 4. I managed to play the file through headphones connected directly to my Pi's 3.5mm jack audio port using this command in command line: omxplayer -o…
Catalina
  • 21
  • 4
0
votes
1 answer

Callback function in the exact moment URL stream starts playing in Python

I'm currently working on a internet radio player in Python for a Raspberry Pi. The functioning is simple: on user input the program randomly chooses one URL radio stream from a predefined list and starts playing it through omxplayer as a…
0
votes
0 answers

Raspberry Pi Audio - Can not get 5.1 Surround Sound Audio to output to HDMI

I have an applications where I need to do the following on a Raspberry Pi (3, 4, and/or Zero) running the latest version of Raspberry Pi OS: Play an AC3 file with 5.1 audio over HDMI. Play an MP3 or WAV file to a specific speaker in the 5.1 audio…
0
votes
1 answer

Can OMXPlayer show SRT subtitles embedded in a mp4 file?

Is there a way to get OMXPlayer to show the embedded subtitles in foo.mp4 without first extracting the subtitles with ffmpeg to foo.srt, and without hardcoding the subtitles into foo.mp4?
Eddy Sorngard
  • 149
  • 1
  • 12
0
votes
1 answer

Pass : (Colon) into child_process SPAWN arg

I have a command omxplayer /home/pi/videos/9886a3n2545r7i505rzz.mp4 -o alsa:sysdefault It runs fine from the command line, but if I translate that command to a spawn command: let omxProcess = spawn('omxplayer',…
Jason Small
  • 1,064
  • 1
  • 13
  • 29
0
votes
1 answer

Node-Red send character to terminal - e.g. send space to pause/play OMXplayer

I am controlling OMXPlayer from Node-Red, starting it using the exec node - works fine. I would also like to do the equivalent of a keypress to control it - e.g. space to pause/play and "q" to quit. Sending a character to the exec node does not…
0
votes
0 answers

Raspberry Pi 3 omxplayer error- play video with push button

Hello im a newbie in python and try to play multiple videos on pushbuttons. (a designer that tries to make an installation with a raspberry 3 b). I have a "mainloop" that works with event detections and callback functions. That part works. In my…