-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Issue]: IOS clip issues (broken play button) #308
Comments
is there a change to the api url? |
dont know;( |
You are using a beta version of software. Surely you read the change notes? |
yes, read everything
see the clips is the only thing not working
Andres Roepke Del Solar.
Ingeniero Civil Industrial
Ingeniero Electronico
Mobile 88196932
…On Sun, Nov 3, 2024 at 03:52 SgtBatten ***@***.***> wrote:
You are using a beta version of software. Surely you read the change notes?
—
Reply to this email directly, view it on GitHub
<#308 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIOTKWU6JIHYEHP4ESIAXGLZ6XB27AVCNFSM6AAAAABRATAR5KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJTGMYTSMJVGM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I use Frigate 0.15 as well and on this 0.14 version of this blueprint at version 0.14.0.1d, clips worked, but when I updated to f and even g, that is when they stopped working for me. Stays with snapshot. |
so, the .15 version of frigate isnt working in the clip area?
Andres Roepke
…On Fri, Nov 8, 2024 at 13:28 Iceman248 ***@***.***> wrote:
I use Frigate 0.15 as well and on this 0.14 version of this blueprint at
version 0.14.0.1d, clips worked, but when I updated to f and even g, that
is when they stopped working for me. Stays with snapshot.
—
Reply to this email directly, view it on GitHub
<#308 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIOTKWTFZTLLUWYG6RQRC23Z7TRCNAVCNFSM6AAAAABRATAR5KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRVGIYTINZQGE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
It worked for me with 0.14.0.1d, so I wouldn't say that, it just seems like something after that version broke it. |
its possible to test with .15? just to be sure is not my personal issue?
Andres Roepke
…On Fri, Nov 8, 2024 at 13:36 Iceman248 ***@***.***> wrote:
It worked for me with 0.14.0.1d, so I wouldn't say that, it just seems
like something after that version broke it.
—
Reply to this email directly, view it on GitHub
<#308 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIOTKWWDSLL6JJQXWAYGVTTZ7TSBPAVCNFSM6AAAAABRATAR5KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRVGIZTANRXGI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I am using Frigate 0.15. It's just the version number of the blueprint that has 0.14 in it. |
ahh and is not working the clips in that frigate not version?
Andres Roepke
…On Fri, Nov 8, 2024 at 14:03 Iceman248 ***@***.***> wrote:
I am using Frigate 0.15. It's just the version number of the blueprint
that has 0.14 in it.
—
Reply to this email directly, view it on GitHub
<#308 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIOTKWT6WPBDCJ4CSYB7VNTZ7TVGNAVCNFSM6AAAAABRATAR5KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRVGI4TAOBZG4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
sorry , can you share the link for the blueprint? i can only find the
Frigate Notifications (0.12.xxx
Andres Roepke
…On Fri, Nov 8, 2024 at 14:23 Andres Roepke ***@***.***> wrote:
ahh and is not working the clips in that frigate not version?
Andres Roepke
On Fri, Nov 8, 2024 at 14:03 Iceman248 ***@***.***> wrote:
> I am using Frigate 0.15. It's just the version number of the blueprint
> that has 0.14 in it.
>
> —
> Reply to this email directly, view it on GitHub
> <#308 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AIOTKWT6WPBDCJ4CSYB7VNTZ7TVGNAVCNFSM6AAAAABRATAR5KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRVGI4TAOBZG4>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>
|
Not on this latest g version. https://github.com/SgtBatten/HA_blueprints/blob/frigate-0.14/Frigate%20Camera%20Notifications/Beta |
I am having the same issue. Didn't think about looking in here before I posted in the HA community post. The weird thing is that if I copy the generated URL and paste it into a computer browser, the clip plays. If I paste it into a browser on my iphone, it does not work and gives me a play icon with a line through it. |
this is the weird bit. Not sure where to look. Is everyone on IOS? |
wich version? its not working in any option browser ios or safari..
version 0.14.0.1g
Andres Roepke
…On Wed, Nov 13, 2024 at 05:58 SgtBatten ***@***.***> wrote:
The weird thing is that if I copy the generated URL and paste it into a
computer browser, the clip plays. If I paste it into a browser on my
iphone, it does not work and gives me a play icon with a line through it.
this is the weird bit. Not sure where to look. Is everyone on IOS?
—
Reply to this email directly, view it on GitHub
<#308 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIOTKWR4WGUQYB2GRFEARMT2AMIBTAVCNFSM6AAAAABRATAR5KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINZSHA4DONRSGQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Android here. |
IOS for me. Neither the stable version or the beta version displays the play clip on Frigate 15 Beta 1. I spun up my Frigate 14 version and it works. Didn't try it with the beta version though. If you don't know where to look, I dang sure don't know where to do so LOL. Thought about posting something on the frigate github issues page but I didn't know it is a frigate problem, the notification app problem, or an IOS problem. I was leaning towards maybe something changed the way the video is encoded that mobile devices cannot play correctly. I believe they are using a newer ffmpeg version. Who knows? |
I’m having the same issue. When I downgrade to Frigate 14 it begins working again. Moving to 15 triggers the problem. Same behavior here that I can copy the link to a desktop browser or mobile VLC and it plays. iOS user |
Same issue on my iphone, but in a desktop browser it works fine. |
Also noticed this on my iphone post beta1/2 upgrade. |
In Safari Mac & iOS it does not load, but the same link in Edge loads perfectly. |
Apparently HA 2024.12 fixes this. Some people still have an issue with safari browsers, this is a seperate issue but again not something we can fix in the blueprint unfortunately. Please try 2024.12 and report back. |
Hi, with 2024.12 it is already visible from “MEDIA” but the notifications are still not working, when accessing the link https://xxxx.ui.nabu.casa/api/frigate/notifications/173xx95959.778578-xxxx/Portero/clip.mp4 it still does not load the video both on iOS and Safari, however the same link on Egde is visible correctly. From what I have read here in Frigate 0.14 works correctly, so maybe it was some change in 0.15. Error in inspector: Failed to load resource: Best regards and thanks for your work. |
yes. frigate 0.14 works perfect
Andres Roepke
…On Fri, Dec 6, 2024 at 16:48 jjavin ***@***.***> wrote:
Hi, with 2024.12 it is already visible from “MEDIA” but the notifications
are still not working, when accessing the link
https://xxxx.ui.nabu.casa/api/frigate/notifications/173xx95959.778578-xxxx/Portero/clip.mp4
it still does not load the video both on iOS and Safari, however the same
link on Egde is visible correctly. From what I have read here in Frigate
0.14 works correctly, so maybe it was some change in 0.15.
Best regards and thanks for your work.
—
Reply to this email directly, view it on GitHub
<#308 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIOTKWVEZG27C7KWKSVMSEL2EH5SXAVCNFSM6AAAAABRATAR5KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMRUGAZTSOBSHA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I have opened an issue at Frigate and I have received this answer: _So it looks like Safari is incapable of handling streaming response MP4 videos. In any case, this is going to be inefficient to handle and safari does support m3u8 natively so the recommendation will be to use the /vod/event/{event_id}/master.m3u8 API call to view videos for iOS instead of the clip API the integration will be updated to expose this_ I hope it will be helpful in providing a solution to iOS users. |
alias: "Notification: Person Detected at Front Door (BETA)" description: "" use_blueprint: path: SgtBatten/Beta.yaml input: presence_filter: - "" camera: - camera.doorbell - camera.vault base_url: https://redacted.duckdns.org:8123<https://houselento.duckdns.org:8123/> notify_device: bc2e787418ac0cb4de0b67a05eb44779 notify_group: ALL_DEVICES video: >- {{base_url}}/api/frigate{{client_id}}/notifications/{{id}}/{{camera}}/master.m3u8 ios_live_view: camera.doorbell tap_action: "{{base_url}}/api/frigate{{client_id}}/notifications/{{id}}/master.m3u8" url_1: "{{base_url}}/api/frigate{{client_id}}/notifications/{{id}}/snapshot.jpg" button_2: View Stream url_2: >- {{base_url}}/api/camera_proxy_stream/camera.{{trigger.payload_json['after']['camera'] | lower | replace('-','_')}}?token={{state_attr( 'camera.' ~ camera, 'access_token')}} attachment: >- {{base_url}}/api/frigate{{client_id}}/notifications/{{review_id}}/review_preview.gif update_thumbnail: true labels: - person - package button_1: View Snapshot alert_once: true attachment_2: >- {{base_url}}/api/frigate{{client_id}}/notifications/{{review_id}}/review_preview.gif final_update: true
Sent via RFC 1149
Get some Carrier Pigeons<https://en.m.wikipedia.org/wiki/IP_over_Avian_Carriers>...
…________________________________
From: Nicolas Mowen ***@***.***>
Sent: Wednesday, February 12, 2025 8:31:37 AM
To: SgtBatten/HA_blueprints ***@***.***>
Cc: johnlento ***@***.***>; Mention ***@***.***>
Subject: Re: [SgtBatten/HA_blueprints] [Issue]: IOS clip issues (broken play button) (Issue #308)
so what was the url that was tried (after it was formatted?)
—
Reply to this email directly, view it on GitHub<#308 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AGHSRTZLEUBEJWOCFPR3KF32PNELTAVCNFSM6AAAAABRATAR5KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNJTG4ZDGMJVGY>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
right, I asked for the url that was used to view the m3u8 after formatting, so I am just looking for a single URL without any templates |
Yeah, that was my bad. I had it right in my head but sent a nasty formatted wrong item.
https://<https://houselento.duckdns.org:8123/api/frigate/notifications/1739366755.202344-7idobj/master.m3u8><redacted>.duckdns.org:8123/api/frigate/notifications/1739366755.202344-7idobj/master.m3u8<https://houselento.duckdns.org:8123/api/frigate/notifications/1739366755.202344-7idobj/master.m3u8>
John Miles Lento Jr.
| - gpg public key: https://lento.io/08EB5F22.txt
| - Sent via RFC 1149...
…________________________________
From: Nicolas Mowen ***@***.***>
Sent: Wednesday, February 12, 2025 08:42
To: SgtBatten/HA_blueprints ***@***.***>
Cc: johnlento ***@***.***>; Mention ***@***.***>
Subject: Re: [SgtBatten/HA_blueprints] [Issue]: IOS clip issues (broken play button) (Issue #308)
right, I asked for the url that was used to view the m3u8 after formatting, so I am just looking for a single URL without any templates
—
Reply to this email directly, view it on GitHub<#308 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AGHSRT6YQEAHEBEW6J67HMT2PNFTTAVCNFSM6AAAAABRATAR5KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNJTG42DSMZWGY>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Okay so I think I might see the issue, I forgot that the file types used for HLS are different depending on if the video is h264 or h265. Currently the integration only handles h264, I will need to add support for h265 as well. |
Prior to 0.15 I was converting the video to h264 using ffmpeg but that broke in 0.15 too. Not sure if it’s related but at least it’s data.
Sent via RFC 1149
Get some Carrier Pigeons<https://en.m.wikipedia.org/wiki/IP_over_Avian_Carriers>...
…________________________________
From: Nicolas Mowen ***@***.***>
Sent: Wednesday, February 12, 2025 9:04:29 AM
To: SgtBatten/HA_blueprints ***@***.***>
Cc: johnlento ***@***.***>; Mention ***@***.***>
Subject: Re: [SgtBatten/HA_blueprints] [Issue]: IOS clip issues (broken play button) (Issue #308)
Okay so I think I might see the issue, I forgot that the file types used for HLS are different depending on if the video is h264 or h265. Currently the integration only handles h264, I will need to add support for h265 as well.
—
Reply to this email directly, view it on GitHub<#308 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AGHSRTZIWM2KNTJZW3N2VT32PNIG3AVCNFSM6AAAAABRATAR5KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNJTHAYDKNJXGE>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Okay I just released version 5.8.0 of the integration which should fix this |
Will update as soon as I see the update pop in HA and test.
Sent via RFC 1149
Get some Carrier Pigeons<https://en.m.wikipedia.org/wiki/IP_over_Avian_Carriers>...
…________________________________
From: Nicolas Mowen ***@***.***>
Sent: Wednesday, February 12, 2025 9:21:49 AM
To: SgtBatten/HA_blueprints ***@***.***>
Cc: johnlento ***@***.***>; Mention ***@***.***>
Subject: Re: [SgtBatten/HA_blueprints] [Issue]: IOS clip issues (broken play button) (Issue #308)
Okay I just released version 5.8.0 of the integration which should fix this
—
Reply to this email directly, view it on GitHub<#308 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AGHSRTZOXO5SZ5OHR4JW4YT2PNKH3AVCNFSM6AAAAABRATAR5KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNJTHA2TCOBXGM>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
So good news, it does work now! I was able to see a video finally deleting the camera variable and using the new integration.
That being said I do get the nginx bad gateway though immediately. I suppose that’s because the video is delayed in processing?
Sent via RFC 1149
Get some Carrier Pigeons<https://en.m.wikipedia.org/wiki/IP_over_Avian_Carriers>...
…________________________________
From: John Lento ***@***.***>
Sent: Wednesday, February 12, 2025 9:36:25 AM
To: SgtBatten/HA_blueprints ***@***.***>; SgtBatten/HA_blueprints ***@***.***>
Cc: Mention ***@***.***>
Subject: Re: [SgtBatten/HA_blueprints] [Issue]: IOS clip issues (broken play button) (Issue #308)
Will update as soon as I see the update pop in HA and test.
Sent via RFC 1149
Get some Carrier Pigeons<https://en.m.wikipedia.org/wiki/IP_over_Avian_Carriers>...
________________________________
From: Nicolas Mowen ***@***.***>
Sent: Wednesday, February 12, 2025 9:21:49 AM
To: SgtBatten/HA_blueprints ***@***.***>
Cc: johnlento ***@***.***>; Mention ***@***.***>
Subject: Re: [SgtBatten/HA_blueprints] [Issue]: IOS clip issues (broken play button) (Issue #308)
Okay I just released version 5.8.0 of the integration which should fix this
—
Reply to this email directly, view it on GitHub<#308 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AGHSRTZOXO5SZ5OHR4JW4YT2PNKH3AVCNFSM6AAAAABRATAR5KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNJTHA2TCOBXGM>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
So you see video? Nginx bad gateway might be due to video not being available yet |
Yes, I see the video. I agree on the video not available yet.
Sent via RFC 1149
Get some Carrier Pigeons<https://en.m.wikipedia.org/wiki/IP_over_Avian_Carriers>...
…________________________________
From: Nicolas Mowen ***@***.***>
Sent: Wednesday, February 12, 2025 10:18:57 AM
To: SgtBatten/HA_blueprints ***@***.***>
Cc: johnlento ***@***.***>; Mention ***@***.***>
Subject: Re: [SgtBatten/HA_blueprints] [Issue]: IOS clip issues (broken play button) (Issue #308)
So you see video? Nginx bad gateway might be due to video not being available yet
—
Reply to this email directly, view it on GitHub<#308 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AGHSRT4CJWYG54IM6AKRQI32PNQ6DAVCNFSM6AAAAABRATAR5KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNJUGAZTAOBQGU>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
So I assume it doesn't work well as an attachment for that reason? Unless you use the delay timer options perhaps? Just to confirm, you are using a view clip action button and removed the camera variable from the m3u8 option |
On the tap I am using the following, camera was removed and the latest 5.8 release of the integration. I do have one camera not showing video but I think its because its a different model camera and I may have to do something different. The main camera that was broken is functioning as intended now.
[cid:96426fc8-be20-40d0-a3e9-d2ea4aeccc82]
John Miles Lento Jr.
| - gpg public key: https://lento.io/08EB5F22.txt
| - Sent via RFC 1149...
…________________________________
From: SgtBatten ***@***.***>
Sent: Wednesday, February 12, 2025 14:50
To: SgtBatten/HA_blueprints ***@***.***>
Cc: johnlento ***@***.***>; Mention ***@***.***>
Subject: Re: [SgtBatten/HA_blueprints] [Issue]: IOS clip issues (broken play button) (Issue #308)
So I assume it doesn't work well as an attachment for that reason? Unless you use the delay timer options perhaps?
Just to confirm, you are using a view clip action button and removed the camera variable from the m3u8 option
—
Reply to this email directly, view it on GitHub<#308 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AGHSRT6ULD7K473W7BIDAWL2POQXNAVCNFSM6AAAAABRATAR5KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNJUG4YDANJSG4>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
When you using master.m3u8, yes. Clip.mp4 does not work on iOS, which is the main topic of discussion here |
To reiterate what Nick is saying. you need to change the configuration of the automation. the m3u8 is an option in the dropdowns for action buttons and attchments. |
@kiloptero @Iceman248 @UPEngineer can we do one check please. This appears solved, Thanks Nick. So i will close it soon. |
Came here from the community forums on the blueprint thread: This URL plays nicely and swiftly in a desktop browser, but wont play in IOS when i press view clip: My configs: frigate.yml:
Notification blueprint: (version: 0.14.0.3e)
I have changed it to clip.mp4 to see if it works in the IOS browser. Waiting for the postman right now :D |
This comment has been minimized.
This comment has been minimized.
I re-built my Frigate config from the ground up and seems to be working. I am encountering the occasional server error in my browser, maybe due to navigating to the page too quickly. A refresh always results in loading the clip. Note the output_args I set globally. This accommodates main feeds of mine that are h265, with an override for my doorbell cam that is h264 on that camera so they all play on my iOS device. I am monitoring for stability and will report back with updates
|
Sorry to be painful, can you be explicit as to what is now working. I can see you have tap action set to the iOS clip and it included the camera variable. So is this working when you tap the notification? You have the default action button set for view clip I believe so that goes to the MP4 clip. Is this working? |
Tap action works to load the m3u8, though it takes a little longer to load than the MP4 used to. It is working with the included camera variable. Apart from the m3u8, I am not sure what you're referring to as the default action - can you clarify? |
When you long press your notification the 3 action buttons are available. The default button 2 uses the mp4 |
Negative, the mp4 link doesnt work |
I wouldn't expect it to, just pointing out you would want to change it if on iOS. |
So I have done more testing and the 502 error occurs frequently when I tap the notification as it appears. My assumption here is it takes a while for the event m3u8 to be available in Frigate, so the blueprint is unable to proxy. Eventually I can refresh and view the clip. Assuming this is the case, I don't believe there is anything that can be done to avoid this, correct? |
Description
With the last version of frigate .15beta the clip option is not working. All the rest like always works fine.
the version .14 of frigate works perfect with this addon
Version
Version (0.12.0.4p)
Automation Config
Frigate Config
Any other relevant information
No response
The text was updated successfully, but these errors were encountered: