Skip to content
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

Suggestion: Option to shorten video using FFMPEG #69

Closed
supRy opened this issue Sep 14, 2019 · 4 comments
Closed

Suggestion: Option to shorten video using FFMPEG #69

supRy opened this issue Sep 14, 2019 · 4 comments
Labels
enhancement New feature or request

Comments

@supRy
Copy link
Contributor

supRy commented Sep 14, 2019

After running this program, I have separately been running an FFMPEG command which removes duplicate frames. This brings a 10 minute Sentry video down to about 2 minutes typically.

There are a couple ffmpeg commands that can remove duplicate frames. What I like about the one I use is that it doesn't cut the video to the action, it takes out the intermediate frames. This means I can watch the timestamp go through the full time of the video, but when there is no motion on screen, the timestamp runs very quick; when there is motion, the time runs at normal speed.

The ffmpeg command I use is:

ffmpeg -i "fileIN.mp4" -vf mpdecimate,setpts=N/FRAME_RATE/TB "fileIN-shortened.mp4"

I'm thinking this would add a tesla_dashcam argument of --shorten. I'm not an ffmpeg expert, but I think this could be run concurrently with the concatenation (this would be the fastest if possible), or after the concatenation is complete.

Thanks for all the work you put into this!

supRy added a commit to supRy/tesla_dashcam that referenced this issue Sep 15, 2019
@ehendrix23 ehendrix23 added the enhancement New feature or request label Sep 19, 2019
@PiscisSwimeatus
Copy link

Just tried that mpdecimate on a few of my clips and the result is fantastic. I would really like to see this added as well.

Just one issue I am seeing is that the clip is still reported as 10min long. Not sure if this is a bug or working as intended. So for example if it’s reduced to a 30sec clip. The progress bar and if you try to skip will only work on the first 5% of progress. The other 95% contains no data and will just end playback if you try to skip into it. From my perspective, the expected result would be a clip reported as a normal 30sec one, or 10min where you skip into the correct real life time and only playback time is sped up and slowed down.

@supRy
Copy link
Contributor Author

supRy commented Sep 21, 2019

@PiscisSwimeatus My clips report the new length. My clips also don't have 95% without any data. Can you provide more information on how you ran it?

@PiscisSwimeatus
Copy link

I used the same command as above on some already merged clips.
For example
ffmpeg -i "2019-09-19T09-15-53_2019-09-19T09-26-08.mp4" -vf mpdecimate,setpts=N/FRAME_RATE/TB "2019-09-19T09-15-53_2019-09-19T09-26-08-shortened.mp4"

The original video is 9:51 long
The shortened video is 1:15 long
However both mediainfo, VLC and other players I tried reports the shortened video as still 9:51 long.

image

Which results in the progress stopping here in the players I tried:

image

My previous statement about 95% without data, just means trying anything after the 1:15 marks ends the video/no data.

I’ve uploaded the file here if you want to have a look:
https://ufile.io/2nk461em

ehendrix23 pushed a commit that referenced this issue Sep 26, 2019
* Commenting lines out that cause Issue #68

* Added support for `--shorten` command to resolve Issue #69

* Update Readme for --shorten

Formatting updates.
ehendrix23 added a commit that referenced this issue Sep 26, 2019
* Temp exe

* Updated temporary exe file

* Delete tesla_dashcam_190b3.exe

* Fix check release

* Updated README with initial 0.1.10 and additional TODO

Updated README with items already in progress for 0.1.10

Added items to TODO list

* Fix running tesla_dashcam when installed with pip

* Updated README with additional items done for next release

* Initial set of updates for 0.1.10.

* Timestamp sorting fix

* Added Chapter Markers in To-Do list

* Made behaviour for single folder same as multiple

Made behaviour for single folder discovered same as multiple.

* --delete_souce now also for execution without --monitor

* Updated README and reorged 0.1.10 items a bit

* Fix deleting foldr file if name same as clip name

* Exclude ffmpeg.exe

* Default output folder, change in folder filename

Added default output folder
Changed folder filename to <Start_Timestamp>_<End_Timestamp>
Source is optional now

* Set Python version to 3.7 only

* Updated readme for 0.1.10

Finished updating readme

* Set version to 0.1.10

* Fixed metadata issue

Fixed if all 3 files of a timestamp are corrupt
Ensured that video_timestamp is dateformat if timestamp was retrieved from filename instead of clip.

* Fixed issue if camera file was missing

Fixed an issue if a camera file was missing.
Removed now unused MOVIE_LAYOUT dictionary

* Release 0.1.10

