# Enabling video

## Prereqisits

To enable video stream via D2X the following components are needed for the moment

* Raspberry Pi 0
* RaspiCam
* [D2X USB dongle ](/d2x/miscellaneous/d2x-usb-dongle.md)
* Image file for RaspberryPi

## Configuration

### Video transmitter

On the video transmitter, which is usually the device on the UAV the following changes needs to be done additionally. Until further notice this can be done with a Raspberry Pi 0 only.

#### D2X configuration

[*nxpD2X.conf*](/d2x/software/d2x-application/d2x-configuration.md) - in the D2X config file the following lines needs to be changed to

`VideoFunction=TX`

`VideoInOut=1`

`AutoStartVideo=1`

### Video receiver

On the video receiver, which is usually the device on the ground the following changes needs to be done additionally.&#x20;

#### D2X configuration

[*nxpD2X.conf*](/d2x/software/d2x-application/d2x-configuration.md) - in the D2X config file the following lines needs to be changed to

`VideoFunction=RX`

`VideoInOut=1`

`AutoStartVideo=1`


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://nxp.gitbook.io/d2x/software/d2x-application/enabling-video.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
