Questions tagged [omxplayer]

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

3
votes
2answers
988 views

How to transcode an mkv video to mp4 using gstreamer and omg?

I have noticed that gstreamer1.0 on Raspbian comes with the omx plugins: pi@pi ~ $ gst-inspect-1.0 | grep omx omx: omxh264enc: OpenMAX H.264 Video Encoder omx: omxvc1dec: OpenMAX ...
2
votes
2answers
3k views

Reconnect of multiple RTSP streams on omxplayer and screen

I am setting up multiple rtsp streams on rpi2. The rpi will act like surveillance station. After some research I've managed to do that, here is my script below: #!/bin/bash screen -dmS camera1 sh -c '...
1
vote
1answer
43 views

Play a defined set of MP3's on defined days

am new to Python and have been struggling to create a workable script for a friends project - am hoping someone can point me in the right direction! The script is to control playback of mp3 files ...
1
vote
1answer
156 views

Screenly install process

I recently got a Raspberry Pi, and I would like to use it as an advertising media player. My research led me to Screenly but now I want to know if I have install the OS first and repeat the same copy ...
1
vote
1answer
420 views

Show multiple HD streams at once on raspberry pi?

We have a situation where we have a large number of incoming HD video streams which we would like to monitor in a way similar to this wall of monitors each showing 16 channels. This can probably be ...
0
votes
1answer
165 views

Omxplayer doesn't play videos when OpenGL enabled

Today I setup my new RPI3 B+ with raspbian stretch as a desktop (OpenGL enabled 128 mem split). I use RPIs for some time as servers but not as desktop. I tried to play video (with avc codec) with ...
0
votes
1answer
52 views

omxplayer wont run on raspian lite (Pi 2 Model B)

I am trying to build a display which loops 1 video for a museum using an old Pi 2. I am using Raspbian Lite (4.14.79-v7+), because I want to eventually set up the SD card to be read only as I know it ...
0
votes
1answer
143 views

slideshow (png+mp4) and faster boot

I have rpi zero w as my photo frame project. It is an raspberry pi zero w + spi display 320x480 (via framebuffer) and raspbian lite (no X11) I am using FBI to display images in slideshow manner, and ...
0
votes
1answer
145 views

omxplayer how to set video position to top right with out resizing it

I want to play the video of unknown dimensions on the top right corner of my LCD tv without scaling it. I wish --win -0 0 does that.
0
votes
1answer
3k views

Can't get OMXPlayer to display video

I am watching a tutorial on YouTube and literally following everything that he is doing.... I have recorded a video and now trying to play it using the omxplayer When i go to play my video using the ...
0
votes
1answer
817 views

How to I run OMXPlayer in windowed mode from Python?

When I run this program in Python 3 it is working but the video is in full-screen. from subprocess import run videoPath = "/home/pi/video_3.h264" omx = run(["omxplayer",videoPath]) As soon as I add ...
0
votes
1answer
320 views

omxplayer - running from command line is much longer than voice's length

On my Raspberry Pi 3 I got omxplayer which I am using to run mp3 file: omxplayer -o alsa /home/voice/7.mp3 With -i option I get this output: Input #0, mp3, from '/home/voice/7.mp3': Metadata: ...
0
votes
1answer
240 views

run basic file explorer with fix file in raspbian jessie lite the os without gui,

I would like to run a File explorer or a simple GUI without running the whole desktop gui. I want to use my Raspberry Pi as a simple dvd player, which run files by omxplayer command. video will be ...
0
votes
1answer
581 views

start omxplayer with matchbox window manager

I have a RPI 3 with Raspbian Jessie, set up to boot in cli mode, autologin with user pi. I have installed matchbox window manager because it's lighter than lxde and I use only chromium and omxplayer. ...
0
votes
1answer
1k views

Play different videos with omxplayer depending on reported sonar distance

I am a new to Python. What I want to do is that playing different videos depends on distance using Ultrasonic sensor. For example, if the distance <= 20, play movie1. if the distance > 20, play ...
0
votes
1answer
997 views

Repeat the playing of an mp4 file

