Sample code

31 views
Skip to first unread message

Alexandra

unread,
Apr 15, 2009, 4:42:31 AM4/15/09
to v4...@googlegroups.com
Yes i have a sample code. This is a little application that demonstrates integration jmf and v4l4j.

Exile


src.zip

xiao....@gmail.com

unread,
Apr 15, 2009, 4:58:17 AM4/15/09
to v4l4j
Thanks again !!!

On Apr 15, 4:42 pm, Alexandra <kim_sashe...@mail.ru> wrote:
> Yes i have a sample code. This is a little application that demonstrates integration jmf and v4l4j.
>
> Exile
>
>  src.zip
> 10KViewDownload

Gilles Gigan

unread,
Apr 15, 2009, 8:32:45 PM4/15/09
to v4...@googlegroups.com
Hi,
Thanks for the sample code to connect to JMF.
Is it ok if I create a short wiki page on this topic and add your code ?

Gilles

2009/4/15 Alexandra <kim_sa...@mail.ru>:

xiao....@gmail.com

unread,
Apr 16, 2009, 4:21:06 AM4/16/09
to v4l4j
Hi, I've compiled your sample code with some modification related to
the v4l4j version, but it only worked sometimes, most of the times it
failed and the error message is:

===================================================================
[ libvideo.c:68 ] Using libvideo version 0.8-trunk_r151
Getting steams
230400Getting steams
DataSource started
DataSource stop
DataSource started
java.lang.NullPointerException
at com.sun.media.codec.video.colorspace.RGBConverter.process
(RGBConverter.java:352)
at com.sun.media.BasicFilterModule.process(BasicFilterModule.java:
322)
at com.sun.media.BasicModule.connectorPushed(BasicModule.java:69)
at com.sun.media.BasicOutputConnector.writeReport
(BasicOutputConnector.java:120)
at com.sun.media.SourceThread.process(BasicSourceModule.java:729)
at com.sun.media.util.LoopThread.run(LoopThread.java:135)
DataSource stop
DataSource disconnecting
====================================================================

Does anybody have tried this and know what the problem is?

Gilles Gigan

unread,
Apr 16, 2009, 5:32:18 AM4/16/09
to v4...@googlegroups.com
Hi,
I have not tried Alexandra's code yet so I cannot help you out with
this. I might be able to see if it comes from v4l4j if you share the
code you are running.

Gilles

xiao....@gmail.com

unread,
Apr 16, 2009, 7:38:27 AM4/16/09
to v4l4j
Hi,
It's just the sample code provided by alexanda, nothing modified
except some version related symbols.
And I'm confused that I can run it successfullly first 2 or 3 times,
after that, I just got no lucky, nothing changed...

On Apr 16, 5:32 pm, Gilles Gigan <gilles.gi...@gmail.com> wrote:
> Hi,
> I have not tried Alexandra's code yet so I cannot help you out with
> this. I might be able to see if it comes from v4l4j if you share the
> code you are running.
>
> Gilles
>
> On Thu, Apr 16, 2009 at 6:21 PM, xiao.xin...@gmail.com
>
>
>
> <xiao.xin...@gmail.com> wrote:
>
> > Hi, I've compiled your sample code with some modification related to
> > the v4l4j version, but it only worked sometimes, most of the times it
> > failed and the error message is:
>
> > ===================================================================
> > [ libvideo.c:68 ] Using libvideo version 0.8-trunk_r151
> > Getting steams
> > 230400Getting steams
> > DataSource started
> > DataSource stop
> > DataSource started
> > java.lang.NullPointerException
> >        at com.sun.media.codec.video.colorspace.RGBConverter.process
> > (RGBConverter.java:352)
> >        at com.sun.media.BasicFilterModule.process(BasicFilterModule.java:
> > 322)
> >        at com.sun.media.BasicModule.connectorPushed(BasicModule.java:69)
> >        at com.sun.media.BasicOutputConnector.writeReport
> > (BasicOutputConnector.java:120)
> >        at com.sun.media.SourceThread.process(BasicSourceModule.java:729)
> >        at com.sun.media.util.LoopThread.run(LoopThread.java:135)
> > DataSource stop
> > DataSource disconnecting
> > ====================================================================
>
> > Does anybody have tried this and know what the problem is?- Hide quoted text -
>
> - Show quoted text -

Gilles Gigan

unread,
Apr 16, 2009, 8:21:39 AM4/16/09
to v4...@googlegroups.com
Ok, i ll have a look at it and i ll let you know.

Gilles
Reply all
Reply to author
Forward
0 new messages