Fix Rivian Drive Cam Distortion
Rivians have a drive cam feature that will continually record footage from four cameras (front, rear, left and right) while you're driving. It's a built in dash cam which immediately got me excited to make hyperlapse style movies of interesting drives.
My first attempt was very, very sad. Rivian dumps out the footage in some fisheye format that looks terrible. It also often skips frames, so when imported to DaVinci Resolve the dread Media Offline error pops up all the time during playback. Insta360 Studio handles the dropped frames and so I created the hyperlapse there and tried to zoom in enough to fix the fisheye but overall I was very disappointed. Hopefully Rivian fixes the footage or provides some sort of tool to make this feature usable at some point.
Today I wrestled with the problem a bit more deeply and got something working. The image at the top of this post is a drive cam frame that is dramatically improved. The trick is using the lenscorrection filter in ffmpeg. The filter requires k1 and k2 coefficients which I solved for by generating hundreds of videos and eyeballing them, like the horrifying experience of visiting an optician and suspecting that they're going to write your prescription based on your opinion of which letter looks better. After much juggling I settled on -0.45 and 0.11. In terms of command line this translates to:
This re-encoding also has the happy side effect of fixing the dropped frames.
I would love to have some official numbers to plug in (hint, hint Rivian). My Rivian is a 2025 Gen 2 R1S - I have no idea how much the camera module varies between different Rivian variants so this might work for you or might need more fine tuning. Having cracked this I'm currently processing some footage of a trip to Shasta Lake and will post that soon (update - it's here).
Related Posts
- San Francisco to Shasta Lake
- Style Transfer for Time Lapse Photography
- Capture DropCam (Nest Cam) frames to Google Drive
- Adobe Super Resolution Timelapse (Crystal Growth)
- West Portal Sunset
(Published to the Fediverse as: Fix Rivian Drive Cam Distortion #code #rivian #ffmpeg Using ffmpeg and the lenscorrection filter to fix the fisheye distortion on Rivian Drive Cam footage. )
Affording MUNI
MUNI is headed for a ~$300 million deficit over the next couple of years. A small part of this is my fault. I live where I do for easy access to public transport. I used to take the 28 to work at least three times a week before the pandemic but like many people in San Francisco I now work from home. That's only part of the story though. MUNI decided to let kids ride free, and this is about 15% of their ridership. Many people over 18 decide not to pay as well, and fare dodging is reportedly around 20%. Over a third of passengers are not paying at this point.
As recently as 2021 fares were almost 20% of MUNI's revenue. In the 2024-2025 budget that's down to 8%, $108 million out of a $1.4 billion dollar budget.
In the short term MUNI has to reverse the trend on fares. My kids can afford to pay (at least I can) and a transit system in crisis should not be subsidizing my family's commute. MUNI has added more fare inspectors, and maybe that would help, but other steps could be taken here. MUNI fare gates don't check that you've paid on exiting the system - why not? Busses could enforce boarding at the front and producing payment or proof of payment. We can't have one fifth of users skipping payment. Also, the diverse range of payment methods removes any social pressure to pay. If I board and sit down without tagging I could be a fare dodger or I could have bought and used a mobile pass.
Longer term we need to be less embarrassing. You can't have an It All Starts Here campaign and then install whatever these ugly things are. We're also going to spend $200 million replacing the floppy disks that run light rail (maybe with laserdiscs?). San Francisco is the heart of the AI revolution. We take driverless cars instead of Ubers. MUNI's ballooning costs are largely people. At the very least the light rail system should be fully automated.
Related Posts
- San Francisco November 2020 Ballot Measures
- San Francisco November 2016 Propositions
- San Francisco 2014 Ballot Measures
- San Francisco November 2024 Ballot Measures
- San Francisco November 2022 Ballot Measures
(Published to the Fediverse as: Affording MUNI #politics #muni #sanfrancisco MUNI is headed for a $300 million deficit. We should make kids pay, make adults pay and invest in driverless light rail. )
Clikapudi Loop
A fairly long loop, just over seven miles, next to Shasta Lake. Clikapudi means 'to kill' in Wintu and the name refers to an 1800's battle between local traders and the Wintu Indians. Great views of the lake and some pleasant forest sections. Probably could have done with knocking off a few miles of going around inlets but worth the visit.
Hike starts at: 40.738557, -122.215905. View in Google Earth.
Related Posts
- Waters Gulch Loop Trail
- McCloud River Trail (Three Waterfalls)
- Creekside Trail to Big Leaf Trail Loop
- Bolinas Point Loop
- Twin Peaks Loop
(Hike Map)
(Published to the Fediverse as: Clikapudi Loop #hike #hike.map #shasta #map 7.2 mile loop hike next to Shasta Lake in California. Clikapudi Loop Trail. )
Waters Gulch Loop Trail
Short 3.5 mile loop trail next to Shasta Lake. There is a nice spot to have lunch near the water half way round. The final stretch is on a twisty road with no sidewalk but overall a pleasant hike with a range of terrain and views.
Hike starts at: 40.782201, -122.335434. View in Google Earth.
Related Posts
- McCloud River Trail (Three Waterfalls)
- Clikapudi Loop
- Short Shell Ridge Open Space Loop
- Creekside Trail to Big Leaf Trail Loop
- Bay View and Shoreline Trails at China Camp State Park
(Hike Map)
(Published to the Fediverse as: Waters Gulch Loop Trail #hike #map #shasta Three and half mile loop trail next to Shasta Lake in California. )
Time Lapse of the Milky Way over Lake Shasta
A 4k timelapse of the night sky, including the milky way, shot from Lakehead, California over three nights in late November / early December 2024. Best enjoyed on a big screen in a dark room. Winter has the benefits of long nights and I was delighted to be in a dark place with no full moon for a change. You don't get the galactic core like you do in the summer though. Check out this Jasper version for the summer view.
Related Posts
- Milky Way and stars over Redding
- Milky Way Rises over South Lake Tahoe
- Stars over Lake Tahoe
- Time Lapse of the Milky Way over Jasper
- Stars over Columbia State Historic Park
(Published to the Fediverse as: Time Lapse of the Milky Way over Lake Shasta #timelapse #video #stars #milkyway #4k #lakeshasta #california Time Lapse of the Milky Way over Lake Shasta )
Even More Bangalore Sunsets
The inevitable sequel to More Bangalore Sunsets, brought to you again by leaving a camera on the window of the Shangri-La Hotel.
Related Posts
- More Bangalore Sunsets
- Bangalore Sunsets
- More Bangalore
- Bangalore and Back, a Time Lapse
- Bangalore Timelapse
(Published to the Fediverse as: Even More Bangalore Sunsets #timelapse #video #bangalore #india A time lapse of sunsets from the Shangri-La Hotel in Bangalore, India )
Lviv
Time lapse of sunset over Lviv in Ukraine. Shot from the Premier Hotel Dnister at the top of Ivan Franko Park.
Related Posts
(Published to the Fediverse as: Lviv #timelapse #video #lviv #ukraine Lviv Sunset Time Lapse from the top of Ivan Franko Park )
BUD MUC
Google Pixel 8 Pro 18mm f2.8 1/200s ISO16
LH1677
This photograph, titled "BUD MUC," captures a moment on the tarmac at an airport, where a sleek, white aircraft stands poised at the gate. The plane is connected to the terminal via a jet bridge, its nose facing forward almost with a sense of anticipation. Around the aircraft, the hustle and bustle of ground operations are visible, with airport personnel and equipment attending to various tasks. The background reveals the runway and a stretch of verdant land under a soft, overcast sky. The scene is one of transition, capturing the everyday life of air travel with its blend of human activity and mechanical precision.
The photograph uses a straightforward, documentarian style, focusing on the detailed interaction between human activity and the aircraft. The composition is anchored by the plane, which takes center stage, underlining its importance in the context of the airport scene. However, there is a slight sense of overcrowding as the various elements compete for attention, such as the vehicles and personnel in the foreground. A slightly wider frame might have allowed for more balance and breathing space in the composition. The soft, natural lighting provides a true-to-life representation, but with minimal dramatic flair. I appreciate the candidness of the scene and the story it tells—though a more dynamic angle or play with lighting could have added an extra layer of intrigue.
Related Posts
(Published to the Fediverse as: BUD MUC #photo #plane #bud #muc BUD MUC )
I'm with Them
I guess we have to pretend we want to shoot you in the face to win at this point?
Arizona, Michigan, and all the other swing states - I love you, but you should get one person one vote. We need a National Popular Vote. We need more ranked choice voting. But most of all we do not need another four years of Trump, and so I'll be enthusiastically voting Harris/Walz in 2024. I'd rather have whatever remains from this lettuce than suffer through another Trump term. If you have allowed yourself to believe that Harris is as much of a threat to democracy as Trump, remember that the supreme court is lost to the right for a generation, hold your nose, and vote Harris/Walz. If you're concerned that Walz has stretched the truth a couple of times in the service of a good story, check out these 30,573 examples from Trump.
Trump lost in 2020. Vance can't say it for some reason, and that's disqualifying just by itself. Trump lost the popular vote in 2016. 65% of Americans support electing the President on the popular vote (make it happen here). A majority of Americans support safe access to abortion. A majority of Americans favor stricter gun control laws. A majority of Americans support free college. A majority of Americans support Federal health care. A majority of Americans support same sex marriage (data here). This is a very sane country in thrall to a dangerous and dare I say deplorable minority. If you're not registered to vote, get registered. If you're Stein or Kennedy curious get that out of your system by writing your representative and demanding ranked choice voting. And then vote for Harris/Walz so we can put this Trump thing to bed and find some path back to a politics that actually works for America.
Related Posts
(Published to the Fediverse as: I'm with Them #politics #election #harris #trump ##resist #uspol ITHCWY Endorses Kamala Harris for President in the 2024 Election )
California November 2024 Propositions
- 2: Authorizes Bonds for Public School and Community College Facilities. Legislative Statute.
- 3: Constitutional Right to Marriage. Legislative Constitutional Amendment.
- 4: Authorizes Bonds for Safe Drinking Water, Wildfire Prevention, and Protecting Communities and Natural Lands from Climate Risks. Legislative Statute.
- 5: Allows Local Bonds for Affordable Housing and Public Infrastructure with 55% Voter Approval. Legislative Constitutional Amendment.
- 6 Eliminates Constitutional Provision Allowing Involuntary Servitude for Incarcerated Persons. Legislative Constitutional Amendment.
- 32: Raises Minimum Wage. Initiative Statute.
- 33: Expands Local Governments’ Authority to Enact Rent Control on Residential Property. Initiative Statute.
- 34: Restricts Spending of Prescription Drug Revenues by Certain Health Care Providers. Initiative Statute.
- 35: Provides Permanent Funding for Medi-Cal Health Care Services. Initiative Statute.
- 36: Allows Felony Charges and Increases Sentences for Certain Drug and Theft Crimes. Initiative Statute.
As with my San Francisco voter guide I created a custom GPT with the California ballot measures and my voting history, to try and automate figuring out how I would vote this year. San Francisco went really well and required just some light editing. For some unknown reason the California version really struggled. I'm using the same approach of having the GPT summarize the proposition, summarize my previous voting record on related issues and then make a recommendation. I had to do a lot of fine tuning of the second prompt to get it to come up with anything sensible. The custom GPT is here, and the recommendations are below:
2: Authorizes Bonds for Public School and Community College Facilities. Legislative Statute.
Proposition 2 authorizes $10 billion in bonds to repair, upgrade, and build new facilities at K-12 public schools and community colleges. This funding is essential to address urgent health and safety issues, such as fixing deteriorating infrastructure, modernizing classrooms, and ensuring students have access to 21st-century learning environments. The proposition also includes strong accountability measures, such as public audits, ensuring that funds are spent as promised. Given my consistent support for school bond measures in the past to improve public education and infrastructure, Proposition 2 deserves a YES vote to invest in the future of California’s students.
3: Constitutional Right to Marriage. Legislative Constitutional Amendment.
Proposition 3 updates California’s Constitution to formally recognize the right to marry regardless of gender or race, removing outdated and discriminatory language that limits marriage to being between a man and a woman. This measure reflects existing federal law and aligns with California’s legacy of protecting civil rights and personal freedoms. As I have consistently supported marriage equality, a YES vote ensures we safeguard these rights for future generations while removing the remnants of discriminatory language from our state Constitution. Vote YES on Proposition 3 to continue advancing equality.
4: Authorizes Bonds for Safe Drinking Water, Wildfire Prevention, and Protecting Communities and Natural Lands from Climate Risks. Legislative Statute.
This measure authorizes $10 billion in bonds to fund safe drinking water projects, wildfire prevention, and the protection of communities and natural lands from climate change. With California facing increasing threats from droughts, wildfires, and other climate-related disasters, this is a necessary investment in our future. While I usually approach new debt cautiously, this proposition addresses urgent needs that we cannot afford to ignore. Protecting our water supply, reducing fire risks, and enhancing climate resilience are critical actions we must take now to safeguard future generations. Vote YES on Proposition 4.
5: Allows Local Bonds for Affordable Housing and Public Infrastructure with 55% Voter Approval. Legislative Constitutional Amendment.
Proposition 5 would allow local governments to pass bonds for affordable housing and public infrastructure with a 55% voter threshold instead of the current two-thirds requirement. While addressing the housing crisis is important, this measure would shift more financial burdens onto local taxpayers by making it easier to raise property taxes through bond financing. With local governments already struggling to manage debt and rising costs, lowering the voter approval threshold could lead to more irresponsible spending and higher taxes without clear benefits. I recommend voting NO on Proposition 5 to prevent unnecessary increases in local debt and tax burdens.
6 Eliminates Constitutional Provision Allowing Involuntary Servitude for Incarcerated Persons. Legislative Constitutional Amendment.
Yes: Proposition 6 seeks to eliminate the constitutional provision that allows involuntary servitude, or forced labor, as punishment for incarcerated persons in California. This measure would align the state's constitution with modern human rights standards, prioritizing rehabilitation over punitive practices. In the past, I've consistently supported reforms that emphasize rehabilitation over harsh penalties, particularly when they improve long-term outcomes for individuals and society. A "YES" vote on Proposition 6 continues this trend, ensuring California moves away from outdated practices and toward more humane treatment of incarcerated individuals.
32: Raises Minimum Wage. Initiative Statute.
Proposition 32: Vote Yes - Proposition 32 will raise the minimum wage to $18 per hour by 2026, addressing the growing cost of living and ensuring that service and essential workers, who have been hit hardest by inflation, can afford basic necessities. California’s wage increases have lagged behind rising corporate profits, leaving too many working people behind. While opponents argue that it will hurt businesses, the reality is that working families need a living wage to survive in this state. As with previous measures supporting economic equality and protections for lower-income communities, this is a step toward ensuring fairness in the workforce. Vote Yes on 32 to help working Californians keep up with the cost of living.
33: Expands Local Governments’ Authority to Enact Rent Control on Residential Property. Initiative Statute.
Proposition 33 seeks to repeal the Costa-Hawkins Rental Housing Act, allowing local governments to expand rent control across more types of residential properties, including newer buildings and single-family homes. While the stated goal is to provide relief to renters, this measure would likely lead to reduced housing development, decreased property values, and a worsening of the state's housing crisis. Based on past voting preferences that emphasize protecting property rights and avoiding policies that discourage investment, I recommend voting NO on Proposition 33. This measure will do more harm than good by stifling the creation of much-needed new housing.
34: Restricts Spending of Prescription Drug Revenues by Certain Health Care Providers. Initiative Statute.
Proposition 34 mandates that healthcare providers must spend 98% of revenues from the federal 340B drug discount program on direct patient care, introducing severe penalties for non-compliance. While well-intentioned, this measure places an unreasonably rigid requirement on how organizations allocate their resources. It’s crucial to trust healthcare organizations to manage their finances based on their unique operational needs, with performance and outcomes guiding support. Vote No on Proposition 34, as it imposes unnecessary restrictions and could harm the ability of providers to operate effectively.
35: Provides Permanent Funding for Medi-Cal Health Care Services. Initiative Statute.
Proposition 35 seeks to secure permanent funding for Medi-Cal by continuing an existing tax on managed healthcare plans. This measure is crucial for maintaining healthcare services to low-income Californians without imposing new taxes. Based on my past votes, I consistently support measures that ensure essential services like healthcare remain available to the most vulnerable populations, especially when there is no new tax burden on the general public. Vote YES on Proposition 35 to protect access to vital healthcare for millions of Californians.
36: Allows Felony Charges and Increases Sentences for Certain Drug and Theft Crimes. Initiative Statute.
Yes: Proposition 36 closes the dangerous loophole that allows repeat offenders to escape serious consequences for committing petty theft under $950. By reclassifying these crimes as felonies for individuals with two or more prior convictions, it ensures that those who repeatedly steal or traffic dangerous drugs like fentanyl face appropriate punishment. This measure restores accountability and enhances public safety by targeting serial offenders, who have been taking advantage of lax enforcement. A “Yes” vote on Proposition 36 is a vote for tougher penalties on career criminals and a step towards safer communities.
Updated 2024-10-19 23:55:
To fully AI this post here's a NotebookLM generated podcast discussing the content.
Related Posts
- California November 2020 Propositions
- San Francisco November 2024 Ballot Measures
- California 2012 Propositions
- California November 2016 Propositions
- San Francisco and California March 2024 Ballot Measures
(Published to the Fediverse as: California November 2024 Propositions #politics #california #propositions #election #ai #gpts #chatgpt #openai #capol #video ITHCWY voter guide to the 10 propositions in the California November 2024 election. Custom GPT included. )