xuv's notebook

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

User Tools

Site Tools


projects:raspivj

This is an old revision of the document!


RasPiVJ

A long lasting idea (first occurence was during residency of the Metahub Nuit Blanche in Brussels) trying to come to life out of necessity.

Concept: use the Raspberry Pi as a VJ plateform

Sure, why not. It's cheap, light weight, small, has RCA or HDMI output, can play h264 HD videos, works already well as a media center,…

References:

Projects that already exist or related.

Super Pikix Pi

A full featured VJ software by the great Pikilipita

  • Free, but not open source
  • Own codec (kouky .k19) and converter for Win or Mac only
  • Clips limited to 250 frames @ 25fps, 640×360
  • Playlist based, some overlay effects,…

Pocket VJ

  • Can sync multiple Raspis
  • Web interface
  • Can play HD videos
  • 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.

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.

pyomxplayer

Python wrapper module around OMXPlayer for the Raspberry Pi.

MeteorJs

Setting up a web interface to manipulate the video player.

projects/raspivj.1401881258.txt.gz · Last modified: 2014/06/04 13:27 by Julien Deswaef