-
Notifications
You must be signed in to change notification settings - Fork 2.2k
bounding box for folium.raster_layers.VideoOverlay() seems to be ignored. #2089
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
Comments
Sorry to hear this is not working for you. I answered on StackOverflow, since (at first glance) this seems to be more of a question than a bug in Folium. |
Thankyou, Ernie True
From: Hans Then ***@***.***>
Date: Sunday, February 2, 2025 at 4:06 AM
To: python-visualization/folium ***@***.***>
Cc: Ernest D. True ***@***.***>, Author ***@***.***>
Subject: Re: [python-visualization/folium] bounding box for folium.raster_layers.VideoOverlay() seems to be ignored. (Issue #2089)
EXTERNAL SENDER: This email is from an account outside of Norwich University. Please use caution when clicking links or opening attachments, and do not provide your username or password. NOTE: If you are seeing this notice on a message that appears to come from a Norwich University employee, please report this message as a phishing message using the Phish Alert Button and take no further action.
Sorry to hear this is not working for you. I answered on StackOverflow, since this seems to be more of a question than a bug in Folium.
—
Reply to this email directly, view it on GitHub<#2089 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AXASOIGG5CZGW4HVTWKDRGT2NXNZ7AVCNFSM6AAAAABWJSHLAWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMRZGMYDQMZSGU>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Hi Hans,
Thanks for the idea about trying the VideoOverlay with https://www.mapbox.com/bites/00188/patricia_nasa.webm
It shows that this map seems to be experiencing the same problem I am having, namely that the video does not seem to fully fill the bounding box. I’m wondering if this is a problem with some leaflet source code. I have looked at the file leaflet-src.js, authored by Vladimir Agafonkin at https://leafletjs.com<https://leafletjs.com/>. It sets the keepAspectRatio option to True as the default. But my bounding box maintains the aspect ratio anyway. I’ll keep looking, and thanks again for the help.
Ernie True
***@***.***
From: Hans Then ***@***.***>
Date: Sunday, February 2, 2025 at 4:06 AM
To: python-visualization/folium ***@***.***>
Cc: Ernest D. True ***@***.***>, Author ***@***.***>
Subject: Re: [python-visualization/folium] bounding box for folium.raster_layers.VideoOverlay() seems to be ignored. (Issue #2089)
EXTERNAL SENDER: This email is from an account outside of Norwich University. Please use caution when clicking links or opening attachments, and do not provide your username or password. NOTE: If you are seeing this notice on a message that appears to come from a Norwich University employee, please report this message as a phishing message using the Phish Alert Button and take no further action.
Sorry to hear this is not working for you. I answered on StackOverflow, since this seems to be more of a question than a bug in Folium.
—
Reply to this email directly, view it on GitHub<#2089 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AXASOIGG5CZGW4HVTWKDRGT2NXNZ7AVCNFSM6AAAAABWJSHLAWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMRZGMYDQMZSGU>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Hi Ernie, I think you are right. This looks like an issue inside the Leaflet.VideoOverlay code. Folium is just a simple wrapper around Leaflet. You may get better help if you ask a question in the Leaflet community. I will close this issue here. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm trying to overlay an mp4 video onto a folium map using folium.raster_layers.VideoOverlay().
I'm not sure where to report this problem I have, but it was submitted to stackoverflow on Jan. 21, 2025. The full report is at:
https://stackoverflow.com/questions/79375677/python-folium-raster-layers-videooverlay-video-not-filling-bounding-box
The complete description of the problem is given there, with the code I used, and resulting graphs. I would love to have someone here take a look to see if they can offer any help.
Thanks, Ernie True
[email protected]
The text was updated successfully, but these errors were encountered: