You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--no-gpu Disable use of GPU acceleration. Default on Apple Silicon Mac and on Non-MACs.
290
+
--gpu Use GPU acceleration. Default on Intel Macs.
293
291
Note: ffmpeg currently seems to have issues on Apple Silicon with GPU acceleration, --no-gpu might need to be set to produce video.
294
-
(default: False)
295
-
--gpu Use GPU acceleration, only enableif supported by hardware.
296
-
--gpu_type has to be provided as well when enabling this parameter (default: False)
292
+
--gpu_type has to be provided as well on Non-Macs when enabling this parameter (default: False)
297
293
--gpu_type {nvidia,intel,rpi}
298
-
Type of graphics card (GPU) in the system. This determines the encoder that will be used.This parameter is mandatory if --gpu is provided. (default: None)
294
+
Type of graphics card (GPU) in the system. This determines the encoder that will be used.This parameter is mandatory if --gpu is provided on Non-Macs. (default: None)
299
295
--no-faststart Do not enable flag faststart on the resulting video files. Use this when using a network share and errors occur during encoding. (default: False)
300
296
--quality {LOWEST,LOWER,LOW,MEDIUM,HIGH}
301
297
Define the quality setting for the video, higher quality means bigger file size but might not be noticeable. (default: LOWER)
@@ -871,13 +867,27 @@ The following parameters are more advanced settings to determine how ffmpeg shou
871
867
872
868
*--no-gpu*
873
869
874
-
For MacOS only! Disables GPU acceleration. If not provided GPU acceleration will be used.
870
+
Disables GPU acceleration.
871
+
Intel Macs: GPU acceleration is enabled by default, use this parameter to disable it.
872
+
Apple Silicon Macs: GPU acceleration is disabled by default due to current issues with ffmpeg.
873
+
Non-Macs: GPU acceleration is disabled by default.
874
+
875
+
If this parameter is used in combination with --gpu then the first one will have preference.
876
+
877
+
Note: we can only detect Apple Silicon if Python deployed is the Universal2 binary OR the tesla_dashcam executable is for Apple Silicon.
878
+
If running on Apple Silicon but using the x64 executable or x64 Python then tesla_dashcam will not be able to detect it is running on Apple Silicon.
875
879
876
880
*--gpu*
877
881
878
-
All platforms except Macs. Enables GPU acceleration.
882
+
Enables GPU acceleration.
883
+
Intel Macs: this is already enabled by default
884
+
Apple Silicon Macs: to enable GPU acceleration. Note that current ffmpeg produces a corrupt video when doing this but newer versions of ffmpeg might work.
885
+
Non-Macs: to enable GPU acceleration, parameter parameter --gpu_type has to be provided as well then to identify the hardware.
886
+
887
+
If this parameter is used in combination with --no-gpu then the first one will have preference.
879
888
880
-
Note: When providing this parameter to enable GPU you also have to provide parameter --gpu_type.
889
+
Note: we can only detect Apple Silicon if Python deployed is the Universal2 binary OR the tesla_dashcam executable is for Apple Silicon.
890
+
If running on Apple Silicon but using the x64 executable or x64 Python then tesla_dashcam will not be able to detect it is running on Apple Silicon.
881
891
882
892
*--gpu_type*
883
893
@@ -887,7 +897,7 @@ The following parameters are more advanced settings to determine how ffmpeg shou
887
897
888
898
nvidia: if NVIDIA GPU is installed
889
899
890
-
RPi: on Raspberry Pi systems
900
+
rpi: on Raspberry Pi systems
891
901
892
902
*--no-faststart*
893
903
@@ -1469,6 +1479,7 @@ Release Notes
1469
1479
- New: Metadata tag title in video file is now set to reason for event (if exist) and timestamp or start/end timestamp
1470
1480
- New: Metadata tag creation_time in video files created is now set to start timestamp of that particular video.
1471
1481
- New: When scanning folders a message will be printed after every 10 folders scanned to show progress.
1482
+
- New: --gpu and --no-gpu are now valid arguments irrespective of platform.
1472
1483
- Changed: Improvement for Docker file size and stability. Contributed by magicalyak
1473
1484
- Changed: Choice values for parameters (i.e. FULLSCREEN, intel, black) are now case-insensitive.
1474
1485
- Changed: Updated supporting libraries to latest available.
0 commit comments