Dashcam video script

  • Our merch store is back! Check out our line of quality apparel and accessories featuring the TOO logo. Let us know if you'd like something specific you don't see 👍https://teespring.com/stores/tesla-owners-online-store
  • It's OK to discuss software issues here but please report bugs to Tesla directly at servicehelpna@teslamotors.com if you want things fixed.

MJJ

Well-Known Member
Joined
Aug 7, 2016
Messages
215
Location
Fresno
Just in case anyone has an older system, it appears you can't install the dependencies on MacOS 10.8 or older. Shucks!

I hate planned obsolescence.
 

ehendrix23

Active Member
TOO Supporting Member
Joined
Jan 30, 2019
Messages
113
Location
Colorado
Tesla Owner
Model 3
Country
Country
Just in case anyone has an older system, it appears you can't install the dependencies on MacOS 10.8 or older. Shucks!

I hate planned obsolescence.
Can you provide the error or issue you see?


Sent from my iPhone using Tapatalk
 

MJJ

Well-Known Member
Joined
Aug 7, 2016
Messages
215
Location
Fresno
Can you provide the error or issue you see?
I can do some screen shots tonight, but it seems clear that ffmpeg will not work on 10.8 anymore.

There are some explanations online that seem like they might work, but it involves installing SO MANY prerequisites that I'm just not up to it.

I'm thinking about converting that iMac to a Linux box because virtually nothing is supported on it anymore. Which is a shame as it is still a great unit.
 

japhule

Active Member
Joined
Apr 14, 2018
Messages
46
Location
Dallas, TX
Country
Country
Having issues with the latest beta when dealing with bad files. The previous beta would stop completely. This latest beta would continue past the problem files, but when it came time to combine all the videos it would error.

