How I Fixed my R1S Dash Cam Playback Choppiness with ffmpeg

Rivian Mom

Active Wheeler
Joined
Oct 20, 2024
Messages
262
Reaction score
28
Rivian
R1S
I've had some recent playback issues from dash cam videos with my R1S. I had copied videos off the SSD to my local m3 MacBook for playback. Multiple players, video editing software, all was really choppy on a system that otherwise has no problem editing 4k video.

Asking Claude (Anthropic's AI LLM) about the issue, it had me run some debug commands using ffmpeg and came up with a diagnosis that there is only one keyframe every second as well as the bitrate being on the low end for the given resolution. It gave me a reencode command to double the amount of keyframes:

ffmpeg -i 03_07_25_131726_frontCenter_001.mp4 -c:v libx264 -preset medium -crf 23 -g 15 -keyint_min 15 output.mp4

And that worked like a charm. Playback is now butter smooth with no loss in quality. The generated file is a bit larger though.

I had only seen complaints about this issue and hadn't come across a posted fix myself so posting here in case this is useful to anyone else.

1000003347.png
 

Recent

I don't presume the bezel or whatever it would...
I had some free time yesterday so I decided to...
I've had some recent playback issues from dash...
Last week, we got the full-size spare tire...
We haven't had a proper NDEW event for a...
It rained some days back and i noticed that my...
This is why capabilities are so important! Who...
Just last week, I was able to add a subtrunk...
I was at San Jose while my yellow bus was in...
Back
Top