xuv's notebook

Side notes, howtos and random bits of information related to Julien Deswaef's projects

User Tools

Site Tools


projects:raspivj

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
projects:raspivj [2015/01/22 14:13] – [openFrameworks + ofxOMXPlayer] Julien Deswaefprojects:raspivj [2015/03/17 01:04] (current) – [Specs] Julien Deswaef
Line 8: Line 8:
  
 A lot of credit has to be given to [[http://pocketvj.com/|PocketVJ]] which has opened my eyes on the web interface to control the videos and by showing the way to do things. A lot of credit has to be given to [[http://pocketvj.com/|PocketVJ]] which has opened my eyes on the web interface to control the videos and by showing the way to do things.
 +
 +
  
 ===== 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://www.leftaobuddha.com/|Left Arm of Buddha]].
 +
 +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://node-arm.herokuapp.com/
  
 ===== Download ===== ===== Download =====
  
 All files will be published on http://github.com/xuv/RasPiVJ All files will be published on http://github.com/xuv/RasPiVJ
 +
 +===== 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://www.openframeworks.cc/setup/raspberrypi/Raspberry-Pi-Getting-Started.html
 +  * https://github.com/jvcleave/ofxOMXPlayer
  
  
projects/raspivj.1421932416.txt.gz · Last modified: 2015/01/22 14:13 by Julien Deswaef