Code:
Processing clip 11/11 from 04/17/19 14:17:17 and 7 seconds long.
                Creating movie \\NAS\TeslaCam\Scan\2019-04-17_14-17-25.mp4, please be patient.
                Error trying to create movie \\NAS\TeslaCam\Scan\2019-04-17_14-17-25.mp4. RC: 1
                Command: ['C:\\Users\\japhu\\AppData\\Local\\Temp\\_MEI206682\\ffmpeg.exe', '-i', '\\\\NAS\\TeslaCam\\Scan\\2019-04-17_14-07.mp4', '-i', '\\\\NAS\\TeslaCam\\Scan\\2019-04-17_14-08.mp4', '-i', '\\\\NAS\\TeslaCam\\Scan\\2019-04-17_14-09.mp4', '-i', '\\\\NAS\\TeslaCam\\Scan\\2019-04-17_14-10.mp4', '-i', '\\\\NAS\\TeslaCam\\Scan\\2019-04-17_14-11.mp4', '-i', '\\\\NAS\\TeslaCam\\Scan\\2019-04-17_14-12.mp4', '-i', '\\\\NAS\\TeslaCam\\Scan\\2019-04-17_14-13.mp4', '-i', '\\\\NAS\\TeslaCam\\Scan\\2019-04-17_14-14.mp4', '-i', '\\\\NAS\\TeslaCam\\Scan\\2019-04-17_14-15.mp4', '-i', '\\\\NAS\\TeslaCam\\Scan\\2019-04-17_14-16.mp4', '-i', '\\\\NAS\\TeslaCam\\Scan\\2019-04-17_14-17.mp4', '-filter_complex', '[0:v:0] [1:v:0] [2:v:0] [3:v:0] [4:v:0] [5:v:0] [6:v:0] [7:v:0] [8:v:0] [9:v:0] [10:v:0] concat=n=11:v=1:a=0 [v]', '-map', '[v]', '-c:v', 'libx264', '-preset', 'medium', '-crf', '28', '-y', '\\\\NAS\\TeslaCam\\Scan\\2019-04-17_14-17-25.mp4']
                Error: b"ffmpeg version 4.1.1 Copyright (c) 2000-2019 the FFmpeg developers\r\n  built with gcc 8.2.1 (GCC) 20190212\r\n  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth\r\n  libavutil      56. 22.100 / 56. 22.100\r\n  libavcodec     58. 35.100 / 58. 35.100\r\n  libavformat    58. 20.100 / 58. 20.100\r\n  libavdevice    58.  5.100 / 58.  5.100\r\n  libavfilter     7. 40.101 /  7. 40.101\r\n  libswscale      5.  3.100 /  5.  3.100\r\n  libswresample   3.  3.100 /  3.  3.100\r\n  libpostproc    55.  3.100 / 55.  3.100\r\nInput #0, mov,mp4,m4a,3gp,3g2,mj2, from '\\\\NAS\\TeslaCam\\Scan\\2019-04-17_14-07.mp4':\r\n  Metadata:\r\n    major_brand     : isom\r\n    minor_version   : 512\r\n    compatible_brands: isomiso2avc1mp41\r\n    encoder         : Lavf58.20.100\r\n  Duration: 00:00:59.88, start: 0.000000, bitrate: 424 kb/s\r\n    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x960 [SAR 1:1 DAR 4:3], 422 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)\r\n    Metadata:\r\n      handler_name    : VideoHandler\r\nInput #1, mov,mp4,m4a,3gp,3g2,mj2, from '\\\\NAS\\TeslaCam\\Scan\\2019-04-17_14-08.mp4':\r\n  Metadata:\r\n    major_brand     : isom\r\n    minor_version   : 512\r\n    compatible_brands: isomiso2avc1mp41\r\n    encoder         : Lavf58.20.100\r\n  Duration: 00:00:59.92, start: 0.000000, bitrate: 370 kb/s\r\n    Stream #1:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x960 [SAR 1:1 DAR 4:3], 368 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)\r\n    Metadata:\r\n      handler_name    : VideoHandler\r\nInput #2, mov,mp4,m4a,3gp,3g2,mj2, from '\\\\NAS\\TeslaCam\\Scan\\2019-04-17_14-09.mp4':\r\n  Metadata:\r\n    major_brand     : isom\r\n    minor_version   : 512\r\n    compatible_brands: isomiso2avc1mp41\r\n    encoder         : Lavf58.20.100\r\n  Duration: 00:01:00.24, start: 0.000000, bitrate: 424 kb/s\r\n    Stream #2:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x960 [SAR 1:1 DAR 4:3], 422 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)\r\n    Metadata:\r\n      handler_name    : VideoHandler\r\nInput #3, mov,mp4,m4a,3gp,3g2,mj2, from '\\\\NAS\\TeslaCam\\Scan\\2019-04-17_14-10.mp4':\r\n  Metadata:\r\n    major_brand     : isom\r\n    minor_version   : 512\r\n    compatible_brands: isomiso2avc1mp41\r\n    encoder         : Lavf58.20.100\r\n  Duration: 00:01:00.16, start: 0.000000, bitrate: 386 kb/s\r\n    Stream #3:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x960 [SAR 1:1 DAR 4:3], 384 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)\r\n    Metadata:\r\n      handler_name    : VideoHandler\r\nInput #4, mov,mp4,m4a,3gp,3g2,mj2, from '\\\\NAS\\TeslaCam\\Scan\\2019-04-17_14-11.mp4':\r\n  Metadata:\r\n    major_brand     : isom\r\n    minor_version   : 512\r\n    compatible_brands: isomiso2avc1mp41\r\n    encoder         : Lavf58.20.100\r\n  Duration: 00:00:59.84, start: 0.000000, bitrate: 243 kb/s\r\n    Stream #4:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x960 [SAR 1:1 DAR 4:3], 240 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)\r\n    Metadata:\r\n      handler_name    : VideoHandler\r\nInput #5, mov,mp4,m4a,3gp,3g2,mj2, from '\\\\NAS\\TeslaCam\\Scan\\2019-04-17_14-12.mp4':\r\n  Metadata:\r\n    major_brand     : isom\r\n    minor_version   : 512\r\n    compatible_brands: isomiso2avc1mp41\r\n    encoder         : Lavf58.20.100\r\n  Duration: 00:00:00.00, bitrate: N/A\r\nInput #6, mov,mp4,m4a,3gp,3g2,mj2, from '\\\\NAS\\TeslaCam\\Scan\\2019-04-17_14-13.mp4':\r\n  Metadata:\r\n    major_brand     : isom\r\n    minor_version   : 512\r\n    compatible_brands: isomiso2avc1mp41\r\n    encoder         : Lavf58.20.100\r\n  Duration: 00:00:00.00, bitrate: N/A\r\nInput #7, mov,mp4,m4a,3gp,3g2,mj2, from '\\\\NAS\\TeslaCam\\Scan\\2019-04-17_14-14.mp4':\r\n  Metadata:\r\n    major_brand     : isom\r\n    minor_version   : 512\r\n    compatible_brands: isomiso2avc1mp41\r\n    encoder         : Lavf58.20.100\r\n  Duration: 00:00:59.72, start: 0.000000, bitrate: 381 kb/s\r\n    Stream #7:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x960 [SAR 1:1 DAR 4:3], 378 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)\r\n    Metadata:\r\n      handler_name    : VideoHandler\r\nInput #8, mov,mp4,m4a,3gp,3g2,mj2, from '\\\\NAS\\TeslaCam\\Scan\\2019-04-17_14-15.mp4':\r\n  Metadata:\r\n    major_brand     : isom\r\n    minor_version   : 512\r\n    compatible_brands: isomiso2avc1mp41\r\n    encoder         : Lavf58.20.100\r\n  Duration: 00:00:59.80, start: 0.000000, bitrate: 384 kb/s\r\n    Stream #8:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x960 [SAR 1:1 DAR 4:3], 382 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)\r\n    Metadata:\r\n      handler_name    : VideoHandler\r\nInput #9, mov,mp4,m4a,3gp,3g2,mj2, from '\\\\NAS\\TeslaCam\\Scan\\2019-04-17_14-16.mp4':\r\n  Metadata:\r\n    major_brand     : isom\r\n    minor_version   : 512\r\n    compatible_brands: isomiso2avc1mp41\r\n    encoder         : Lavf58.20.100\r\n  Duration: 00:00:59.56, start: 0.000000, bitrate: 469 kb/s\r\n    Stream #9:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x960 [SAR 1:1 DAR 4:3], 467 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)\r\n    Metadata:\r\n      handler_name    : VideoHandler\r\nInput #10, mov,mp4,m4a,3gp,3g2,mj2, from '\\\\NAS\\TeslaCam\\Scan\\2019-04-17_14-17.mp4':\r\n  Metadata:\r\n    major_brand     : isom\r\n    minor_version   : 512\r\n    compatible_brands: isomiso2avc1mp41\r\n    encoder         : Lavf58.20.100\r\n  Duration: 00:00:07.44, start: 0.000000, bitrate: 394 kb/s\r\n    Stream #10:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x960 [SAR 1:1 DAR 4:3], 391 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)\r\n    Metadata:\r\n      handler_name    : VideoHandler\r\nStream specifier ':v:0' in filtergraph description [0:v:0] [1:v:0] [2:v:0] [3:v:0] [4:v:0] [5:v:0] [6:v:0] [7:v:0] [8:v:0] [9:v:0] [10:v:0] concat=n=11:v=1:a=0 [v] matches no streams.\r\n"
 