* Fixed traceback issue for ffmpeg (#39)

* Added option to test distribution with TestPyPi

* Version change to 0.1.11

* Updated README

Added 2 fixes for 0.1.11
Added option to crop videos in TODO section

* Fixed output folder issues

* Missing piece for PyPi

Figured out missing piece allowing easy execution from PyPi.

* Updated links to executables

* Removed DIAGONAL as it is not implemented

* Formatting update with Black

Formatting update with Black

* Fix for folder deletion with empty files

Fix for issue #40 where folders would not be deleted if there are 0-byte or corrupt files within the folder

* Fixed --output with filename issue

Fixed issue #52  with --output when providing a filename

* Changed concat for movie creation

Changed how to concatenate the clips in create_movie resulting in massive performance improvement.

* Updated README for create_movie

Updated readme for create_movie performance improvement

* Add chapter markers

Concatenated video files now will have chapter markers. Folder level will have chapters for each clip, merged will have chapters for each folder

* removed single clip exception

Removed single clip exception for creating movie as we now add chapters in it as well hence need to process.

* Add flags -movstart and +faststart

Added flags -movstart and +faststart to movies (not clips) created

* Updated README

* Version change to 0.1.12 beta 0

* Further fix for output argument

Further fix for output argument to determine what was provided.

* Fix chapter settings when video speed is adjusted

Chapter settings were not taking into consideration that clips were sped-up or slowed-down.

* Fix issue 54 (win10toast notifier)

Potential fix for issue 54

* Missed something

* Fix traceback with invalid output path

* Trigger file or folder and few fixes

Option to provide a trigger file or folder for monitoring.
Fix for sub-dir scanning
Fix for nothing being processed if . was provided as source.

* Cosmetic fixes

* Added chapter offset & movie filename fix

Added optional chapter offset for merged video file.
Fix for moviefile when output filename is provided on monitor

* Beta version 0.1.12.2

* Fix typo in new version check output (#56)

* Update README

* Final prep of README for 0.1.12

* Cleanup

* Fixes for chapter and deletion with corruptio files

Fix for chapter of 1st clip
Fix for deletion of files & folders with corrupt files.

* Fix oopsie

* Fix if file does not have timestamp

Fix if fiel does not have timestamp for issue introduced with fixing deletion of corrupt/empty files

* Added durations of resulting movie to print out

* Version to 0.1.12 for release

* Updates from Black

* Check if font file exist

Check if font file (provided or default) exist and if not return error. This to prevent errors during ffmpeg execution.

* Merged movie filename default to current date/time

Set the default filename for merged video to current date/time instead of just the folder name

* Check ffmpeg exist

Check that executable ffmpeg exist and can be called before executing.

* Check Python version

Check to make sure Python version is minimum required

* Fix merge video using relative path

Fix error for merging videos when providing a relative path for --output.

* New option --gpu_type

New option --gpu_type to identify GPU in system (NVIDIA or Intel).

* Add ability to exclude cameras

New options to exclude certain cameras from the output

* Option --no-faststart

New option --no-faststart to not set faststart flag as it can result in issues on network shares

* --start_timestamp, --end_timestamp, --start_offset, --end_offset

New parameters --start_timestamp, --end_timestamp, --start_offset, --end_offset to restrict based on timestamps and do offsets.

* Fixed issue with --gpu_type

Fixed issue with --gpu_type

* Raspberry Pi H.264 encoding support

Add support for H.264 GPU encoding for Raspberry Pi.

* Metadata fix for missing files

Fix issue in collecting metadata when some of the camera files are missing

* Ignore hidden files in folder

Ignore any potential hidden files (Linux/Mac) within folder. For example hidden file created by already opening some of the video files in another program.

* Update README.rst

* Fix for timestamps

Logic for filtering on the timestamps was incorrect

* Rear camera, new layouts, temp_dir

Support for rear camera in V10
New layouts CROSS and DIAMOND
--perspective option to allow perspective in every layout
temp_dir option
Add SentryClips folder to source if none provided

* solving #69 - shorten video (#70)

* Commenting lines out that cause Issue #68

* Added support for `--shorten` command to resolve Issue #69

* Update Readme for --shorten

Formatting updates.

* Update to --motion_only and --skip_existing

Update to --motion_only
New skip_existing

* Small change to metadata

* Version 0.1.13

Version 0.1.13
ehendrix23 added a commit that referenced this issue Sep 26, 2019
* Temp exe

* Updated temporary exe file

* Delete tesla_dashcam_190b3.exe

* Fix check release

* Updated README with initial 0.1.10 and additional TODO

Updated README with items already in progress for 0.1.10

Added items to TODO list

* Fix running tesla_dashcam when installed with pip

* Updated README with additional items done for next release

* Initial set of updates for 0.1.10.

* Timestamp sorting fix

* Added Chapter Markers in To-Do list

* Made behaviour for single folder same as multiple

Made behaviour for single folder discovered same as multiple.

* --delete_souce now also for execution without --monitor

* Updated README and reorged 0.1.10 items a bit

* Fix deleting foldr file if name same as clip name

* Exclude ffmpeg.exe

* Default output folder, change in folder filename

Added default output folder
Changed folder filename to <Start_Timestamp>_<End_Timestamp>
Source is optional now

* Set Python version to 3.7 only

* Updated readme for 0.1.10

Finished updating readme

* Set version to 0.1.10

* Fixed metadata issue

Fixed if all 3 files of a timestamp are corrupt
Ensured that video_timestamp is dateformat if timestamp was retrieved from filename instead of clip.

* Fixed issue if camera file was missing

Fixed an issue if a camera file was missing.
Removed now unused MOVIE_LAYOUT dictionary

* Release 0.1.10

* Fixed traceback issue for ffmpeg (#39)

* Added option to test distribution with TestPyPi

* Version change to 0.1.11

* Updated README

Added 2 fixes for 0.1.11
Added option to crop videos in TODO section

* Fixed output folder issues

* Missing piece for PyPi

Figured out missing piece allowing easy execution from PyPi.

* Updated links to executables

* Removed DIAGONAL as it is not implemented

* Formatting update with Black

Formatting update with Black

* Fix for folder deletion with empty files

Fix for issue #40 where folders would not be deleted if there are 0-byte or corrupt files within the folder

* Fixed --output with filename issue

Fixed issue #52  with --output when providing a filename

* Changed concat for movie creation

Changed how to concatenate the clips in create_movie resulting in massive performance improvement.

* Updated README for create_movie

Updated readme for create_movie performance improvement

* Add chapter markers

Concatenated video files now will have chapter markers. Folder level will have chapters for each clip, merged will have chapters for each folder

* removed single clip exception

Removed single clip exception for creating movie as we now add chapters in it as well hence need to process.

* Add flags -movstart and +faststart

Added flags -movstart and +faststart to movies (not clips) created

* Updated README

* Version change to 0.1.12 beta 0

* Further fix for output argument

Further fix for output argument to determine what was provided.

* Fix chapter settings when video speed is adjusted

Chapter settings were not taking into consideration that clips were sped-up or slowed-down.

* Fix issue 54 (win10toast notifier)

Potential fix for issue 54

* Missed something

* Fix traceback with invalid output path

* Trigger file or folder and few fixes

Option to provide a trigger file or folder for monitoring.
Fix for sub-dir scanning
Fix for nothing being processed if . was provided as source.

* Cosmetic fixes

* Added chapter offset & movie filename fix

Added optional chapter offset for merged video file.
Fix for moviefile when output filename is provided on monitor

* Beta version 0.1.12.2

* Fix typo in new version check output (#56)

* Update README

* Final prep of README for 0.1.12

* Cleanup

* Fixes for chapter and deletion with corruptio files

Fix for chapter of 1st clip
Fix for deletion of files & folders with corrupt files.

* Fix oopsie

* Fix if file does not have timestamp

Fix if fiel does not have timestamp for issue introduced with fixing deletion of corrupt/empty files

* Added durations of resulting movie to print out

* Version to 0.1.12 for release

* Updates from Black

* Check if font file exist

Check if font file (provided or default) exist and if not return error. This to prevent errors during ffmpeg execution.

* Merged movie filename default to current date/time

Set the default filename for merged video to current date/time instead of just the folder name

* Check ffmpeg exist

Check that executable ffmpeg exist and can be called before executing.

* Check Python version

Check to make sure Python version is minimum required

* Fix merge video using relative path

Fix error for merging videos when providing a relative path for --output.

* New option --gpu_type

New option --gpu_type to identify GPU in system (NVIDIA or Intel).

* Add ability to exclude cameras

New options to exclude certain cameras from the output

* Option --no-faststart

New option --no-faststart to not set faststart flag as it can result in issues on network shares

* --start_timestamp, --end_timestamp, --start_offset, --end_offset

New parameters --start_timestamp, --end_timestamp, --start_offset, --end_offset to restrict based on timestamps and do offsets.

* Fixed issue with --gpu_type

Fixed issue with --gpu_type

* Raspberry Pi H.264 encoding support

Add support for H.264 GPU encoding for Raspberry Pi.

* Metadata fix for missing files

Fix issue in collecting metadata when some of the camera files are missing

* Ignore hidden files in folder

Ignore any potential hidden files (Linux/Mac) within folder. For example hidden file created by already opening some of the video files in another program.

* Update README.rst

* Fix for timestamps

Logic for filtering on the timestamps was incorrect

* Rear camera, new layouts, temp_dir

Support for rear camera in V10
New layouts CROSS and DIAMOND
--perspective option to allow perspective in every layout
temp_dir option
Add SentryClips folder to source if none provided

* solving #69 - shorten video (#70)

* Commenting lines out that cause Issue #68

* Added support for `--shorten` command to resolve Issue #69

* Update Readme for --shorten

Formatting updates.

* Update to --motion_only and --skip_existing

Update to --motion_only
New skip_existing

* Small change to metadata

* Version 0.1.13

Version 0.1.13
@ehendrix23
Copy link
Owner

Release 0.1.14 is out now including this enhancement. Issue that was mentioned here with chapters is resolved in this.

ehendrix23 added a commit that referenced this issue Sep 27, 2019
* Temp exe

* Updated temporary exe file

* Delete tesla_dashcam_190b3.exe

* Fix check release

* Updated README with initial 0.1.10 and additional TODO

Updated README with items already in progress for 0.1.10

Added items to TODO list

* Fix running tesla_dashcam when installed with pip

* Updated README with additional items done for next release

* Initial set of updates for 0.1.10.

* Timestamp sorting fix

* Added Chapter Markers in To-Do list

* Made behaviour for single folder same as multiple

Made behaviour for single folder discovered same as multiple.

* --delete_souce now also for execution without --monitor

* Updated README and reorged 0.1.10 items a bit

* Fix deleting foldr file if name same as clip name

* Exclude ffmpeg.exe

* Default output folder, change in folder filename

Added default output folder
Changed folder filename to <Start_Timestamp>_<End_Timestamp>
Source is optional now

* Set Python version to 3.7 only

* Updated readme for 0.1.10

Finished updating readme

* Set version to 0.1.10

* Fixed metadata issue

Fixed if all 3 files of a timestamp are corrupt
Ensured that video_timestamp is dateformat if timestamp was retrieved from filename instead of clip.

* Fixed issue if camera file was missing

Fixed an issue if a camera file was missing.
Removed now unused MOVIE_LAYOUT dictionary

* Release 0.1.10

* Fixed traceback issue for ffmpeg (#39)

* Added option to test distribution with TestPyPi

* Version change to 0.1.11

* Updated README

Added 2 fixes for 0.1.11
Added option to crop videos in TODO section

* Fixed output folder issues

* Missing piece for PyPi

Figured out missing piece allowing easy execution from PyPi.

* Updated links to executables

* Removed DIAGONAL as it is not implemented

* Formatting update with Black

Formatting update with Black

* Fix for folder deletion with empty files

Fix for issue #40 where folders would not be deleted if there are 0-byte or corrupt files within the folder

* Fixed --output with filename issue

Fixed issue #52  with --output when providing a filename

* Changed concat for movie creation

Changed how to concatenate the clips in create_movie resulting in massive performance improvement.

* Updated README for create_movie

Updated readme for create_movie performance improvement

* Add chapter markers

Concatenated video files now will have chapter markers. Folder level will have chapters for each clip, merged will have chapters for each folder

* removed single clip exception

Removed single clip exception for creating movie as we now add chapters in it as well hence need to process.

* Add flags -movstart and +faststart

Added flags -movstart and +faststart to movies (not clips) created

* Updated README

* Version change to 0.1.12 beta 0

* Further fix for output argument

Further fix for output argument to determine what was provided.

* Fix chapter settings when video speed is adjusted

Chapter settings were not taking into consideration that clips were sped-up or slowed-down.

* Fix issue 54 (win10toast notifier)

Potential fix for issue 54

* Missed something

* Fix traceback with invalid output path

* Trigger file or folder and few fixes

Option to provide a trigger file or folder for monitoring.
Fix for sub-dir scanning
Fix for nothing being processed if . was provided as source.

* Cosmetic fixes

* Added chapter offset & movie filename fix

Added optional chapter offset for merged video file.
Fix for moviefile when output filename is provided on monitor

* Beta version 0.1.12.2

* Fix typo in new version check output (#56)

* Update README

* Final prep of README for 0.1.12

* Cleanup

* Fixes for chapter and deletion with corruptio files

Fix for chapter of 1st clip
Fix for deletion of files & folders with corrupt files.

* Fix oopsie

* Fix if file does not have timestamp

Fix if fiel does not have timestamp for issue introduced with fixing deletion of corrupt/empty files

* Added durations of resulting movie to print out

* Version to 0.1.12 for release

* Updates from Black

* Check if font file exist

Check if font file (provided or default) exist and if not return error. This to prevent errors during ffmpeg execution.

* Merged movie filename default to current date/time

Set the default filename for merged video to current date/time instead of just the folder name

* Check ffmpeg exist

Check that executable ffmpeg exist and can be called before executing.

* Check Python version

Check to make sure Python version is minimum required

* Fix merge video using relative path

Fix error for merging videos when providing a relative path for --output.

* New option --gpu_type

New option --gpu_type to identify GPU in system (NVIDIA or Intel).

* Add ability to exclude cameras

New options to exclude certain cameras from the output

* Option --no-faststart

New option --no-faststart to not set faststart flag as it can result in issues on network shares

* --start_timestamp, --end_timestamp, --start_offset, --end_offset

New parameters --start_timestamp, --end_timestamp, --start_offset, --end_offset to restrict based on timestamps and do offsets.

* Fixed issue with --gpu_type

Fixed issue with --gpu_type

* Raspberry Pi H.264 encoding support

Add support for H.264 GPU encoding for Raspberry Pi.

* Metadata fix for missing files

Fix issue in collecting metadata when some of the camera files are missing

* Ignore hidden files in folder

Ignore any potential hidden files (Linux/Mac) within folder. For example hidden file created by already opening some of the video files in another program.

* Update README.rst

* Fix for timestamps

Logic for filtering on the timestamps was incorrect

* Rear camera, new layouts, temp_dir

Support for rear camera in V10
New layouts CROSS and DIAMOND
--perspective option to allow perspective in every layout
temp_dir option
Add SentryClips folder to source if none provided

* solving #69 - shorten video (#70)

* Commenting lines out that cause Issue #68

* Added support for `--shorten` command to resolve Issue #69

* Update Readme for --shorten

Formatting updates.

* Update to --motion_only and --skip_existing

Update to --motion_only
New skip_existing

* Small change to metadata

* Version 0.1.13

Version 0.1.13
ehendrix23 added a commit that referenced this issue Oct 1, 2019
* Release 0.1.13 (#72) (#73)

* Temp exe

* Updated temporary exe file

* Delete tesla_dashcam_190b3.exe

* Fix check release

* Updated README with initial 0.1.10 and additional TODO

Updated README with items already in progress for 0.1.10

Added items to TODO list

* Fix running tesla_dashcam when installed with pip

* Updated README with additional items done for next release

* Initial set of updates for 0.1.10.

* Timestamp sorting fix

* Added Chapter Markers in To-Do list

* Made behaviour for single folder same as multiple

Made behaviour for single folder discovered same as multiple.

* --delete_souce now also for execution without --monitor

* Updated README and reorged 0.1.10 items a bit

* Fix deleting foldr file if name same as clip name

* Exclude ffmpeg.exe

* Default output folder, change in folder filename

Added default output folder
Changed folder filename to <Start_Timestamp>_<End_Timestamp>
Source is optional now

* Set Python version to 3.7 only

* Updated readme for 0.1.10

Finished updating readme

* Set version to 0.1.10

* Fixed metadata issue

Fixed if all 3 files of a timestamp are corrupt
Ensured that video_timestamp is dateformat if timestamp was retrieved from filename instead of clip.

* Fixed issue if camera file was missing

Fixed an issue if a camera file was missing.
Removed now unused MOVIE_LAYOUT dictionary

* Release 0.1.10

* Fixed traceback issue for ffmpeg (#39)

* Added option to test distribution with TestPyPi

* Version change to 0.1.11

* Updated README

Added 2 fixes for 0.1.11
Added option to crop videos in TODO section

* Fixed output folder issues

* Missing piece for PyPi

Figured out missing piece allowing easy execution from PyPi.

* Updated links to executables

* Removed DIAGONAL as it is not implemented

* Formatting update with Black

Formatting update with Black

* Fix for folder deletion with empty files

Fix for issue #40 where folders would not be deleted if there are 0-byte or corrupt files within the folder

* Fixed --output with filename issue

Fixed issue #52  with --output when providing a filename

* Changed concat for movie creation

Changed how to concatenate the clips in create_movie resulting in massive performance improvement.

* Updated README for create_movie

Updated readme for create_movie performance improvement

* Add chapter markers

Concatenated video files now will have chapter markers. Folder level will have chapters for each clip, merged will have chapters for each folder

* removed single clip exception

Removed single clip exception for creating movie as we now add chapters in it as well hence need to process.

* Add flags -movstart and +faststart

Added flags -movstart and +faststart to movies (not clips) created

* Updated README

* Version change to 0.1.12 beta 0

* Further fix for output argument

Further fix for output argument to determine what was provided.

* Fix chapter settings when video speed is adjusted

Chapter settings were not taking into consideration that clips were sped-up or slowed-down.

* Fix issue 54 (win10toast notifier)

Potential fix for issue 54

* Missed something

* Fix traceback with invalid output path

* Trigger file or folder and few fixes

Option to provide a trigger file or folder for monitoring.
Fix for sub-dir scanning
Fix for nothing being processed if . was provided as source.

* Cosmetic fixes

* Added chapter offset & movie filename fix

Added optional chapter offset for merged video file.
Fix for moviefile when output filename is provided on monitor

* Beta version 0.1.12.2

* Fix typo in new version check output (#56)

* Update README

* Final prep of README for 0.1.12

* Cleanup

* Fixes for chapter and deletion with corruptio files

Fix for chapter of 1st clip
Fix for deletion of files & folders with corrupt files.

* Fix oopsie

* Fix if file does not have timestamp

Fix if fiel does not have timestamp for issue introduced with fixing deletion of corrupt/empty files

* Added durations of resulting movie to print out

* Version to 0.1.12 for release

* Updates from Black

* Check if font file exist

Check if font file (provided or default) exist and if not return error. This to prevent errors during ffmpeg execution.

* Merged movie filename default to current date/time

Set the default filename for merged video to current date/time instead of just the folder name

* Check ffmpeg exist

Check that executable ffmpeg exist and can be called before executing.

* Check Python version

Check to make sure Python version is minimum required

* Fix merge video using relative path

Fix error for merging videos when providing a relative path for --output.

* New option --gpu_type

New option --gpu_type to identify GPU in system (NVIDIA or Intel).

* Add ability to exclude cameras

New options to exclude certain cameras from the output

* Option --no-faststart

New option --no-faststart to not set faststart flag as it can result in issues on network shares

* --start_timestamp, --end_timestamp, --start_offset, --end_offset

New parameters --start_timestamp, --end_timestamp, --start_offset, --end_offset to restrict based on timestamps and do offsets.

* Fixed issue with --gpu_type

Fixed issue with --gpu_type

* Raspberry Pi H.264 encoding support

Add support for H.264 GPU encoding for Raspberry Pi.

* Metadata fix for missing files

Fix issue in collecting metadata when some of the camera files are missing

* Ignore hidden files in folder

Ignore any potential hidden files (Linux/Mac) within folder. For example hidden file created by already opening some of the video files in another program.

* Update README.rst

* Fix for timestamps

Logic for filtering on the timestamps was incorrect

* Rear camera, new layouts, temp_dir

Support for rear camera in V10
New layouts CROSS and DIAMOND
--perspective option to allow perspective in every layout
temp_dir option
Add SentryClips folder to source if none provided

* solving #69 - shorten video (#70)

* Commenting lines out that cause Issue #68

* Added support for `--shorten` command to resolve Issue #69

* Update Readme for --shorten

Formatting updates.

* Update to --motion_only and --skip_existing

Update to --motion_only
New skip_existing

* Small change to metadata

* Version 0.1.13

Version 0.1.13

* Provide more clarity with font file and ffmpeg

* Cleanup

* Release 0.1.13 (#72) (#75)

* Temp exe

* Updated temporary exe file

* Delete tesla_dashcam_190b3.exe

* Fix check release

* Updated README with initial 0.1.10 and additional TODO

Updated README with items already in progress for 0.1.10

Added items to TODO list

* Fix running tesla_dashcam when installed with pip

* Updated README with additional items done for next release

* Initial set of updates for 0.1.10.

* Timestamp sorting fix

* Added Chapter Markers in To-Do list

* Made behaviour for single folder same as multiple

Made behaviour for single folder discovered same as multiple.

* --delete_souce now also for execution without --monitor

* Updated README and reorged 0.1.10 items a bit

* Fix deleting foldr file if name same as clip name

* Exclude ffmpeg.exe

* Default output folder, change in folder filename

Added default output folder
Changed folder filename to <Start_Timestamp>_<End_Timestamp>
Source is optional now

* Set Python version to 3.7 only

* Updated readme for 0.1.10

Finished updating readme

* Set version to 0.1.10

* Fixed metadata issue

Fixed if all 3 files of a timestamp are corrupt
Ensured that video_timestamp is dateformat if timestamp was retrieved from filename instead of clip.

* Fixed issue if camera file was missing

Fixed an issue if a camera file was missing.
Removed now unused MOVIE_LAYOUT dictionary

* Release 0.1.10

* Fixed traceback issue for ffmpeg (#39)

* Added option to test distribution with TestPyPi

* Version change to 0.1.11

* Updated README

Added 2 fixes for 0.1.11
Added option to crop videos in TODO section

* Fixed output folder issues

* Missing piece for PyPi

Figured out missing piece allowing easy execution from PyPi.

* Updated links to executables

* Removed DIAGONAL as it is not implemented

* Formatting update with Black

Formatting update with Black

* Fix for folder deletion with empty files

Fix for issue #40 where folders would not be deleted if there are 0-byte or corrupt files within the folder

* Fixed --output with filename issue

Fixed issue #52  with --output when providing a filename

* Changed concat for movie creation

Changed how to concatenate the clips in create_movie resulting in massive performance improvement.

* Updated README for create_movie

Updated readme for create_movie performance improvement

* Add chapter markers

Concatenated video files now will have chapter markers. Folder level will have chapters for each clip, merged will have chapters for each folder

* removed single clip exception

Removed single clip exception for creating movie as we now add chapters in it as well hence need to process.

* Add flags -movstart and +faststart

Added flags -movstart and +faststart to movies (not clips) created

* Updated README

* Version change to 0.1.12 beta 0

* Further fix for output argument

Further fix for output argument to determine what was provided.

* Fix chapter settings when video speed is adjusted

Chapter settings were not taking into consideration that clips were sped-up or slowed-down.

* Fix issue 54 (win10toast notifier)

Potential fix for issue 54

* Missed something

* Fix traceback with invalid output path

* Trigger file or folder and few fixes

Option to provide a trigger file or folder for monitoring.
Fix for sub-dir scanning
Fix for nothing being processed if . was provided as source.

* Cosmetic fixes

* Added chapter offset & movie filename fix

Added optional chapter offset for merged video file.
Fix for moviefile when output filename is provided on monitor

* Beta version 0.1.12.2

* Fix typo in new version check output (#56)

* Update README

* Final prep of README for 0.1.12

* Cleanup

* Fixes for chapter and deletion with corruptio files

Fix for chapter of 1st clip
Fix for deletion of files & folders with corrupt files.

* Fix oopsie

* Fix if file does not have timestamp

Fix if fiel does not have timestamp for issue introduced with fixing deletion of corrupt/empty files

* Added durations of resulting movie to print out

* Version to 0.1.12 for release

* Updates from Black

* Check if font file exist

Check if font file (provided or default) exist and if not return error. This to prevent errors during ffmpeg execution.

* Merged movie filename default to current date/time

Set the default filename for merged video to current date/time instead of just the folder name

* Check ffmpeg exist

Check that executable ffmpeg exist and can be called before executing.

* Check Python version

Check to make sure Python version is minimum required

* Fix merge video using relative path

Fix error for merging videos when providing a relative path for --output.

* New option --gpu_type

New option --gpu_type to identify GPU in system (NVIDIA or Intel).

* Add ability to exclude cameras

New options to exclude certain cameras from the output

* Option --no-faststart

New option --no-faststart to not set faststart flag as it can result in issues on network shares

* --start_timestamp, --end_timestamp, --start_offset, --end_offset

New parameters --start_timestamp, --end_timestamp, --start_offset, --end_offset to restrict based on timestamps and do offsets.

* Fixed issue with --gpu_type

Fixed issue with --gpu_type

* Raspberry Pi H.264 encoding support

Add support for H.264 GPU encoding for Raspberry Pi.

* Metadata fix for missing files

Fix issue in collecting metadata when some of the camera files are missing

* Ignore hidden files in folder

Ignore any potential hidden files (Linux/Mac) within folder. For example hidden file created by already opening some of the video files in another program.

* Update README.rst

* Fix for timestamps

Logic for filtering on the timestamps was incorrect

* Rear camera, new layouts, temp_dir

Support for rear camera in V10
New layouts CROSS and DIAMOND
--perspective option to allow perspective in every layout
temp_dir option
Add SentryClips folder to source if none provided

* solving #69 - shorten video (#70)

* Commenting lines out that cause Issue #68

* Added support for `--shorten` command to resolve Issue #69

* Update Readme for --shorten

Formatting updates.

* Update to --motion_only and --skip_existing

Update to --motion_only
New skip_existing

* Small change to metadata

* Version 0.1.13

Version 0.1.13

* Updates for fixing if font file exist

* rear cam filename fix (#76)

* Fix missing python-dateutil with PIP install

* Fix missing fonts in Docker image (#79)

* Add tzdata package to allow for specifying the timezone used for the timestamps

* Add fonts-freefont-ttf package so the required font is available for the timestamps

* Set version to 0.1.15

* Fix for multiple source with MONITOR or MONITOR_ONCE

* Reduce motion sensitivity
ehendrix23 added a commit that referenced this issue Oct 1, 2019
* Release 0.1.13 (#72) (#73)

* Temp exe

* Updated temporary exe file

* Delete tesla_dashcam_190b3.exe

* Fix check release

* Updated README with initial 0.1.10 and additional TODO

Updated README with items already in progress for 0.1.10

Added items to TODO list

* Fix running tesla_dashcam when installed with pip

* Updated README with additional items done for next release

* Initial set of updates for 0.1.10.

* Timestamp sorting fix

* Added Chapter Markers in To-Do list

* Made behaviour for single folder same as multiple

Made behaviour for single folder discovered same as multiple.

* --delete_souce now also for execution without --monitor

* Updated README and reorged 0.1.10 items a bit

* Fix deleting foldr file if name same as clip name

* Exclude ffmpeg.exe

* Default output folder, change in folder filename

Added default output folder
Changed folder filename to <Start_Timestamp>_<End_Timestamp>
Source is optional now

* Set Python version to 3.7 only

* Updated readme for 0.1.10

Finished updating readme

* Set version to 0.1.10

* Fixed metadata issue

Fixed if all 3 files of a timestamp are corrupt
Ensured that video_timestamp is dateformat if timestamp was retrieved from filename instead of clip.

* Fixed issue if camera file was missing

Fixed an issue if a camera file was missing.
Removed now unused MOVIE_LAYOUT dictionary

* Release 0.1.10

* Fixed traceback issue for ffmpeg (#39)

* Added option to test distribution with TestPyPi

* Version change to 0.1.11

* Updated README

Added 2 fixes for 0.1.11
Added option to crop videos in TODO section

* Fixed output folder issues

* Missing piece for PyPi

Figured out missing piece allowing easy execution from PyPi.

* Updated links to executables

* Removed DIAGONAL as it is not implemented

* Formatting update with Black

Formatting update with Black

* Fix for folder deletion with empty files

Fix for issue #40 where folders would not be deleted if there are 0-byte or corrupt files within the folder

* Fixed --output with filename issue

Fixed issue #52  with --output when providing a filename

* Changed concat for movie creation

Changed how to concatenate the clips in create_movie resulting in massive performance improvement.

* Updated README for create_movie

Updated readme for create_movie performance improvement

* Add chapter markers

Concatenated video files now will have chapter markers. Folder level will have chapters for each clip, merged will have chapters for each folder

* removed single clip exception

Removed single clip exception for creating movie as we now add chapters in it as well hence need to process.

* Add flags -movstart and +faststart

Added flags -movstart and +faststart to movies (not clips) created

* Updated README

* Version change to 0.1.12 beta 0

* Further fix for output argument

Further fix for output argument to determine what was provided.

* Fix chapter settings when video speed is adjusted

Chapter settings were not taking into consideration that clips were sped-up or slowed-down.

* Fix issue 54 (win10toast notifier)

Potential fix for issue 54

* Missed something

* Fix traceback with invalid output path

* Trigger file or folder and few fixes

Option to provide a trigger file or folder for monitoring.
Fix for sub-dir scanning
Fix for nothing being processed if . was provided as source.

* Cosmetic fixes

* Added chapter offset & movie filename fix

Added optional chapter offset for merged video file.
Fix for moviefile when output filename is provided on monitor

* Beta version 0.1.12.2

* Fix typo in new version check output (#56)

* Update README

* Final prep of README for 0.1.12

* Cleanup

* Fixes for chapter and deletion with corruptio files

Fix for chapter of 1st clip
Fix for deletion of files & folders with corrupt files.

* Fix oopsie

* Fix if file does not have timestamp

Fix if fiel does not have timestamp for issue introduced with fixing deletion of corrupt/empty files

* Added durations of resulting movie to print out

* Version to 0.1.12 for release

* Updates from Black

* Check if font file exist

Check if font file (provided or default) exist and if not return error. This to prevent errors during ffmpeg execution.

* Merged movie filename default to current date/time

Set the default filename for merged video to current date/time instead of just the folder name

* Check ffmpeg exist

Check that executable ffmpeg exist and can be called before executing.

* Check Python version

Check to make sure Python version is minimum required

* Fix merge video using relative path

Fix error for merging videos when providing a relative path for --output.

* New option --gpu_type

New option --gpu_type to identify GPU in system (NVIDIA or Intel).

* Add ability to exclude cameras

New options to exclude certain cameras from the output

* Option --no-faststart

New option --no-faststart to not set faststart flag as it can result in issues on network shares

* --start_timestamp, --end_timestamp, --start_offset, --end_offset

New parameters --start_timestamp, --end_timestamp, --start_offset, --end_offset to restrict based on timestamps and do offsets.

* Fixed issue with --gpu_type

Fixed issue with --gpu_type

* Raspberry Pi H.264 encoding support

Add support for H.264 GPU encoding for Raspberry Pi.

* Metadata fix for missing files

Fix issue in collecting metadata when some of the camera files are missing

* Ignore hidden files in folder

Ignore any potential hidden files (Linux/Mac) within folder. For example hidden file created by already opening some of the video files in another program.

* Update README.rst

* Fix for timestamps

Logic for filtering on the timestamps was incorrect

* Rear camera, new layouts, temp_dir

Support for rear camera in V10
New layouts CROSS and DIAMOND
--perspective option to allow perspective in every layout
temp_dir option
Add SentryClips folder to source if none provided

* solving #69 - shorten video (#70)

* Commenting lines out that cause Issue #68

* Added support for `--shorten` command to resolve Issue #69

* Update Readme for --shorten

Formatting updates.

* Update to --motion_only and --skip_existing

Update to --motion_only
New skip_existing

* Small change to metadata

* Version 0.1.13

Version 0.1.13

* Provide more clarity with font file and ffmpeg

* Cleanup

* Release 0.1.13 (#72) (#75)

* Temp exe

* Updated temporary exe file

* Delete tesla_dashcam_190b3.exe

* Fix check release

* Updated README with initial 0.1.10 and additional TODO

Updated README with items already in progress for 0.1.10

Added items to TODO list

* Fix running tesla_dashcam when installed with pip

* Updated README with additional items done for next release

* Initial set of updates for 0.1.10.

* Timestamp sorting fix

* Added Chapter Markers in To-Do list

* Made behaviour for single folder same as multiple

Made behaviour for single folder discovered same as multiple.

* --delete_souce now also for execution without --monitor

* Updated README and reorged 0.1.10 items a bit

* Fix deleting foldr file if name same as clip name

* Exclude ffmpeg.exe

* Default output folder, change in folder filename

Added default output folder
Changed folder filename to <Start_Timestamp>_<End_Timestamp>
Source is optional now

* Set Python version to 3.7 only

* Updated readme for 0.1.10

Finished updating readme

* Set version to 0.1.10

* Fixed metadata issue

Fixed if all 3 files of a timestamp are corrupt
Ensured that video_timestamp is dateformat if timestamp was retrieved from filename instead of clip.

* Fixed issue if camera file was missing

Fixed an issue if a camera file was missing.
Removed now unused MOVIE_LAYOUT dictionary

* Release 0.1.10

* Fixed traceback issue for ffmpeg (#39)

* Added option to test distribution with TestPyPi

* Version change to 0.1.11

* Updated README

Added 2 fixes for 0.1.11
Added option to crop videos in TODO section

* Fixed output folder issues

* Missing piece for PyPi

Figured out missing piece allowing easy execution from PyPi.

* Updated links to executables

* Removed DIAGONAL as it is not implemented

* Formatting update with Black

Formatting update with Black

* Fix for folder deletion with empty files

Fix for issue #40 where folders would not be deleted if there are 0-byte or corrupt files within the folder

* Fixed --output with filename issue

Fixed issue #52  with --output when providing a filename

* Changed concat for movie creation

Changed how to concatenate the clips in create_movie resulting in massive performance improvement.

* Updated README for create_movie

Updated readme for create_movie performance improvement

* Add chapter markers

Concatenated video files now will have chapter markers. Folder level will have chapters for each clip, merged will have chapters for each folder

* removed single clip exception

Removed single clip exception for creating movie as we now add chapters in it as well hence need to process.

* Add flags -movstart and +faststart

Added flags -movstart and +faststart to movies (not clips) created

* Updated README

* Version change to 0.1.12 beta 0

* Further fix for output argument

Further fix for output argument to determine what was provided.

* Fix chapter settings when video speed is adjusted

Chapter settings were not taking into consideration that clips were sped-up or slowed-down.

* Fix issue 54 (win10toast notifier)

Potential fix for issue 54

* Missed something

* Fix traceback with invalid output path

* Trigger file or folder and few fixes

Option to provide a trigger file or folder for monitoring.
Fix for sub-dir scanning
Fix for nothing being processed if . was provided as source.

* Cosmetic fixes

* Added chapter offset & movie filename fix

Added optional chapter offset for merged video file.
Fix for moviefile when output filename is provided on monitor

* Beta version 0.1.12.2

* Fix typo in new version check output (#56)

* Update README

* Final prep of README for 0.1.12

* Cleanup

* Fixes for chapter and deletion with corruptio files

Fix for chapter of 1st clip
Fix for deletion of files & folders with corrupt files.

* Fix oopsie

* Fix if file does not have timestamp

Fix if fiel does not have timestamp for issue introduced with fixing deletion of corrupt/empty files

* Added durations of resulting movie to print out

* Version to 0.1.12 for release

* Updates from Black

* Check if font file exist

Check if font file (provided or default) exist and if not return error. This to prevent errors during ffmpeg execution.

* Merged movie filename default to current date/time

Set the default filename for merged video to current date/time instead of just the folder name

* Check ffmpeg exist

Check that executable ffmpeg exist and can be called before executing.

* Check Python version

Check to make sure Python version is minimum required

* Fix merge video using relative path

Fix error for merging videos when providing a relative path for --output.

* New option --gpu_type

New option --gpu_type to identify GPU in system (NVIDIA or Intel).

* Add ability to exclude cameras

New options to exclude certain cameras from the output

* Option --no-faststart

New option --no-faststart to not set faststart flag as it can result in issues on network shares

* --start_timestamp, --end_timestamp, --start_offset, --end_offset

New parameters --start_timestamp, --end_timestamp, --start_offset, --end_offset to restrict based on timestamps and do offsets.

* Fixed issue with --gpu_type

Fixed issue with --gpu_type

* Raspberry Pi H.264 encoding support

Add support for H.264 GPU encoding for Raspberry Pi.

* Metadata fix for missing files

Fix issue in collecting metadata when some of the camera files are missing

* Ignore hidden files in folder

Ignore any potential hidden files (Linux/Mac) within folder. For example hidden file created by already opening some of the video files in another program.

* Update README.rst

* Fix for timestamps

Logic for filtering on the timestamps was incorrect

* Rear camera, new layouts, temp_dir

Support for rear camera in V10
New layouts CROSS and DIAMOND
--perspective option to allow perspective in every layout
temp_dir option
Add SentryClips folder to source if none provided

* solving #69 - shorten video (#70)

* Commenting lines out that cause Issue #68

* Added support for `--shorten` command to resolve Issue #69

* Update Readme for --shorten

Formatting updates.

* Update to --motion_only and --skip_existing

Update to --motion_only
New skip_existing

* Small change to metadata

* Version 0.1.13

Version 0.1.13

* Updates for fixing if font file exist

* rear cam filename fix (#76)

* Fix missing python-dateutil with PIP install

* Fix missing fonts in Docker image (#79)

* Add tzdata package to allow for specifying the timezone used for the timestamps

* Add fonts-freefont-ttf package so the required font is available for the timestamps

* Set version to 0.1.15

* Fix for multiple source with MONITOR or MONITOR_ONCE

* Reduce motion sensitivity

* Remove print
ehendrix23 added a commit that referenced this issue Nov 15, 2019
* Release 0.1.13 (#72) (#73)

* Temp exe

* Updated temporary exe file

* Delete tesla_dashcam_190b3.exe

* Fix check release

* Updated README with initial 0.1.10 and additional TODO

Updated README with items already in progress for 0.1.10

Added items to TODO list

* Fix running tesla_dashcam when installed with pip

* Updated README with additional items done for next release

* Initial set of updates for 0.1.10.

* Timestamp sorting fix

* Added Chapter Markers in To-Do list

* Made behaviour for single folder same as multiple

Made behaviour for single folder discovered same as multiple.

* --delete_souce now also for execution without --monitor

* Updated README and reorged 0.1.10 items a bit

* Fix deleting foldr file if name same as clip name

* Exclude ffmpeg.exe

* Default output folder, change in folder filename

Added default output folder
Changed folder filename to <Start_Timestamp>_<End_Timestamp>
Source is optional now

* Set Python version to 3.7 only

* Updated readme for 0.1.10

Finished updating readme

* Set version to 0.1.10

* Fixed metadata issue

Fixed if all 3 files of a timestamp are corrupt
Ensured that video_timestamp is dateformat if timestamp was retrieved from filename instead of clip.

* Fixed issue if camera file was missing

Fixed an issue if a camera file was missing.
Removed now unused MOVIE_LAYOUT dictionary

* Release 0.1.10

* Fixed traceback issue for ffmpeg (#39)

* Added option to test distribution with TestPyPi

* Version change to 0.1.11

* Updated README

Added 2 fixes for 0.1.11
Added option to crop videos in TODO section

* Fixed output folder issues

* Missing piece for PyPi

Figured out missing piece allowing easy execution from PyPi.

* Updated links to executables

* Removed DIAGONAL as it is not implemented

* Formatting update with Black

Formatting update with Black

* Fix for folder deletion with empty files

Fix for issue #40 where folders would not be deleted if there are 0-byte or corrupt files within the folder

* Fixed --output with filename issue

Fixed issue #52  with --output when providing a filename

* Changed concat for movie creation

Changed how to concatenate the clips in create_movie resulting in massive performance improvement.

* Updated README for create_movie

Updated readme for create_movie performance improvement

* Add chapter markers

Concatenated video files now will have chapter markers. Folder level will have chapters for each clip, merged will have chapters for each folder

* removed single clip exception

Removed single clip exception for creating movie as we now add chapters in it as well hence need to process.

* Add flags -movstart and +faststart

Added flags -movstart and +faststart to movies (not clips) created

* Updated README

* Version change to 0.1.12 beta 0

* Further fix for output argument

Further fix for output argument to determine what was provided.

* Fix chapter settings when video speed is adjusted

Chapter settings were not taking into consideration that clips were sped-up or slowed-down.

* Fix issue 54 (win10toast notifier)

Potential fix for issue 54

* Missed something

* Fix traceback with invalid output path

* Trigger file or folder and few fixes

Option to provide a trigger file or folder for monitoring.
Fix for sub-dir scanning
Fix for nothing being processed if . was provided as source.

* Cosmetic fixes

* Added chapter offset & movie filename fix

Added optional chapter offset for merged video file.
Fix for moviefile when output filename is provided on monitor

* Beta version 0.1.12.2

* Fix typo in new version check output (#56)

* Update README

* Final prep of README for 0.1.12

* Cleanup

* Fixes for chapter and deletion with corruptio files

Fix for chapter of 1st clip
Fix for deletion of files & folders with corrupt files.

* Fix oopsie

* Fix if file does not have timestamp

Fix if fiel does not have timestamp for issue introduced with fixing deletion of corrupt/empty files

* Added durations of resulting movie to print out

* Version to 0.1.12 for release

* Updates from Black

* Check if font file exist

Check if font file (provided or default) exist and if not return error. This to prevent errors during ffmpeg execution.

* Merged movie filename default to current date/time

Set the default filename for merged video to current date/time instead of just the folder name

* Check ffmpeg exist

Check that executable ffmpeg exist and can be called before executing.

* Check Python version

Check to make sure Python version is minimum required

* Fix merge video using relative path

Fix error for merging videos when providing a relative path for --output.

* New option --gpu_type

New option --gpu_type to identify GPU in system (NVIDIA or Intel).

* Add ability to exclude cameras

New options to exclude certain cameras from the output

* Option --no-faststart

New option --no-faststart to not set faststart flag as it can result in issues on network shares

* --start_timestamp, --end_timestamp, --start_offset, --end_offset

New parameters --start_timestamp, --end_timestamp, --start_offset, --end_offset to restrict based on timestamps and do offsets.

* Fixed issue with --gpu_type

Fixed issue with --gpu_type

* Raspberry Pi H.264 encoding support

Add support for H.264 GPU encoding for Raspberry Pi.

* Metadata fix for missing files

Fix issue in collecting metadata when some of the camera files are missing

* Ignore hidden files in folder

Ignore any potential hidden files (Linux/Mac) within folder. For example hidden file created by already opening some of the video files in another program.

* Update README.rst

* Fix for timestamps

Logic for filtering on the timestamps was incorrect

* Rear camera, new layouts, temp_dir

Support for rear camera in V10
New layouts CROSS and DIAMOND
--perspective option to allow perspective in every layout
temp_dir option
Add SentryClips folder to source if none provided

* solving #69 - shorten video (#70)

* Commenting lines out that cause Issue #68

* Added support for `--shorten` command to resolve Issue #69

* Update Readme for --shorten

Formatting updates.

* Update to --motion_only and --skip_existing

Update to --motion_only
New skip_existing

* Small change to metadata

* Version 0.1.13

Version 0.1.13

* Provide more clarity with font file and ffmpeg

* Cleanup

* Release 0.1.13 (#72) (#75)

* Temp exe

* Updated temporary exe file

* Delete tesla_dashcam_190b3.exe

* Fix check release

* Updated README with initial 0.1.10 and additional TODO

Updated README with items already in progress for 0.1.10

Added items to TODO list

* Fix running tesla_dashcam when installed with pip

* Updated README with additional items done for next release

* Initial set of updates for 0.1.10.

* Timestamp sorting fix

* Added Chapter Markers in To-Do list

* Made behaviour for single folder same as multiple

Made behaviour for single folder discovered same as multiple.

* --delete_souce now also for execution without --monitor

* Updated README and reorged 0.1.10 items a bit

* Fix deleting foldr file if name same as clip name

* Exclude ffmpeg.exe

* Default output folder, change in folder filename

Added default output folder
Changed folder filename to <Start_Timestamp>_<End_Timestamp>
Source is optional now

* Set Python version to 3.7 only

* Updated readme for 0.1.10

Finished updating readme

* Set version to 0.1.10

* Fixed metadata issue

Fixed if all 3 files of a timestamp are corrupt
Ensured that video_timestamp is dateformat if timestamp was retrieved from filename instead of clip.

* Fixed issue if camera file was missing

Fixed an issue if a camera file was missing.
Removed now unused MOVIE_LAYOUT dictionary

* Release 0.1.10

* Fixed traceback issue for ffmpeg (#39)

* Added option to test distribution with TestPyPi

* Version change to 0.1.11

* Updated README

Added 2 fixes for 0.1.11
Added option to crop videos in TODO section

* Fixed output folder issues

* Missing piece for PyPi

Figured out missing piece allowing easy execution from PyPi.

* Updated links to executables

* Removed DIAGONAL as it is not implemented

* Formatting update with Black

Formatting update with Black

* Fix for folder deletion with empty files

Fix for issue #40 where folders would not be deleted if there are 0-byte or corrupt files within the folder

* Fixed --output with filename issue

Fixed issue #52  with --output when providing a filename

* Changed concat for movie creation

Changed how to concatenate the clips in create_movie resulting in massive performance improvement.

* Updated README for create_movie

Updated readme for create_movie performance improvement

* Add chapter markers

Concatenated video files now will have chapter markers. Folder level will have chapters for each clip, merged will have chapters for each folder

* removed single clip exception

Removed single clip exception for creating movie as we now add chapters in it as well hence need to process.

* Add flags -movstart and +faststart

Added flags -movstart and +faststart to movies (not clips) created

* Updated README

* Version change to 0.1.12 beta 0

* Further fix for output argument

Further fix for output argument to determine what was provided.

* Fix chapter settings when video speed is adjusted

Chapter settings were not taking into consideration that clips were sped-up or slowed-down.

* Fix issue 54 (win10toast notifier)

Potential fix for issue 54

* Missed something

* Fix traceback with invalid output path

* Trigger file or folder and few fixes

Option to provide a trigger file or folder for monitoring.
Fix for sub-dir scanning
Fix for nothing being processed if . was provided as source.

* Cosmetic fixes

* Added chapter offset & movie filename fix

Added optional chapter offset for merged video file.
Fix for moviefile when output filename is provided on monitor

* Beta version 0.1.12.2

* Fix typo in new version check output (#56)

* Update README

* Final prep of README for 0.1.12

* Cleanup

* Fixes for chapter and deletion with corruptio files

Fix for chapter of 1st clip
Fix for deletion of files & folders with corrupt files.

* Fix oopsie

* Fix if file does not have timestamp

Fix if fiel does not have timestamp for issue introduced with fixing deletion of corrupt/empty files

* Added durations of resulting movie to print out

* Version to 0.1.12 for release

* Updates from Black

* Check if font file exist

Check if font file (provided or default) exist and if not return error. This to prevent errors during ffmpeg execution.

* Merged movie filename default to current date/time

Set the default filename for merged video to current date/time instead of just the folder name

* Check ffmpeg exist

Check that executable ffmpeg exist and can be called before executing.

* Check Python version

Check to make sure Python version is minimum required

* Fix merge video using relative path

Fix error for merging videos when providing a relative path for --output.

* New option --gpu_type

New option --gpu_type to identify GPU in system (NVIDIA or Intel).

* Add ability to exclude cameras

New options to exclude certain cameras from the output

* Option --no-faststart

New option --no-faststart to not set faststart flag as it can result in issues on network shares

* --start_timestamp, --end_timestamp, --start_offset, --end_offset

New parameters --start_timestamp, --end_timestamp, --start_offset, --end_offset to restrict based on timestamps and do offsets.

* Fixed issue with --gpu_type

Fixed issue with --gpu_type

* Raspberry Pi H.264 encoding support

Add support for H.264 GPU encoding for Raspberry Pi.

* Metadata fix for missing files

Fix issue in collecting metadata when some of the camera files are missing

* Ignore hidden files in folder

Ignore any potential hidden files (Linux/Mac) within folder. For example hidden file created by already opening some of the video files in another program.

* Update README.rst

* Fix for timestamps

Logic for filtering on the timestamps was incorrect

* Rear camera, new layouts, temp_dir

Support for rear camera in V10
New layouts CROSS and DIAMOND
--perspective option to allow perspective in every layout
temp_dir option
Add SentryClips folder to source if none provided

* solving #69 - shorten video (#70)

* Commenting lines out that cause Issue #68

* Added support for `--shorten` command to resolve Issue #69

* Update Readme for --shorten

Formatting updates.

* Update to --motion_only and --skip_existing

Update to --motion_only
New skip_existing

* Small change to metadata

* Version 0.1.13

Version 0.1.13

* Updates for fixing if font file exist

* rear cam filename fix (#76)

* Fix missing python-dateutil with PIP install

* Fix missing fonts in Docker image (#79)

* Add tzdata package to allow for specifying the timezone used for the timestamps

* Add fonts-freefont-ttf package so the required font is available for the timestamps

* Set version to 0.1.15

* Fix for multiple source with MONITOR or MONITOR_ONCE

* Reduce motion sensitivity

* Remove print

* Fix defaults for rear, mirror, swap

Set defaults for mirror (when front is shown), rear (when front is not shown), and swap (swap when rear, not when mirror).

* Change download link to latest

* updating text since there are now 4 cameras (#83)

* fix for example value when setting marker (#84)

* Layout improvements

Options to scale each clip
Option to set background color
Allow float for changing speed
Swap left&right for rear viewing, not for mirror

* Fix issue swap left/rear; add swapp front/rear

* Updated readme with new option --swap_frontrear

* Fixes etc..

-) Fixed issue with swapping cameras
-) Moved font items into Font class
-) Fixed errors with getattr
-) Centered front camera in FullScreen
-) Made all camera override methods private
-) Fixed font alignment in Diamond layout
-) Allow scale to be resolution as well

* Support spaces and comments in parameter file

Support comments and spaces in parameter file.

* PEP cleanup

PEP cleanup

* Add fps

* Use --scale for all scaling

* Re-organized help, added optional debug logging

Re-organized parameter help output by grouping it.
Added --loglevel for debug data

* Beta 0.1.16.1

* Fixes for grouping checks

* Arial unicode for MacOS

* Improved message for missing font on Linux

* Only run if main

Only run if main and not imported.

* Update README

* Few more debug lines

* Fix H.265/HEVC encoding with Intel GPU (#98)

* Update README.rst

* Clean-up README

* Release 0.1.16
ehendrix23 added a commit that referenced this issue Nov 15, 2019
* Release 0.1.13 (#72) (#73)

* Temp exe

* Updated temporary exe file

* Delete tesla_dashcam_190b3.exe

* Fix check release

* Updated README with initial 0.1.10 and additional TODO

Updated README with items already in progress for 0.1.10

Added items to TODO list

* Fix running tesla_dashcam when installed with pip

* Updated README with additional items done for next release

* Initial set of updates for 0.1.10.

* Timestamp sorting fix

* Added Chapter Markers in To-Do list

* Made behaviour for single folder same as multiple

Made behaviour for single folder discovered same as multiple.

* --delete_souce now also for execution without --monitor

* Updated README and reorged 0.1.10 items a bit

* Fix deleting foldr file if name same as clip name

* Exclude ffmpeg.exe

* Default output folder, change in folder filename

Added default output folder
Changed folder filename to <Start_Timestamp>_<End_Timestamp>
Source is optional now

* Set Python version to 3.7 only

* Updated readme for 0.1.10

Finished updating readme

* Set version to 0.1.10

* Fixed metadata issue

Fixed if all 3 files of a timestamp are corrupt
Ensured that video_timestamp is dateformat if timestamp was retrieved from filename instead of clip.

* Fixed issue if camera file was missing

Fixed an issue if a camera file was missing.
Removed now unused MOVIE_LAYOUT dictionary

* Release 0.1.10

* Fixed traceback issue for ffmpeg (#39)

* Added option to test distribution with TestPyPi

* Version change to 0.1.11

* Updated README

Added 2 fixes for 0.1.11
Added option to crop videos in TODO section

* Fixed output folder issues

* Missing piece for PyPi

Figured out missing piece allowing easy execution from PyPi.

* Updated links to executables

* Removed DIAGONAL as it is not implemented

* Formatting update with Black

Formatting update with Black

* Fix for folder deletion with empty files

Fix for issue #40 where folders would not be deleted if there are 0-byte or corrupt files within the folder

* Fixed --output with filename issue

Fixed issue #52  with --output when providing a filename

* Changed concat for movie creation

Changed how to concatenate the clips in create_movie resulting in massive performance improvement.

* Updated README for create_movie

Updated readme for create_movie performance improvement

* Add chapter markers

Concatenated video files now will have chapter markers. Folder level will have chapters for each clip, merged will have chapters for each folder

* removed single clip exception

Removed single clip exception for creating movie as we now add chapters in it as well hence need to process.

* Add flags -movstart and +faststart

Added flags -movstart and +faststart to movies (not clips) created

* Updated README

* Version change to 0.1.12 beta 0

* Further fix for output argument

Further fix for output argument to determine what was provided.

* Fix chapter settings when video speed is adjusted

Chapter settings were not taking into consideration that clips were sped-up or slowed-down.

* Fix issue 54 (win10toast notifier)

Potential fix for issue 54

* Missed something

* Fix traceback with invalid output path

* Trigger file or folder and few fixes

Option to provide a trigger file or folder for monitoring.
Fix for sub-dir scanning
Fix for nothing being processed if . was provided as source.

* Cosmetic fixes

* Added chapter offset & movie filename fix

Added optional chapter offset for merged video file.
Fix for moviefile when output filename is provided on monitor

* Beta version 0.1.12.2

* Fix typo in new version check output (#56)

* Update README

* Final prep of README for 0.1.12

* Cleanup

* Fixes for chapter and deletion with corruptio files

Fix for chapter of 1st clip
Fix for deletion of files & folders with corrupt files.

* Fix oopsie

* Fix if file does not have timestamp

Fix if fiel does not have timestamp for issue introduced with fixing deletion of corrupt/empty files

* Added durations of resulting movie to print out

* Version to 0.1.12 for release

* Updates from Black

* Check if font file exist

Check if font file (provided or default) exist and if not return error. This to prevent errors during ffmpeg execution.

* Merged movie filename default to current date/time

Set the default filename for merged video to current date/time instead of just the folder name

* Check ffmpeg exist

Check that executable ffmpeg exist and can be called before executing.

* Check Python version

Check to make sure Python version is minimum required

* Fix merge video using relative path

Fix error for merging videos when providing a relative path for --output.

* New option --gpu_type

New option --gpu_type to identify GPU in system (NVIDIA or Intel).

* Add ability to exclude cameras

New options to exclude certain cameras from the output

* Option --no-faststart

New option --no-faststart to not set faststart flag as it can result in issues on network shares

* --start_timestamp, --end_timestamp, --start_offset, --end_offset

New parameters --start_timestamp, --end_timestamp, --start_offset, --end_offset to restrict based on timestamps and do offsets.

* Fixed issue with --gpu_type

Fixed issue with --gpu_type

* Raspberry Pi H.264 encoding support

Add support for H.264 GPU encoding for Raspberry Pi.

* Metadata fix for missing files

Fix issue in collecting metadata when some of the camera files are missing

* Ignore hidden files in folder

Ignore any potential hidden files (Linux/Mac) within folder. For example hidden file created by already opening some of the video files in another program.

* Update README.rst

* Fix for timestamps

Logic for filtering on the timestamps was incorrect

* Rear camera, new layouts, temp_dir

Support for rear camera in V10
New layouts CROSS and DIAMOND
--perspective option to allow perspective in every layout
temp_dir option
Add SentryClips folder to source if none provided

* solving #69 - shorten video (#70)

* Commenting lines out that cause Issue #68

* Added support for `--shorten` command to resolve Issue #69

* Update Readme for --shorten

Formatting updates.

* Update to --motion_only and --skip_existing

Update to --motion_only
New skip_existing

* Small change to metadata

* Version 0.1.13

Version 0.1.13

* Provide more clarity with font file and ffmpeg

* Cleanup

* Release 0.1.13 (#72) (#75)

* Temp exe

* Updated temporary exe file

* Delete tesla_dashcam_190b3.exe

* Fix check release

* Updated README with initial 0.1.10 and additional TODO

Updated README with items already in progress for 0.1.10

Added items to TODO list

* Fix running tesla_dashcam when installed with pip

* Updated README with additional items done for next release

* Initial set of updates for 0.1.10.

* Timestamp sorting fix

* Added Chapter Markers in To-Do list

* Made behaviour for single folder same as multiple

Made behaviour for single folder discovered same as multiple.

* --delete_souce now also for execution without --monitor

* Updated README and reorged 0.1.10 items a bit

* Fix deleting foldr file if name same as clip name

* Exclude ffmpeg.exe

* Default output folder, change in folder filename

Added default output folder
Changed folder filename to <Start_Timestamp>_<End_Timestamp>
Source is optional now

* Set Python version to 3.7 only

* Updated readme for 0.1.10

Finished updating readme

* Set version to 0.1.10

* Fixed metadata issue

Fixed if all 3 files of a timestamp are corrupt
Ensured that video_timestamp is dateformat if timestamp was retrieved from filename instead of clip.

* Fixed issue if camera file was missing

Fixed an issue if a camera file was missing.
Removed now unused MOVIE_LAYOUT dictionary

* Release 0.1.10

* Fixed traceback issue for ffmpeg (#39)

* Added option to test distribution with TestPyPi

* Version change to 0.1.11

* Updated README

Added 2 fixes for 0.1.11
Added option to crop videos in TODO section

* Fixed output folder issues

* Missing piece for PyPi

Figured out missing piece allowing easy execution from PyPi.

* Updated links to executables

* Removed DIAGONAL as it is not implemented

* Formatting update with Black

Formatting update with Black

* Fix for folder deletion with empty files

Fix for issue #40 where folders would not be deleted if there are 0-byte or corrupt files within the folder

* Fixed --output with filename issue

Fixed issue #52  with --output when providing a filename

* Changed concat for movie creation

Changed how to concatenate the clips in create_movie resulting in massive performance improvement.

* Updated README for create_movie

Updated readme for create_movie performance improvement

* Add chapter markers

Concatenated video files now will have chapter markers. Folder level will have chapters for each clip, merged will have chapters for each folder

* removed single clip exception

Removed single clip exception for creating movie as we now add chapters in it as well hence need to process.

* Add flags -movstart and +faststart

Added flags -movstart and +faststart to movies (not clips) created

* Updated README

* Version change to 0.1.12 beta 0

* Further fix for output argument

Further fix for output argument to determine what was provided.

* Fix chapter settings when video speed is adjusted

Chapter settings were not taking into consideration that clips were sped-up or slowed-down.

* Fix issue 54 (win10toast notifier)

Potential fix for issue 54

* Missed something

* Fix traceback with invalid output path

* Trigger file or folder and few fixes

Option to provide a trigger file or folder for monitoring.
Fix for sub-dir scanning
Fix for nothing being processed if . was provided as source.

* Cosmetic fixes

* Added chapter offset & movie filename fix

Added optional chapter offset for merged video file.
Fix for moviefile when output filename is provided on monitor

* Beta version 0.1.12.2

* Fix typo in new version check output (#56)

* Update README

* Final prep of README for 0.1.12

* Cleanup

* Fixes for chapter and deletion with corruptio files

Fix for chapter of 1st clip
Fix for deletion of files & folders with corrupt files.

* Fix oopsie

* Fix if file does not have timestamp

Fix if fiel does not have timestamp for issue introduced with fixing deletion of corrupt/empty files

* Added durations of resulting movie to print out

* Version to 0.1.12 for release

* Updates from Black

* Check if font file exist

Check if font file (provided or default) exist and if not return error. This to prevent errors during ffmpeg execution.

* Merged movie filename default to current date/time

Set the default filename for merged video to current date/time instead of just the folder name

* Check ffmpeg exist

Check that executable ffmpeg exist and can be called before executing.

* Check Python version

Check to make sure Python version is minimum required

* Fix merge video using relative path

Fix error for merging videos when providing a relative path for --output.

* New option --gpu_type

New option --gpu_type to identify GPU in system (NVIDIA or Intel).

* Add ability to exclude cameras

New options to exclude certain cameras from the output

* Option --no-faststart

New option --no-faststart to not set faststart flag as it can result in issues on network shares

* --start_timestamp, --end_timestamp, --start_offset, --end_offset

New parameters --start_timestamp, --end_timestamp, --start_offset, --end_offset to restrict based on timestamps and do offsets.

* Fixed issue with --gpu_type

Fixed issue with --gpu_type

* Raspberry Pi H.264 encoding support

Add support for H.264 GPU encoding for Raspberry Pi.

* Metadata fix for missing files

Fix issue in collecting metadata when some of the camera files are missing

* Ignore hidden files in folder

Ignore any potential hidden files (Linux/Mac) within folder. For example hidden file created by already opening some of the video files in another program.

* Update README.rst

* Fix for timestamps

Logic for filtering on the timestamps was incorrect

* Rear camera, new layouts, temp_dir

Support for rear camera in V10
New layouts CROSS and DIAMOND
--perspective option to allow perspective in every layout
temp_dir option
Add SentryClips folder to source if none provided

* solving #69 - shorten video (#70)

* Commenting lines out that cause Issue #68

* Added support for `--shorten` command to resolve Issue #69

* Update Readme for --shorten

Formatting updates.

* Update to --motion_only and --skip_existing

Update to --motion_only
New skip_existing

* Small change to metadata

* Version 0.1.13

Version 0.1.13

* Updates for fixing if font file exist

* rear cam filename fix (#76)

* Fix missing python-dateutil with PIP install

* Fix missing fonts in Docker image (#79)

* Add tzdata package to allow for specifying the timezone used for the timestamps

* Add fonts-freefont-ttf package so the required font is available for the timestamps

* Set version to 0.1.15

* Fix for multiple source with MONITOR or MONITOR_ONCE

* Reduce motion sensitivity

* Remove print

* Fix defaults for rear, mirror, swap

Set defaults for mirror (when front is shown), rear (when front is not shown), and swap (swap when rear, not when mirror).

* Change download link to latest

* updating text since there are now 4 cameras (#83)

* fix for example value when setting marker (#84)

* Layout improvements

Options to scale each clip
Option to set background color
Allow float for changing speed
Swap left&right for rear viewing, not for mirror

* Fix issue swap left/rear; add swapp front/rear

* Updated readme with new option --swap_frontrear

* Fixes etc..

-) Fixed issue with swapping cameras
-) Moved font items into Font class
-) Fixed errors with getattr
-) Centered front camera in FullScreen
-) Made all camera override methods private
-) Fixed font alignment in Diamond layout
-) Allow scale to be resolution as well

* Support spaces and comments in parameter file

Support comments and spaces in parameter file.

* PEP cleanup

PEP cleanup

* Add fps

* Use --scale for all scaling

* Re-organized help, added optional debug logging

Re-organized parameter help output by grouping it.
Added --loglevel for debug data

* Beta 0.1.16.1

* Fixes for grouping checks

* Arial unicode for MacOS

* Improved message for missing font on Linux

* Only run if main

Only run if main and not imported.

* Update README

* Few more debug lines

* Fix H.265/HEVC encoding with Intel GPU (#98)

* Update README.rst

* Clean-up README

* Release 0.1.16
ehendrix23 added a commit that referenced this issue Nov 15, 2019
* Release 0.1.13 (#72) (#73)

* Temp exe

* Updated temporary exe file

* Delete tesla_dashcam_190b3.exe

* Fix check release

* Updated README with initial 0.1.10 and additional TODO

Updated README with items already in progress for 0.1.10

Added items to TODO list

* Fix running tesla_dashcam when installed with pip

* Updated README with additional items done for next release

* Initial set of updates for 0.1.10.

* Timestamp sorting fix

* Added Chapter Markers in To-Do list

* Made behaviour for single folder same as multiple

Made behaviour for single folder discovered same as multiple.

* --delete_souce now also for execution without --monitor

* Updated README and reorged 0.1.10 items a bit

* Fix deleting foldr file if name same as clip name

* Exclude ffmpeg.exe

* Default output folder, change in folder filename

Added default output folder
Changed folder filename to <Start_Timestamp>_<End_Timestamp>
Source is optional now

* Set Python version to 3.7 only

* Updated readme for 0.1.10

Finished updating readme

* Set version to 0.1.10

* Fixed metadata issue

Fixed if all 3 files of a timestamp are corrupt
Ensured that video_timestamp is dateformat if timestamp was retrieved from filename instead of clip.

* Fixed issue if camera file was missing

Fixed an issue if a camera file was missing.
Removed now unused MOVIE_LAYOUT dictionary

* Release 0.1.10

* Fixed traceback issue for ffmpeg (#39)

* Added option to test distribution with TestPyPi

* Version change to 0.1.11

* Updated README

Added 2 fixes for 0.1.11
Added option to crop videos in TODO section

* Fixed output folder issues

* Missing piece for PyPi

Figured out missing piece allowing easy execution from PyPi.

* Updated links to executables

* Removed DIAGONAL as it is not implemented

* Formatting update with Black

Formatting update with Black

* Fix for folder deletion with empty files

Fix for issue #40 where folders would not be deleted if there are 0-byte or corrupt files within the folder

* Fixed --output with filename issue

Fixed issue #52  with --output when providing a filename

* Changed concat for movie creation

Changed how to concatenate the clips in create_movie resulting in massive performance improvement.

* Updated README for create_movie

Updated readme for create_movie performance improvement

* Add chapter markers

Concatenated video files now will have chapter markers. Folder level will have chapters for each clip, merged will have chapters for each folder

* removed single clip exception

Removed single clip exception for creating movie as we now add chapters in it as well hence need to process.

* Add flags -movstart and +faststart

Added flags -movstart and +faststart to movies (not clips) created

* Updated README

* Version change to 0.1.12 beta 0

* Further fix for output argument

Further fix for output argument to determine what was provided.

* Fix chapter settings when video speed is adjusted

Chapter settings were not taking into consideration that clips were sped-up or slowed-down.

* Fix issue 54 (win10toast notifier)

Potential fix for issue 54

* Missed something

* Fix traceback with invalid output path

* Trigger file or folder and few fixes

Option to provide a trigger file or folder for monitoring.
Fix for sub-dir scanning
Fix for nothing being processed if . was provided as source.

* Cosmetic fixes

* Added chapter offset & movie filename fix

Added optional chapter offset for merged video file.
Fix for moviefile when output filename is provided on monitor

* Beta version 0.1.12.2

* Fix typo in new version check output (#56)

* Update README

* Final prep of README for 0.1.12

* Cleanup

* Fixes for chapter and deletion with corruptio files

Fix for chapter of 1st clip
Fix for deletion of files & folders with corrupt files.

* Fix oopsie

* Fix if file does not have timestamp

Fix if fiel does not have timestamp for issue introduced with fixing deletion of corrupt/empty files

* Added durations of resulting movie to print out

* Version to 0.1.12 for release

* Updates from Black

* Check if font file exist

Check if font file (provided or default) exist and if not return error. This to prevent errors during ffmpeg execution.

* Merged movie filename default to current date/time

Set the default filename for merged video to current date/time instead of just the folder name

* Check ffmpeg exist

Check that executable ffmpeg exist and can be called before executing.

* Check Python version

Check to make sure Python version is minimum required

* Fix merge video using relative path

Fix error for merging videos when providing a relative path for --output.

* New option --gpu_type

New option --gpu_type to identify GPU in system (NVIDIA or Intel).

* Add ability to exclude cameras

New options to exclude certain cameras from the output

* Option --no-faststart

New option --no-faststart to not set faststart flag as it can result in issues on network shares

* --start_timestamp, --end_timestamp, --start_offset, --end_offset

New parameters --start_timestamp, --end_timestamp, --start_offset, --end_offset to restrict based on timestamps and do offsets.

* Fixed issue with --gpu_type

Fixed issue with --gpu_type

* Raspberry Pi H.264 encoding support

Add support for H.264 GPU encoding for Raspberry Pi.

* Metadata fix for missing files

Fix issue in collecting metadata when some of the camera files are missing

* Ignore hidden files in folder

Ignore any potential hidden files (Linux/Mac) within folder. For example hidden file created by already opening some of the video files in another program.

* Update README.rst

* Fix for timestamps

Logic for filtering on the timestamps was incorrect

* Rear camera, new layouts, temp_dir

Support for rear camera in V10
New layouts CROSS and DIAMOND
--perspective option to allow perspective in every layout
temp_dir option
Add SentryClips folder to source if none provided

* solving #69 - shorten video (#70)

* Commenting lines out that cause Issue #68

* Added support for `--shorten` command to resolve Issue #69

* Update Readme for --shorten

Formatting updates.

* Update to --motion_only and --skip_existing

Update to --motion_only
New skip_existing

* Small change to metadata

* Version 0.1.13

Version 0.1.13

* Provide more clarity with font file and ffmpeg

* Cleanup

* Release 0.1.13 (#72) (#75)

* Temp exe

* Updated temporary exe file

* Delete tesla_dashcam_190b3.exe

* Fix check release

* Updated README with initial 0.1.10 and additional TODO

Updated README with items already in progress for 0.1.10

Added items to TODO list

* Fix running tesla_dashcam when installed with pip

* Updated README with additional items done for next release

* Initial set of updates for 0.1.10.

* Timestamp sorting fix

* Added Chapter Markers in To-Do list

* Made behaviour for single folder same as multiple

Made behaviour for single folder discovered same as multiple.

* --delete_souce now also for execution without --monitor

* Updated README and reorged 0.1.10 items a bit

* Fix deleting foldr file if name same as clip name

* Exclude ffmpeg.exe

* Default output folder, change in folder filename

Added default output folder
Changed folder filename to <Start_Timestamp>_<End_Timestamp>
Source is optional now

* Set Python version to 3.7 only

* Updated readme for 0.1.10

Finished updating readme

* Set version to 0.1.10

* Fixed metadata issue

Fixed if all 3 files of a timestamp are corrupt
Ensured that video_timestamp is dateformat if timestamp was retrieved from filename instead of clip.

* Fixed issue if camera file was missing

Fixed an issue if a camera file was missing.
Removed now unused MOVIE_LAYOUT dictionary

* Release 0.1.10

* Fixed traceback issue for ffmpeg (#39)

* Added option to test distribution with TestPyPi

* Version change to 0.1.11

* Updated README

Added 2 fixes for 0.1.11
Added option to crop videos in TODO section

* Fixed output folder issues

* Missing piece for PyPi

Figured out missing piece allowing easy execution from PyPi.

* Updated links to executables

* Removed DIAGONAL as it is not implemented

* Formatting update with Black

Formatting update with Black

* Fix for folder deletion with empty files

Fix for issue #40 where folders would not be deleted if there are 0-byte or corrupt files within the folder

* Fixed --output with filename issue

Fixed issue #52  with --output when providing a filename

* Changed concat for movie creation

Changed how to concatenate the clips in create_movie resulting in massive performance improvement.

* Updated README for create_movie

Updated readme for create_movie performance improvement

* Add chapter markers

Concatenated video files now will have chapter markers. Folder level will have chapters for each clip, merged will have chapters for each folder

* removed single clip exception

Removed single clip exception for creating movie as we now add chapters in it as well hence need to process.

* Add flags -movstart and +faststart

Added flags -movstart and +faststart to movies (not clips) created

* Updated README

* Version change to 0.1.12 beta 0

* Further fix for output argument

Further fix for output argument to determine what was provided.

* Fix chapter settings when video speed is adjusted

Chapter settings were not taking into consideration that clips were sped-up or slowed-down.

* Fix issue 54 (win10toast notifier)

Potential fix for issue 54

* Missed something

* Fix traceback with invalid output path

* Trigger file or folder and few fixes

Option to provide a trigger file or folder for monitoring.
Fix for sub-dir scanning
Fix for nothing being processed if . was provided as source.

* Cosmetic fixes

* Added chapter offset & movie filename fix

Added optional chapter offset for merged video file.
Fix for moviefile when output filename is provided on monitor

* Beta version 0.1.12.2

* Fix typo in new version check output (#56)

* Update README

* Final prep of README for 0.1.12

* Cleanup

* Fixes for chapter and deletion with corruptio files

Fix for chapter of 1st clip
Fix for deletion of files & folders with corrupt files.

* Fix oopsie

* Fix if file does not have timestamp

Fix if fiel does not have timestamp for issue introduced with fixing deletion of corrupt/empty files

* Added durations of resulting movie to print out

* Version to 0.1.12 for release

* Updates from Black

* Check if font file exist

Check if font file (provided or default) exist and if not return error. This to prevent errors during ffmpeg execution.

* Merged movie filename default to current date/time

Set the default filename for merged video to current date/time instead of just the folder name

* Check ffmpeg exist

Check that executable ffmpeg exist and can be called before executing.

* Check Python version

Check to make sure Python version is minimum required

* Fix merge video using relative path

Fix error for merging videos when providing a relative path for --output.

* New option --gpu_type

New option --gpu_type to identify GPU in system (NVIDIA or Intel).

* Add ability to exclude cameras

New options to exclude certain cameras from the output

* Option --no-faststart

New option --no-faststart to not set faststart flag as it can result in issues on network shares

* --start_timestamp, --end_timestamp, --start_offset, --end_offset

New parameters --start_timestamp, --end_timestamp, --start_offset, --end_offset to restrict based on timestamps and do offsets.

* Fixed issue with --gpu_type

Fixed issue with --gpu_type

* Raspberry Pi H.264 encoding support

Add support for H.264 GPU encoding for Raspberry Pi.

* Metadata fix for missing files

Fix issue in collecting metadata when some of the camera files are missing

* Ignore hidden files in folder

Ignore any potential hidden files (Linux/Mac) within folder. For example hidden file created by already opening some of the video files in another program.

* Update README.rst

* Fix for timestamps

Logic for filtering on the timestamps was incorrect

* Rear camera, new layouts, temp_dir

Support for rear camera in V10
New layouts CROSS and DIAMOND
--perspective option to allow perspective in every layout
temp_dir option
Add SentryClips folder to source if none provided

* solving #69 - shorten video (#70)

* Commenting lines out that cause Issue #68

* Added support for `--shorten` command to resolve Issue #69

* Update Readme for --shorten

Formatting updates.

* Update to --motion_only and --skip_existing

Update to --motion_only
New skip_existing

* Small change to metadata

* Version 0.1.13

Version 0.1.13

* Updates for fixing if font file exist

* rear cam filename fix (#76)

* Fix missing python-dateutil with PIP install

* Fix missing fonts in Docker image (#79)

* Add tzdata package to allow for specifying the timezone used for the timestamps

* Add fonts-freefont-ttf package so the required font is available for the timestamps

* Set version to 0.1.15

* Fix for multiple source with MONITOR or MONITOR_ONCE

* Reduce motion sensitivity

* Remove print

* Fix defaults for rear, mirror, swap

Set defaults for mirror (when front is shown), rear (when front is not shown), and swap (swap when rear, not when mirror).

* Change download link to latest

* updating text since there are now 4 cameras (#83)

* fix for example value when setting marker (#84)

* Layout improvements

Options to scale each clip
Option to set background color
Allow float for changing speed
Swap left&right for rear viewing, not for mirror

* Fix issue swap left/rear; add swapp front/rear

* Updated readme with new option --swap_frontrear

* Fixes etc..

-) Fixed issue with swapping cameras
-) Moved font items into Font class
-) Fixed errors with getattr
-) Centered front camera in FullScreen
-) Made all camera override methods private
-) Fixed font alignment in Diamond layout
-) Allow scale to be resolution as well

* Support spaces and comments in parameter file

Support comments and spaces in parameter file.

* PEP cleanup

PEP cleanup

* Add fps

* Use --scale for all scaling

* Re-organized help, added optional debug logging

Re-organized parameter help output by grouping it.
Added --loglevel for debug data

* Beta 0.1.16.1

* Fixes for grouping checks

* Arial unicode for MacOS

* Improved message for missing font on Linux

* Only run if main

Only run if main and not imported.

* Update README

* Few more debug lines

* Fix H.265/HEVC encoding with Intel GPU (#98)

* Update README.rst

* Clean-up README

* Release 0.1.16

* Release 0.1.16 (#103) (#104)

* Release 0.1.13 (#72) (#73)

* Temp exe

* Updated temporary exe file

* Delete tesla_dashcam_190b3.exe

* Fix check release

* Updated README with initial 0.1.10 and additional TODO

Updated README with items already in progress for 0.1.10

Added items to TODO list

* Fix running tesla_dashcam when installed with pip

* Updated README with additional items done for next release

* Initial set of updates for 0.1.10.

* Timestamp sorting fix

* Added Chapter Markers in To-Do list

* Made behaviour for single folder same as multiple

Made behaviour for single folder discovered same as multiple.

* --delete_souce now also for execution without --monitor

* Updated README and reorged 0.1.10 items a bit

* Fix deleting foldr file if name same as clip name

* Exclude ffmpeg.exe

* Default output folder, change in folder filename

Added default output folder
Changed folder filename to <Start_Timestamp>_<End_Timestamp>
Source is optional now

* Set Python version to 3.7 only

* Updated readme for 0.1.10

Finished updating readme

* Set version to 0.1.10

* Fixed metadata issue

Fixed if all 3 files of a timestamp are corrupt
Ensured that video_timestamp is dateformat if timestamp was retrieved from filename instead of clip.

* Fixed issue if camera file was missing

Fixed an issue if a camera file was missing.
Removed now unused MOVIE_LAYOUT dictionary

* Release 0.1.10

* Fixed traceback issue for ffmpeg (#39)

* Added option to test distribution with TestPyPi

* Version change to 0.1.11

* Updated README

Added 2 fixes for 0.1.11
Added option to crop videos in TODO section

* Fixed output folder issues

* Missing piece for PyPi

Figured out missing piece allowing easy execution from PyPi.

* Updated links to executables

* Removed DIAGONAL as it is not implemented

* Formatting update with Black

Formatting update with Black

* Fix for folder deletion with empty files

Fix for issue #40 where folders would not be deleted if there are 0-byte or corrupt files within the folder

* Fixed --output with filename issue

Fixed issue #52  with --output when providing a filename

* Changed concat for movie creation

Changed how to concatenate the clips in create_movie resulting in massive performance improvement.

* Updated README for create_movie

Updated readme for create_movie performance improvement

* Add chapter markers

Concatenated video files now will have chapter markers. Folder level will have chapters for each clip, merged will have chapters for each folder

* removed single clip exception

Removed single clip exception for creating movie as we now add chapters in it as well hence need to process.

* Add flags -movstart and +faststart

Added flags -movstart and +faststart to movies (not clips) created

* Updated README

* Version change to 0.1.12 beta 0

* Further fix for output argument

Further fix for output argument to determine what was provided.

* Fix chapter settings when video speed is adjusted

Chapter settings were not taking into consideration that clips were sped-up or slowed-down.

* Fix issue 54 (win10toast notifier)

Potential fix for issue 54

* Missed something

* Fix traceback with invalid output path

* Trigger file or folder and few fixes

Option to provide a trigger file or folder for monitoring.
Fix for sub-dir scanning
Fix for nothing being processed if . was provided as source.

* Cosmetic fixes

* Added chapter offset & movie filename fix

Added optional chapter offset for merged video file.
Fix for moviefile when output filename is provided on monitor

* Beta version 0.1.12.2

* Fix typo in new version check output (#56)

* Update README

* Final prep of README for 0.1.12

* Cleanup

* Fixes for chapter and deletion with corruptio files

Fix for chapter of 1st clip
Fix for deletion of files & folders with corrupt files.

* Fix oopsie

* Fix if file does not have timestamp

Fix if fiel does not have timestamp for issue introduced with fixing deletion of corrupt/empty files

* Added durations of resulting movie to print out

* Version to 0.1.12 for release

* Updates from Black

* Check if font file exist

Check if font file (provided or default) exist and if not return error. This to prevent errors during ffmpeg execution.

* Merged movie filename default to current date/time

Set the default filename for merged video to current date/time instead of just the folder name

* Check ffmpeg exist

Check that executable ffmpeg exist and can be called before executing.

* Check Python version

Check to make sure Python version is minimum required

* Fix merge video using relative path

Fix error for merging videos when providing a relative path for --output.

* New option --gpu_type

New option --gpu_type to identify GPU in system (NVIDIA or Intel).

* Add ability to exclude cameras

New options to exclude certain cameras from the output

* Option --no-faststart

New option --no-faststart to not set faststart flag as it can result in issues on network shares

* --start_timestamp, --end_timestamp, --start_offset, --end_offset

New parameters --start_timestamp, --end_timestamp, --start_offset, --end_offset to restrict based on timestamps and do offsets.

* Fixed issue with --gpu_type

Fixed issue with --gpu_type

* Raspberry Pi H.264 encoding support

Add support for H.264 GPU encoding for Raspberry Pi.

* Metadata fix for missing files

Fix issue in collecting metadata when some of the camera files are missing

* Ignore hidden files in folder

Ignore any potential hidden files (Linux/Mac) within folder. For example hidden file created by already opening some of the video files in another program.

* Update README.rst

* Fix for timestamps

Logic for filtering on the timestamps was incorrect

* Rear camera, new layouts, temp_dir

Support for rear camera in V10
New layouts CROSS and DIAMOND
--perspective option to allow perspective in every layout
temp_dir option
Add SentryClips folder to source if none provided

* solving #69 - shorten video (#70)

* Commenting lines out that cause Issue #68

* Added support for `--shorten` command to resolve Issue #69

* Update Readme for --shorten

Formatting updates.

* Update to --motion_only and --skip_existing

Update to --motion_only
New skip_existing

* Small change to metadata

* Version 0.1.13

Version 0.1.13

* Provide more clarity with font file and ffmpeg

* Cleanup

* Release 0.1.13 (#72) (#75)

* Temp exe

* Updated temporary exe file

* Delete tesla_dashcam_190b3.exe

* Fix check release

* Updated README with initial 0.1.10 and additional TODO

Updated README with items already in progress for 0.1.10

Added items to TODO list

* Fix running tesla_dashcam when installed with pip

* Updated README with additional items done for next release

* Initial set of updates for 0.1.10.

* Timestamp sorting fix

* Added Chapter Markers in To-Do list

* Made behaviour for single folder same as multiple

Made behaviour for single folder discovered same as multiple.

* --delete_souce now also for execution without --monitor

* Updated README and reorged 0.1.10 items a bit

* Fix deleting foldr file if name same as clip name

* Exclude ffmpeg.exe

* Default output folder, change in folder filename

Added default output folder
Changed folder filename to <Start_Timestamp>_<End_Timestamp>
Source is optional now

* Set Python version to 3.7 only

* Updated readme for 0.1.10

Finished updating readme

* Set version to 0.1.10

* Fixed metadata issue

Fixed if all 3 files of a timestamp are corrupt
Ensured that video_timestamp is dateformat if timestamp was retrieved from filename instead of clip.

* Fixed issue if camera file was missing

Fixed an issue if a camera file was missing.
Removed now unused MOVIE_LAYOUT dictionary

* Release 0.1.10

* Fixed traceback issue for ffmpeg (#39)

* Added option to test distribution with TestPyPi

* Version change to 0.1.11

* Updated README

Added 2 fixes for 0.1.11
Added option to crop videos in TODO section

* Fixed output folder issues

* Missing piece for PyPi

Figured out missing piece allowing easy execution from PyPi.

* Updated links to executables

* Removed DIAGONAL as it is not implemented

* Formatting update with Black

Formatting update with Black

* Fix for folder deletion with empty files

Fix for issue #40 where folders would not be deleted if there are 0-byte or corrupt files within the folder

* Fixed --output with filename issue

Fixed issue #52  with --output when providing a filename

* Changed concat for movie creation

Changed how to concatenate the clips in create_movie resulting in massive performance improvement.

* Updated README for create_movie

Updated readme for create_movie performance improvement

* Add chapter markers

Concatenated video files now will have chapter markers. Folder level will have chapters for each clip, merged will have chapters for each folder

* removed single clip exception

Removed single clip exception for creating movie as we now add chapters in it as well hence need to process.

* Add flags -movstart and +faststart

Added flags -movstart and +faststart to movies (not clips) created

* Updated README

* Version change to 0.1.12 beta 0

* Further fix for output argument

Further fix for output argument to determine what was provided.

* Fix chapter settings when video speed is adjusted

Chapter settings were not taking into consideration that clips were sped-up or slowed-down.

* Fix issue 54 (win10toast notifier)

Potential fix for issue 54

* Missed something

* Fix traceback with invalid output path

* Trigger file or folder and few fixes

Option to provide a trigger file or folder for monitoring.
Fix for sub-dir scanning
Fix for nothing being processed if . was provided as source.

* Cosmetic fixes

* Added chapter offset & movie filename fix

Added optional chapter offset for merged video file.
Fix for moviefile when output filename is provided on monitor

* Beta version 0.1.12.2

* Fix typo in new version check output (#56)

* Update README

* Final prep of README for 0.1.12

* Cleanup

* Fixes for chapter and deletion with corruptio files

Fix for chapter of 1st clip
Fix for deletion of files & folders with corrupt files.

* Fix oopsie

* Fix if file does not have timestamp

Fix if fiel does not have timestamp for issue introduced with fixing deletion of corrupt/empty files

* Added durations of resulting movie to print out

* Version to 0.1.12 for release

* Updates from Black

* Check if font file exist

Check if font file (provided or default) exist and if not return error. This to prevent errors during ffmpeg execution.

* Merged movie filename default to current date/time

Set the default filename for merged video to current date/time instead of just the folder name

* Check ffmpeg exist

Check that executable ffmpeg exist and can be called before executing.

* Check Python version

Check to make sure Python version is minimum required

* Fix merge video using relative path

Fix error for merging videos when providing a relative path for --output.

* New option --gpu_type

New option --gpu_type to identify GPU in system (NVIDIA or Intel).

* Add ability to exclude cameras

New options to exclude certain cameras from the output

* Option --no-faststart

New option --no-faststart to not set faststart flag as it can result in issues on network shares

* --start_timestamp, --end_timestamp, --start_offset, --end_offset

New parameters --start_timestamp, --end_timestamp, --start_offset, --end_offset to restrict based on timestamps and do offsets.

* Fixed issue with --gpu_type

Fixed issue with --gpu_type

* Raspberry Pi H.264 encoding support

Add support for H.264 GPU encoding for Raspberry Pi.

* Metadata fix for missing files

Fix issue in collecting metadata when some of the camera files are missing

* Ignore hidden files in folder

Ignore any potential hidden files (Linux/Mac) within folder. For example hidden file created by already opening some of the video files in another program.

* Update README.rst

* Fix for timestamps

Logic for filtering on the timestamps was incorrect

* Rear camera, new layouts, temp_dir

Support for rear camera in V10
New layouts CROSS and DIAMOND
--perspective option to allow perspective in every layout
temp_dir option
Add SentryClips folder to source if none provided

* solving #69 - shorten video (#70)

* Commenting lines out that cause Issue #68

* Added support for `--shorten` command to resolve Issue #69

* Update Readme for --shorten

Formatting updates.

* Update to --motion_only and --skip_existing

Update to --motion_only
New skip_existing

* Small change to metadata

* Version 0.1.13

Version 0.1.13

* Updates for fixing if font file exist

* rear cam filename fix (#76)

* Fix missing python-dateutil with PIP install

* Fix missing fonts in Docker image (#79)

* Add tzdata package to allow for specifying the timezone used for the timestamps

* Add fonts-freefont-ttf package so the required font is available for the timestamps

* Set version to 0.1.15

* Fix for multiple source with MONITOR or MONITOR_ONCE

* Reduce motion sensitivity

* Remove print

* Fix defaults for rear, mirror, swap

Set defaults for mirror (when front is shown), rear (when front is not shown), and swap (swap when rear, not when mirror).

* Change download link to latest

* updating text since there are now 4 cameras (#83)

* fix for example value when setting marker (#84)

* Layout improvements

Options to scale each clip
Option to set background color
Allow float for changing speed
Swap left&right for rear viewing, not for mirror

* Fix issue swap left/rear; add swapp front/rear

* Updated readme with new option --swap_frontrear

* Fixes etc..

-) Fixed issue with swapping cameras
-) Moved font items into Font class
-) Fixed errors with getattr
-) Centered front camera in FullScreen
-) Made all camera override methods private
-) Fixed font alignment in Diamond layout
-) Allow scale to be resolution as well

* Support spaces and comments in parameter file

Support comments and spaces in parameter file.

* PEP cleanup

PEP cleanup

* Add fps

* Use --scale for all scaling

* Re-organized help, added optional debug logging

Re-organized parameter help output by grouping it.
Added --loglevel for debug data

* Beta 0.1.16.1

* Fixes for grouping checks

* Arial unicode for MacOS

* Improved message for missing font on Linux

* Only run if main

Only run if main and not imported.

* Update README

* Few more debug lines

* Fix H.265/HEVC encoding with Intel GPU (#98)

* Update README.rst

* Clean-up README

* Release 0.1.16

* Final version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants