Convert AC4 to SPX

Drag and drop files here or click to select.
Max file size 100mb.
Uploading progress:

AC4 vs SPX Format Comparison

Aspect AC4 (Source Format) SPX (Target Format)
Format Overview
AC4
Dolby AC-4

Dolby AC-4 is the latest audio codec from Dolby Laboratories, introduced in 2017 as the successor to AC-3 and E-AC-3. Designed for next-generation broadcasting (ATSC 3.0), streaming, and immersive audio delivery, AC-4 supports up to 7.1.4 channel layouts including Dolby Atmos object-based audio. It achieves 50% better coding efficiency than its predecessors, enabling broadcast-quality surround sound at half the bitrate.

Lossy Modern
SPX
Speex Audio Codec

Speex is an open-source lossy audio codec designed specifically for speech compression. Developed by the Xiph.Org Foundation, Speex operates at bitrates from 2 to 44 kbps with features like variable bitrate, voice activity detection, and acoustic echo cancellation. While largely superseded by Opus, Speex remains in legacy VoIP and embedded systems.

Lossy Legacy
Technical Specifications
Sample Rates: 44.1 kHz, 48 kHz, 96 kHz
Bit Rates: 16-512 kbps (scalable)
Channels: Mono to 7.1.4 (object-based Atmos)
Codec: Dolby AC-4 (MDCT + parametric coding)
Container: AC-4 elementary stream, MP4, DASH
Sample Rates: 8 kHz (NB), 16 kHz (WB), 32 kHz (UWB)
Bit Rates: 2-44 kbps (VBR)
Channels: Mono, Stereo
Codec: Speex (CELP-based)
Container: Ogg Speex (.spx)
Audio Encoding

AC-4 uses advanced parametric coding with MDCT and spectral band replication, achieving immersive audio at remarkably low bitrates for next-generation broadcasting:

# Encode to AC-4 (requires Dolby tools)
ffmpeg -i input.wav -c:a ac4 -b:a 192k output.ac4

# AC-4 with immersive audio metadata
ffmpeg -i input.wav -c:a ac4 -b:a 256k \
  -ac 6 output.ac4

Speex uses CELP-based coding optimized for speech with built-in noise suppression:

# Encode to Speex wideband
ffmpeg -i input.wav -c:a libspeex \
  -ar 16000 output.spx

# Speex at specific bitrate
ffmpeg -i input.wav -c:a libspeex \
  -b:a 24k output.spx
Audio Features
  • Metadata: Dolby AC-4 metadata, loudness, dialogue enhancement settings
  • Immersive Audio: Full Dolby Atmos support with object-based rendering
  • Dynamic Range: Advanced dialogue normalization and DRC profiles
  • Streaming: Optimized for ATSC 3.0 broadcast and OTT streaming
  • Surround: Up to 7.1.4 channels with height speakers
  • Backward Compat: Scalable bitstream with legacy decoder fallback
  • Metadata: Vorbis comments in Ogg container
  • VAD: Voice Activity Detection built-in
  • AEC: Acoustic Echo Cancellation support
  • Noise: Noise suppression preprocessing
  • Narrowband: Optimized for 8 kHz telephony
  • Legacy: Superseded by Opus for new projects
Advantages
  • 50% better coding efficiency than AC-3 and E-AC-3
  • Native Dolby Atmos immersive audio support
  • Scalable bitstream for adaptive streaming
  • ATSC 3.0 next-generation TV broadcast standard
  • Advanced dialogue enhancement and personalization
  • Low-latency mode for live broadcasting
  • Optimized specifically for speech encoding
  • Built-in noise suppression and echo cancellation
  • Very low bitrates for voice (2-44 kbps)
  • Open-source and royalty-free
  • Variable bitrate for adaptive quality
  • Low computational requirements
Disadvantages
  • Very limited hardware and software support currently
  • Requires ATSC 3.0 compatible equipment for broadcast
  • Proprietary Dolby technology with licensing fees
  • Not widely adopted outside broadcast industry
  • Limited open-source tool and encoder support
  • Officially deprecated in favor of Opus
  • Speech-only, terrible for music
  • Low sample rates limit quality
  • Declining software support
  • No active development