ehendrix23

Active Member
TOO Supporting Member
Joined
Jan 30, 2019
Messages
113
Location
Colorado
Tesla Owner
Model 3
Country
Country
Having issues with the latest beta when dealing with bad files. The previous beta would stop completely. This latest beta would continue past the problem files, but when it came time to combine all the videos it would error.

Code:
Processing clip 11/11 from 04/17/19 14:17:17 and 7 seconds long.
                Creating movie \\NAS\TeslaCam\Scan\2019-04-17_14-17-25.mp4, please be patient.
                Error trying to create movie \\NAS\TeslaCam\Scan\2019-04-17_14-17-25.mp4. RC: 1
                Command: ['C:\\Users\\japhu\\AppData\\Local\\Temp\\_MEI206682\\ffmpeg.exe', '-i', '\\\\NAS\\TeslaCam\\Scan\\2019-04-17_14-07.mp4', '-i', '\\\\NAS\\TeslaCam\\Scan\\2019-04-17_14-08.mp4', '-i', '\\\\NAS\\TeslaCam\\Scan\\2019-04-17_14-09.mp4', '-i', '\\\\NAS\\TeslaCam\\Scan\\2019-04-17_14-10.mp4', '-i', '\\\\NAS\\TeslaCam\\Scan\\2019-04-17_14-11.mp4', '-i', '\\\\NAS\\TeslaCam\\Scan\\2019-04-17_14-12.mp4', '-i', '\\\\NAS\\TeslaCam\\Scan\\2019-04-17_14-13.mp4', '-i', '\\\\NAS\\TeslaCam\\Scan\\2019-04-17_14-14.mp4', '-i', '\\\\NAS\\TeslaCam\\Scan\\2019-04-17_14-15.mp4', '-i', '\\\\NAS\\TeslaCam\\Scan\\2019-04-17_14-16.mp4', '-i', '\\\\NAS\\TeslaCam\\Scan\\2019-04-17_14-17.mp4', '-filter_complex', '[0:v:0] [1:v:0] [2:v:0] [3:v:0] [4:v:0] [5:v:0] [6:v:0] [7:v:0] [8:v:0] [9:v:0] [10:v:0] concat=n=11:v=1:a=0 [v]', '-map', '[v]', '-c:v', 'libx264', '-preset', 'medium', '-crf', '28', '-y', '\\\\NAS\\TeslaCam\\Scan\\2019-04-17_14-17-25.mp4']
                Error: b"ffmpeg version 4.1.1 Copyright (c) 2000-2019 the FFmpeg developers\r\n  built with gcc 8.2.1 (GCC) 20190212\r\n  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth\r\n  libavutil      56. 22.100 / 56. 22.100\r\n  libavcodec     58. 35.100 / 58. 35.100\r\n  libavformat    58. 20.100 / 58. 20.100\r\n  libavdevice    58.  5.100 / 58.  5.100\r\n  libavfilter     7. 40.101 /  7. 40.101\r\n  libswscale      5.  3.100 /  5.  3.100\r\n  libswresample   3.  3.100 /  3.  3.100\r\n  libpostproc    55.  3.100 / 55.  3.100\r\nInput #0, mov,mp4,m4a,3gp,3g2,mj2, from '\\\\NAS\\TeslaCam\\Scan\\2019-04-17_14-07.mp4':\r\n  Metadata:\r\n    major_brand     : isom\r\n    minor_version   : 512\r\n    compatible_brands: isomiso2avc1mp41\r\n    encoder         : Lavf58.20.100\r\n  Duration: 00:00:59.88, start: 0.000000, bitrate: 424 kb/s\r\n    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x960 [SAR 1:1 DAR 4:3], 422 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)\r\n    Metadata:\r\n      handler_name    : VideoHandler\r\nInput #1, mov,mp4,m4a,3gp,3g2,mj2, from '\\\\NAS\\TeslaCam\\Scan\\2019-04-17_14-08.mp4':\r\n  Metadata:\r\n    major_brand     : isom\r\n    minor_version   : 512\r\n    compatible_brands: isomiso2avc1mp41\r\n    encoder         : Lavf58.20.100\r\n  Duration: 00:00:59.92, start: 0.000000, bitrate: 370 kb/s\r\n    Stream #1:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x960 [SAR 1:1 DAR 4:3], 368 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)\r\n    Metadata:\r\n      handler_name    : VideoHandler\r\nInput #2, mov,mp4,m4a,3gp,3g2,mj2, from '\\\\NAS\\TeslaCam\\Scan\\2019-04-17_14-09.mp4':\r\n  Metadata:\r\n    major_brand     : isom\r\n    minor_version   : 512\r\n    compatible_brands: isomiso2avc1mp41\r\n    encoder         : Lavf58.20.100\r\n  Duration: 00:01:00.24, start: 0.000000, bitrate: 424 kb/s\r\n    Stream #2:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x960 [SAR 1:1 DAR 4:3], 422 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)\r\n    Metadata:\r\n      handler_name    : VideoHandler\r\nInput #3, mov,mp4,m4a,3gp,3g2,mj2, from '\\\\NAS\\TeslaCam\\Scan\\2019-04-17_14-10.mp4':\r\n  Metadata:\r\n    major_brand     : isom\r\n    minor_version   : 512\r\n    compatible_brands: isomiso2avc1mp41\r\n    encoder         : Lavf58.20.100\r\n  Duration: 00:01:00.16, start: 0.000000, bitrate: 386 kb/s\r\n    Stream #3:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x960 [SAR 1:1 DAR 4:3], 384 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)\r\n    Metadata:\r\n      handler_name    : VideoHandler\r\nInput #4, mov,mp4,m4a,3gp,3g2,mj2, from '\\\\NAS\\TeslaCam\\Scan\\2019-04-17_14-11.mp4':\r\n  Metadata:\r\n    major_brand     : isom\r\n    minor_version   : 512\r\n    compatible_brands: isomiso2avc1mp41\r\n    encoder         : Lavf58.20.100\r\n  Duration: 00:00:59.84, start: 0.000000, bitrate: 243 kb/s\r\n    Stream #4:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x960 [SAR 1:1 DAR 4:3], 240 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)\r\n    Metadata:\r\n      handler_name    : VideoHandler\r\nInput #5, mov,mp4,m4a,3gp,3g2,mj2, from '\\\\NAS\\TeslaCam\\Scan\\2019-04-17_14-12.mp4':\r\n  Metadata:\r\n    major_brand     : isom\r\n    minor_version   : 512\r\n    compatible_brands: isomiso2avc1mp41\r\n    encoder         : Lavf58.20.100\r\n  Duration: 00:00:00.00, bitrate: N/A\r\nInput #6, mov,mp4,m4a,3gp,3g2,mj2, from '\\\\NAS\\TeslaCam\\Scan\\2019-04-17_14-13.mp4':\r\n  Metadata:\r\n    major_brand     : isom\r\n    minor_version   : 512\r\n    compatible_brands: isomiso2avc1mp41\r\n    encoder         : Lavf58.20.100\r\n  Duration: 00:00:00.00, bitrate: N/A\r\nInput #7, mov,mp4,m4a,3gp,3g2,mj2, from '\\\\NAS\\TeslaCam\\Scan\\2019-04-17_14-14.mp4':\r\n  Metadata:\r\n    major_brand     : isom\r\n    minor_version   : 512\r\n    compatible_brands: isomiso2avc1mp41\r\n    encoder         : Lavf58.20.100\r\n  Duration: 00:00:59.72, start: 0.000000, bitrate: 381 kb/s\r\n    Stream #7:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x960 [SAR 1:1 DAR 4:3], 378 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)\r\n    Metadata:\r\n      handler_name    : VideoHandler\r\nInput #8, mov,mp4,m4a,3gp,3g2,mj2, from '\\\\NAS\\TeslaCam\\Scan\\2019-04-17_14-15.mp4':\r\n  Metadata:\r\n    major_brand     : isom\r\n    minor_version   : 512\r\n    compatible_brands: isomiso2avc1mp41\r\n    encoder         : Lavf58.20.100\r\n  Duration: 00:00:59.80, start: 0.000000, bitrate: 384 kb/s\r\n    Stream #8:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x960 [SAR 1:1 DAR 4:3], 382 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)\r\n    Metadata:\r\n      handler_name    : VideoHandler\r\nInput #9, mov,mp4,m4a,3gp,3g2,mj2, from '\\\\NAS\\TeslaCam\\Scan\\2019-04-17_14-16.mp4':\r\n  Metadata:\r\n    major_brand     : isom\r\n    minor_version   : 512\r\n    compatible_brands: isomiso2avc1mp41\r\n    encoder         : Lavf58.20.100\r\n  Duration: 00:00:59.56, start: 0.000000, bitrate: 469 kb/s\r\n    Stream #9:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x960 [SAR 1:1 DAR 4:3], 467 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)\r\n    Metadata:\r\n      handler_name    : VideoHandler\r\nInput #10, mov,mp4,m4a,3gp,3g2,mj2, from '\\\\NAS\\TeslaCam\\Scan\\2019-04-17_14-17.mp4':\r\n  Metadata:\r\n    major_brand     : isom\r\n    minor_version   : 512\r\n    compatible_brands: isomiso2avc1mp41\r\n    encoder         : Lavf58.20.100\r\n  Duration: 00:00:07.44, start: 0.000000, bitrate: 394 kb/s\r\n    Stream #10:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x960 [SAR 1:1 DAR 4:3], 391 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)\r\n    Metadata:\r\n      handler_name    : VideoHandler\r\nStream specifier ':v:0' in filtergraph description [0:v:0] [1:v:0] [2:v:0] [3:v:0] [4:v:0] [5:v:0] [6:v:0] [7:v:0] [8:v:0] [9:v:0] [10:v:0] concat=n=11:v=1:a=0 [v] matches no streams.\r\n"
I might have found the potential issue but not sure.
Looks like '\\\\NAS\\TeslaCam\\Scan\\2019-04-17_14-12.mp4 has a duration of 0 and that might then cause the issue. This would mean that the camera files for that timestamp would have 0 duration as well (or at least 1 with 2 others empty or so).
As you're on windows, I've created a temporary windows executable with hopefully the fix for this. This is based on v0.1.9b2 but then with a check to skip video files that have a duration of 0.

Here is the link to download this temporary version: tesla_dashcam_190b3.exe

Let me know if this fixes the problem or not. If not, please provide me complete output and also check for any 0 byte files or extreme small files.

Thx.
 
Last edited:

japhule

Active Member
Joined
Apr 14, 2018
Messages
46
Location
Dallas, TX
Country
Country
I might have found the potential issue but not sure.
Looks like '\\\\NAS\\TeslaCam\\Scan\\2019-04-17_14-12.mp4 has a duration of 0 and that might then cause the issue. This would mean that the camera files for that timestamp would have 0 duration as well (or at least 1 with 2 others empty or so).
As you're on windows, I've created a temporary windows executable with hopefully the fix for this. This is based on v0.1.9b2 but then with a check to skip video files that have a duration of 0.

Here is the link to download this temporary version: tesla_dashcam_190b3.exe

