Der Omxplayer ist speziell für den Raspberry Pi entwickelt worden und spielt Mediendateien mit GPU Unterstützung direkt von der Kommandozeile ab.
Beispiel zum Abpsielen einer Datei:
1 | omxplayer video.mp4 |
Beispiel zum Abpsielen einer Datei und Ausgabe via HDMI:
1 | omxplayer -o hdmi myvideo.mp4 |
Man Page von omxplayer:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | Usage: omxplayer [OPTIONS] [FILE] Options : -h / --help print this help -v / --version print version info -k / --keys print key bindings -n / --aidx index audio stream index : e.g. 1 -o / --adev device audio out device : e.g. hdmi/local/both -i / --info dump stream format and exit -s / --stats pts and buffer stats -p / --passthrough audio passthrough -d / --deinterlace force deinterlacing --nodeinterlace force no deinterlacing -w / --hw hw audio decoding -3 / --3d mode switch tv into 3d mode (e.g. SBS/TB) -y / --hdmiclocksync adjust display refresh rate to match video (default) -z / --nohdmiclocksync do not adjust display refresh rate to match video -t / --sid index show subtitle with index -r / --refresh adjust framerate/resolution to video -g / --genlog generate log file -l / --pos n start position (hh:mm:ss) -b / --blank set background to black --loop loop file. Ignored if file is not seekable, start position applied if given --no-boost-on-downmix don't boost volume when downmixing --vol n Set initial volume in millibels (default 0) --amp n Set initial amplification in millibels (default 0) --subtitles path external subtitles in UTF-8 srt format --font path subtitle font (default: /usr/share/fonts/truetype/freefont/FreeSans.ttf) --italic-font path (default: /usr/share/fonts/truetype/freefont/FreeSansOblique.ttf) --font-size size font size as thousandths of screen height (default: 55) --align left/center subtitle alignment (default: left) --no-ghost-box no semitransparent boxes behind subtitles --lines n number of lines to accommodate in the subtitle buffer (default: 3) --win "x1 y1 x2 y2" Set position of video window --audio_fifo n Size of audio output fifo in seconds --video_fifo n Size of video output fifo in MB --audio_queue n Size of audio input queue in MB --video_queue n Size of video input queue in MB --threshold n Amount of buffered data required to come out of buffering in seconds --orientation n Set orientation of video (0, 90, 180 or 270) --fps n Set fps of video where timestamps are not present --live Set for live tv or vod type stream --layout Set output speaker layout (e.g. 5.1) --dbus_name name Set D-Bus bus name (default: org.mpris.MediaPlayer2.omxplayer) --key-config <file> Uses key bindings specified in <file> instead of the default --layer n Set the video render layer number (higher numbers are on top) |
« Back to Glossary Index