[Elphel-support] [General enquiry about the project] elphelvision install

Cinema Project | Sebastian Pichelhofer cinema at elphel.com
Thu Mar 18 15:26:34 PDT 2010


The NFS related problem could be solved by enabling "allow_sync"
http://wiki.elphel.com/index.php?title=Camogm#allow_sync

Though its not yet implemented in the GUI, you would have to test/set
it manually.

Regards Sebastian

On Thu, Mar 18, 2010 at 3:44 PM, John Walters <jw3142 at gmail.com> wrote:
>
> Hi Sebastian,
>
> Just a brief update.
>
> After setting up the nfs server on my laptop (192.168.10.141)
>
> It could be mounted using:
>
> mount -t nfs -o nolock,tcp 192.168.10.141:/home /var/hdd/
>
> It was possible to record to this location but very unstable e.g. 1 to
> 2 secs max.
>
> Also in settings one the ability to change from quicktime to jpeg
> sequence often was not possible - have you experienced this before?
>
> Best,
>
> John
>
> On Thu, Mar 18, 2010 at 3:55 PM, John Walters <jw3142 at gmail.com> wrote:
> > Super! Mencoder it is as that works great! A bit of filming now! Then
> > will circle round on the tutorial bits, Many thanks,
> >
> > John
> >
> > On Thu, Mar 18, 2010 at 2:53 PM, Cinema Project | Sebastian
> > Pichelhofer <cinema at elphel.com> wrote:
> >> Great!
> >> you can mount the nfs share at /var/hdd then you can use the ElphelVision
> >> GUI as Alexandre suggested.
> >> Alternatively you can record the stream with mencoder, and can stil use
> >> Elphelvision for control, just not for starting/stopping the recording.
> >> There is no need to set exposure, etc in mencoder, all it does is dump the
> >> same video stream you see into a file.
> >> Regards Sebastian
> >>
> >> On Thu, Mar 18, 2010 at 4:49 AM, Alexandre Poltorak
> >> <alexandre.poltorak at gmail.com> wrote:
> >>>
> >>> Use NFS share mounted on the camera + camogmgui ?
> >>>
> >>> Regards,
> >>> Alexandre
> >>>
> >>> On Thu, Mar 18, 2010 at 11:26 AM, John Walters <jw3142 at gmail.com> wrote:
> >>>>
> >>>> Hi Sebastian,
> >>>>
> >>>> I deleted all the elphel project and re-installed the source.
> >>>>
> >>>> The version V0.3 I have didn't need the Hard disk tweak you suggested
> >>>> as it was already done.
> >>>>
> >>>> I then went into camvc and set the res to 1280 x 720 and ran the
> >>>> ElphelVision.java within netbean, it compiled it and ran without an
> >>>> issue! Repeatedly! (Using your ip and the other network config I sent
> >>>> you previously).
> >>>>
> >>>> Now the big question - recording - can it be done without a hard disk
> >>>> attached the camera? If so any suggestions? It is simply down to
> >>>> capturing the stream in mencoder? If so how do you set the exposure
> >>>> and gain in mencoder - currently I only know how to set the fps.
> >>>>
> >>>> Great stuff - really progress!
> >>>>
> >>>> Best,
> >>>>
> >>>> John
> >>>>
> >>>> On Wed, Mar 17, 2010 at 4:21 PM, Cinema Project | Sebastian
> >>>> Pichelhofer <cinema at elphel.com> wrote:
> >>>> > Some time ago mplayer would have required a patch to support
> >>>> > resolutions
> >>>> > above full HD (which Elphel supplies by default in full resolution),
> >>>> > but the
> >>>> > patch went upstream.
> >>>> >
> >>>> > To make sure this is not the problem use the elphel camvc webinterface
> >>>> > to
> >>>> > reduce the resolution to 1280x720 for example before you start
> >>>> > elphelvision.
> >>>> >
> >>>> > Does the debug output show something different now after you changed
> >>>> > the
> >>>> > IPs?
> >>>> >
> >>>> >
> >>>> > I just remembered that you do not have a camera connected HDD right?
> >>>> > go to Camera.java
> >>>> >
> >>>> > http://elphel.svn.sourceforge.net/viewvc/elphel/Apertus/ElphelVision/Java%20App/src/elphelvision/Camera.java?revision=90&view=markup
> >>>> >
> >>>> > and change line 737 to "return true;" instead of "return false;", this
> >>>> > will
> >>>> > stop it from trying to mount the hdd if it cant find it...
> >>>> >
> >>>> > I think we are getting closer ... :)
> >>>> >
> >>>> > Regards Sebastian
> >>>> >
> >>>> > On Wed, Mar 17, 2010 at 8:30 AM, John Walters <jw3142 at gmail.com> wrote:
> >>>> >>
> >>>> >> Hi Sebastian,
> >>>> >>
> >>>> >> Tried that - 4 places found in the project, 1 in the camera java could
> >>>> >> not be changed as it was pulling it from somewhere else, so left
> >>>> >> everything as was and changed to camera's settings to
> >>>> >>
> >>>> >> match yours, then gateway 192.168.10.1, broadcast 192.168.10.255,
> >>>> >> subnet 255.255.255.0, but no luck still hangs, but still works fine
> >>>> >> through the camera's web interface.
> >>>> >>
> >>>> >> Is there is special mplayer build I need to have?
> >>>> >>
> >>>> >> Thanks again,
> >>>> >>
> >>>> >> John
> >>>> >>
> >>>> >> On Tue, Mar 16, 2010 at 9:17 PM, Cinema Project | Sebastian
> >>>> >> Pichelhofer <cinema at elphel.com> wrote:
> >>>> >> > I am afraid its my flawed code :)
> >>>> >> >
> >>>> >> > I looked into it yesterday and found some hardcoded references to
> >>>> >> > the ip
> >>>> >> > address of the camera I use, very bad coding style..... :p
> >>>> >> >
> >>>> >> > please "search in project files" I think under edit.
> >>>> >> > and search for "192.168.10.140"
> >>>> >> >
> >>>> >> > this dirty code can get a fast dirty fix: just replace all instances
> >>>> >> > with
> >>>> >> > the IP of your camera: 192.168.1.4
> >>>> >> >
> >>>> >> > Regards Sebastian
> >>>> >> >
> >>>> >> > On Tue, Mar 16, 2010 at 3:40 AM, John Walters <jw3142 at gmail.com>
> >>>> >> > wrote:
> >>>> >> >>
> >>>> >> >> Hi Sebastian,
> >>>> >> >>
> >>>> >> >> I've attached the netbean output. Seems it can't find host. Is host
> >>>> >> >> the camera? The camera is accessible via the ethernet on
> >>>> >> >> 192.168.1.4
> >>>> >> >> or is its a java set up issue?
> >>>> >> >>
> >>>> >> >> Really appreciate your help,
> >>>> >> >>
> >>>> >> >> Thank you,
> >>>> >> >>
> >>>> >> >> John
> >>>> >> >>
> >>>> >> >> On Mon, Mar 15, 2010 at 8:24 PM, Cinema Project | Sebastian
> >>>> >> >> Pichelhofer <cinema at elphel.com> wrote:
> >>>> >> >> > hmm I can only guess, maybe the mplayer process isnt terminiated
> >>>> >> >> > when
> >>>> >> >> > closing the first instance?
> >>>> >> >> > or maybe it has something to do with writing the autosave file
> >>>> >> >> > (try
> >>>> >> >> > deleting
> >>>> >> >> > your autosave.cfg file)?
> >>>> >> >> >
> >>>> >> >> > The settings 2 tab is not completed and does not work yet
> >>>> >> >> >
> >>>> >> >> > Regards Sebastian
> >>>> >> >> >
> >>>> >> >> > On Mon, Mar 15, 2010 at 12:49 PM, John Walters <jw3142 at gmail.com>
> >>>> >> >> > wrote:
> >>>> >> >> >>
> >>>> >> >> >> Hi Sebastian,
> >>>> >> >> >>
> >>>> >> >> >> I've managed to have v0.3 work once, but when I repeat the run
> >>>> >> >> >> process
> >>>> >> >> >> via netbean it hangs when looking for the camera - the camera
> >>>> >> >> >> works
> >>>> >> >> >> fine through the elphel interface. I devug and it hangs at
> >>>> >> >> >> thread 2
> >>>> >> >> >> and then at thread 4. There's no further information. Would
> >>>> >> >> >> really
> >>>> >> >> >> love to have this working - any suggestions? Also whe it was
> >>>> >> >> >> working
> >>>> >> >> >> oging into the settings 2 tab and change gamma eg cine 1 to
> >>>> >> >> >> cine2
> >>>> >> >> >> and
> >>>> >> >> >> then pressing the test button didn't do anything i.e. no test
> >>>> >> >> >> picture
> >>>> >> >> >> displayed. Its probably me so excuse my stupidity.
> >>>> >> >> >>
> >>>> >> >> >> Best wishes,
> >>>> >> >> >>
> >>>> >> >> >> John
> >>>> >> >> >>
> >>>> >> >> >> On Fri, Mar 12, 2010 at 5:23 PM, Cinema Project | Sebastian
> >>>> >> >> >> Pichelhofer <cinema at elphel.com> wrote:
> >>>> >> >> >> > Hi John
> >>>> >> >> >> >
> >>>> >> >> >> > Your help would be greatly appreciated!
> >>>> >> >> >> >
> >>>> >> >> >> > Version 0.2 is already pretty old and I would suggest to try
> >>>> >> >> >> > the
> >>>> >> >> >> > latest
> >>>> >> >> >> > version directly from SVN, as it already has a ton more
> >>>> >> >> >> > features.
> >>>> >> >> >> >
> >>>> >> >> >> >
> >>>> >> >> >> > To do so you need to install (in ubuntu):
> >>>> >> >> >> >
> >>>> >> >> >> > SVN: sudo apt-get install subversion
> >>>> >> >> >> >
> >>>> >> >> >> > then you can acquire latest source (create a new directory
> >>>> >> >> >> > first)
> >>>> >> >> >> > with:
> >>>> >> >> >> > svn
> >>>> >> >> >> > co https://elphel.svn.sourceforge.net/svnroot/elphel elphel
> >>>> >> >> >> >
> >>>> >> >> >> > Then download and install JDK
> >>>> >> >> >> > (http://java.sun.com/javase/downloads/widget/jdk6.jsp) and
> >>>> >> >> >> > netbeans
> >>>> >> >> >> >
> >>>> >> >> >> >
> >>>> >> >> >> >
> >>>> >> >> >> >
> >>>> >> >> >> > (http://netbeans.org/downloads/start.html?platform=linux&lang=en&option=javase&version=6.8)
> >>>> >> >> >> >
> >>>> >> >> >> >
> >>>> >> >> >> >
> >>>> >> >> >> > Now open netbeans and load the project (svn
> >>>> >> >> >> > directory/apertus/Elphelvision/java app)
> >>>> >> >> >> >
> >>>> >> >> >> > copy the file from svn directory/apertus/Elphelvision/camera
> >>>> >> >> >> > www
> >>>> >> >> >> > to
> >>>> >> >> >> > your
> >>>> >> >> >> > camera into the /ElphelVision/ directory that you already
> >>>> >> >> >> > created
> >>>> >> >> >> > for
> >>>> >> >> >> > 0.2
> >>>> >> >> >> >
> >>>> >> >> >> >
> >>>> >> >> >> >
> >>>> >> >> >> > In netbeans then open up the full file tree on the left and
> >>>> >> >> >> > right
> >>>> >> >> >> > click
> >>>> >> >> >> > Elphelvision.java -> Run File
> >>>> >> >> >> >
> >>>> >> >> >> >
> >>>> >> >> >> >
> >>>> >> >> >> > If it still does not work you should get some debug info from
> >>>> >> >> >> > netbeans.
> >>>> >> >> >> >
> >>>> >> >> >> > Let me know!
> >>>> >> >> >> >
> >>>> >> >> >> >
> >>>> >> >> >> > PS: I think it would be great to add a subpage on the apertus
> >>>> >> >> >> > website
> >>>> >> >> >> > that
> >>>> >> >> >> > describes exactly this process with lots of easy to understand
> >>>> >> >> >> > images,
> >>>> >> >> >> > etc.
> >>>> >> >> >> > Would you be willing to take care of this task?
> >>>> >> >> >> >
> >>>> >> >> >> > Regards Sebastian
> >>>> >> >> >> >
> >>>> >> >> >> >
> >>>> >> >> >> >
> >>>> >> >> >> >
> >>>> >> >> >> > On Fri, Mar 12, 2010 at 3:01 AM, <jw3142 at gmail.com> wrote:
> >>>> >> >> >> >>
> >>>> >> >> >> >> john walters sent a message using the contact form at
> >>>> >> >> >> >> http://cinema.elphel.com/contact.
> >>>> >> >> >> >>
> >>>> >> >> >> >> Hi I wonder if you can help. We have just received a NC353L
> >>>> >> >> >> >> to do
> >>>> >> >> >> >> some
> >>>> >> >> >> >> development work on. No issues on connecting to it (ip is
> >>>> >> >> >> >> 192.168.1.4),
> >>>> >> >> >> >> would love to install your elphelvision 0.2. Had no problems
> >>>> >> >> >> >> uploading
> >>>> >> >> >> >> to
> >>>> >> >> >> >> the html folder on the camera. Install player on both windows
> >>>> >> >> >> >> (vista)
> >>>> >> >> >> >> and
> >>>> >> >> >> >> also ubuntu 9.10 (both with java installed as a runtime
> >>>> >> >> >> >> environment
> >>>> >> >> >> >> and
> >>>> >> >> >> >> as
> >>>> >> >> >> >> plugins - tried 3 different browsers ie, ff and chrome).
> >>>> >> >> >> >> Surfed
> >>>> >> >> >> >> to
> >>>> >> >> >> >> 192.168.1.4/ElphelVision/ElphelVision.html, got the trust
> >>>> >> >> >> >> this
> >>>> >> >> >> >> app
> >>>> >> >> >> >> and
> >>>> >> >> >> >> accepted, next on top middle of the screen with the enter
> >>>> >> >> >> >> camera
> >>>> >> >> >> >> ip
> >>>> >> >> >> >> -
> >>>> >> >> >> >> when I
> >>>> >> >> >> >> did this and pressed connect the screen hangs on either op
> >>>> >> >> >> >> system
> >>>> >> >> >> >> and
> >>>> >> >> >> >> any
> >>>> >> >> >> >> combination of browsers. The green led on the camera is
> >>>> >> >> >> >> flashing
> >>>> >> >> >> >> lots
> >>>> >> >> >> >> so its
> >>>> >> >> >> >> presumably streaming. I can run player on the ubuntu laptop
> >>>> >> >> >> >> and
> >>>> >> >> >> >> have
> >>>> >> >> >> >> it
> >>>> >> >> >> >> display well using rstp etc. Any help you can offer would be
> >>>> >> >> >> >> great
> >>>> >> >> >> >> as
> >>>> >> >> >> >> we'
> >>>> >> >> >> >> love to use you software. The netbook screen shots of version
> >>>> >> >> >> >> .1
> >>>> >> >> >> >> and
> >>>> >> >> >> >> .2
> >>>> >> >> >> >> look
> >>>> >> >> >> >> exactly what we need!
> >>>> >> >> >> >>
> >>>> >> >> >> >> Best wishes,
> >>>> >> >> >> >>
> >>>> >> >> >> >> John
> >>>> >> >> >> >
> >>>> >> >> >> >
> >>>> >> >> >
> >>>> >> >> >
> >>>> >> >
> >>>> >> >
> >>>> >
> >>>> >
> >>>
> >>
> >>
> >




More information about the Support-list mailing list