Let me know if this fixes the problem or not. If not, please provide me complete output and also check for any 0 byte files or extreme small files.

Thx.
Looks like I'm getting the same error. I'll PM you the full log. Looking into the problem files, they appear to be normal 30mb files but they don't seem to play, probably corrupt.
 

ehendrix23

Active Member
TOO Supporting Member
Joined
Jan 30, 2019
Messages
113
Location
Colorado
Tesla Owner
Model 3
Country
Country
Looks like I'm getting the same error. I'll PM you the full log. Looking into the problem files, they appear to be normal 30mb files but they don't seem to play, probably corrupt.
Thanks for the log. I had part of the solution but not complete. Was able to reproduce it though by making a change in the code resulting in same issue. And using that get a fix for it. :)
I've updated the exe file with the fix: tesla_dashcam_190b3.exe. Same filename but updated, just download this newer version and test it.

Thx.
 

Spinball

Active Member
Joined
Jun 19, 2017
Messages
62
Location
WI
Country
Country
Weird, I tested it on Windows 10 and path specified for font was working fine.

Can you try with the latest version?
There still seems to be an issue with fonts for me on Windows 7.

I was using 1.9b1 today and still getting a font error when using the exe without the command line. However if I use the command line with argument
Code:
--font /Windows/Fonts/arial.ttf
it will work without issue. Same as what I had to enter previously into the python script.

