Convert DAV to H264
Turn DAV videos into H264. A raw H.264 stream without sound or timestamps.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop DAV files on the dialor turn it to pick what to do
A bare H.264 stream from a DAV recording.Video only, with no container, sound or timestamps.
What you get
One H264 file: an H.264 elementary stream with no container, as encoders and cameras write it. It holds the video and nothing else.
If the video in the DAV file is already H.264, it is copied as it is. Other video is encoded to 8-bit H.264.
What it leaves behind
Sound is not included. The stream also carries no timestamps, and the date and time of the recording are not kept.
Changing the video
Some options make the conversion re-encode H.264 video instead of copying it. A rotation does the same.
Set Max width or Max height to shrink large frames. Each keeps the shape of the picture, and smaller frames stay as they are, so nothing is enlarged.
Set Start at to cut seconds from the beginning, and Stop at to end at a given second of the original. Stop at counts from the start of the original, so it must be later than Start at.
Set Rotate to turn the result by 90, 180 or 270 degrees clockwise. Set Speed to play faster or slower, where 2 is twice as fast and 0.5 is half as fast.
Size and quality
Constant rate factor sets the quality target. Lower values keep more detail and make a bigger file, and a few steps up or down change the size noticeably. Frame rate (fps) sets frames per second: fewer frames make a smaller file and choppier motion.
DAV and H264.What each format is, and the options this conversion takes.
- 01 · max_height
Max height (px)
Shrinks anything taller than this, keeping its shape. Anything shorter stays as it is, so nothing is ever enlarged.
16 to 20000 - 02 · max_width
Max width (px)
Shrinks anything wider than this, keeping its shape. Anything narrower stays as it is, so nothing is ever enlarged.
16 to 20000 - 03 · rotate
Rotate
Turns the result clockwise by a quarter, a half or three quarters.
90 · 180 · 270 - 04 · speed
Speed
Plays faster or slower. 2 is twice as fast and 0.5 half as fast. Voices keep their pitch.
0.25 to 4 - 05 · trim_end
Stop at (s)
Stops at this second of the original. It counts from the start of the original, not from where trimming starts, so it must be later than Start at.
0 to 86400 - 06 · trim_start
Start at (s)
Cuts this many seconds from the beginning. Decimals such as 1.5 work.
0 to 86400 - 07 · video.crf
Constant rate factor
The quality target for the video. Lower keeps more detail and makes a bigger file. A few steps up or down changes the size noticeably.
0 to 51 - 08 · video.fps
Frame rate (fps)
Frames per second. Fewer frames make a smaller file and choppier motion. 24 to 30 looks natural, and 10 to 15 is common for animated pictures.
1 to 120
The formats
Dahua Video
Recordings exported from Dahua and other DVRs and security cameras.
- Extensions
- .dav
- MIME type
- video
/x -dav - Kind
- Video
Raw H.264 Stream
An H.264 elementary stream with no container, as encoders and cameras write it.
- Extensions
- .h264 .264
- MIME type
- video
/h264 - Kind
- Video
In your code.The same DAV to H264 conversion through the API, for your app or your agent.
$ cv convert clip.dav clip.h264$ cv convert clip.dav clip.h264Questions.What people ask about DAV to H264.
No. It is a raw video stream, and the sound is not included.
Not always. H.264 video is copied as it is unless an option or a rotation needs a re-encode. Other video is encoded to 8-bit H.264.
No. The date and time of the recording are not kept.
Yes. Set Start at to skip the beginning and Stop at to end at a later second of the original.