tesla_dashcam
tesla_dashcam copied to clipboard
Adding cropping to the Widescreen format
I'd like to recommend another video layout, or rather an option of the Widescreen layout. I want to be able to crop the outer videos as most interesting stuff is happening near the car. I believe this does look better than the existing formats on sharing sites and 16:9 screens
The video filters for left/right video in ffmpeg might look something like this:
Left: crop=in_w/3:in_h:in_w*2/3:0
Right: crop=in_w/3:in_h:0:0
This will result in a 20:9 format. For 16:9 you can only keep like 1/6th of the image which gets pretty useless.
It might be nice to make this "crop_factor" configurable and make this part of the Widescreen format? Not sure if that's easier or cropping the resulting video?
Example of the concept.
I like it. I would probably have it so it can be done on each camera individually.
I am currently working on being able to exclude one or more cameras (i.e. only have it do front and left for example). This means for certain things I need to set resolutions and positions more dynamic based on calculations and layout chosen then. Once I have that in there then this can feed from it as the cropped output would be different in size then.
I've added it to TODO list in README. :-)