Changes

910 bytes removed ,  13:52, 14 July 2022
Line 14: Line 14:  
===Video files and conversion===
 
===Video files and conversion===
 
Videos downloaded from the camera are in the raw h265 format. By default, they could be viewed using the ZMVideoPlayer program in the h265 format. If the videos are needed in a more common format, they can be converted.
 
Videos downloaded from the camera are in the raw h265 format. By default, they could be viewed using the ZMVideoPlayer program in the h265 format. If the videos are needed in a more common format, they can be converted.
  −
===Video conversion example and settings===
  −
For converting DualCam h265 videos to a more popular mp4 video format, a free open-source converter FFmpeg is used in the example. Although any other converter from h265 would work as well.
  −
  −
To convert DualCam video properly, the converter has to know the frame rate of the video. The frame rate is configured as Config Id: 66003 and could be either 20, 25, or 30 FPS. That same value could be obtained by using the metadata command (see more details at [[Teltonika_DualCam#Communication_protocol|File metadata response]] ('''CMD ID 0x000B''')).
  −
  −
Recommended parameters using the FFmpeg for the conversion:
  −
  −
'''ffmpeg -r <fps> -i <input>.h265 -ss 00:00:0.9 -c:a copy -c:v libx264 <output>.mp4'''
  −
  −
<fps> - configured frame rate of the video;
  −
  −
<input> - file name of the video file from the camera;
  −
  −
<output> - file name of the video that will be converted to mp4.
  −
  −
      
== Certifications & Approvals ==
 
== Certifications & Approvals ==