Whereas using
Code:
--font C:\Windows\Fonts\arial.ttf
does NOT work. It's odd that ffmpeg expects forward slashes for the path even on Windows.
 

japhule

Active Member
Joined
Apr 14, 2018
Messages
46
Location
Dallas, TX
Country
Country
Thanks for the log. I had part of the solution but not complete. Was able to reproduce it though by making a change in the code resulting in same issue. And using that get a fix for it. :)
I've updated the exe file with the fix: tesla_dashcam_190b3.exe. Same filename but updated, just download this newer version and test it.

Thx.
Ok. This looks fixed. Video file is now being created properly.
 

ehendrix23

Active Member
TOO Supporting Member
Joined
Jan 30, 2019
Messages
113
Location
Colorado
Tesla Owner
Model 3
Country
Country
Just released 0.1.9.

Biggest change is the ability for it to scan all subfolders and create the merged video files, and by having it monitor for the USB (or SD) card to be inserted and then automatically start processing.
This means that it could be setup to have it just run continuously, and anytime the Tesla DashCam USB (or SD) is inserted it will start creating the merged video files, and upon completion provide a notification.

This version will now also check for new releases, and inform if a new release is available.

List of changes:
- Added scanning of sub-folders clip files. Each folder will be processed and resulting movie file created. This can be disabled through parameter --exclude_subdirs
- Added option to merge the video files from multiple sub-folders into 1 movie file. Use parameter --merge to enable.
- Added option to monitor if the USB drive (or SD card) is inserted in the PC and then automatically start processing the files. Use parameter --monitor to enable.
Parameter --monitor_once will stop monitoring and exit after 1st time drive was inserted.
Parameter --delete_source will delete the source files and folder once the movie file for that folder has been created.
- Added update checker to determine if there is a newer version, additional arguments to just perform check (--check_for_update), include test releases (--include_test), or disable always checking for updates (--no-check_for_update)
- Formatted output to easily show progress
- Time it took to create the video files will now be provided upon completion of processing.
- Will now handle it much better if a video file from a camera is corrupt (i.e. zero-byte file).
- ffmpeg is part of the tesla_dashcam executable
- Desktop notification when processing starts (when using monitor) and when it completes.
- DockerFile added making it easy to run tesla_dashcam within Docker (jeanfabrice)
- Fixed: combining clips to movie would not use GPU or provided encoding.
- Added additional check that video file exist before merging into movie.

