Convert DAV to VOC
Turn DAV videos into VOC. Decoded to 16-bit PCM at most 44.1 kHz in mono or stereo, unless audio.sample_rate or audio.channels say otherwise, which makes the file much larger.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop DAV files on the dialor turn it to pick what to do
Sound from a Dahua recording.The audio of a DAV file becomes a VOC file, 16-bit and at most 44.1 kHz.
What you get
One VOC file with the sound of the recording. It is decoded to 16-bit PCM in mono or stereo, at a rate of at most 44.1 kHz. Set Channels or Sample rate (Hz) to choose other values.
The file is much larger than you might expect from the sound alone, because 16-bit audio takes more room than the 8-bit PCM that VOC often holds.
What is left behind
Only one audio track is used. Other audio tracks and the picture are dropped. The date and time of the recording are not kept.
A video with no sound has nothing to convert, so the conversion stops with
unsupported_elements.Shaping the sound
Set Channels to 1 to mix down to mono, which halves the size and suits speech. Lower Sample rate (Hz) for a smaller file, at the cost of duller high sounds.
Set Start at (s) and Stop at (s) to keep only part of the recording. Stop at (s) counts from the start of the original, so it must be later than Start at (s).
Set Reduce noise to lower steady hum, hiss and fans. Set Normalize loudness to bring the level to -16 LUFS, which also resamples to 44.1 kHz unless you give a Sample rate (Hz). Set Speed to play faster or slower with the pitch of voices kept, or Pitch to move the sound up or down in semitones.
DAV and VOC.What each format is, and the options this conversion takes.
- 01 · audio.channels
Channels
1 mixes the sound down to mono, which halves its size and suits speech. 2 keeps it stereo.
1 to 2 - 02 · audio.denoise
Reduce noise
Lowers steady background noise such as hum, hiss and fans. Sudden noises such as a door are left in.
- 03 · audio.normalize
Normalize loudness
Makes quiet and loud recordings play at the same loudness, -16 LUFS, the level podcasts and streaming services aim for.
- 04 · audio.pitch
Pitch
Moves the pitch up or down by whole semitones while the speed stays the same. 12 is one octave up and -12 one octave down.
-12 to 12 - 05 · audio.sample_rate
Sample rate (Hz)
How many times per second the sound is measured. 44100 is the CD rate and 48000 the video rate. Lower makes a smaller file and dulls high sounds.
8000 to 44100 - 06 · 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 - 07 · 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 - 08 · trim_start
Start at (s)
Cuts this many seconds from the beginning. Decimals such as 1.5 work.
0 to 86400
The formats
Dahua Video
Recordings exported from Dahua and other DVRs and security cameras.
- Extensions
- .dav
- MIME type
- video
/x -dav - Kind
- Video
Creative Voice
Sound Blaster audio from DOS games and early PC multimedia, usually 8-bit PCM.
- Extensions
- .voc
- MIME type
- audio
/x -voc - Kind
- Audio
In your code.The same DAV to VOC conversion through the API, for your app or your agent.
$ cv convert clip.dav clip.voc$ cv convert clip.dav clip.vocQuestions.What people ask about DAV to VOC.
No. VOC holds audio only, so the picture is dropped.
The recording has no sound. With no audio track there is nothing to write to the VOC file.
Yes. Set Channels to 1 for mono, which halves the size, or lower Sample rate (Hz). Both change the sound, so mono loses the stereo image and a lower rate dulls high sounds.
No. The date and time of the recording are not kept in the VOC file.