Guide · Updated 2026-10-12

Opening SVAC video (GB/T 25724)

SVAC is the Chinese national surveillance codec, GB/T 25724. FFmpeg and common players cannot decode it. Tracewind Player plays SVAC1 8-bit and unencrypted SVAC2 8-bit; 10-bit and encrypted SVAC cannot be opened, and a key does not change that.

What you see

A .dav or GB28181 .ps recording has the right size and duration but shows an error or garbage, and ffprobe reports an unknown codec.

Why it happens

  • FFmpeg has no SVAC decoder. The open-source streaming server ZLMediaKit passes SVAC through but does not decode it; decoding is in its closed-source edition.
  • In GB28181 program streams, SVAC video is marked with stream type 0x80, which ffprobe reports as an unknown codec. In .dav wrappers, ffprobe may not read the file at all.
  • SVAC has more than one generation and bit depth, and decoder libraries cover only part of them. The file extension tells you nothing about which you have.
  • Encryption is flagged inside the stream: a bit in the slice header marks encrypted slices. File names are unreliable: in our tests a name containing UKEY did not always mean encrypted, and a name saying 'not encrypted' sometimes was.

How to fix it

Open the file in Tracewind Player
It checks the codec, generation, bit depth and the encryption bit before decoding, and reports which case you have.
SVAC1 8-bit
Decoded and played directly, with no conversion step. Jumping around restarts decoding from the nearest key frame.
SVAC2 8-bit, not encrypted
Rewrapped and converted to a standard copy before it plays, so it is slower to open than SVAC1.
Export what you need
Mark A and B and export a standard H.264 MP4 that any player or analysis tool can read.
If it is refused, read the reason
The Player names the case: encrypted, 10-bit, or an unsupported variant, rather than showing frames that look like video but are corrupt.

What it can’t do

Said up front, so you don’t find out on the day.

  • Encrypted SVAC cannot be decrypted. Supplying a key does not help in our tests, and a decoder given an encrypted slice may even output blocky frames that look like a result. The Player stops on the encryption bit instead.
  • SVAC 10-bit (generation 1 or 2) is not supported. In generation 1 the decoder's 10-bit output accumulates colour blocks frame by frame; in generation 2 it produced no frames.
  • Some SVAC2 variants do not decode: in our set, a layered (SVC) sample, samples with audio and a few partial PS samples gave zero or sporadic frames. The meaning of the encryption bit inside SVC is not confirmed.
  • A raw SVAC1 elementary stream with no container has no timestamps and is not supported.
  • Frames before the first key frame cannot be decoded by anyone; output starts at the first I-frame.
  • Converted SVAC is re-encoded to H.264, so the converted file is larger than the original.

Questions people ask

Why can't VLC or FFmpeg play SVAC?

FFmpeg has no SVAC decoder, so every player built on it fails. Tracewind Player has a dedicated SVAC path that handles SVAC1 8-bit and unencrypted SVAC2 8-bit.

How do I tell SVAC1 from SVAC2, or encrypted from not?

Not from the extension or the file name. Open the file in Tracewind Player: it reads the stream itself and says which case it is. For encryption it checks the flag in the slice header.

Can I decrypt SVAC if I have the password or key?

Not with our software. Inputting a key does nothing in the libraries we tested. You need the manufacturer's client and the device key.

What fraction of SVAC files can be opened?

It depends on the generation, the bit depth and the encryption flag. SVAC1 8-bit and unencrypted SVAC2 8-bit convert; encrypted streams, 10-bit and some SVAC2 variants do not. In our own library a large share of the SVAC files were encrypted, so check the flag before you promise a result.

Does SVAC work from a GB28181 recording?

Yes for the supported cases, for both .ps and .dav; the stream type in the PS (0x80 for SVAC) is how the file is recognised.

Try Tracewind Player free for 30 days (all features; trial exports limited to the first 10 seconds), or send us the SVAC file and we will tell you which case it is.

Download free trial