6

All hardware accelerated players go directly to the video hardware (overlay). You can only view them on a monitor connected directly to the Pi.


6

From a terminal: pid=$(pidof omxplayer) kill $pid If it still doesn't stop, kill -9 $pid. You can also use killall omxplayer and killall -s 9 omxplayer, which should stop all running instances (if there can be more than one).


5

You can use screen It allows you to run commands in virtual terminal and then deattach from it and use terminal normally. To install it use these commands: sudo apt-get update sudo apt-get install screen and then to start new session use screen -S qwerty you can use any command there and then press ctrl-a and d to deattach from session. If you want to ...


5

Or for simplicity replace "format_id" with "best" (best: Select best quality format represented by single file with video and audio): omxplayer `youtube-dl -g -f best <youtube-url>` # play the video https://github.com/rg3/youtube-dl/blob/master/README.md#format-selection


3

I increased gpu_mem from 160/192 (as I found earlier in internet) to 256mb, now it works fine.


3

You can fetch omxplayer build from this link http://omxplayer.sconde.net especially on debian based minimal distro and install it. On other flavors, you can get source from http://github.com/huceke/omxplayer and compile it by yourself. ======================================================================== Update: I burned the latest minibian image to a ...


3

On my 1024x768 setup it looks like this : "--win \"784 588 1024 748\" a b c d a) how far to the right is the top-left corner of the window (1024-240) b) how far down is the top-left corner of the window (768-180) c) where the window should end (width) d) where the window should end (height) My window is 20px above the edge of the screen ...


3

Kodi does a good job with most formats. You can install it using: sudo apt-get update sudo apt-get install kodi It has both hardware decoding and subtitle support.


3

You can pass the --no-osd flag. This tells omxplayer not to display status information on the screen. You can find info like this using the man command: man omxplayer This displays the man (manual) page. You can read more about the man command on our blog. You can also use the old standby and redirect the standout to /dev/null using the following ...


3

I don't think it would work. You still can develop on your i386 desktop and compile/deploy remotely via SSH. That would be the easiest way I can think of. If you really want it, you can setup a cross-compiling environment. But you'd get much overhead in the beginning. I personally use a set of Makefiles that copy the changes to my Raspberry Pi via rsync (...


3

The problem libx264 supports multiple "pixel formats", so ffmpeg will automatically attempt to use whatever most closely matches the input. However, some players can't decode anything other than yuv(j)420p. The solution Add -vf format=yuv420p (or the alias -pix_fmt yuv420p) output options to your encoding command. See Encoding for Dumb Players in the ...


3

Ok so there is virtually no info about how to successfully pair xscreensaver and omxplayer, so I took it as a challenge and came up with a workaround, that actually works. :D What needs to be done: Set xscreensaver to blank and set the "Blank After" to time you want the screensaver to kick in... http://i.imgur.com/ZCrVO78.png Create a small script and ...


3

Would a shell script be OK? for song in /path/to/*.mp3 do omxplayer "$song" done This will play all MP3 files in a directory. You can replace /path/to/*.mp3 with a list of individual files if you want to be more specific.


3

You have two choices in this kind of situation. You can try and build from source, which is sometimes wonderfully easy and sometimes plagued with problems; I don't recall doing it with omxplayer so can't say which is the case. The other choice is to see if a precompiled version can be made to work. There is almost always a way to get Debian/Raspbian ...


3

If you are starting omxplayer from the command line you can use the --vol option to set the volume at start. $man omxplayer ... -b --vol n set initial volume in millibels (default 0) You can do a trial and error experiment with a few values and see which one is best suited to your likes. Then you can create an alias for omxplayer -b --...


3

Arguments given to Python's subprocess and friends are generally not allowed to have spaces. omx = run(["omxplayer", '--win', '1,1,500,400', videoPath]) The above should work. In this instance, single or double quotes don't matter. Make sure to have '--win' and the geometry specification next to each other in the correct order.


3

It turns out this issue had to do with having called tvservice to change the screen resolution. Apparently after this is done a corresponding call needs to be made to fbset. So for example if I go to DMT mode 16 (1920x1080): tvservice -e "DMT 16 I need to follow that up with: fbset -g 1920 1080 1920 1080 16 Now fbdevsink works. omxplayer seems to work ...


3

I responded on the GitHub ticket you filed. According to: apt-cache search libva there is no libva1 anymore but you can edit the script to replace it with libva2. This is sufficient to build OMXPlayer on Raspbian Buster. Other things can go wrong with the build and in the ticket you had some additional problems which I addressed there, but these aren't ...


3

Alternatively, install the package containing those fonts: sudo apt install -y fonts-freefont-ttf (Found by searching the list of font-related packages on debian.org) Note: For earlier versions of Raspbian, the package name was different: sudo apt install -y ttf-freefont


2

You should setup up omxplayer to use a named pipe, then have lirc talk to omxplayer over the pipe. mkfifo /tmp/cmd omxplayer my_video.mp4 < /tmp/cmd echo . > /tmp/cmd #(initial wait for input via the fifo) echo p > /tmp/cmd #(p will pause playback) List all options: omxplayer --help && omxplayer --keys It's optional but a good idea to ...


2

you have to specify the full path to the executable and/or data files: exec('/usr/bin/sudo /check/the/path/omxplayer /your/home/directory/or/whatever/yes.m4a'); you may find the path to omxplayer using command which omxplayer and path to your data file using your linux command line experience.


2

To enable video output while using VNC you will need to do the following on older versions of VNC server on the Rasperry Pi. Open VNC Server>Options>Troubleshooting. Then make sure "enable experimental direct capture mode is checked. You should now be able to view videos over vnc. You may also want to consider doing the following but it is not necessary. ...


2

There is another web GUI for omxplayer from myself called omxwebgui written in PHP. It's free and easy to use -> https://github.com/brainfoolong/omxwebgui


2

Along with tboplayer, I also found omxplayerGUI which is built using Python ans TKinter. thread on raspberry pi forums link and user manual link


2

tboplayer seems like what you looking for. omxplayer itself is just the engine to read and display video. tboplayer is an interface someone built. It starts omxplayer in the console (hidden, you cant see it) and then just relays all the commands to omxplayer via this nice python GUI. It plays audio too :) Then just create a short cut to the python script,...


2

I just use the Alt+F4 to end the video.


2

If the pi is working properly, SD card corruption should never happen regardless of whether the card is rw or ro (at least until the card is worn out, which would take quite a long time). The exception would be pulling the plug suddenly on a busy system, in which case a rw filesystem will be more vulnerable. Since you have decided to do that regularly, ...


2

+1 for Piwall. In addition to the displays themselves, you need one pi per screen, an SD for each pi, an Ethernet switch big enough to accept all of the pi's + cables, powers supplies, etc. You'll also need another pi or PC to act as a master and run 'the whole shebang'. But the software is GPL'ed and available on their page here- (including source code ...


2

you can use omxplayer --layer n option where n means the priority. higher number means top layer. on first tab run omxplayer --layer 1 --win ..... and on second tab run omxplayer --layer 2 --win ...... second video will be on top of first video.


2

The simplest way to do this is to background the python call, i.e: python shuffle.py <<<playlist>>> & This will execute the python script in the background, but the subprocess calls will continue to execute synchronously. Putting the ampersand on the subprocess calls will not block on execution which is why they are all running ...


Only top voted, non community-wiki answers of a minimum length are eligible