hass-xiaomi-miot
hass-xiaomi-miot copied to clipboard
camera stream not updating (ipc019e)
Device info chuangmi.camera.ipc019e by chuangmi Firmware: 4.1.6_0211
This is one log saying that there is invalid data when processing input.
2023-03-15 16:46:16.110 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.chuangmi_ipc019e_0dbc_camera_control] Error from stream worker: Error demuxing stream: [Errno 1094995529] Invalid data found when processing input: 'https://de.business.smartcamera.api.io.mi.com/common/app/m3u8?data=QrI2kJ0F07itlibHHftRRI06FSoelp6muU2bBnRigA4D9gMkQoWiP54ALuOKYjWptdHWtjENG%2BW5wwvFADmnDaTedryhiS186PFC4VZO8%2BQoYn1Y%2Ftp2qWZ7Eb47oAqjwPg4bxO4ZXcmFYcT9xgs89sbvtwa&rc4_hash__=atUYk50Q3q72l0%2BIRrYQBP4vDD5KvJ2uhxv0GQ%3D%3D&signature=BnOWzXoP7vtYKwnyBqgcWFHnW50%3D&ssecurity=fffnu%2F9UdXEFTMwHaa3%2BUg%3D%3D&_nonce=H6PUP8qCShIBqvb4&yetAnotherServiceToken=PL5lY%2BnnT98DHe%2Fk8dm7a%2BkGaa7lmcZBjeuCtGBpRy%2BAeQPbFZo4ljYR41Fb2rSRwdQf%2FFf6MUAVRHx60vCoBRBCzg7J7PwR%2BurXL%2Fs4MfUUdykQQNAPKNN37mzvQdgXWR5tgLcncddd7%2BKCeScfmzpjp%2BjWAhsNEvFQAMfOcRI%3D'; last error log: [mov,mp4,m4a,3gp,3g2,mj2] stream 0, offset 0x937: partial file
When I restart HA, it will receive image from camera but the stream afterwards is not working.
Confirmed. hass-xiaomi-miot: commit 584679b Firmware: 4.1.6_0211 Home Assistant: 2023.3.6
Opening a stream url in ffplay reveals some details:
Stream #0:0: Video: hevc (Main) (hvc1 / 0x31637668), yuv420p(tv), 640x360, 157 kb/s, 20 tbr, 90k tbn, 90k tbc (default)
Metadata:
variant_bitrate : 0
compatible_brands: isomiso2iso6mp41
major_brand : isom
minor_version : 512
encoder : Lavf57.83.100
Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 16000 Hz, mono, fltp, 53 kb/s (default)
Metadata:
variant_bitrate : 0
...
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc2f42e7a40] Found duplicated MOOV Atom. Skipped it
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc2f42e7a40] stream 0, offset 0x92f: partial file
THe last message loops forever
i have the same problem
i have the same problem
I have the same problem
I have the same problem