Common Uses
  • ATSC 3.0 next-generation TV broadcasting
  • Dolby Atmos content delivery for streaming
  • Immersive audio for sports and live events
  • Automotive infotainment systems
  • Mobile device Dolby audio playback
  • Legacy VoIP systems
  • Embedded voice recording devices
  • Voice-over-IP telephony
  • Low-bandwidth speech transmission
  • Legacy conferencing systems
Best For
  • Next-generation ATSC 3.0 TV broadcasting
  • Dolby Atmos immersive audio delivery
  • Streaming services requiring efficient surround audio
  • Automotive and mobile immersive audio experiences
  • Legacy speech-only VoIP systems
  • Low-bandwidth speech transmission
  • Embedded voice recording on constrained devices
  • Maintaining existing Speex-based systems
Version History
Introduced: 2017 (ETSI TS 103 190)
Current Version: AC-4 v2 with Immersive Stereo
Status: Emerging, ATSC 3.0 mandatory codec
Evolution: AC-3 (1991) → E-AC-3 (2005) → AC-4 (2017)
Introduced: 2003 (Jean-Marc Valin, Xiph.Org)
Current Version: Speex 1.2
Status: Deprecated in favor of Opus
Evolution: Speex 1.0 (2003) → Speex 1.2 (2008) → deprecated for Opus
Software Support
Media Players: VLC (recent), Dolby-enabled devices, some smart TVs
DAWs: Dolby Atmos Production Suite, DaVinci Resolve
Mobile: Dolby-enabled Android/iOS devices
Web Browsers: Limited (ATSC 3.0 tuner apps)
Broadcast: ATSC 3.0 transmitters, Dolby encoding tools
Media Players: VLC, foobar2000 (with plugin), Audacity
DAWs: Audacity (import/export)
Mobile: Limited support
Web Browsers: Not supported
VoIP: Legacy VoIP systems, Asterisk PBX

Why Convert AC4 to SPX?

Converting AC4 to SPX adapts Dolby's next-generation immersive audio codec for use with devices, platforms, and workflows that support the SPX format. While AC-4 excels in broadcast efficiency and Dolby Atmos delivery, SPX may be required for compatibility with specific playback devices, software, or distribution channels.

Dolby AC-4 is the mandatory audio codec for ATSC 3.0 next-generation television and an increasingly important format for streaming platforms supporting Dolby Atmos. However, many existing devices, software applications, and workflows do not yet support AC-4 natively, making conversion to widely-supported formats like SPX a practical necessity.

The SPX format brings its own strengths to the table — whether that is broader device compatibility, specific platform requirements, or integration with established audio workflows. Converting from AC-4 allows you to leverage content created for next-gen broadcasting while maintaining compatibility with current-generation infrastructure.

Be aware that converting from AC-4's immersive audio to SPX may involve downmixing from Dolby Atmos channel layouts (up to 7.1.4) to the channel configuration supported by SPX. Both formats use lossy compression, so the transcoding step adds an additional generation of quality loss — use the highest practical bitrate for the target format to minimize artifacts.

Key Benefits of Converting AC4 to SPX:

  • Broad Compatibility: SPX is supported on far more devices than AC-4
  • Editing Ready: Convert AC-4 broadcast content for standard DAW workflows
  • Platform Flexibility: Distribute on platforms that do not support AC-4
  • Simplified Playback: No specialized Dolby decoder required for SPX
  • Archival Option: Create SPX copies alongside original AC-4 masters
  • Workflow Integration: Seamlessly incorporate AC-4 content into existing audio pipelines
  • Future-Proof: Maintain access to content as AC-4 support evolves

Practical Examples

Example 1: Broadcast Content Repurposing

Scenario: A broadcasting engineer needs to convert ATSC 3.0 content encoded in AC-4 to SPX for distribution on platforms that do not yet support Dolby AC-4.

Source: atsc3_broadcast_segment.ac4 (5.1 channels, 192 kbps)
Conversion: AC4 → SPX
Result: atsc3_broadcast_segment.spx

