-1

I need to convert DAV files (files generated from security camera recorders) to AVI. I have a script that works, but it does not convert multiple files, and the files are not corrupted. I use the following code:

for %% A IN (* .dav) DO ffmpeg -i "%% A" -vcodec libx264 "%% A.avi

FOLLOW LINK WITH DAV FILE : https://www.dropbox.com/s/u7agzzb8pe57uxy/DAV%20TEST.dav?dl=0

I get the following error on certain files:

"Format dhav detected only with low score of 1, misdetection possible!"

enter image description here

Mark Rotteveel
  • 82,132
  • 136
  • 114
  • 158
AUDICOM
  • 3
  • 3

1 Answers1

0

Works in a recent build from the git master branch:

Do not choose the 4.2.1 release branch: it is too old.

llogan
  • 87,794
  • 21
  • 166
  • 190
  • Thank you so much, it worked perfectly. Now I found another problem, the files to be converted arrive in the folder every 30 minutes, when the 1st DAV file arrives the script is triggered by the task manager, the problem is that the conversion is fast, and I need that and the script is open waiting for the next file. Does anyone have any ideas? – AUDICOM Sep 25 '19 at 21:09
  • @AUDICOM Should be asked as a completely new, standalone question. – llogan Sep 25 '19 at 21:16