Re: [Elphel-support] Stream stopping after setting decimation

2020-08-08 Thread Oleg
Hi,

scale at the source

That's not possible right away.
- one relatively simple way I can think of would be installing gstreamer
plugins on the camera then scale and restream. That will increase latency.
- another way would be modifying the streamer program (elphel-apps-astreamer
).

Are you required to use rtsp? If not then it's possible to have a
script/program that would do the scaling and you would get images by
http-requests.

Best regards,
Oleg Dzhimiev
Electronics Engineer
phone: +1 801 783  x124
Elphel, Inc.

On Wed, Aug 5, 2020 at 6:13 AM Daniele Forsi 
wrote:

> Hello Oleg,
>
>>
>> > Meanwhile, you can try:
> > * lowering the compression quality - QUALITY parameter, the default one
> is 80%.
> > * wider lens allowing for a smaller window of interest with the required
> field of view. fps rate is programmable.
>
> thank you for your answer, since one of our requirements is  todisplay the
> video on a 10 inches screen with a resolution of 1024x600. Is there a way
> to scale the stream at the source in addition to setting a WOI or the DCM_*
> parameters?
>
>
> thank you
>
> Daniele Forsi
> ___
> Support-list mailing list
> Support-list@support.elphel.com
> http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com
___
Support-list mailing list
Support-list@support.elphel.com
http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com


Re: [Elphel-support] Stream stopping after setting decimation

2020-08-08 Thread Oleg
Hi,

I reproduced the problem. What happens is the compressor freezes when the
DCM_* parameters are applied. Since it's not used very often something
probably broke along the way. We'll try to fix this.

Meanwhile, you can try:
* lowering the compression quality - QUALITY parameter, the default one is
80%.
* wider lens allowing for a smaller window of interest with the required
field of view. fps rate is programmable.

Regards,
Oleg

On Mon, Aug 3, 2020 at 6:37 AM Daniele Forsi 
wrote:

> Hi,
>
> > 1. Do you see the image degradation and image dimensions changes in the
> web interface after the parameters are applied?
>
> wtih DCM_HOR and DCM_VERT both at 2 the dimensions changed from 2592x1936
> to 1293x960
>
> > Do images keep refreshing there (or check mjpeg stream)?
>
> only one static image is received with the new size at
> http://192.168.0.9:2323/bimg but the stream at
> http://192.168.0.9:2323/mimg is showing a black page
>
> > Also, check http://192.168.0.9:2323/meta - refresh the page a few times
> and check if the frame counters are updating?
>
> currentSensorFrame and currentSensorFrameHex are updating but all other
> parameters aren't updating
>
> This XML file does not appear to have any style information associated
> with it. The document tree is shown below.
> 
> 
>  0x2abf440 
>  0xa390400 
>  0xa390400 
> 0xa390400 
>  0xa390400 
>  0x50 
>  0x0 
>  0x0 
>  0x510 
>  0x3c0 
>  0x568 
>  1588812730.071853
>  0x 
> 4659
> 3646
>  5eb35bba 000118ad
> 0x1233
> 0x0e3e
> 
> "1384 (0x568)"
> "0x0009ac10"
> "REDACTED"
> ""
> "3646"
> "1"
> "0"
> "2020:05:07 00:52:10.071853"
> "0.001019"
> "REDACTED"
> 
> 
> 
>
> > 2. In your log I see fps was 2.5.
> > Was autoexposure running?
>
> yes
>
> it's 2.5 in the last line printed but it's 10 in the previous lines
>
> thanks,
> Daniele Forsi
>
>
> ___
> Support-list mailing list
> Support-list@support.elphel.com
> http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com
___
Support-list mailing list
Support-list@support.elphel.com
http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com


Re: [Elphel-support] Stream stopping after setting decimation

2020-08-05 Thread Daniele Forsi
Hello Oleg,


> Meanwhile, you can try:

> * lowering the compression quality - QUALITY parameter, the default one is 
> 80%.
> * wider lens allowing for a smaller window of interest with the required 
> field of view. fps rate is programmable.


thank you for your answer, since one of our requirements is  todisplay the 
video on a 10 inches screen with a resolution of 1024x600. Is there a way to 
scale the stream at the source in addition to setting a WOI or the DCM_* 
parameters?


thank you

Daniele Forsi
___
Support-list mailing list
Support-list@support.elphel.com
http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com


Re: [Elphel-support] Stream stopping after setting decimation

2020-08-03 Thread Daniele Forsi
Hi,

> 1. Do you see the image degradation and image dimensions changes in the web 
> interface after the parameters are applied?

wtih DCM_HOR and DCM_VERT both at 2 the dimensions changed from 2592x1936 to 
1293x960

> Do images keep refreshing there (or check mjpeg stream)? 

only one static image is received with the new size at 
http://192.168.0.9:2323/bimg but the stream at http://192.168.0.9:2323/mimg is 
showing a black page

> Also, check http://192.168.0.9:2323/meta - refresh the page a few times and 
> check if the frame counters are updating?

currentSensorFrame and currentSensorFrameHex are updating but all other 
parameters aren't updating

This XML file does not appear to have any style information associated with it. 
The document tree is shown below.


 0x2abf440 
 0xa390400 
 0xa390400 
0xa390400 
 0xa390400 
 0x50 
 0x0 
 0x0 
 0x510 
 0x3c0 
 0x568 
 1588812730.071853
 0x 
4659
3646
 5eb35bba 000118ad
0x1233
0x0e3e

"1384 (0x568)"
"0x0009ac10"
"REDACTED"
""
"3646"
"1"
"0"
"2020:05:07 00:52:10.071853"
"0.001019"
"REDACTED"




> 2. In your log I see fps was 2.5.
> Was autoexposure running?

yes

it's 2.5 in the last line printed but it's 10 in the previous lines

thanks,
Daniele Forsi

  
___
Support-list mailing list
Support-list@support.elphel.com
http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com


Re: [Elphel-support] Stream stopping after setting decimation

2020-07-31 Thread Oleg
Hi,

1. Do you see the image degradation and image dimensions changes in the web
interface after the parameters are applied? Do images keep refreshing there
(or check mjpeg stream)?
Also, check http://192.168.0.9:2323/meta - refresh the page a few times and
check if the frame counters are updating?

2. In your log I see fps was 2.5.
Was autoexposure running?

Best regards,
Oleg Dzhimiev
Electronics Engineer
phone: +1 801 783  x124
Elphel, Inc.

On Fri, Jul 31, 2020 at 10:44 AM Daniele Forsi 
wrote:

> Hello,
>
> when I change the parameters DCM_HOR and DCM_VERT the stream stops and the
> str daemon can't be stopped with Ctrl-C or kill -KILL and I need to reboot
> the board (the web server and ssh server are still working).
> I have set those parameters to 2, 3 and 4 using the web interface.
>
> This happens both if str is not running and when it is running , in this
> case the last lines printed are:
>
> streamer.cpp: handler: 366: sensor port: 0 event: running= 0 streamer.cpp:
> update_settings: 131: sensor port: 0 update_settings
> video.cpp: getFramePars: 285: sensor port: 0  before=0
> metadata_start=46106528
> video.cpp: getFramePars: 285: sensor port: 0  before=0
> metadata_start=45742816
> video.cpp: get_current_desc: 350: sensor port: 0  fps=2.5
> Socket::poll()...
> socket.fd == 8; 9;
> revents == 0; POLLIN == 1
> revents == 0; POLLIN == 1
> streamer.cpp: handler: 366: sensor port: 0 event: running= 0 streamer.cpp:
> update_settings: 131: sensor port: 0 update_settings
>
>
> after a couple of seconds another line is printed:
>
> video.cpp: getFramePars: 285: sensor port: 0  before=0
> metadata_start=41742464
>
>  and then nothing more.
>
> How can we debug this situation?
>
> thanks you
> Daniele Forsi
>
>
>
> ___
> Support-list mailing list
> Support-list@support.elphel.com
> http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com
___
Support-list mailing list
Support-list@support.elphel.com
http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com