Hi All.
I have been reading about this object (in the videojack discussion..) and I could not find that at all! anyone know if that has been removed from pidip or if have been replaced by something else ? Anyway, I need to get a stream out of pd to a v4l or v4l2 device. any advices on that ?
Thanks in advance
Deedos
Hello, don't know about pdp_vloopback (in svn ?) maybe webcamstudio can be also helpfull : http://code.google.com/p/webcamstudio/
++ Benjamin
Daniel Roviriego a écrit :
Hi All.
I have been reading about this object (in the videojack discussion..) and I could not find that at all! anyone know if that has been removed from pidip or if have been replaced by something else ? Anyway, I need to get a stream out of pd to a v4l or v4l2 device. any advices on that ?
Thanks in advance
Deedos
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Hi, is included in the latest version of pd, the v4l1 this work only with old webcams, I use the v4l2 with all ubuntus since 9.04...and osx
Best
Josè
2011/1/14 Daniel Roviriego danifernando@gmail.com:
Hi All.
I have been reading about this object (in the videojack discussion..) and I could not find that at all! anyone know if that has been removed from pidip or if have been replaced by something else ? Anyway, I need to get a stream out of pd to a v4l or v4l2 device. any advices on that ?
Thanks in advance
Deedos
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
oups, I thought it had moved but main site of webcamstudio remains here : http://www.ws4gl.org/
++ Benjamin
Daniel Roviriego a écrit :
Hi All.
I have been reading about this object (in the videojack discussion..) and I could not find that at all! anyone know if that has been removed from pidip or if have been replaced by something else ? Anyway, I need to get a stream out of pd to a v4l or v4l2 device. any advices on that ?
Thanks in advance
Deedos
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
oups, I thought it had moved but main site of webcamstudio remains here : http://www.ws4gl.org/
by the way, it worked for me in GEM in both way (grab your gemwin <> feed pix_video > gemwin with webcamstudio)
++ Benjamin
Daniel Roviriego a écrit :
Hi All.
I have been reading about this object (in the videojack discussion..) and I could not find that at all! anyone know if that has been removed from pidip or if have been replaced by something else ? Anyway, I need to get a stream out of pd to a v4l or v4l2 device. any advices on that ?
Thanks in advance
Deedos
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
On 01/14/2011 06:01 PM, benjamin 01xy wrote:
oups, I thought it had moved but main site of webcamstudio remains here : http://www.ws4gl.org/
by the way, it worked for me in GEM in both way (grab your gemwin <> feed pix_video > gemwin with webcamstudio)
btw, the SVN version of Gem has support for writing to both vloopback (aka v4l(1)-loopback) and v4l2loopback
so you can do the gemwin->/dev/video* directly within Gem
i very much prefer v4l2loopback because:
possible for writing as well)
fgmadr IOhannes
Le vendredi 14 janvier 2011 à 18:17 +0100, IOhannes zmölnig a écrit :
On 01/14/2011 06:01 PM, benjamin 01xy wrote:
oups, I thought it had moved but main site of webcamstudio remains here : http://www.ws4gl.org/
by the way, it worked for me in GEM in both way (grab your gemwin <> feed pix_video > gemwin with webcamstudio)
btw, the SVN version of Gem has support for writing to both vloopback (aka v4l(1)-loopback) and v4l2loopback
so you can do the gemwin->/dev/video* directly within Gem
i very much prefer v4l2loopback because:
- you can use gstreamer to write to /dev/video
- you can use more apps to read from these pipes (using LIBV4L should be
possible for writing as well)
- i'm involved in development :-)
And i can confirm it is working fine ;) ++
Jack
fgmadr IOhannes
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
and for OS X there is also http://syphon.v002.info/ but no GEM implementation (yet)
Am 14.01.2011 um 18:17 schrieb IOhannes zmölnig:
On 01/14/2011 06:01 PM, benjamin 01xy wrote:
oups, I thought it had moved but main site of webcamstudio remains here : http://www.ws4gl.org/
by the way, it worked for me in GEM in both way (grab your gemwin <> feed pix_video > gemwin with webcamstudio)
btw, the SVN version of Gem has support for writing to both vloopback (aka v4l(1)-loopback) and v4l2loopback
so you can do the gemwin->/dev/video* directly within Gem
i very much prefer v4l2loopback because:
- you can use gstreamer to write to /dev/video
- you can use more apps to read from these pipes (using LIBV4L should be
possible for writing as well)
- i'm involved in development :-)
fgmadr IOhannes
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
On 01/14/2011 06:33 PM, Max wrote:
and for OS X there is also http://syphon.v002.info/
good to know
but no GEM implementation (yet)
i had no clue that such a thing existed.
fgmasdr IOhannes
Hi all!
v4l2loopback is working pretty nice! thanks for the awesome work, Iohannes! I did suceed with the "v4l2sink" element (st-launch videotestsrc ! ffmpegcolorspace ! v4l2sink device=/dev/videox) .Now, the doubts:
. Which apps you know can already write to v4l2 devices ? . What's the name of the gem object for the v4l2loopback ? I 'm using pd-extended from yesterday auto-build (GEM: ver: 0.93.SVN rev3703 GEM: compiled: Feb 11 2011) and get no valid object for "recordV4L2" .
Thanks in advance!
2011/1/14 IOhannes zmölnig zmoelnig@iem.at
On 01/14/2011 06:01 PM, benjamin 01xy wrote:
oups, I thought it had moved but main site of webcamstudio remains here : http://www.ws4gl.org/
by the way, it worked for me in GEM in both way (grab your gemwin <> feed pix_video > gemwin with webcamstudio)
btw, the SVN version of Gem has support for writing to both vloopback (aka v4l(1)-loopback) and v4l2loopback
so you can do the gemwin->/dev/video* directly within Gem
i very much prefer v4l2loopback because:
- you can use gstreamer to write to /dev/video
- you can use more apps to read from these pipes (using LIBV4L should be
possible for writing as well)
- i'm involved in development :-)
fgmadr IOhannes
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Le samedi 12 février 2011 à 13:51 -0200, Daniel Roviriego a écrit :
Hi all!
v4l2loopback is working pretty nice! thanks for the awesome work, Iohannes! I did suceed with the "v4l2sink" element (st-launch videotestsrc ! ffmpegcolorspace ! v4l2sink device=/dev/videox) .Now, the doubts:
. Which apps you know can already write to v4l2 devices ?
All applications using gstreamer and v4l2sink ? You can find some application using gstreamer here : http://gstreamer.freedesktop.org/apps/
. What's the name of the gem object for the v4l2loopback ?
There is no such object in GEM but in pdgst. And the name of this object is [v4l2sink].
I 'm using pd-extended from yesterday auto-build (GEM: ver: 0.93.SVN rev3703 GEM: compiled: Feb 11 2011) and get no valid object for "recordV4L2" .
For example, you can use [pix_video] with [pix_writer] or [pix_write] or [pix_record]. But what do you want to do exactly ? Don't know if this helps you ? ++
Jack
Thanks in advance!
2011/1/14 IOhannes zmölnig zmoelnig@iem.at
On 01/14/2011 06:01 PM, benjamin 01xy wrote: > oups, > I thought it had moved but main site of webcamstudio remains here : > http://www.ws4gl.org/ > > by the way, it worked for me in GEM in both way (grab your gemwin <> > feed pix_video > gemwin with webcamstudio) > btw, the SVN version of Gem has support for writing to both vloopback (aka v4l(1)-loopback) and v4l2loopback so you can do the gemwin->/dev/video* directly within Gem i very much prefer v4l2loopback because: - you can use gstreamer to write to /dev/video - you can use more apps to read from these pipes (using LIBV4L should be possible for writing as well) - i'm involved in development :-) fgmadr IOhannes _______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-- Daniel Roviriego (21) 35920701 (16) 99645077 @deedos _______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2011-02-14 00:40, Jack wrote:
Le samedi 12 février 2011 à 13:51 -0200, Daniel Roviriego a écrit :
Hi all!
v4l2loopback is working pretty nice! thanks for the awesome work, Iohannes! I did suceed with the "v4l2sink" element (st-launch videotestsrc ! ffmpegcolorspace ! v4l2sink device=/dev/videox) .Now, the doubts:
. Which apps you know can already write to v4l2 devices ?
All applications using gstreamer and v4l2sink ? You can find some application using gstreamer here : http://gstreamer.freedesktop.org/apps/
. What's the name of the gem object for the v4l2loopback ?
There is no such object in GEM but in pdgst. And the name of this object is [v4l2sink].
that is one possibility.
I 'm using pd-extended from yesterday auto-build (GEM: ver: 0.93.SVN rev3703 GEM: compiled: Feb 11 2011) and get no valid object for "recordV4L2" .
For example, you can use [pix_video] with [pix_writer] or [pix_write] or [pix_record]. But what do you want to do exactly ?
you should be able to use [pix_record] with v4l2loopback. just do:
backend #1='V4L2'" (this will only happen the first time you create a [pix_record] object for hygienic reasons)
whatever your loopback-device is). something like [codec v4l2, filename /dev/video1, record 1( should do the trick.
f gmasdr IOhannes
Le lundi 14 février 2011 à 09:13 +0100, IOhannes m zmoelnig a écrit :
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2011-02-14 00:40, Jack wrote:
Le samedi 12 février 2011 à 13:51 -0200, Daniel Roviriego a écrit :
Hi all!
v4l2loopback is working pretty nice! thanks for the awesome work, Iohannes! I did suceed with the "v4l2sink" element (st-launch videotestsrc ! ffmpegcolorspace ! v4l2sink device=/dev/videox) .Now, the doubts:
. Which apps you know can already write to v4l2 devices ?
All applications using gstreamer and v4l2sink ? You can find some application using gstreamer here : http://gstreamer.freedesktop.org/apps/
. What's the name of the gem object for the v4l2loopback ?
There is no such object in GEM but in pdgst. And the name of this object is [v4l2sink].
that is one possibility.
I 'm using pd-extended from yesterday auto-build (GEM: ver: 0.93.SVN rev3703 GEM: compiled: Feb 11 2011) and get no valid object for "recordV4L2" .
For example, you can use [pix_video] with [pix_writer] or [pix_write] or [pix_record]. But what do you want to do exactly ?
you should be able to use [pix_record] with v4l2loopback. just do:
- create [pix_record]
- check at the console whether it prints something like "[pix_record]:
backend #1='V4L2'" (this will only happen the first time you create a [pix_record] object for hygienic reasons)
Good to know. But i don't have this in the console when i create [pix_record] (even after to have created the gemwin and with a gemhead). GEM: Graphics Environment for Multimedia GEM: ver: 0.93.SVN rev3578M GEM: compiled: Jan 3 2011 I need an other version of GEM ? ++
Jack
- if so, continue
- set the codec to "v4l2" and the output filename to /dev/video1 (or
whatever your loopback-device is). something like [codec v4l2, filename /dev/video1, record 1( should do the trick.
f gmasdr IOhannes -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk1Y5CgACgkQkX2Xpv6ydvSdHQCg2fmPe7ofmDlAeA+szG2y01Oq ST8AoOCOi3kUB6Wz0j54T05KsJk/cYuG =V6AK -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2011-02-14 09:40, Jack wrote:
- check at the console whether it prints something like "[pix_record]:
backend #1='V4L2'" (this will only happen the first time you create a [pix_record] object for hygienic reasons)
Good to know. But i don't have this in the console when i create [pix_record] (even after to have created the gemwin and with a gemhead). GEM: Graphics Environment for Multimedia GEM: ver: 0.93.SVN rev3578M GEM: compiled: Jan 3 2011 I need an other version of GEM ?
yes and no. record-backends are implemented via plugins (again :-)) your version of Gem should already have a recordV4L2 plugins, BUT: i changed (and improved and stabilized) things after rev3578 (we are now at 3716). i guess your version (if it has the recordV4L2 plugin compiled), can only handle a single record-backend in a given instance, and it will use the first it finds (so you have to remove other record-backends like gem_recordQT4L that might get in the way). current Gem switches backends according to the selected codec.
ghasd IOhannes
Le lundi 14 février 2011 à 10:31 +0100, IOhannes m zmoelnig a écrit :
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2011-02-14 09:40, Jack wrote:
- check at the console whether it prints something like "[pix_record]:
backend #1='V4L2'" (this will only happen the first time you create a [pix_record] object for hygienic reasons)
Good to know. But i don't have this in the console when i create [pix_record] (even after to have created the gemwin and with a gemhead). GEM: Graphics Environment for Multimedia GEM: ver: 0.93.SVN rev3578M GEM: compiled: Jan 3 2011 I need an other version of GEM ?
yes and no. record-backends are implemented via plugins (again :-)) your version of Gem should already have a recordV4L2 plugins, BUT: i changed (and improved and stabilized) things after rev3578 (we are now at 3716). i guess your version (if it has the recordV4L2 plugin compiled), can only handle a single record-backend in a given instance, and it will use the first it finds (so you have to remove other record-backends like gem_recordQT4L that might get in the way). current Gem switches backends according to the selected codec.
i have now installed : GEM: Graphics Environment for Multimedia GEM: ver: 0.93.SVN rev3720M GEM: compiled: Feb 14 2011
But i have still nothing when i create [pix_record] : error: [pix_record]: no video backends found! ... you might be able to track this down from the Find menu. I have remove the directory 'recordQT4l' and all files starting with 'gem_recordQT'. I missed something ? ++
Jack
ghasd IOhannes -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk1Y9mQACgkQkX2Xpv6ydvR6zgCfSHQgrDQYvIgcf7mpHnA1RvMH AsEAnjdq3bcH0jaby8/MTKi4ZnUiOkW1 =Ir9K -----END PGP SIGNATURE-----
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2011-02-14 14:13, Jack wrote:
i have now installed : GEM: Graphics Environment for Multimedia GEM: ver: 0.93.SVN rev3720M GEM: compiled: Feb 14 2011
good.
But i have still nothing when i create [pix_record] : error: [pix_record]: no video backends found! ... you might be able to track this down from the Find menu. I have remove the directory 'recordQT4l' and all files starting with 'gem_recordQT'.
hein?
you don't need to remove the recordQT4L directory. current Gem SVN handles multiple record backends just fine.
anyhow, even, if you don't have the recordQT4L anymore, this shouldn't be a problem (since you want V4L2)
I missed something ?
it's the same as with the film- and video- plugins: you need to have the plugins besides your Gem.pd_linux: $ pwd .....Gem/src $ ln -s plugins/recordV4L2/.libs/gem_recordV4L2.so . $
should do the trick (if you don't want to install (which i haven't tested, btw)
mfgdst IOhannes
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Le lundi 14 février 2011 à 14:27 +0100, IOhannes m zmoelnig a écrit :
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2011-02-14 14:13, Jack wrote:
i have now installed : GEM: Graphics Environment for Multimedia GEM: ver: 0.93.SVN rev3720M GEM: compiled: Feb 14 2011
good.
But i have still nothing when i create [pix_record] : error: [pix_record]: no video backends found! ... you might be able to track this down from the Find menu. I have remove the directory 'recordQT4l' and all files starting with 'gem_recordQT'.
hein?
you don't need to remove the recordQT4L directory. current Gem SVN handles multiple record backends just fine.
anyhow, even, if you don't have the recordQT4L anymore, this shouldn't be a problem (since you want V4L2)
I missed something ?
it's the same as with the film- and video- plugins: you need to have the plugins besides your Gem.pd_linux: $ pwd .....Gem/src $ ln -s plugins/recordV4L2/.libs/gem_recordV4L2.so . $
Done, but i still have the problem after : $ ln -s plugins/recordV4L2/.libs/gem_recordV4L2.so I get : ln: creating symbolic link `./gem_recordV4L2.so': File exists Any way to fix this problem ? Thanx. ++
Jack
should do the trick (if you don't want to install (which i haven't tested, btw)
mfgdst IOhannes
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk1ZLacACgkQkX2Xpv6ydvQAAgCdHiz7xNAMMN04FM/ZyiDjKncx rIQAoJqGweeN/TtmMWKIz9UlCdTc1QyH =NhXf -----END PGP SIGNATURE-----
On 02/18/2011 07:33 PM, Jack wrote:
it's the same as with the film- and video- plugins: you need to have the plugins besides your Gem.pd_linux: $ pwd .....Gem/src $ ln -s plugins/recordV4L2/.libs/gem_recordV4L2.so . $
Done, but i still have the problem after : $ ln -s plugins/recordV4L2/.libs/gem_recordV4L2.so I get : ln: creating symbolic link `./gem_recordV4L2.so': File exists Any way to fix this problem ?
seems like i lost track of where exactly you are stuck.
#1 you need a recent version of Gem (you have that, i figure) #2 you need to compile the recordV42L plugin
(obviously you need a linux system for recordQT4L; it also checks for libV4L, but this should be optional)
(and thus non-working) plugin
live (e.g.) in plugins/recordV4L2/.libs/
#3 you have to make sure that the plugins end up besides Gem.pd_linx
copy (or symlink) the files next to your Gem.pd_linux
SO:
it seems like you already have a file "gem_recordV4L2.so" besides your Gem.pd_linux; if this is an old _copy_ remove it, and copy/symlink the new one to this place (i usually do symlinks, but that's because i'm developing and want to have my changes to take immediate effect) if it's a symlink, then you should be fine
then you start Gem (make sure you load the correct .pd_linux file), and create a [pix_record] object. watch the console! it should tell you about the found backends (it managed to activate) watch the stderr (your terminal!) if anything goes wrong; you will see notes about each plugin that is tried; if it fails, you should see an error message there.
gfamsr IOhannes
Le vendredi 18 février 2011 à 19:50 +0100, IOhannes zmölnig a écrit :
On 02/18/2011 07:33 PM, Jack wrote:
it's the same as with the film- and video- plugins: you need to have the plugins besides your Gem.pd_linux: $ pwd .....Gem/src $ ln -s plugins/recordV4L2/.libs/gem_recordV4L2.so . $
Done, but i still have the problem after : $ ln -s plugins/recordV4L2/.libs/gem_recordV4L2.so I get : ln: creating symbolic link `./gem_recordV4L2.so': File exists Any way to fix this problem ?
seems like i lost track of where exactly you are stuck.
#1 you need a recent version of Gem (you have that, i figure)
Yep : GEM: Graphics Environment for Multimedia GEM: ver: 0.93.SVN rev3720M GEM: compiled: Feb 14 2011
#2 you need to compile the recordV42L plugin
- this is usually done automatically when you compile Gem using "make"
It is what i done.
- all the plugins do some auoconf checks for required infrastructure
(obviously you need a linux system for recordQT4L; it also checks for libV4L, but this should be optional)
I'm working with Ubuntu 10.10.
- if not all requirements are met, you might end up with an "empty"
(and thus non-working) plugin
Here, i don't know...
- since i'm using automake, the compiled plugins are a bit hidden; they
live (e.g.) in plugins/recordV4L2/.libs/
In this directory, i have : gem_recordV4L2.la gem_recordV4L2.lai gem_recordV4L2.so gem_recordV4L2_la-recordV4L2.o
#3 you have to make sure that the plugins end up besides Gem.pd_linx
- if you run "make install", this should be handled automatically
- if you just want to test (and not "install"), you have to manually
copy (or symlink) the files next to your Gem.pd_linux
I have already a 'gem_recordV4L2.so' besides 'Gem.pd_linux'.
SO:
it seems like you already have a file "gem_recordV4L2.so" besides your Gem.pd_linux;
Yes.
if this is an old _copy_ remove it, and copy/symlink the new one to this place (i usually do symlinks, but that's because i'm developing and want to have my changes to take immediate effect) if it's a symlink, then you should be fine
This was the problem. Now it is working fine, i get : [pix_record]: backend #0='V4L' I need to do like this with all plugins or there is an other method ?
then you start Gem (make sure you load the correct .pd_linux file), and create a [pix_record] object. watch the console! it should tell you about the found backends (it managed to activate)
Yep, i have always an eye on the console :) Thanx again for your help. ++
Jack
watch the stderr (your terminal!) if anything goes wrong; you will see notes about each plugin that is tried; if it fails, you should see an error message there.
gfamsr IOhannes
Thanks Josè, Benjamin and Iohannesfor the quick replies!
Benjamin: thanks for the advice but I need to get the stream out from pd to another software (sltv aka landell http://landell.holoscopio.com/index.html.en ) *** nice app to check out!
Josè: It was right in front of my eyes! I downlaoded both pd and pd-extended yesterday and could not find the object in the sources. I ust tried it in my version (pd-extended ubuntu maverick) and voilá, it's. Now let ś go for the hard work! Thanks again
Iohannes - Definetly I 'll give look at the gem/v4l2loopback!
By the way, has anybody had nice results http://www.viewcast.com/products/osprey-cards/osprey-440 with a http://www.viewcast.com/products/osprey-cards/osprey-440 ? My plans are to build a simple four cameras switcher for live streaming (trough sltv then)
Thanks agains!
Deedos
2011/1/14 benjamin 01xy benjah@free.fr
oups, I thought it had moved but main site of webcamstudio remains here : http://www.ws4gl.org/
by the way, it worked for me in GEM in both way (grab your gemwin <> feed pix_video > gemwin with webcamstudio)
++ Benjamin
Daniel Roviriego a écrit :
Hi All.
I have been reading about this object (in the videojack discussion..) and I could not find that at all! anyone know if that has been removed from pidip or if have been replaced by something else ? Anyway, I need to get a stream out of pd to a v4l or v4l2 device. any advices on that ?
Thanks in advance
Deedos
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list