Using omxplayer I want to repeat the playing of a 2 minute mp4 file for about 30 minutes. I could do this by using a for-While loop, but there is about a half second display of the terminal between ...
0
votes
1answer
155 views

Play video on BOOT, not logon

I have tried many tutorials but can't get this to work. I simply want to play a video when my Pi turns on. This is not when I LOG IN, or when the desktop starts, but a second or two after I plug in ...
0
votes
1answer
1k views

Omxplayer failing on Raspberry pi 3 with Jessie OS

On my Raspberry Pi 2 running Wheezy, I have a php if statement that if true echo exec('/usr/bin/X11/omxplayer -o local --win "0 0 1680 1080" /var/www/xxx/thisvideo.mp4 > /dev/null 2>/dev/null');...
-1
votes
1answer
251 views

OMXplayer won't start after some period of work

i use raspberry pi 2, with raspbian jessie and omxplayer build date "23.sept2016", ... for playing livestream that is not perfect. OMXplayer stops after while, but i use it in endless loop loop so it ...
2
votes
0answers
18 views

on omxplayer how to change left/right arrow to seek 10 seconds instead of 30 seconds?

Is there any way to modify the arrow keys to seek to different time-jumps? I'd rather have 10 seconds and 60 seconds jumps instead of the default 30 seconds and 600 seconds.
2
votes
0answers
593 views

ffmpeg slideshow on raspberry pi raspbian

I'm trying to make a slideshow video from few (in this case 3) .jpgs. To do this, I'm using ffmpeg -r 1/5 -i bat%03d.jpg -c:v libx264 -r 30 -pix_fmt yuv420p proba12.mp4 and actually it works on ...
2
votes
0answers
972 views

omxplayer ignores --fps option when playing h264 file

I made a video using the Raspberry Pi camera that came with a .h264 extension. I know that this file doesn't have the fps metadata associated with it. I found that playing it with omxplayer like this: ...
2
votes
0answers
236 views

“at” command doesn't allow usage of lxterminal and other bash commands

I am very new to the raspberry Pi and try to make like a "alarm Clock" with my Raspberry Pi Model 3 B. For setting the song which it should play for a given time I use the "at" command. The problem ...
2
votes
0answers
495 views

OMXplayer has no audio when run from shell script

When I run OMXplayer from a shell script ( called by PHP) the video output is ok, but no audio what so ever. If I run the OMXplayer from the commandline everything is ok. Both video and Audio are fine....
2
votes
0answers
2k views

Fixing comxaudio decode timeout

On omxplayer, if I play a file, it often works the first time, then if I press q and play it again, I get COMXAudio::Decode timeout This apparently has to do with insufficient memory being allocated ...
2
votes
0answers
359 views

OMXPlayer not exiting after playing mp3

I suddenly ran into this problem. My default OMXPlayer is not exiting ("hanging") after playing a .mp3 from the command line. The only way to exit is Ctrl Z, so I can't use any sort of loop function ...
2
votes
0answers
1k views

Internet TV streaming fails after 10 seconds with Omxplayer

I'm trying to see a internet television broadcast with my pi and omxplayer. The problem is that it loads the broadcast but after 10 seconds the broadcast will freeze. If I pause and then play again, ...
1
vote
0answers
35 views

Best way to sync OMXPlayer video with audio stream?

I am having issues getting OMXPlayer video played on a TV via HDMI to sync with audio streamed over the network. My thought was delay the video output by ~500 ms then use pavucontrol to fine tune the ...
1
vote
0answers
132 views

Display slideshow of Images and Videos over SSH

Device: 3 B Plus I am trying to create a slideshow of videos / images. The user can select which files he wants to put in the slideshow and this will be shown on a TV. (As an addition, I would also ...
1
vote
0answers
129 views

Omxplayer not playing nicely with PhatDAC

So I just installed a Phat DAC onto my Raspberry Pi3. While audio from Chromium is completely fine, the audio from omxplayer is messed up. When I try to play a video, the video plays much faster than ...
1
vote
0answers
249 views

How to make omxplayer not always on top?

I am using Adafruit's Video Looper to loop on a video using python script and omxplayer. Although, I made a few modifications. I want a popup window to appear when a GPIO button is pressed. I have ...
1
vote
0answers
226 views

Pixel and omxplayer - menu bar shines through

There is a weird thing with the latest Raspbian with Pixel (*): even when using -b to black out the background, playing back a video with omxplayer, I can see very faint the desktop manager's menu bar ...
1
vote
0answers
925 views

Python controlling OMXPlayer, DVI and HDMI causes issues in sub process

I hope anyone can help. I have built a Python script that uses a triggering action to start playing a video of a door opening. When triggered, it should start playing the video of a door opening, and ...
1
vote
0answers
6k views

OMXPlayer script exiting with “have a nice day”

I am trying to open up an rtsp stream on system boot. I have enabled auto login, which works well. I just cant get the script to work, even in isolation #!/bin/sh -x omxplayer -n -1 rtsp://<...
1
vote
0answers
314 views

Yocto based linux (jethro) and playing fullHD video

I'm trying to play fullHD video with Rasbperry Pi model B, which uses my basic Yocto based distribution. I have used layers meta, meta-yocto, meta-yocto-bsp and meta-raspberrypi (all from "jethro" ...
1
vote
0answers
2k views

How do I get OMXPlayer to run in the background on Raspbian Jessie?

With Wheezy, I successfully managed to follow a tutorial to run OMXPlayer during boot-up for a video splash screen. However, with the latest Jessie OS downloaded from the Raspberry Pi Foundation's ...
1
vote
0answers
269 views

Audio with very much noise except for OMXPlayer

I'm developing an arcade cabinet with my Raspberry Pi, but I'm running into some problems regarding sound. When I try to play an MP3 file with omxplayer (omxplayer -o local music.mp3), it sounds very ...
1
vote
0answers
1k views

Streaming from gstreamer to omxplayer

I am trying to set up a stream between two raspberry pi's. However my problem lies with omxplayer as I have to use it and when ever I try to look at a stream I just get "have a nice day" I have tried:...
1
vote
0answers
515 views

OMXplayer: scale strange rtsp stream

I'm trying to get omxplayer to play an h.264 encoded stream via rtsp from a crappy IPcam. No matter what resolution i set up on the cam, the resolution reported by various players is always 2048x1536. ...
1
vote
0answers
370 views

Controlling omxplayer with frontend-term

I use the omxplayer-console along with frontend-term. Together they offer a crude gui in a terminal window while I am SSHed into my Pi. This used to work well for me and offered a number of ...
0
votes
0answers
136 views

How to stream m3u8 link on raspberry pi?

I have raspberry pi 3 and tried to play m3u8 link using omxplayer directly but that didn't work. pi@raspberrypi:~ $ omxplayer 'http://somesitename/tv/m3u8.php?channel=Discovery_HD&quality=900' ...
0
votes
0answers
105 views

omxplayer - get a url and load in browser window

Bit of a beginner here, so would appreciate all the help I can get. Setting up an electron project and one of its features will allow me to watch live streams. In electron, I can load a URL into a ...
0
votes
0answers
24 views

Omxplayer how to stream video to external react frontend

So the videos are on the pi, we have a react frontend on my local machine connecting to the flask backend which is on the pi. I need a way to get the video from the pi displaying on the website ...
0
votes
0answers
1k views

Omxplayer don't show video output of rtsp stream

i'm trying to play fullHD rtsp stream from IP camera on PI3 (OS raspbian). I tested stream url rtsp://uss:pss@192.168.200.74 with vlc and mplayer booth show video correctly. When omxplayer opening ...
0
votes
0answers
255 views

IP camera OMXplayer

I got an rtsp stream working for an IP camera and was wondering how I make it so it WONT display the date and time at the top of the video and the name of the camera in the bottom right corner of the ...
0
votes
0answers
645 views

freezing screen (random) omxplayer

I have several pi's (PI3, latest stable Jessie). They're all used to (only) play short mp4 pmovies in a loop, using omxplayer. Omxplayer is starting up with a short script (in /home/pi/.config/...
0
votes
0answers
1k views

Help with video play from within python using python-omxplayer-wrapper

I am creating a visual front end for a computer project. I have previously written some test code and can successfully play videos, loop a video and stop one and start the other to get a transition ...