Workflow:
1. Extract AC-4 audio from ATSC 3.0 transport stream
2. Convert AC-4 → SPX for platform compatibility
3. Verify channel layout and audio levels
4. Deliver to distribution platform
5. Archive original AC-4 for future use

Example 2: Post-Production Audio Conversion

Scenario: A sound engineer receives Dolby Atmos content in AC-4 format and needs to create a SPX version for editing in a standard DAW that does not support AC-4 input.

Source: dolby_atmos_mix.ac4 (7.1.4 channels, 512 kbps)
Conversion: AC4 → SPX (downmixed to stereo/5.1)
Result: dolby_atmos_mix.spx

Benefits:
✓ Compatible with standard audio editing software
✓ Preserves core audio channels from Atmos mix
✓ Editable without AC-4 decoder dependency
✓ Ready for integration into post-production workflow
✓ Can be re-encoded to distribution format

Example 3: Device Compatibility Conversion

Scenario: A content distributor has AC-4 encoded audio files from a next-gen broadcast workflow and needs SPX versions for playback on devices without AC-4 support.

Source: live_event_audio.ac4 (stereo, 128 kbps, 45 min)
Conversion: AC4 → SPX
Result: live_event_audio.spx

Device compatibility achieved:
✓ Playable on all SPX-compatible devices
✓ No specialized Dolby decoder required
✓ Suitable for web embedding and app integration
✓ Standard format recognized by all media players
✓ Maintains acceptable audio quality for distribution

Frequently Asked Questions (FAQ)

Q: What is Dolby AC-4 and why would I need to convert from it?

A: Dolby AC-4 is the newest audio codec from Dolby Laboratories, designed for ATSC 3.0 next-generation TV broadcasting and streaming platforms. It supports immersive Dolby Atmos audio with up to 7.1.4 channels. You may need to convert from AC-4 when your playback device, editing software, or distribution platform does not yet support this relatively new codec.

Q: Does converting AC4 to SPX preserve Dolby Atmos spatial audio?

A: The conversion preserves the core audio channels but Dolby Atmos object-based metadata is specific to Dolby's ecosystem. When converting to SPX, the immersive audio is downmixed to the channel layout supported by SPX. For stereo output, a spatial downmix is applied; for multichannel SPX, the bed channels are preserved.

Q: Will there be quality loss when converting AC4 to SPX?

A: Yes, since both AC-4 and SPX use lossy compression, the conversion adds an additional generation of quality loss. For best results, use a high bitrate for the SPX output and consider using a lossless intermediate format if you plan further processing.

Q: Is AC-4 widely supported on consumer devices?

A: AC-4 support is still limited compared to established formats. It is primarily found in ATSC 3.0 compatible TVs, some streaming devices, and Dolby-enabled mobile phones. This limited support is a primary reason for converting AC-4 to more widely supported formats like SPX for broader playback compatibility.

Q: How does AC-4 compare to E-AC-3 (Dolby Digital Plus)?

A: AC-4 achieves approximately 50% better coding efficiency than E-AC-3, delivering equivalent audio quality at half the bitrate. Both support Dolby Atmos, but AC-4 also adds features like dialogue enhancement, personalized audio mixing, and broadcast-optimized loudness management that E-AC-3 lacks.

Q: What channel layouts does AC-4 support?

A: AC-4 supports channel layouts from mono up to 7.1.4 (seven surround channels, one LFE, and four height channels). It also supports Dolby Atmos object-based audio, where individual sound elements can be positioned in 3D space. When converting to SPX, the output channel layout depends on what SPX supports.

Q: Can I convert AC4 to SPX using FFmpeg?

A: FFmpeg has experimental AC-4 decoding support in recent builds. The basic command is: ffmpeg -i input.ac4 output.spx. However, full AC-4 support may require specific FFmpeg builds with Dolby codec libraries. Our online converter handles this automatically without any software installation.

Q: How long does AC4 to SPX conversion take?

A: AC-4 to SPX conversion is typically fast, completing in seconds for most files. The exact time depends on file duration, channel count (7.1.4 Atmos files take longer than stereo), and the target SPX encoding complexity. Our online converter processes most audio files within a few seconds.