motioneye-project / motioneyeos

A Video Surveillance OS For Single-board Computers
Other
7.87k stars 899 forks source link

Video Stream is darker than on MotionEye Stream #2310

Open igloo15 opened 4 years ago

igloo15 commented 4 years ago

motionEyeOS Version

I am running motionEyeOS version: motionEyeOS dev20200223

Board Model

I am using the following board/model: Raspberry PI Zero W

Camera

I am using the following type of camera: Fast Camera Network and RTSP

My camera model is: Standard NOIR Raspberry Pi Camera

Network Connection

My motionEyeOS unit is connected to the network via: Wifi

Peripherals

I am using the following peripherals that I consider relevant to this issue: No Peripherals

Main Issue

The main issue I am having is that when I log in to the web portal for motioneyeos the video stream I see is considerably brighter and easier to see then when I view the video stream from anywhere else.

I have tried Blue Iris, Zone Minder, VLC and others. When I view the video streams in both HTTP and RTSP I noticed that they are very dark whether IR Filter is enable or not doesn't make a difference. When I view this supposedly same video stream from the motion eye os web page it looks brighter for some reason. I am trying to figure out why there is a difference.

starbasessd commented 4 years ago

Do you get the same brighter output when looking at the 8081 stream output port? Do you have Fast Network Camera turned on? Have you changed any other settings?

On Fri, Feb 28, 2020 at 11:00 AM Michael Tolland notifications@github.com wrote:

motionEyeOS Version

I am running motionEyeOS version: motionEyeOS dev20200223 Board Model

I am using the following board/model: Raspberry PI Zero W Camera

I am using the following type of camera: Fast Camera Network and RTSP

My camera model is: Standard NOIR Raspberry Pi Camera Network Connection

My motionEyeOS unit is connected to the network via: Wifi Peripherals

I am using the following peripherals that I consider relevant to this issue: No Peripherals Main Issue

The main issue I am having is that when I log in to the web portal for motioneyeos the video stream I see is considerably brighter and easier to see then when I view the video stream from anywhere else.

I have tried Blue Iris, Zone Minder, VLC and others. When I view the video streams in both HTTP and RTSP I noticed that they are very dark whether IR Filter is enable or not doesn't make a difference. When I view this supposedly same video stream from the motion eye os web page it looks brighter for some reason. I am trying to figure out why there is a difference.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ccrisan/motioneyeos/issues/2310?email_source=notifications&email_token=AEZTUHIUUEBAEGMWUEAADGTRFEYJVA5CNFSM4K5S7FO2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IRE5CMA, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEZTUHN5CRQXLG2YQLJUQTTRFEYJVANCNFSM4K5S7FOQ .

-- Thanks

Kevin Shumaker

Personal Tech Support https://kevinshumaker.wixsite.com/thethirdlevel

N38° 19' 56.52" W85° 45' 8.56"

Semper Gumby “Don't tell people how to do things. Tell them what to do and let them surprise you with their results.” - G.S. Patton, Gen. USA Ethics are what we do when no one else is looking. Quis custodiet ipsos custodes? “There is no end to the good you can do if you don’t care who gets the credit.” - C Powell You know we're sitting on four million pounds of fuel, one nuclear weapon and a thing that has 270,000 moving parts built by the lowest bidder. Makes you feel good, doesn't it?

igloo15 commented 4 years ago

There is not the worst I have seen but you can clearly see the first image is brighter than the other two. Technically they should be the same but they are not. It is not just VLC it is also blue iris and zoneminder.

This first image is from the motion eye os web page motion eye stream via web page

This is from rtsp playing to vlc rtsp_motion_eye_vlc

This is from http playing to vlc http_motion_eye_vlc

This is playing on blueiris same camera no settings changed default blueiris_motion_eye

No settings changes and these pictures taking only seconds apart. I am using Fast Network Camera

igloo15 commented 4 years ago

Whoops look like a cloud or something passed over when I took blue iris it was darker but not that much darker.

blueiris_motion_eye_v2

starbasessd commented 4 years ago

Not having any of the other packages, it may be just the way each processes the data, converting from one form to another. If you were interested, I' create a Raspbian Lite setup and install motionEye on it. Are you viewing on a PC or Pi?

On Fri, Feb 28, 2020 at 12:08 PM Michael Tolland notifications@github.com wrote:

Whoops look like a cloud or something passed over when I took blue iris it was darker but not that much darker.

[image: blueiris_motion_eye_v2] https://user-images.githubusercontent.com/2975460/75569392-fc823100-5a22-11ea-80e0-0fd88311f6c6.png

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ccrisan/motioneyeos/issues/2310?email_source=notifications&email_token=AEZTUHOL55UKWNDF4NB3KETRFFAILA5CNFSM4K5S7FO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENJIBUA#issuecomment-592609488, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEZTUHJXH752UFBKBONABZLRFFAILANCNFSM4K5S7FOQ .

-- Thanks

Kevin Shumaker

Personal Tech Support https://kevinshumaker.wixsite.com/thethirdlevel

N38° 19' 56.52" W85° 45' 8.56"

Semper Gumby “Don't tell people how to do things. Tell them what to do and let them surprise you with their results.” - G.S. Patton, Gen. USA Ethics are what we do when no one else is looking. Quis custodiet ipsos custodes? “There is no end to the good you can do if you don’t care who gets the credit.” - C Powell You know we're sitting on four million pounds of fuel, one nuclear weapon and a thing that has 270,000 moving parts built by the lowest bidder. Makes you feel good, doesn't it?

igloo15 commented 4 years ago

I am viewing all feeds on the same pc computer. I just find it strange to view the same feed side by side and the one on motionEyeOS be brighter and easier to see.

It doesn't make sense for streams to have different brightness. All streams but the one on motion eye os look the same. So I don't think it is issues with either BlueIris or VLC. The only different one is the MotionEyeOS user interface. Which makes me thing some processing or something is happening to brighten that view.

starbasessd commented 4 years ago

Do you have Automatic Brightness turned on? Feed on left is from Streaming URL using VLC, Feed on right is the Web Gui.using Firefox (concurrent snapshot) In my case, the VLC seems to be a little sharper and brighter. [image: image.png]

On Fri, Feb 28, 2020 at 1:29 PM Michael Tolland notifications@github.com wrote:

I am viewing all feeds on the same pc computer. I just find it strange to view the same feed side by side and the one on motionEyeOS be brighter and easier to see.

It doesn't make sense for streams to have different brightness. All streams but the one on motion eye os look the same. So I don't think it is issues with either BlueIris or VLC. The only different one is the MotionEyeOS user interface. Which makes me thing some processing or something is happening to brighten that view.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ccrisan/motioneyeos/issues/2310?email_source=notifications&email_token=AEZTUHJ6YLEXQJTQSQADQFLRFFJZHA5CNFSM4K5S7FO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENJVI2I#issuecomment-592663657, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEZTUHKOZNPWKHBE6XQAPDDRFFJZHANCNFSM4K5S7FOQ .

-- Thanks

Kevin Shumaker

Personal Tech Support https://kevinshumaker.wixsite.com/thethirdlevel

N38° 19' 56.52" W85° 45' 8.56"

Semper Gumby “Don't tell people how to do things. Tell them what to do and let them surprise you with their results.” - G.S. Patton, Gen. USA Ethics are what we do when no one else is looking. Quis custodiet ipsos custodes? “There is no end to the good you can do if you don’t care who gets the credit.” - C Powell You know we're sitting on four million pounds of fuel, one nuclear weapon and a thing that has 270,000 moving parts built by the lowest bidder. Makes you feel good, doesn't it?

igloo15 commented 4 years ago

Do you mean automatic white balance because yes I have that set to auto

starbasessd commented 4 years ago

I guess I really can't help, in this case.

On Fri, Feb 28, 2020 at 2:01 PM Michael Tolland notifications@github.com wrote:

Do you mean automatic white balance because yes I have that set to auto

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ccrisan/motioneyeos/issues/2310?email_source=notifications&email_token=AEZTUHMDIYGHGRKWQT4H25LRFFNSHA5CNFSM4K5S7FO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENJYPDQ#issuecomment-592676750, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEZTUHNROPHYBFNKYSNPDM3RFFNSHANCNFSM4K5S7FOQ .

-- Thanks

Kevin Shumaker

Personal Tech Support https://kevinshumaker.wixsite.com/thethirdlevel

N38° 19' 56.52" W85° 45' 8.56"

Semper Gumby “Don't tell people how to do things. Tell them what to do and let them surprise you with their results.” - G.S. Patton, Gen. USA Ethics are what we do when no one else is looking. Quis custodiet ipsos custodes? “There is no end to the good you can do if you don’t care who gets the credit.” - C Powell You know we're sitting on four million pounds of fuel, one nuclear weapon and a thing that has 270,000 moving parts built by the lowest bidder. Makes you feel good, doesn't it?

starbasessd commented 4 years ago

One last question: If you record the video, does it show as VLC/Blue Iris, brightness, or as Web GUI brightness?

On Fri, Feb 28, 2020 at 2:01 PM Michael Tolland notifications@github.com wrote:

