fwestenberg / reolink_dev

Home Assistant Reolink addon
MIT License
550 stars 101 forks source link

Error from stream worker: Error opening stream (EOF, End of file) #489

Open comet424 opened 2 years ago

comet424 commented 2 years ago

Describe the bug Please check out the Q&A page first! the bug is when i add the camera and want to view it live stream i get the EOF error

''' Logger: homeassistant.components.stream.stream.camera.camera2 Source: components/stream/init.py:347 Integration: Stream (documentation, issues) First occurred: April 22, 2022, 4:17:36 PM (193 occurrences) Last logged: 7:50:07 PM

Error from stream worker: Error opening stream (EOF, End of file) rtmp://192.168.0.249:1935/bcs/channel0_main.bcs?channel=0&stream=0&user=admin&password=test Error from stream worker: Error opening stream (ERRORTYPE_113, Host is unreachable) rtmp://192.168.0.249:1935/bcs/channel0_main.bcs?channel=0&stream=0&user=admin&password=test '''

To Reproduce add camera in intergrations .. add picture card entity... doesnt work.. check log settings get error

Expected behavior should display camera stream

Screenshots If applicable, add screenshots to help explain your problem.

Environment: Please provide useful information about your environment, like:

Additional context just doesnt work

acesyde commented 2 years ago

Exactly the same issue for me

Environment:

image

Error from stream worker: Error opening stream (EOF, End of file) rtmp://192.168.1.114:1935/bcs/channel0_main.bcs?channel=0&stream=0&user=xxxxxxx&password=xxxxxxxxxxxxxx

And the link doesn't work with VLC either

Works fine with sub channel

Swiftrail84 commented 2 years ago

https://github.com/fwestenberg/reolink_dev/issues/486

comet424 commented 2 years ago

it also giveas another error.. and locks up Home assistant that makes home assistant usless till ya reboot.. you remove the camera.. no issues.. for now looking at other ways to stream this camera.. as you cant do anything.. it doesnt seem to do this issue with the dome camera.. just the this bullet style camera.. guess it has something else in it that needs extra work.. looking at webrtc see if i can get a work around for now

Xitee1 commented 2 years ago

I just had exactly the same problem but got it fixed! It was actually really easy because RTMP just wasn't enabled.

On my camera I had to access it via the web page in the browser and navigate to: Settings -> Network Settings -> Advanced -> Port Settings -> Enable RTMP

Now it is working

comet424 commented 2 years ago

@Xitee1 i tried what you have doesnt work for me.. no enable rtmp just the port 1935...

the camera will work in HA then it wont work.. you just get a blank view.. and i get the error... very frustrating.. no issues with the dom cam RLC-520A it has no problems just the darn 812 model.. not sure how to get it to work right

it works ok in the reolink app.. blue iris demo and it works on off in HA .. so very frustrating

what camera are you using?

comet424 commented 2 years ago

even the ovnif way setup in Ha is glitchy with this camera.. it will display but if u wanna blow up teh screen then it flickering with some error i cant read fast enough lol

Xitee1 commented 2 years ago

I have the RLC-510A. Yes, I have got just a black stream but I also got the error. Now the error is gone and the stream is working after enabling RTMP in the settings.

comet424 commented 2 years ago

ah ya doesnt work for me.. and mine is 520 dom and it works fine and it doesnt have a enable RTMP maybe the they changed it after the 510..
go figure if they do lol... but ya 520 works 812 is glitchy with the error and flashes error.... and some other text really fast when you double click the card so too fast to read the error.. and the error is coming using the OVNIF as it was only way to get a small card to view.. but when you blow it up then she wont and gives error i did try update firmware but i up to date... always something lol