---
title: What tools can I use to encode, decode and transcode my media files?
description: There are a lot of different tools for encoding, decoding and transcoding media, and one tool commonly used for WATCHOUT files is FFmpeg.
---

[Skip to content](https://knowledge.dataton.com/knowledge/what-tools-can-i-use-to-encode-decode-and-transcode#main-content)

English

Show submenu for translations

![DATATON LOGO 2000.png\]](https://knowledge.dataton.com/hs-fs/hubfs/DATATON%20LOGO%202000.png?height=42&name=DATATON%20LOGO%202000.png)

Open main navigation

Close main navigation

- English
  
  Show submenu for translations
- Contact us

 Contact us

 Hello. How can we help you?

- There are no suggestions because the search field is empty.

1. [Knowledge Base](https://knowledge.dataton.com/knowledge?hsLang=en)
2. [WATCHOUT 6](https://knowledge.dataton.com/knowledge/watchout-6?hsLang=en)
3. [Video Encoding](https://knowledge.dataton.com/knowledge/watchout-6?hsLang=en#video-encoding)

# What tools can I use to encode, decode and transcode my media files?

## There are a lot of different tools for encoding, decoding and transcoding media, and one tool commonly used for WATCHOUT files is FFmpeg.

FFMPEG is a free tool which, according to their own website, " supports the most obscure ancient formats up to the cutting edge". And learning how to use it is well worth your time.

For example, you can use FFmpeg if you need to remove audio from a video file.

The following is a simple example for encoding a HapQ movie and removing the audio from the file: 

ffmpeg -i InputMovie.mov -an -vcodec hap -format hap\_q HapQMovie.mov

 

-i specifies the input file, which can be just about any format

-an tells ffmpeg to remove any audio tracks

-vcodec (or -c:v) specifies which codec to use

-format specifies which hap flavor to use (hap, hap\_alpha or hap\_q)

The last argument is the name of the re-encoded file. 

 

OR if you need to divide a large HAP file into chunks so the video can be decoded by multiple processors when playing, resulting in smoother playback.

Use the -chunks n argument to enable multithreaded decoding, where n is the number of chunks to use. It never makes sense to use more chunks than there are cores in the target (display) computer. As each additional chunks adds a (very) slight overhead in the form of decreased decoding speed and larger files, it is generally a good idea to keep the number of chunks as low as possible. 

 

Since HAP files tend to be large, a fast disk is probably one of the most important aspects when encoding HAP movies. 

It is also quite easy to do batch encoding in ffmpeg by just using a regular .bat file (when running on windows).

[http://ffmpeg.org/](http://ffmpeg.org/)

For a list of codecs supported by ffmpeg: ffmpeg -codecs

For help about a specific codec: ffmpeg -h encoder=x, where you would replace x by the name of the codec as listed by the ffmpeg -codecs command. 

 

Last Updated: 2 dec 2019 08:28

- [WATCHOUT 7](https://knowledge.dataton.com/knowledge/watchout-7?hsLang=en#main-content)

    - [Installation](https://knowledge.dataton.com/knowledge/watchout-7?hsLang=en#installation)
    - [Stage & Display](https://knowledge.dataton.com/knowledge/watchout-7?hsLang=en#stage-display)
    - [WATCHPAX media servers](https://knowledge.dataton.com/knowledge/watchout-7?hsLang=en#watchpax-media-servers)
    - [Licensing](https://knowledge.dataton.com/knowledge/watchout-7?hsLang=en#licensing)
- [WATCHOUT 6](https://knowledge.dataton.com/knowledge/watchout-6?hsLang=en#main-content)

    - [Capture](https://knowledge.dataton.com/knowledge/watchout-6?hsLang=en#capture)
    - [Dynamic Image Server](https://knowledge.dataton.com/knowledge/watchout-6?hsLang=en#dynamic-image-server)
    - [Graphics Card](https://knowledge.dataton.com/knowledge/watchout-6?hsLang=en#graphics-card)
    - [Network](https://knowledge.dataton.com/knowledge/watchout-6?hsLang=en#network)
    - [Operating System - Windows](https://knowledge.dataton.com/knowledge/watchout-6?hsLang=en#operating-system-windows)
    - [Video Encoding](https://knowledge.dataton.com/knowledge/watchout-6?hsLang=en#video-encoding)
    - [Timeline](https://knowledge.dataton.com/knowledge/watchout-6?hsLang=en#timeline)
    - [Control](https://knowledge.dataton.com/knowledge/watchout-6?hsLang=en#control)
    - [Installation](https://knowledge.dataton.com/knowledge/watchout-6?hsLang=en#installation)
    - [Audio](https://knowledge.dataton.com/knowledge/watchout-6?hsLang=en#audio)
    - [Camera Calibration](https://knowledge.dataton.com/knowledge/watchout-6?hsLang=en#camera-calibration)
    - [Synchronization](https://knowledge.dataton.com/knowledge/watchout-6?hsLang=en#synchronization)
- [WATCHPAX](https://knowledge.dataton.com/knowledge/watchpax?hsLang=en#main-content)

    - [Audio interface](https://knowledge.dataton.com/knowledge/watchpax?hsLang=en#audio-interface)
    - [Network](https://knowledge.dataton.com/knowledge/watchpax?hsLang=en#network)
    - [Installation](https://knowledge.dataton.com/knowledge/watchpax?hsLang=en#installation)
- [WATCHNET](https://knowledge.dataton.com/knowledge/watchnet?hsLang=en)

[![DATATON LOGO 2000 black](https://knowledge.dataton.com/hs-fs/hubfs/DATATON%20LOGO%202000%20black.png?width=200&height=46&name=DATATON%20LOGO%202000%20black.png "DATATON LOGO 2000 black")](http://dataton.com)

Need to register a support ticket? Go to the [Help Center](https://www.dataton.com/help-center) on dataton.com

Copyright © 2026, DATATON AB