Convert DAV to SPX

Turn DAV videos into Speex. Encoded as Speex speech coding in an Ogg file at 8, 16 or 32 kHz in mono or stereo, unless audio.sample_rate or audio.channels say otherwise, and lossy sound loses a little more than it already had.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop DAV files on the dialor turn it to pick what to do

The speech from a DAV recording.The sound becomes a Speex file. The picture and the recording date are left behind.

  1. What you get

    One SPX file with the sound of the recording, encoded as Speex speech in an Ogg container. It is made at 8, 16 or 32 kHz, in mono or stereo, unless you set Sample rate (Hz) or Channels yourself.

    The conversion is lossy, so the sound loses a little more than it already had.

  2. What it leaves behind

    Speex is made for speech, so music loses detail. Other audio tracks and the picture are dropped, and only one sound track is kept.

    The date and time of the recording are not kept in the SPX file.

    A DAV file with no sound has nothing to encode, so the conversion stops with unsupported_elements.

  3. Options

    Set Channels to 1 to mix the sound down to mono, which halves its size and suits speech. Set it to 2 to keep stereo.

    Set Sample rate (Hz) between 8000 and 32000. A lower rate makes a smaller file and dulls high sounds.

    Reduce noise lowers steady background noise such as hum, hiss and fans. Sudden noises such as a door are left in.

    Normalize loudness plays quiet and loud recordings at the same loudness, -16 LUFS. It also resamples to 32 kHz unless you give a Sample rate (Hz).

    Set Start at (s) to cut seconds from the beginning. Set Stop at (s) to end at a second counted from the start of the original, so it must be later than Start at. Set Speed to play faster or slower while voices keep their pitch.

DAV and SPX.What each format is, and the options this conversion takes.

  1. 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
  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.

  3. 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.

  4. 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
  5. 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 32000
  6. 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
  7. 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
  8. 08 · trim_start

    Start at (s)

    Cuts this many seconds from the beginning. Decimals such as 1.5 work.

    0 to 86400

The formats

From · DAV

Dahua Video

Recordings exported from Dahua and other DVRs and security cameras.

Extensions
.dav
MIME type
video/x-dav
Kind
Video
To · SPX

Speex

Speex speech audio in an Ogg container, the predecessor of Opus.

Extensions
.spx
MIME type
audio/x-speex
Kind
Audio

In your code.The same DAV to SPX conversion through the API, for your app or your agent.

terminal
$ cv convert clip.dav clip.spx
$ cv convert clip.dav clip.spx

Questions.What people ask about DAV to SPX.

01OF 04

No. The picture is dropped, and only the sound is kept.

The conversion stops with unsupported_elements, because there is no audio to turn into Speex.

Not really. Speex is made for speech, so music loses detail.

No. The date and time of the recording are not kept.

More conversions.Other ways in and out of DAV and SPX.