Difference between revisions of "User:Aegdss\Learning Curve"

From ElphelWiki
Jump to: navigation, search
(Streaming etc.)
Line 38: Line 38:
  
 
--[[User:Aegdss|aegdss]] 14:01:39, 2008-08-11 (UTC)
 
--[[User:Aegdss|aegdss]] 14:01:39, 2008-08-11 (UTC)
 +
 +
 +
== Use the src... ==
 +
 +
Seems like the ajax ui eventually turns off the compressor if streaming is not on,
 +
I didnt look at the code yet though.
 +
 +
Managed to get pretty good performance using the fast server (port 8081).  Just start the compressor with fpcf -jpeg and then read from 8081/img as fast as I could.  Gonna write a small little app to do it and see how fast I can get it on windows.
 +
 +
Loaded src onto a ubuntu machine today using install_from_cvs script.  Went pretty smooth with only a few glitches...
 +
 +
1) the tcpdump.org was down and ./install_elphel wants to grab libpcap from there.  Just download it from somewhere else and put it in the ~/distfiles dir. 
 +
 +
2) apt-get install lex yacc doesn't work.  Those are in flex and bison though, so
 +
apt-get install flex bison  gets them.
 +
 +
3) the manual install of the cris compiler had problems, but the binary distribution worked just fine.
 +
 +
 +
== SCINI stuff ==
 +
 +
We are going to try to use a dual headed setup with one sensor fwd and one looking down.  So looking into using the 10359 and what exactly is the best operational method of doing that. 
 +
 +
--[[User:Aegdss|aegdss]] 14:28:38, 2008-08-21 (CDT)

Revision as of 12:28, 21 August 2008

Diary of getting up to speed

Unboxing

--aegdss 09:24:28, 2008-08-08 (CDT)

Got the camera including a few cat-5 and rs-232 Dsub shell etc which was very nice.

Dont have a POE switch and didnt want to cannibalize a cable or open the housing yet, so I bought a POE injector (POI-2000 from CP Technology via amazon).

Camera came right up, could connect via telnet and browser, could acquire images and modify settings. UI seemed a bit flakey at times (using Firefox) but that could certainly have been op error.

Changed IP to 192.168.1.9, so it would work on my lan.

Attempted to get VLC and mplayer to work, but didnt have too much luck. Streamer seemed to start as evidenced by ps and indicator on web ui. But I couldn't get client apps to receive a stream. I did manage to get mplayer to start crashing so It must have been doing something :)

Gonna try streaming with linux client and then once that is all working go back to vista.


VLC should work at least up to HD resolution on any OS. (take the last stable version of VLC. VLC need to be compiled with a liblivemedia >= 2007.02.20) We officially support only patched MPlayer. (Here also, last stable MPlayer, liblivemedia >= 2007.02.20) The patch to apply is just in mplayer-1.0~rc2/libmpdemux/demux_rtp.cpp replace #define MAX_RTP_FRAME_SIZE 50000 by #define MAX_RTP_FRAME_SIZE 5000000.

--Alexandre.Poltorak 02:51, 9 August 2008 (CDT)


Streaming

Yes, VLC seems to work when using HD or less resolution. VLC is a touch on the flaky side, It would crash when using a built in image capture device (not elphel camera). Also, I could only get vlc to work using unicast streaming (rtsp://192.168.0.9:554). But that could easily have been operator error. I'll look into that further later, but first want to test out a patched mplayer under windows. But once I set the frame rate correctly and used unicast I didn't have any problems.

VLC had bad latency, on the order of 2-3 seconds, which seemed independent of resolution. The web interface, used at the same time as the streamer, did NOT exhibit the same latency. PC CPU load was only 25% or so. The other SCINI team members reported "very low" latency using VLC under linux, so evidence points to an issue with vlc on windows.

Aside: The AJAX interface works well and is nice if a bit intimidating for the neophyte user, the tooltips help a lot. I'm curious what is the frame rate limiting factor here, I need to take a peek at the code when I get a sec.

--aegdss 14:01:39, 2008-08-11 (UTC)


Use the src...

Seems like the ajax ui eventually turns off the compressor if streaming is not on, I didnt look at the code yet though.

Managed to get pretty good performance using the fast server (port 8081). Just start the compressor with fpcf -jpeg and then read from 8081/img as fast as I could. Gonna write a small little app to do it and see how fast I can get it on windows.

Loaded src onto a ubuntu machine today using install_from_cvs script. Went pretty smooth with only a few glitches...

1) the tcpdump.org was down and ./install_elphel wants to grab libpcap from there. Just download it from somewhere else and put it in the ~/distfiles dir.

2) apt-get install lex yacc doesn't work. Those are in flex and bison though, so apt-get install flex bison gets them.

3) the manual install of the cris compiler had problems, but the binary distribution worked just fine.


SCINI stuff

We are going to try to use a dual headed setup with one sensor fwd and one looking down. So looking into using the 10359 and what exactly is the best operational method of doing that.

--aegdss 14:28:38, 2008-08-21 (CDT)