Tuesday, May 5, 2015

Convert Dahua IP Camera Video (.DAV) to MP4

Here is a quick way to convert video recorded from the Dahua IP camera in .dav format to .mp4 format that is playable on any media player.
 
ffmpeg -y -i InputFile.DAV -vcodec libx264 -crf 25 output.mp4


Change the 25 to the number of frames per second that your video is recorded in.

6 comments:

  1. I have a video in .dav extension of 10 minutes, and when I try to convert video to mp4, the converted video is changed to 12 minutes. The video .dav recorded with 30 FPS. I have used many ffmpeg commands and everyone is with the difference of 2 minutes.
    Would you help me?

    ReplyDelete
    Replies
    1. Sorry for the late reply. Use 30 instead of the 25 in the command. So use this command:
      ffmpeg -y -i InputFile.DAV -vcodec libx264 -crf 30 output.mp4

      Let me know if it worked.

      Delete
  2. It is too hard for me. I use Bigasoft Total Video Converter to convert DAV to other video formats. It works for me.
    http://www.bigasoft.com/articles/dav-player-converter.html

    ReplyDelete
    Replies
    1. just in case anyone pops in: this software costs USD 39.90, trial's up to 5' max output. Thanks.

      Delete
  3. same as above here: this software costs USD 39.90, trial's up to 5' max output. Thanks.

    ReplyDelete
  4. Many of my friends use iDealshare VideoGo to convert DAV to MP4 with this guide at http://www.idealshare.net/video-converter/convert-dav-to-avi-mp4-mpg.html

    Today, I just have a try and find it really works perfect.

    It can convert DAV to MP4, AVI,WMV, MOV, 3GP, FLV, MKV, WTV, DV, RMVB, ASF, WebM, and etc video format.

    It even convert DAV to OGG, FLAC, DTS, MP3, WAV, M4A audio format.

    More exciting, it features editing features like trim, merge, crop, increase audio volume, split, rotate and etc.


    Hope it also helps for you.

    ReplyDelete

Thanks for your input.

Personal Media Organizer: digiKam

Looking to replace cloud solutions such as Google Photo's, ACDSee and Adobe with an offline application that won't have your persona...