Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- omx player rpi tutorial
- -----------------------
- sudo nano /boot/config.txt
- sudo apt-get install ca-certificates git-core binutils libva1 libpcre3-dev libidn11-dev libboost1.50-dev libfreetype6-dev libusb-1.0-0-dev
- gpu_mem = 16
- git clone git clone git://github.com/Stasik0/omxplayer
- mkdir makefiles
- cd makefiles
- git clone git://github.com/wrightrocket/omxplayer.git
- cd ..
- cd omxplayer
- copy ../makefiles/omxplayer/Makefile* .
- -Following here http://wrightrocket.blogspot.de/2012/08/building-omxplayer-for-raspbian-on.html
- nano Makefile.include
- =turn RASPBIAN on and add -std=c++0x to CCFLAGS
- =add -I/usr/include/freetype2
- =add -l freetype to ldflags
- nano Makefile
- =update targets
- SRC=linux/XMemUtils.cpp \
- utils/log.cpp \
- DynamicDll.cpp \
- utils/PCMRemap.cpp \
- utils/RegExp.cpp \
- OMXSubtitleTagSami.cpp \
- OMXOverlayCodecText.cpp \
- BitstreamConverter.cpp \
- linux/RBP.cpp \
- OMXThread.cpp \
- OMXReader.cpp \
- OMXStreamInfo.cpp \
- OMXAudioCodecOMX.cpp \
- OMXCore.cpp \
- OMXVideo.cpp \
- OMXAudio.cpp \
- OMXClock.cpp \
- File.cpp \
- OMXPlayerVideo.cpp \
- OMXPlayerAudio.cpp \
- OMXPlayerSubtitles.cpp \
- SubtitleRenderer.cpp \
- Unicode.cpp \
- omxplayer.cpp \
- make sources
- make -f Makefile.ffmpeg
- make -f Makefile.ffmpeg install
- make
- make dist
- compiling boblight
- ./configure CXXFLAGS="${CXXFLAGS} -march=armv6 -mfpu=vfp -mfloat-abi=hard" --without-portaudio --without-opengl --without-x11 --prefix=/usr
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement