Fixed:
- Merge of videos fails when a relative path instead of an absolute path is provided for --output Issue 62
- Issue during processing of metadata if files were missing
- Hidden files (files starting with period) on Mac/Linux were not ignored. This could cause issues as some programs might create these files when viewing the video.
- Checking if font path exist in Windows failed.
New:
- Support for rear camera (introduced in V10). This also results in layouts having been modified to allow inclusion of rear camera. Issue 71
- Support for hardware encoding for systems with supported Intel GPUs.
- Support for hardware encoding on Raspberry Pi (RPi) (H.264 only) Issue 66
- Layout CROSS with front camera top centered, side camera underneath it, and rear camera then underneath side cameras centered.
- Layout DIAMOND with front camera top centered, rear camera under front and side camera centered at the left and right of front&rear.
- Option --motion_only to fast-forward through the portions in the video that does not have anything motion (done through removal of duplicate frames).
- Option --skip_existing to skip creation of video files that already exist. Existence only is checked, not if layout etc are the same.
- Option --perspective for showing side cameras to be displayed in perspective mode irrespective of layout. Layout PERSPECTIVE is thus same as layout FULLSCREEN with --perspective option.
- Options --start_offset and --end_offset can be used to provide starting and ending offset in seconds for resulting video (at folder level).
- Options --start_timestamp and --end_timestamp can be used to restrict resulting video (and processing) to specific timestamps. This can be used in combination with --start_offset and/or --end_offset
- Options --no-front, --no-left, --no-right, and --no-rear to exclude camera(s) from the videos
- Option --gpu_type to provide GPU installed in the system for Windows/Linux. Current supported options are nvidia, intel, and RPi.
- Option --no-faststart for not setting the faststart flag in the video files as doing this can result in encoding failures on network shares Issue 62
- Option --temp_dir to provide a different path to store the temporary video files that are created Issue 67
- Description metadata to include video was created by tesla_dashcam with version number.
Changed:
- WIDESCREEN layout will now by default show the front camera on top with higher resolution compared to others due to incorporation of rear camera
- Include folder SentryClips in default source list if no source provided (SavedClips was already default).
- Check to ensure that Python version is at required level or higher (currently 3.7).
- Existence of font file (provided or default) will be checked and error returned if not existing.
- Existence of ffmpeg will be checked and error returned if not existing.
- If no filename provided for merged video then current date/time will be used for filename.