Do you mean automatic white balance because yes I have that set to auto

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ccrisan/motioneyeos/issues/2310?email_source=notifications&email_token=AEZTUHMDIYGHGRKWQT4H25LRFFNSHA5CNFSM4K5S7FO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENJYPDQ#issuecomment-592676750, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEZTUHNROPHYBFNKYSNPDM3RFFNSHANCNFSM4K5S7FOQ .

-- Thanks

Kevin Shumaker

Personal Tech Support https://kevinshumaker.wixsite.com/thethirdlevel

N38° 19' 56.52" W85° 45' 8.56"

Semper Gumby “Don't tell people how to do things. Tell them what to do and let them surprise you with their results.” - G.S. Patton, Gen. USA Ethics are what we do when no one else is looking. Quis custodiet ipsos custodes? “There is no end to the good you can do if you don’t care who gets the credit.” - C Powell You know we're sitting on four million pounds of fuel, one nuclear weapon and a thing that has 270,000 moving parts built by the lowest bidder. Makes you feel good, doesn't it?

igloo15 commented 4 years ago

I can't record the video on motion eye since I am using Fast Network Camera

starbasessd commented 4 years ago

VLC and Blue Iris should be able to record. You could turn off Fast Network Camera for a test. Good luck. It would appear to me to be an issue with the other apps, if the primary source (motionEyeOS) is putting out the best video.

On Fri, Feb 28, 2020 at 3:52 PM Michael Tolland notifications@github.com wrote:

I can't record the video on motion eye since I am using Fast Network Camera

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ccrisan/motioneyeos/issues/2310?email_source=notifications&email_token=AEZTUHKU77VWCFH4HJPZLBTRFF2R7A5CNFSM4K5S7FO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENKDYLI#issuecomment-592722989, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEZTUHPKYOX7RV6O3FI7TXTRFF2R7ANCNFSM4K5S7FOQ .

-- Thanks

Kevin Shumaker

Personal Tech Support https://kevinshumaker.wixsite.com/thethirdlevel

N38° 19' 56.52" W85° 45' 8.56"

Semper Gumby “Don't tell people how to do things. Tell them what to do and let them surprise you with their results.” - G.S. Patton, Gen. USA Ethics are what we do when no one else is looking. Quis custodiet ipsos custodes? “There is no end to the good you can do if you don’t care who gets the credit.” - C Powell You know we're sitting on four million pounds of fuel, one nuclear weapon and a thing that has 270,000 moving parts built by the lowest bidder. Makes you feel good, doesn't it?

jasaw commented 4 years ago

Let me chime in here. I implemented the fast network cam RTSP mode for motioneyeos. Viewing RTSP from the camera web interface itself is brighter because the video stream is from camera encoded directly to MJPEG whereas motioneye server decodes the rtsp stream and encode to MJPEG. It is done this way for performance reasons.

starbasessd commented 4 years ago

Interesting. Starting from the same data and source results in 2 different value levels going to the MJPEG output stream. In the case of a CSI Fast Netwok Camera, aren't you using the same encoder?

On Fri, Feb 28, 2020 at 6:58 PM jasaw notifications@github.com wrote:

Let me chime in here. I implemented the fast network cam RTSP mode for motioneyeos. Viewing RTSP from the camera web interface itself is brighter because the video stream is from camera encoded directly to MJPEG whereas motioneye server decides the rtsp stream and encode to MJPEG.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ccrisan/motioneyeos/issues/2310?email_source=notifications&email_token=AEZTUHJTGTWTCAIIY3N6533RFBHTTA5CNFSM4K5S7FO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENKSTII#issuecomment-592783777, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEZTUHIGXHGADTRGMWVXDRDRFBHTTANCNFSM4K5S7FOQ .

-- Thanks

Kevin Shumaker

Personal Tech Support https://kevinshumaker.wixsite.com/thethirdlevel

N38° 19' 56.52" W85° 45' 8.56"

Semper Gumby “Don't tell people how to do things. Tell them what to do and let them surprise you with their results.” - G.S. Patton, Gen. USA Ethics are what we do when no one else is looking. Quis custodiet ipsos custodes? “There is no end to the good you can do if you don’t care who gets the credit.” - C Powell You know we're sitting on four million pounds of fuel, one nuclear weapon and a thing that has 270,000 moving parts built by the lowest bidder. Makes you feel good, doesn't it?

jasaw commented 4 years ago

In order to output rtsp and MJPEG simultaneously, I had to run h264 and MJPEG concurrently in the GPU for maximum performance. That is why same camera, different brightness.

igloo15 commented 4 years ago

So how do I get them to be the same brightness. As in how do I change the rtsp brightness to match or get closer to the one in MotionEyeOS.

jasaw commented 4 years ago

Play with the camera settings on the Fast Network Camera web interface. Try increasing the exposure compensation.