-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
hi Loz,
On Fri, Feb 19, 2010 at 04:16:55PM +0000, Loz wrote:
> I've got a liveshow coming up in a few months, and writing an
> entirely new set for it. I am hardware based, and currently only use
> p:d to run seq24 for sequencing. I've got this idea, however, to
> have 2 webcams at different positions next to my setup, so I can
> display their feed to a projection behind me, just to add something
> a bit different to it. If I can record it, that'd be even better.
>
> Does anyone know any software for p:d that will allow me to do this?
for the record FreeJ does it via javascript scripting and, if audio is
required, using Jack. The most interesting advantages that FreeJ
offers over other solutions are probably clarity of language, cross
platform compatibility and last but not least the possibility to mix
multiple video sources with effects and text overlays.
here a link to the documentation on our (new!) webpage
http://freej.dyne.org/git/freej/web/#sec-3
and below the code snippet needed to stream
- ----8<---------8<---------8<-------
// Audio input is taken via Jack from other applications running
// port name buffer size samlerate
audio = new AudioJack("alsaplayer", 2048, 44100);
// tweak the values below accordingly, see Jack documentation
// Create a Video Encoder object
// values 1-100 video quality video bitrate audio quality
audio_bitrate
encoder = new VideoEncoder(10, 64000, 0, 24000);
// Add the audio channel in the video encoded
encoder.add_audio(audio);
// Configure the encoder to stream over an Icecast server
encoder.stream_host("giss.tv");
encoder.stream_port(8000);
encoder.stream_title("testing new freej");
encoder.stream_username("source");
encoder.stream_password("2t645");
encoder.stream_mountpoint("freej-test.ogg");
// Register the encoder on the running FreeJ engine
register_encoder(encoder);
// Start a network stream
encoder.start_stream();
// Record the stream into a local file
encoder.start_filesave('Video/freej-test.ogg');
- --------8<---------8<------
you can tweak it all as necessary into ad-hoc setups that are also
controlled via MIDI, OSC and joysticks...
but undoubtely if your objective is just stream a webcam out then the
gst-launch shell-command suggested by Alejo in this thread is the
quickest solution.
ciao
- --
jaromil, dyne.org developer, http://jaromil.dyne.org
GPG: B2D9 9376 BFB2 60B7 601F 5B62 F6D3 FBD9 C2B6 8E39
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iQQcBAEBCAAGBQJLgo2LAA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Qe/YN5Hrgr
EGDwWWBKv1YikBNcuOZA2QZYGGvvHTulnDwwq+191v+OUR3/+nRcI4Y7EkBc5gaQ
qenIi19RJcjV+65Owqruc14fOzFnk0V/G3meEoBBnQC63MY/hEPU/yt4wzosQZEP
Ilylk2qWs3lamGdO5eWu8yLhZuzENoQBjTjSphTM9SC6B3EdmROSPS7rUWY4+dBZ
UzLcLjLW0jWkncP3dPZomT0yCM0T8mQjhG7d+NHbwe1udOVLrzB5VozOCZqBgPEf
4PrgqV1KpEwZLraiOOTo0jXdn/hHk9aNymrFjz/6vp+cjKy8xXPs3FsHU91GI/k=
=CNmP
-----END PGP SIGNATURE-----
---
[email protected]
http://identi.ca/group/puredyne
irc://irc.goto10.org/puredyne