ZoneMinder / zoneminder

ZoneMinder is a free, open source Closed-circuit television software application developed for Linux which supports IP, USB and Analog cameras.
http://www.zoneminder.com/
GNU General Public License v2.0
5.15k stars 1.23k forks source link

Recording video does not contain length #3455

Closed MykolaSolyanko closed 2 years ago

MykolaSolyanko commented 2 years ago

Describe Your Environment

Describe the bug In recording mode, events are created in mp4 format, when I open them through the zoneminder web application, the time slider on the player is displayed. But when I open the saved file in a native player such as vlc, the progress slider is not displayed and there is no way to scroll through the video. After I run the following command ffmpeg -i "input.mp4" -c copy "output.mp4" the output file contains the length

To Reproduce Steps to reproduce the behavior:

  1. On the general tab create Monitor in Function Record
  2. On the source tab: Source Path -> rtsp_path Options->strict=experimental,fflags=nobuffer,rtsp_transport=tcp Capture Resolution (pixels) the same as camera resolution
  3. On the storage tab: Save JPEGs -> Disable Video Writer->Camera Passthrougth
  4. In the events directory we find the generated video file, open it with the vlc player and see that the video scroll slider is not available

Expected behavior when opening a file through the native player, the video scroll slider should be available

welcome[bot] commented 2 years ago

Thanks for opening your first issue here! Just a reminder, this forum is for Bug Reports only. Be sure to follow the issue template!