MacOS and Windows executables can be downloaded here: https://github.com/ehendrix23/tesla_dashcam/releases/tag/v0.1.9
For Linux, Python package can be retrieved from pypi using pip (https://pypi.org/project/tesla-dashcam/)

Source is also available: https://github.com/ehendrix23/tesla_dashcam/releases/tag/v0.1.9

See README file that is included for all options and how to use it.
 

ehendrix23

Active Member
TOO Supporting Member
Joined
Jan 30, 2019
Messages
113
Location
Colorado
Tesla Owner
Model 3
Country
Country
There still seems to be an issue with fonts for me on Windows 7.

I was using 1.9b1 today and still getting a font error when using the exe without the command line. However if I use the command line with argument
Code:
--font /Windows/Fonts/arial.ttf
it will work without issue. Same as what I had to enter previously into the python script.

Whereas using
Code:
--font C:\Windows\Fonts\arial.ttf
does NOT work. It's odd that ffmpeg expects forward slashes for the path even on Windows.
Just to confirm, there is a C:\Windows\Fonts\arial.ttf right? It's not like you have Windows installed on a different drive or so?

What happens if you run from command line without --font? Same font error?

Just now running it with --font c:\Windows\Fonts\Cambria.ttf and it works on Windows 10 for me.
 
Joined
Feb 1, 2019
Messages
9
Location
Southern CA
Tesla Owner
Model 3
Country
Country
@ehendrix23 Great work! Have an odd request ... would you consider adding support for single-cam only output with time-stamp? Sometimes the other view(s) are not needed for insurance purpose (my current situation) and greatly reduces the file size, where time-stamping is very much needed. Bravo either way.
 

ehendrix23

Active Member
TOO Supporting Member
Joined
Jan 30, 2019
Messages
113
Location
Colorado
Tesla Owner
Model 3
Country
Country
@ehendrix23 Great work! Have an odd request ... would you consider adding support for single-cam only output with time-stamp? Sometimes the other view(s) are not needed for insurance purpose (my current situation) and greatly reduces the file size, where time-stamping is very much needed. Bravo either way.
Thx. Makes sense. Having seen other share videos, I think makes even more to identify the cameras wishing to be seen. For example, just front, or front and left, front and right, left and right.

Will see how to best do this, based on changes might then also include scaling or so as well.


Sent from my iPhone using Tapatalk
 
Joined
Feb 1, 2019
Messages
9
Location
Southern CA
Tesla Owner
Model 3
Country
Country
Thx. Makes sense. Having seen other share videos, I think makes even more to identify the cameras wishing to be seen. For example, just front, or front and left, front and right, left and right.

Will see how to best do this, based on changes might then also include scaling or so as well.


Sent from my iPhone using Tapatalk
Excellent. Glad you're on-board. :D
 

Spinball

Active Member
Joined
Jun 19, 2017
Messages
62
Location
WI
Country
Country
Just to confirm, there is a C:\Windows\Fonts\arial.ttf right? It's not like you have Windows installed on a different drive or so?

What happens if you run from command line without --font? Same font error
Yes the path to arial.ttf is valid. Same command without —font gives the same font config error.
 

ATechGuy

Active Member
Joined
Sep 17, 2018
Messages
47
Location
Cape Elizabeth, ME
Tesla Owner
Model 3
Country
Country
Just released 0.1.9.

Biggest change is the ability for it to scan all subfolders and create the merged video files, and by having it monitor for the USB (or SD) card to be inserted and then automatically start processing.
This means that it could be setup to have it just run continuously, and anytime the Tesla DashCam USB (or SD) is inserted it will start creating the merged video files, and upon completion provide a notification.

This version will now also check for new releases, and inform if a new release is available.

List of changes:
- Added scanning of sub-folders clip files. Each folder will be processed and resulting movie file created. This can be disabled through parameter --exclude_subdirs
- Added option to merge the video files from multiple sub-folders into 1 movie file. Use parameter --merge to enable.
- Added option to monitor if the USB drive (or SD card) is inserted in the PC and then automatically start processing the files. Use parameter --monitor to enable.
Parameter --monitor_once will stop monitoring and exit after 1st time drive was inserted.
Parameter --delete_source will delete the source files and folder once the movie file for that folder has been created.
- Added update checker to determine if there is a newer version, additional arguments to just perform check (--check_for_update), include test releases (--include_test), or disable always checking for updates (--no-check_for_update)
- Formatted output to easily show progress
- Time it took to create the video files will now be provided upon completion of processing.
- Will now handle it much better if a video file from a camera is corrupt (i.e. zero-byte file).
- ffmpeg is part of the tesla_dashcam executable
- Desktop notification when processing starts (when using monitor) and when it completes.
- DockerFile added making it easy to run tesla_dashcam within Docker (jeanfabrice)
- Fixed: combining clips to movie would not use GPU or provided encoding.
- Added additional check that video file exist before merging into movie.

MacOS and Windows executables can be downloaded here: https://github.com/ehendrix23/tesla_dashcam/releases/tag/v0.1.9
For Linux, Python package can be retrieved from pypi using pip (https://pypi.org/project/tesla-dashcam/)

Source is also available: https://github.com/ehendrix23/tesla_dashcam/releases/tag/v0.1.9

See README file that is included for all options and how to use it.
This app ROCKS. I'm running it on MACOS 10.12 and have had no issues. I was just running it on a "folder". When you get a great program like this, I know the last thing you want to hear "suggestions", but if I had to toss one in the hat, I would ask for an MP4 "marker" between each clip you merge together in a folder. That way, you could "fast forward" from clip to clip. When I say "clip", I mean the collection of the three. So if you're trying to view through an hour, you could just advance by index/chapters instead of by just moving your movie player slider along. Yeah, I know, very minor suggestion. but this is great as it is. Thanks for writing this.
 

langolier

New Member
Joined
Dec 5, 2018
Messages
3
Location
Winchester, VA
Tesla Owner
Model 3
Country
Country
Should someone who has no idea what you all are talking about be able to somehow open something that would show the videos that you describe?

All I can get is a .dmg that contains 'tesla_dashcam' (exec), ffmpeg (exec), filmpeg_LICENSE.txt, LICENSE.txt and README.html.

The first two just open Terminal. Should I be able to run something from this?

Sorry to be so dense. thanks.
 

ehendrix23

Active Member
TOO Supporting Member
Joined
Jan 30, 2019
Messages
113
Location
Colorado
Tesla Owner
Model 3
Country
Country
Yes the path to arial.ttf is valid. Same command without —font gives the same font config error.
Had someone else with Windows 8.1 with similar issue. I changed the default to /Windows/Fonts/arial.ttf instead as that works for you, the other person, and works on mine as well. 0.1.10 will have it in there.
 

ehendrix23

Active Member
TOO Supporting Member
Joined
Jan 30, 2019
Messages
113
Location
Colorado
Tesla Owner
Model 3
Country
Country
This app ROCKS. I'm running it on MACOS 10.12 and have had no issues. I was just running it on a "folder". When you get a great program like this, I know the last thing you want to hear "suggestions", but if I had to toss one in the hat, I would ask for an MP4 "marker" between each clip you merge together in a folder. That way, you could "fast forward" from clip to clip. When I say "clip", I mean the collection of the three. So if you're trying to view through an hour, you could just advance by index/chapters instead of by just moving your movie player slider along. Yeah, I know, very minor suggestion. but this is great as it is. Thanks for writing this.
Thank you. :)

Bunch of features and options in it are based on feedback being provided, so keep it coming. :). Just today someone asked for option to be able to provide multiple individual files instead of a folder. Got it in there for next release (with also option for multiple folders). Earlier someone asked for option to scale (as currently I scale the clips down but they wanted full resolution), next release has it. Someone asked for ability to have it only grab certain cameras (i.e. only left and front), next release will have it. :)

I did a quick check and it looks to be possible to add chapter markers. Here is a question though. At what points should the chapter markers be?
If processing a single folder then it could be for each "minute". But what when processing multiple folders (i.e. everything under SavedClips)? Still every minute? Or a chapter marker for each folder then?

Would appreciate your input in this.