projects:raspivj
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
projects:raspivj [2015/01/22 14:13] – [openFrameworks + ofxOMXPlayer] Julien Deswaef | projects:raspivj [2015/03/17 01:04] (current) – [Specs] Julien Deswaef | ||
---|---|---|---|
Line 8: | Line 8: | ||
A lot of credit has to be given to [[http:// | A lot of credit has to be given to [[http:// | ||
+ | |||
+ | |||
===== Concept ===== | ===== Concept ===== | ||
Line 26: | Line 28: | ||
* Manage videos (upload, remove, etc...) | * Manage videos (upload, remove, etc...) | ||
+ | ===== Use cases ===== | ||
+ | |||
+ | The RasPIVJ has already been used in a public performance with the band [[http:// | ||
+ | |||
+ | This system could be used by any band, musician or performer who needs an easy to set-up video system that can be controlled and activated either by the musicians themselves, the sound or light engineer, | ||
+ | |||
+ | The hdmi and rca output makes it an all purpose video tool that can connect to old or new projection or display equipment. | ||
+ | |||
+ | The system could also easily be extende to support multiple screens with multiple raspberries. | ||
===== Specs ===== | ===== Specs ===== | ||
=== oF === | === oF === | ||
Line 35: | Line 46: | ||
* socket.io | * socket.io | ||
* osc | * osc | ||
+ | |||
+ | == How to install latest Node on the RPi == | ||
+ | http:// | ||
===== Download ===== | ===== Download ===== | ||
All files will be published on http:// | All files will be published on http:// | ||
+ | |||
+ | ===== How to convert your videos fro the RasPiVJ ===== | ||
+ | |||
+ | === FFMPEG === | ||
+ | ofxOMXPlayer works best with h264 videos with sound. Since I don't need sound, here's a command to add silence to a video. The parameters have to be in that order (especially for the mapping). If you already have an audio channel in your source video, it's better to not do any compression on the video codec (-vcodec copy) while swapping the existing audio channel with the silent one. If you don't have any prior sound, you can do video and audio compression at the same time. | ||
+ | |||
+ | ffmpeg -ar 48000 -ac 2 -f s16le -i /dev/zero -i video.mp4 -shortest \ | ||
+ | -vcodec copy -acodec pcm_s16le -map 1:v -map 0:a output.mov | ||
+ | |||
+ | ffmpeg -ar 48000 -ac 2 -f s16le -i /dev/zero -i video.mp4 -shortest \ | ||
+ | -s 1024x768 -vcodec libx264 -b 2000k -acodec pcm_s16le \ | ||
+ | --map 1:v -map 0:a output.mov | ||
+ | |||
+ | ffmpeg -i video.avi -s 1024x768 -vcodec libx264 -b 2000k \ | ||
+ | -acodec pcm_s16le output.mov | ||
+ | |||
+ | //It's /dev/zero that produces silence.// | ||
Line 58: | Line 89: | ||
* Can play HD videos | * Can play HD videos | ||
* Can play from usb key | * Can play from usb key | ||
+ | |||
+ | ==== openFrameworks + ofxOMXPlayer ==== | ||
+ | The oF toolbox ported to Raspberry Pi and its addon to use the OpenMAX video capabilities with it. | ||
+ | * http:// | ||
+ | * https:// | ||
projects/raspivj.1421932416.txt.gz · Last modified: 2015/01/22 14:13 by Julien Deswaef