You are on page 1of 4

This repository Search

Explore

Features

Enterprise

Blog

Sign up

huceke / omxplayer

Star

313

Sign in

Fork

194

omxplayer
Code
143 commits

2 branches

0 releases

14 contributors
Issues

branch: master

omxplayer /

Pull Requests

35

Point at active repo in readme


popcornmix authored on Jun 18, 2013

latest commit dae98a8bba

Pulse

cores

Initial import

3 years ago

fonts

added FreeSans.ttf as default font

2 years ago

guilib

Initial import

3 years ago

linux

Initial import

3 years ago

utils

Add timestamps to log

.gitignore

added .gitignore file

2 years ago

Clone in Desktop

BitstreamConverter.cpp

Fix for WMV3 files. No bitstream mangling is required for WMV3 or VC1

2 years ago

Download ZIP

BitstreamConverter.h

Fix for WMV3 files. No bitstream mangling is required for WMV3 or VC1

2 years ago

COPYING

Initial import

3 years ago

DllAvCodec.h

Fix sound with recent FFmpeg by converting from av_audio_convert API

2 years ago

DllAvFilter.h

fix build against ffmpeg >= 1.0

2 years ago

DllAvFormat.h

Use FFmpeg 0.10.2

2 years ago

DllAvUtil.h

silence ffmpeg

2 years ago

DllBCM.h

Pick up some fixes from xbmc.

2 years ago

DllOMX.h

Initial import

3 years ago

DllSwResample.h

Fix sound with recent FFmpeg by converting from av_audio_convert API

2 years ago

DynamicDll.cpp

Initial import

3 years ago

DynamicDll.h

Initial import

3 years ago

File.cpp

Fix streaming video from named pipe

2 years ago

File.h

Initial import

3 years ago

IAudioRenderer.h

Add new options to configure audio and video file reading queues, and

2 years ago

Makefile

Merge pull request #102 from twolife/master

2 years ago

Makefile.ffmpeg

Support ffmpeg 1.2 and float planar format

Makefile.include

fixed Makefile.include for buildroot

OMXAudio.cpp

Don't query PCM info when in passthough mode, it returns an error

OMXAudio.h

Add new options to configure audio and video file reading queues, and

OMXAudioCodecOMX.cpp

Support ffmpeg 1.2 and float planar format

a year ago

OMXAudioCodecOMX.h

Support ffmpeg 1.2 and float planar format

a year ago

OMXClock.cpp

More care with going into and out of buffering.

2 years ago

OMXClock.h

external SRT subtitles; smaller, customizable, subtitle buffer size;

2 years ago

OMXCore.cpp

Remove log messages for timeout failure when timeout=0

2 years ago

OMXCore.h

chmod fix

2 years ago

OMXOverlay.h

Initial import

3 years ago

OMXOverlayCodec.h

Initial import

3 years ago

a year ago

a year ago
2 years ago
a year ago
2 years ago

Graphs
HTTPS clone URL

https://github.com/huce
ke/omxplayer.git

You can clone w ith HTTPS or


Subversion.

OMXOverlayCodecText.cpp

external SRT subtitles; smaller, customizable, subtitle buffer size;

2 years ago

OMXOverlayCodecText.h

Initial import

3 years ago

OMXOverlayText.h

Initial import

3 years ago

OMXPlayerAudio.cpp

Support ffmpeg 1.2 and float planar format

OMXPlayerAudio.h

Add new options to configure audio and video file reading queues, and

2 years ago

OMXPlayerSubtitles.cpp

external SRT subtitles; smaller, customizable, subtitle buffer size;

2 years ago

OMXPlayerSubtitles.h

external SRT subtitles; smaller, customizable, subtitle buffer size;

2 years ago

OMXPlayerVideo.cpp

More care with going into and out of buffering.

2 years ago

OMXPlayerVideo.h

Add new options to configure audio and video file reading queues, and

2 years ago

OMXReader.cpp

Use av_dump_format output for -i info option

2 years ago

OMXReader.h

external SRT subtitles; smaller, customizable, subtitle buffer size;

2 years ago

OMXStreamInfo.cpp

Initial import

3 years ago

OMXStreamInfo.h

Initial import

3 years ago

OMXSubtitleTagSami.cpp

external SRT subtitles; smaller, customizable, subtitle buffer size;

2 years ago

OMXSubtitleTagSami.h

Change to std::string in COMXSubtitleTagSami (from XBMC)

2 years ago

OMXThread.cpp

Initial import

3 years ago

OMXThread.h

Initial import

3 years ago

OMXVideo.cpp

Add new options to configure audio and video file reading queues, and

2 years ago

OMXVideo.h

Add new options to configure audio and video file reading queues, and

2 years ago

RBP.h

Initial import

3 years ago

README.md

Point at active repo in readme

Srt.cpp

external SRT subtitles; smaller, customizable, subtitle buffer size;

2 years ago

Srt.h

external SRT subtitles; smaller, customizable, subtitle buffer size;

2 years ago

Subtitle.h

external SRT subtitles; smaller, customizable, subtitle buffer size;

2 years ago

SubtitleRenderer.cpp

external SRT subtitles; smaller, customizable, subtitle buffer size;

2 years ago

SubtitleRenderer.h

external SRT subtitles; smaller, customizable, subtitle buffer size;

2 years ago

Unicode.cpp

OpenVG subtitles

2 years ago

Unicode.h

OpenVG subtitles

2 years ago

omxplayer

Added logging -g flag

2 years ago

omxplayer.cpp

Added --keys / -k to list key bindings.

prepare-native-raspbian.sh

Add Stasik0's prepare-native-raspbian.sh script to help building on t

2 years ago

profiler.sh

Initial import

3 years ago

system.h

Initial import

3 years ago

a year ago

a year ago

a year ago

README.md

This tree is no longer under active delevopment. Updates will occur here:
https://github.com/popcornmix/omxplayer

OMXPlayer
OMXPlayer is a commandline OMX player for the Raspberry Pi. It was developed as a testbed for the
XBMC Raspberry PI implementation and is quite handy to use standalone.

Downloading OMXPlayer

git clone git://github.com/huceke/omxplayer.git

Compiling OMXPlayer
GCC version 4.7 is required.

Cross Compiling
You need the content of your sdcard somewhere mounted or copied. There might be development
headers to install on the running Pi system for the crosscompiling.
Edit Makefile.include and change the settings according your locations.
make ffmpeg
make
make dist

Installing OMXPlayer
Copy over omxplayer-dist/* to the Pi /. You may want to specify a valid font path inside the
omxplayer shell script.

Compiling on the Pi
You can also compile it on the PI the native way ;) Run this script (which will install packages and update
firmware) ./prepare-native-raspbian.sh and build with make ffmpeg make

Using OMXPlayer
Usage: omxplayer [OPTIONS] [FILE]
Options :
-h / --help
-n / --aidx index
-o / --adev device
-i / --info
-s / --stats
-p / --passthrough
-d / --deinterlace
-w / --hw
-3 / --3d mode
-y / --hdmiclocksync
-z / --nohdmiclocksync
-t / --sid index
-r / --refresh
-g / --genlog
-l / --pos n
--boost-on-downmix
--vol n
--subtitles path
--font path
--font-size size
--align left/center
--lines n
--win "x1 y1 x2 y2"
--audio_fifo n
--video_fifo n
--audio_queue n
--video_queue n

print this help


audio stream index
: e.g. 1
audio out device
: e.g. hdmi/local
dump stream format and exit
pts and buffer stats
audio passthrough
deinterlacing
hw audio decoding
switch tv into 3d mode (e.g. SBS/TB)
adjust display refresh rate to match video (default)
do not adjust display refresh rate to match video
show subtitle with index
adjust framerate/resolution to video
generate log file
start position (in seconds)
boost volume when downmixing
Set initial volume in millibels (default 0)
external subtitles in UTF-8 srt format
subtitle font
(default: /usr/share/fonts/truetype/freefont/FreeSans.ttf)
font size as thousandths of screen height
(default: 55)
subtitle alignment (default: left)
number of lines to accommodate in the subtitle buffer
(default: 3)
Set position of video window
Size of audio output fifo in seconds
Size of video output fifo in MB
Size of audio input queue in MB
Size of video input queue in MB

For example:
./omxplayer -p -o hdmi test.mkv

Key Bindings
While playing you can use the following keys to control omxplayer:
z
Show Info
1
Decrease Speed
2
Increase Speed
j
Previous Audio stream
k
Next Audio stream
i
Previous Chapter
o
Next Chapter
n
Previous Subtitle stream
m
Next Subtitle stream
s
Toggle subtitles
d
Subtitle delay -250 ms
f
Subtitle delay +250 ms
q
Exit OMXPlayer
Space or p Pause/Resume
Decrease Volume
+
Increase Volume
Left Arrow Seek -30 s
Right Arrow Seek +30 s
Down Arrow Seek -600 s
Up Arrow
Seek +600 s

2014 GitHub, Inc.

Terms

Privacy

Security

Contact

Status

API

Training

Shop

Blog

About

You might also like